* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: playfair display, serif;
    font-weight: 100;

}

.hero-inner-container {
    background: rgb(244,141,78);
    background: -moz-linear-gradient(80deg, rgba(244,141,78,0.4) 0%, rgba(255,255,255,0) 25%, rgba(255,255,255,0) 75%, rgba(191,156,137,0.4) 100%);
    background: -webkit-linear-gradient(80deg, rgba(244,141,78,0.4) 0%, rgba(255,255,255,0) 25%, rgba(255,255,255,0) 75%, rgba(191,156,137,0.4) 100%);
    background: linear-gradient(80deg, rgba(244,141,78,0.4) 0%, rgba(255,255,255,0) 25%, rgba(255,255,255,0) 75%, rgba(191,156,137,0.4) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#f48d4e",endColorstr="#bf9c89",GradientType=1);
    background-repeat: no-repeat;
    height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    letter-spacing: 8px;

}

.hero {
    height: 100vh;
    width: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-image: url(../images-Quaives/image01-bkg.jpg);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    animation: fadeIn 2s ease-in-out;
}

.hero-inner {
    background: none;
}

.hero-inner p {
    padding: 0;
    margin: 0;
}

#quote {
    position: relative;
    bottom: -50px;
    font-size: 1.3rem;
    color: #ffffff;
    text-align: center;
    font-weight: 100;
    text-shadow: 10px 10px 10px rgba(81, 93, 58, 1);
    animation: fadeIn 3s ease-in-out;
    background: none;
    font-style: italic;


}

#quote a {
    font-size: 1.3rem;
    color: #ffffff;
    font-weight: 100;
    text-shadow: 10px 10px 10px rgba(81, 93, 58, 1);
    animation: fadeIn 3s ease-in-out;
    background: none;
    font-style: italic;
}



@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

h1 {
    font-size: 4rem;
    color: rgb(255, 255, 255);
    text-align: center;
    margin-bottom: 2rem;
    font-weight: 100;
    text-shadow: 10px 10px 10px rgba(81, 93, 58, 1);
    animation: fadeIn 4s ease-in-out;
    background: none;
    margin: 30px;
}

@media screen and (max-width: 1000px){
    h1 {
        font-size: 6rem;
    }

    
}

#countdown {
    font-size: 1.4rem;
    background: none;
    color: #fff;
    text-shadow: 10px 10px 10px rgba(81, 93, 58, 1);
}


.flex-box-right img {
    width: 100%;
    height: fit-content;
    background: none;
    opacity: 1;
    transform: rotate(0deg);
    object-fit: contain;
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    #countdown {
        font-size: 1rem;
    }
}

.hero-inner p {
    font-size: 1.5rem;
    color: #fff;
    text-align: center;
    font-weight: 100;
    text-shadow: 10px 10px 10px rgba(81, 93, 58, 1);
    animation: fadeIn 3s ease-in-out;
    background: none;
    margin: 10px;
}

.hero-inner a {
    font-size: 1.5rem;
    color: #fff;
    text-align: center;
    margin-bottom: 2rem;
    font-weight: 100;
    text-shadow: 10px 10px 10px rgba(81, 93, 58, 1);
    animation: fadeIn 4s ease-in-out;
}

a {
    background: none;
    text-decoration: none;  
}

@keyframes rain {
    0% {
        transform: translateY(-100%);
    }
    100% {
        transform: translateY(100vh);
    }
}

.nav-container {
    position: fixed;
    bottom: 0;
    left: 0;
    height: 7%;
    width: 100%;
    background: rgba(255, 255, 255, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 999;

}

.navbar {
    background: none;
    width: 100%;
    height: 100%;
}

.navbar ul {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    background: none;
    list-style-type: none;
    height: 100%;
}

.navbar li {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    background: none;
    flex-grow: 1;
    height: 100%;
}


.navbar ul li a {
    color: rgba(81, 93, 58, 1);
    text-align: center;
    flex-grow: 1;

}

.location li {
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 5px;
    text-decoration: none;
    list-style-type: none;
    color: #4d4d4d;
}

.navbar a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    position: relative; /* Add this */
    transition: 0.2s;
    
}

@media screen and (max-width: 1000px){
    .navbar a {
        font-size: 400;
        font-size: 1.6rem;
    }
    
}

.navbar a:hover {
    background: rgba(81, 93, 58, 0.7);
    color: #fff;
}



#indicator {
    position: absolute;
    top: 0;
    height: 3px;
    background: rgba(81, 93, 58, 1);
    transition: left 0.3s ease, width 0.3s ease;
}

.location {
    min-height: fit-content;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}



@media screen and (max-width: 1000px){
    .location {
        flex-direction: column;
    }
    
}

.flex-box-left {
    display: flex;
    justify-content: center;
    align-items: space-evenly;
    flex-direction: column;
    background: none;
    width: 100%;
    max-height: fit-content; /* Updated from height to min-height */
    padding: 50px;
}

.flex-box-left p {
    padding: 20px
}

.flex-box-right {
    display: flex;
    justify-content: space-evenly;
    align-items: space-evenly;
    flex-direction: column;
    background: none;
    width: 100%;
    max-height: 100vh;
    overflow: hidden;
}




#location, #teachers, #rooms, #itinerary {
    color: #4d4d4d;
    
}



@media screen and (min-width: 1000px){
    #location, #itinerary {
        flex-direction: row-reverse;
    }
    
}

#location #teachers #rooms #itinerary, h2 {
    font-size: 2.0rem;
    color: rgba(81, 93, 58, 0.9);
    font-weight: 100;
    text-shadow: 10px 10px 10px rgba(81, 93, 58, 0.2);
    letter-spacing: 2px;
    padding: 20px;
    border-bottom: 1px solid rgba(81, 93, 58, 0.4);
}

h3 {
    font-size: 1.4rem;
    color: rgba(81, 93, 58, 0.9);
    font-weight: 100;
    text-shadow: 10px 10px 10px rgba(81, 93, 58, 0.2);
    letter-spacing: 2px;
    padding: 20px;
}

#location #teachers #rooms #itinerary, p {
    font-size: 1.0rem;
    color: #4d4d4d;
    font-weight: 100;
    text-shadow: 10px 10px 10px rgba(81, 93, 58, 0.2);
    letter-spacing: 2px;
    padding: 20px;
}

#itinerary {
text-align: center;
}

#itinerary li {
    list-style-type: none;
    margin-bottom: 1rem;
    
}

.sect-backgrounds {
    background: rgb(244,141,78);
    background: -moz-linear-gradient(80deg, rgba(244,141,78,0.4) 0%, rgba(255,255,255,0) 25%, rgba(255,255,255,0) 75%, rgba(191,156,137,0.4) 100%);
    background: -webkit-linear-gradient(80deg, rgba(244,141,78,0.4) 0%, rgba(255,255,255,0) 25%, rgba(255,255,255,0) 75%, rgba(191,156,137,0.4) 100%);
    background: linear-gradient(80deg, rgba(244,141,78,0.4) 0%, rgba(255,255,255,0) 25%, rgba(255,255,255,0) 75%, rgba(191,156,137,0.4) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#f48d4e",endColorstr="#bf9c89",GradientType=1);
    background-repeat: no-repeat;
}

/* Existing CSS */

/* For desktops and laptops */
@media screen and (min-width: 1200px) {
    h1 {
        font-size: 4rem;
    }

    #countdown {
        font-size: 1.4rem;
    }

    .hero-inner p {
        font-size: 1.3rem;
    }

    .hero-inner a {
        font-size: 1.5rem;
    }

    #location #teachers #rooms #itinerary, h2 {
        font-size: 2.0rem;
    }

    #location #teachers #rooms #itinerary, p, li {
        font-size: 1.0rem;
    }
}

/* For tablets or small laptops */
@media screen and (min-width: 768px) and (max-width: 1199px) {

    #countdown {
        font-size: 1.2rem;
    }

    .hero-inner p {
        font-size: 1.3rem;
    }

    .hero-inner a {
        font-size: 1.3rem;
    }

    #location #teachers #rooms #itinerary, h2 {
        font-size: 2.5rem;
    }

    #location #teachers #rooms #itinerary, p, li {
        font-size: 0.9rem;
    }
}

/* For mobile devices */
@media screen and (max-width: 767px) {
    h1 {
        font-size: 2rem;
    }

    #countdown {
        font-size: 1rem;
    }

    .hero-inner p {
        font-size: 1.1rem;
    }

    .hero-inner a {
        font-size: 1.1rem;
    }

    #location #teachers #rooms #itinerary, h2 {
        font-size: 1.6rem;
    }

    #location #teachers #rooms #itinerary, p, li {
        font-size: 0.8rem;
    }
}

.location {
    opacity: 0;
    transition: opacity 0.8s;
}

.location.show {
    opacity: 1;
    transition-delay: 0.3s;

}


.fixed-heading {
    position: absolute;
    width: 30%;
    top: 20px;
    z-index: 999;
    border-bottom: 1px solid rgba(81, 93, 58, 0.4);
  }

  .carousel h2 {
    border-bottom: none;
  }

  table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
}

th {
    background-color: #f2f2f2;
    color: #4d4d4d;
    font-size: 1.2rem;
    padding: 10px;
}

td {
    font-size: 1.0rem;
    padding: 10px;
    border-bottom: 1px solid #f2f2f2;
}

tr:nth-child(even) {
    background-color: #f2f2f2;
}

tr:hover {
    background-color: #f2f2f2;
}

