@font-face {
    font-family: 'Chom';
    src: url('/fonts/Chomsky.woff2') format('woff2');
    font-weight: lighter;
    font-style: normal;
}

@font-face {
    font-family: "Chelt";
    src: url('/fonts/CheltenhamStdBookCondIt.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "Chelt-light";
    src: url('/fonts/CheltenhamStdLight.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

body {
    margin: 0;
    font-family: 'Georgia', serif;
    background-color: #ffffff;
    color: #111111;
    line-height: 1.6;
}
#center {
    text-align: center;
    font-family: 'Chom', 'Times New Roman', serif, serif;
    margin-top: 0;
    margin-bottom: 0;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

h1 {
    font-size: 32px;
    font-weight: 400;
    margin-bottom: 20px;
    text-align: center;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 10px;
}

/* Carousel Styling */
.carousel {
    position: relative;
    margin: 40px 0;
    overflow: hidden;
    border-radius: 5px;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
    margin-right: 100px; /* Add space between slides */
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0; /* Initially hidden */
    transition: opacity 0.5s ease; /* Fade-in effect */
}

.carousel-slide.active {
    opacity: 1; /* Fully visible when active */
}

.carousel-image {
    width: 80%;
    height: 365px;
    border-radius: 5px;
}

@media (max-width:1100px) {
    .carousel-image {
        height: 290px;
    }
}

.carousel-description {
    margin-top: 15px;
    font-size: 16px;
    color: #555555;
    text-align: center;
}

/* Navigation Buttons */
.carousel-buttons {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
}

.carousel-button {
    background: none;
    
    color: #111111;
    font-size: 18px;
    cursor: pointer;
    padding: 10px 15px;
    border: none;
    border-radius: 30%;
    transition: all 0.3s;
    opacity: 0.8;
}

.carousel-button:hover {
    background: #e0e0e0;
    color: #ffffff;
    opacity: 1;
}

/* Dots for Navigation */
.carousel-dots {
    display: flex;
    justify-content: center;
    margin-top: 15px;
}

.carousel-dot {
    width: 8px;
    height: 2px;
    background: #e0e0e0;
    border-radius: 5%;
    margin: 0 8px;
    cursor: pointer;
    transition: background 0.3s;
}

.carousel-dot.active {
    background: #111111;
}

/* Footer */
footer {
    text-align: center;
    margin-top: 50px;
    font-size: 14px;
    color: #555555;
    border-top: 1px solid #e0e0e0;
    padding-top: 20px;
}

.header {
    padding: 10px;
    padding-top: 10px;
    margin-left: 0;
    margin-right: 0;
    border-bottom: 4px double #ababab;
    background-color: white;
    position: relative;
    z-index: 1000;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

/* Centering and spacing for the nav bar */
.nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    font-family: 'Arial', sans-serif;
    font-size: 14px;
    flex-wrap: wrap;
    width: auto;
}

.nav a {
    text-decoration: none;
    color: black;
    padding: 5px 10px;
    position: relative;
}

.nav a:hover {
    text-decoration: underline;
}

.separator {
    margin: 0 15px;
    color: #ccc;
}

/* Dropdown Menu Styling */
.nav-section {
    position: relative;
}

.dropdown-content {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    width: 100vw;
    /* Full width of the viewport */
    background-color: white;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.1);
    /* Adds a shadow effect */
    z-index: 1;
    /* Ensures the dropdown stays above other content */
    padding: 10px 0;
    /* Padding for dropdown content */
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
    /* Centers the text inside the dropdown */
}

.dropdown-content a:hover {
    background-color: #f1f1f1;
}

.nav-section:hover .dropdown-content {
    display: block;
}

/* Hide the nav links by default for mobile */
.nav {
    display: flex;
    /* Default flex display */
    justify-content: center;
    align-items: center;
    gap: 20px;
    transition: max-height 0.3s ease;
}

/* Responsive styling for mobile */
@media (max-width: 768px) {
    .nav {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 50px;
        /* Position it under the header */
        left: 0;
        background-color: white;
        z-index: 1;
    }

    /* Display the nav when the active class is toggled */
    .nav.active {
        display: flex;
    }
}
