:root {
    --primary-color: rgb(244, 141, 78);
    --secondary-color: rgba(191, 156, 137, 0.4);
    --text-color: rgb(71,111,127);
    --background-color: rgba(255, 255, 255, 0);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: playfair display, serif;
    font-weight: 100;
}

.hero-inner-container {
    background: var(--primary-color);
    background: -moz-linear-gradient(80deg, var(--primary-color) 0%, var(--background-color) 25%, var(--background-color) 75%, var(--secondary-color) 100%);
    background: -webkit-linear-gradient(80deg, var(--primary-color) 0%, var(--background-color) 25%, var(--background-color) 75%, var(--secondary-color) 100%);
    background: linear-gradient(80deg, var(--primary-color) 0%, var(--background-color) 25%, var(--background-color) 75%, var(--secondary-color) 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/image02-bkg.jpg);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    animation: fadeIn 2s ease-in-out;
}

.hero-two {
    height: 100vh;
    width: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-image: url(../images-Quaives/image02-bkg-kenya.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;
    animation: fadeIn 3s ease-in-out;
    background: none;
    font-style: italic;
}

@media screen and (max-width: 1000px) {
    .hero-inner p{
        font-size: 2rem;
    }
}


#quote a {
    font-size: 1.3rem;
    color: #ffffff;
    font-weight: 100;
    text-shadow: 10px 10px 10px var(--text-color);
    animation: fadeIn 3s ease-in-out;
    background: none;
    font-style: italic;
}



@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

h1 {
    font-size: 4rem;
    color: #ffffff;
    text-align: center;
    margin-bottom: 2rem;
    font-weight: 100;
    text-shadow: 10px 10px 10px var(--text-color);
    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 var(--text-color);
}

.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 var(--text-color);
    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 var(--text-color);
    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: var(--text-color);
    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;
    transition: 0.2s;
}

@media screen and (max-width: 1000px) {
    .navbar a {
        font-size: 400;
        font-size: 1.6rem;
    }
}

@media screen and (max-width: 1000px) {
    .slider h1, h2, h3, p, a, li{
        text-align: center;
    }
}

#book-btn {
    width: 150px;
    background: var(--text-color);
    color: #ffffff;
    border: none;
    margin-top: 10px;
    border-radius: 2px;
    padding: 5px;
    transition: background-color 0.3s ease;
}

#book-btn:hover {
    background-color: #4d4d4d;
    cursor: pointer;
}

#book-btn:active {
    background-color: #333333;
}

.navbar a:hover {
    background: var(--text-color);
    color: #fff;
}

#indicator {
    position: absolute;
    top: 0;
    height: 3px;
    background: var(--text-color);
    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;
    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: var(--text-color);
    font-weight: 100;
    letter-spacing: 2px;
    padding: 20px;
    border-bottom: 1px solid var(--secondary-color);
}

h3 {
    font-size: 1.4rem;
    color: var(--text-color);
    font-weight: 100;
    letter-spacing: 2px;
    padding: 20px;
}

@media screen and (max-width: 1000px) {

    .carosel-text, .location {
        font-size: 130%;
    }
}

#location #teachers #rooms #itinerary,
p {
    font-size: 1.0rem;
    color: #4d4d4d;
    font-weight: 100;
    letter-spacing: 2px;
    padding: 20px;
}

#itinerary {
    text-align: center;
}

#itinerary li {
    list-style-type: none;
    margin-bottom: 1rem;
}

.sect-backgrounds {
    background: var(--primary-color);
    background: -moz-linear-gradient(80deg, var(--primary-color) 0%, var(--background-color) 25%, var(--background-color) 75%, var(--secondary-color) 100%);
    background: -webkit-linear-gradient(80deg, var(--primary-color) 0%, var(--background-color) 25%, var(--background-color) 75%, var(--secondary-color) 100%);
    background: linear-gradient(80deg, var(--primary-color) 0%, var(--background-color) 25%, var(--background-color) 75%, var(--secondary-color) 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 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 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 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 var(--secondary-color);
}

.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;
}
