body {
    display: flex;
    justify-content: center;
    height: 100vh; /* Changed to 100vh for full height */
    margin: 0;
    font-family: "Roboto Slab", serif;
    font-size: 1.1em;
}

.roboto-slab {
    font-family: "Roboto Slab", serif;
    font-optical-sizing: auto;
    font-weight: normal; /* Changed from 'weight' to 'normal' */
    font-style: normal;
}

.container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    width: 80%;
    border-radius: 8px;
    max-width: 1200px;
}

.header {
    grid-column: span 4;
    background-color: rgb(142, 174, 255);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

.main-nav {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-gap: 10px;
    padding: 0;
    list-style: none;
}

.slideshow-container {
    position: relative;
    max-width: 100%;
    margin: auto;
    overflow: hidden; /* Ensures that overflowing slides are hidden */
}

.mySlides {
    display: none; /* Slides are hidden by default */
    width: 100%; /* Ensures full width */
}

img {
    width: 100%; /* Ensures images scale properly */
    height: auto; /* Maintain aspect ratio */
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
    background-color: rgb(165, 249, 246);
}

.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.active, .dot:hover {
    background-color: #717171;
}

.full-row {
    grid-column: span 4;
    background-color: rgb(206, 231, 255);
    border-radius: 8px;
    padding: 20px;
}

.title-row {
    grid-column: span 4;
    background-color: rgb(181, 184, 255);
    border-radius: 8px;
    text-align: center;
}

.two-column-1, .two-column-2 {
    grid-column: span 2;
    background-color: rgb(212, 233, 255);
    border-radius: 8px;
    padding: 20px;
    .two-column-2 {
    transition: all 0.3s ease;
}
}
.two-column-2 {
    transition: all 0.3s ease;
}
.four-column {
    grid-column: span 1;
    background-color: rgb(195, 230, 255);
    padding: 20px;
    border-radius: 8px;
}

.footer {
    grid-column: span 4;
    background-color: rgb(238, 244, 255);
    padding: 20px;
    text-align: center;
}
.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
}

.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Media query for mobile devices */
@media (max-width: 568px) {
    .container {
        grid-template-columns: 1fr;
    }
    .header, .four-column, .full-row, .title-row, .two-column-1, .two-column-2, .footer {
        grid-column: span 1;
    }
}
