/* General styles */
.Webpage-Tab-Title {
    font-family: 'Old Standard TT', serif;
    font-size: 32px;
    text-align: center;
    font-weight: bold;
    color: white;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7);
    opacity: 0;
    transform: translateY(-10px);
    animation: fadeInDown 0.8s ease forwards;
    position: relative;
    margin-bottom: 20px;
  }
  
  .Webpage-Tab-Title::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: #14746a;
    margin: 10px auto 0;
    border-radius: 2px;
    opacity: 0;
    animation: underlineFadeIn 0.8s ease forwards;
    animation-delay: 0.8s;
  }
  
  @keyframes fadeInDown {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  @keyframes underlineFadeIn {
    to {
      opacity: 1;
    }
  }

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Calendar container styling */
/* Calendar Box */
#calendar-box {
    width: 85%;
    background-color: rgba(255, 255, 255, 0.9);
    border: 1px solid #ddd;
    border-radius: 10px;
    margin: 10px auto;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: relative;
  }
    
/* Header Section */
  .cal_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
  }

  .cal_header h2 {
    margin: 0;
  }
    
/* Calendar Grid */
  .calendar {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    padding-bottom: 5px ;
  }

  .calendar-day {
    border: 1px solid #ccc;
    padding: 10px;
    min-height: 80px;
    border-radius: 10px;
    position: relative;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    background-color: #fdfdfd;
    
  }
    
  .calendar-day:hover {
    background-color: #f0f0f0;
  }

/* Event box styling */
#event-box {
    width: 35%;
    padding: 15px; 
    background-color: rgba(255, 255, 255, 0.9); 
    border-radius: 8px; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); 
    margin: 50px auto; 
}

#event-box h3 {
    text-align: center;
}

#event-list {
    padding: 0;
}

#event-list li {
    
    padding: 15px;  
    margin-bottom: 10px;
    border-radius: 8px; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); 
}

#event-box .eventBox {
    display: flex;
    flex-flow: column wrap;
}

#event-box .eventBox .eventItem {
    padding-right: 30px;
    padding-bottom: 120px;
    display: grid;
    min-width: 100px;
    width: fit-content;
    max-height: 100px;
    height: fit-content;
}

#event-box .eventItemBox {
    max-width: 375px;
    width: 375px;
    max-height: 100px;
    height: 100px;
    border: 1px solid #ece5e5;
}

/* Event Circle */
.event-circle {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background-color: #0f5952;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.9em;
    margin-top: 5px;
  }

/* Center the iframe */
.iframe-container {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

/* Responsive styling */
@media (max-width: 768px) {
    .calendar-container {
        flex-direction: column;
        align-items: center;
    }

    #calendar, #event-box {
        width: 100%;
    }

    .calendar-grid {
        grid-template-columns: repeat(4, 1fr); /* Adjust grid to fit better on mobile */
    }

    .calendar-header {
        flex-direction: column;
        align-items: center;
    }

    .calendar-header h2 {
        margin: 10px 0;
    }
}

@media (max-width: 480px) {
    .calendar-grid {
        grid-template-columns: repeat(3, 1fr); /* Further adjustment for very small screens */
    }

    .calendar-day {
        padding: 5px;
        font-size: 0.8em;
    }
}
.signup {
    align-items: center; 
    width: 35%; 
    padding: 15px; 
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 8px; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); 
    margin: 0 auto; 
    text-align: center;
    font-size: 1.2em;
    margin-top: 50px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
@media (max-width: 480px) {
    .signup {
        width: 90%;
    }
}



.emailSignup p, .phoneSignup p {
    text-align: left;
    font-size: 16px;
}

.Psign, .Esign, .Eremove, .Premove {
    margin-bottom: 30px;
    background-color: #0f5952;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    color: white;
}

.Psign:hover, .Esign:hover, .Premove:hover, .Eremove:hover {
    transform: scale(1.1);
    background-color: #157269;
}

.Ebox, .Pbox {
    margin-bottom: 30px;
    width: 70%;
    font-size: 16px;
}