/* CSS Reset */
body, header, nav, main, footer, h1, div, img, ul {
    margin: 0;
    padding: 0;
    border: 0;
    max-width: 100%;
    box-sizing: border-box;
}

/* Body and Images */
img, video {
    max-width: 100%;
    max-height: 100%;
    display: block;
}

img {
    max-width: 100%;
    display: block;
}

/* Header */
#home-logo {
    display: block;
    margin-left: 2%;
    margin-right: auto;
    width: 30%;
}

body {
    background-image: url(../images/Webpage-background-extended2.png);
    background-size: cover;
    background-position: center top;
    height: 100vh;
    width: 100%;
}

/* Mobile Nav */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Lato', sans-serif;
    font-family: 'Oswald', sans-serif;
}

.wrapper {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100%;
    width: 100%;
    background: url(../images/intro-photo.png);
    background-size: cover;
    background-position: center;
    transition: all 0.6s ease-in-out;
    z-index: 998; 
}

#active:checked ~ .wrapper {
    right: 0;
}

.menu-btn {
    position: absolute;
    z-index: 999;
    margin-top: 10px;
    right: 3px;
    top: 5px;
    height: 15%;
    width: 100px;
    text-align: center;
    line-height: 50px;
    border-radius: 50%;
    font-size: 20px;
    transition: all 0.3s ease-in-out;
    overflow: hidden;
}

.menu-btn span,
.menu-btn:before,
.menu-btn:after {
    content: "";
    position: absolute;
    top: calc(50% - 1px);
    left: 0%;
    width: 40%;
    border-bottom: 3px solid #000;
    transition: transform 0.6s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.menu-btn:before {
    transform: translateY(-5px);
}

.menu-btn:after {
    transform: translateY(10px);
}

.close {
    z-index: 2;
    position: absolute;
    top: 10px; 
    right: 10px;
    width: 30px; 
    height: 30px; 
}

#active:checked + .menu-btn span {
    transform: scaleX(0);
}
#active:checked + .menu-btn:before {
    transform: rotate(45deg);
    border-color: #fff;
}
#active:checked + .menu-btn:after {
    transform: rotate(-45deg);
    border-color: #fff;
}
.wrapper ul {
    position: absolute;
    top: 60%;
    left: 50%;
    height: 90%;
    transform: translate(-50%, -50%);
    list-style: none;
    text-align: center;
}
.wrapper ul li {
    height: 12%;
    margin: 20px 0;
}
.wrapper ul li a {
    text-decoration: none;
    text-align: center;
    font-size: 50px;
    font-weight: 200;
    padding: 5px 40px;
    color: black;
    text-shadow: 2px 2px white;
    border-radius: 50px;
    position: relative;
    line-height: 12px;
    margin: 100px 25px;
    opacity: 0;
    transition: all 0.3s ease;
    transition: transform 0.6s cubic-bezier(0.215, 0.61, 0.355, 1);
}
.wrapper ul li a:after {
    position: absolute;
    content: "";
    background: #fff;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    border-radius: 50px;
    transform: scaleY(0);
    z-index: -1;
    transition: transform 0.3s ease;
}
.wrapper ul li a:hover:after {
    transform: scaleY(1);
}
.wrapper ul li a:hover {
    color: #000000;
}
input[type="checkbox"] {
    display: none;
}
.content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    text-align: center;
    width: 100%;
    color: #202020;
}
.content .title {
    font-size: 40px;
    font-weight: 700;
}
.content p {
    font-size: 35px;
    font-weight: 600;
}

#active:checked ~ .wrapper ul li a {
    opacity: 1;
}
.wrapper ul li a {
    transition: all 0.3s ease, transform 0.6s cubic-bezier(0.215, 0.61, 0.355, 1);
}
#active:checked ~ .wrapper ul li a {
    transform: none;
    transition-timing-function: ease, cubic-bezier(.1, 1.3, .3, 1);
    transition-delay: 0.6s;
    transform: translateX(-100px);
}

/* Main */
/* Gallary Styles */
* {box-sizing:border-box}

/* Slideshow container */
.slideshow-container {
    max-width: 1000px;
    height: 300px; /* Adjust height as needed */
    position: relative;
    margin: auto;
    overflow: hidden;
}

.mySlides img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures images cover the container while maintaining aspect ratio */
    display: block;
}

/* Hide the images by default */
.mySlides {
    display: none;
}

/* Next & previous buttons */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

/* Position the "next button" to the right */
.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Caption text */
.text {
    color: #f2f2f2;
    font-size: 15px;
    padding: 8px 12px;
    position: absolute;
    bottom: 8px;
    width: 100%;
    text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
}

/* The dots/bullets/indicators */
.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;
}

/* Fading animation */
.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from {opacity: .4}
    to {opacity: 1}
}

/* Summary Styles */
.summary-container {
    position: relative;
    width: 100%; 
    background-color: #f0f0f066; 
    margin-top: 5%;
    padding: 20px;
    border: 1px solid #00fff7; 
    border-radius: 5px;
    font-weight: bold;
}

.summary {
    margin-bottom: 20px;
}

.full-summary-link {
    position: absolute;
    border: 1px solid black;
    background-color: teal;
    border-radius: 5%;
    bottom: 2px;
    right: 10px;
    text-decoration: none;
    color: white; /* Link color */
}

.full-summary-link:hover {
    text-decoration: underline;
}

/* Location Container Styles */
.location-container {
    text-align: center;
    background-color: #f0f0f066;
    margin-top: 5%;
    border: 1px solid #00fff7;
}

.location-title {
    font-weight: bold;
    margin-bottom: 20px;
}

.location {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.location-link {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.location-image {
    max-width: 100%;
    height: auto;
    width: 50%;
}

/* Mission Container Styles */
.mission-container {
    position: inherit;
    width: 100%;
    background-color: #f0f0f066;
    margin-top: 5%;
    padding: 20px;
    border: 1px solid #00fff7;
    border-radius: 5px;
    text-align: center;
    font-weight: bold;
}

/* Footer */
.copyright-box {
    padding: 9px; /* Adjust padding as needed */
    margin-top: 5px;
}

.copyright p {
    text-align: center;
    font-size: 1em;
    font-weight: bold;
    color: black; /* Text color */
    opacity: 1; /* Text opacity set to 100% (optional since 1 is default) */
}

/* Show mobile class, hide tablet-desktop class */
@media only screen and (max-width: 600px) {
    .mobile, .mobile-nav {
        display: block;
        text-align: center;
    }

    .tablet-desktop-nav, .tablet-desktop-main, .desktop-gallery-container, .desktop-gallery {
        display: none;
    }

    .slideshow-container {
        height: 300px; /* Adjust height for larger screens */
    }
}

/* Media query for mobile viewport */
@media only screen and (min-width: 601px) {
    .mobile-nav, .mobile-main {
        display: block;
    }

    .tablet-desktop-nav, .tablet-desktop-main {
        display: none;
    }

    .slideshow-container {
        height: 400px;
    }
}

@media only screen and (min-width: 800px) {
    .slideshow-container {
        height: 450px;
    }
}

/* Media Query for Desktop Viewport */
@media only screen and (min-width: 992px), print {
    /* Hide elements for mobile view */
    .mobile, .mobile-nav, .about-section, .mobile-main {
        display: none;
    }

    /* Show elements for tablet and desktop */
    .tablet-desktop-nav, .tablet-desktop-main, #home-logo {
        display: block;
    }

    /* Logo styling */
    #home-logo {
        max-width: 15%; /* Adjust as needed */
        height: auto; /* Ensures logo scales with its width */
        float: left;
        margin-right: 20px; /* Add margin for spacing */
    }

    /* Navigation styling */
    .tablet-desktop-nav {
        float: right;
        padding-top: 20px; /* Adjust based on your design */
    }

    .tablet-desktop-nav a {
        font-size: 18px; /* Adjust font size for smaller screens */
        margin-left: 30px; /* Adjust spacing between nav items */
        position: relative;
        color: #ffffff;
        font-weight: 500;
        text-decoration: none;
        text-shadow: 2px 2px rgb(0, 0, 0);
        padding-right: 0%;
        margin-right: 20px;
    }

    .tablet-desktop-nav a::before {
        content: '';
        position: absolute;
        top: 100%;
        left: 0;
        width: 0;
        height: 2px;
        background: #3B7275;
        transition: .3s;
    }

    .tablet-desktop-nav a:hover::before {
        width: 100%;
    }

    /* Slideshow container */
    .slideshow-container {
        clear: both; /* Ensure it clears both logo and nav */
        max-width: 1000px;
        margin: auto;
        margin-top: 20px; /* Adjust margin-top as needed */
        overflow: hidden;
    }

    .mySlides img {
        width: 100%;
        height: 100%;
        object-fit: cover; /* Ensures images cover the container while maintaining aspect ratio */
        display: block;
    }

    /* Desktop footer */
    .footer {
        clear: both;
        /* Add any additional styling for footer */
    }
}

/* Media Query for Large Desktop Viewports */
@media screen and (min-width: 1029px) {
    .mobile, .mobile-nav, .mobile-main {
        display: none;
    }
    
    .tablet-desktop-nav, .tablet-desktop-main {
        display: block;
    }

    /* Styling for nav */
    .tablet-desktop-nav {
        float: right;
        padding-top: 1.25rem; /* Adjust based on your design */
    }
    
    .tablet-desktop-nav a {
        font-size: 1.2rem; /* Adjust font size for smaller screens */
        margin-left: 2rem; /* Adjust spacing between nav items */
        position: relative;
        color: #ffffff;
        font-weight: 500;
        text-decoration: none;
        text-shadow: 2px 2px rgb(0, 0, 0);
        margin-right: 1.25rem; /* Adjust right margin */
    }
    
    .tablet-desktop-nav a::before {
        content: '';
        position: absolute;
        top: 100%;
        left: 0;
        width: 0;
        height: 2px;
        background: #3B7275;
        transition: width 0.3s ease; /* Improved transition syntax */
    }

    /* Slideshow container */
    .slideshow-container {
        max-width: 100%; /* Ensures slideshow fills the available width */
        width: 100%; /* Makes slideshow container responsive */
        margin: auto;
        margin-top: 20px; /* Adjust margin-top as needed */
        overflow: hidden;
    }

    .mySlides img {
        width: 100%; /* Ensures images fill the slideshow container */
        height: auto; /* Allows images to scale proportionally */
        object-fit: contain; /* Ensures images cover the container while maintaining aspect ratio */
        display: block;
    }
}

@media screen and (min-width: 1259px) {

    /* Styling for the Nav */
    .tablet-desktop-nav a {
        font-size: 2rem; /* Adjust font size for smaller screens */
        margin-left: 2rem; /* Adjust spacing between nav items */
        position: relative;
        color: #ffffff;
        font-weight: 500;
        text-decoration: none;
        text-shadow: 2px 2px rgb(0, 0, 0);
        margin-right: 1.25rem; /* Adjust right margin */
    }

    /* Slideshow container */
    .slideshow-container {
        max-width: 100%; /* Ensures slideshow fills the available width */
        width: 100%; /* Makes slideshow container responsive */
        height: 500px;
        margin: auto;
        margin-top: 20px; /* Adjust margin-top as needed */
        overflow: hidden;
    }

    .mySlides img {
        width: 100%; /* Ensures images fill the slideshow container */
        height: 600px; /* Allows images to scale proportionally */
        object-fit: contain; /* Ensures images cover the container while maintaining aspect ratio */
        display: block;
    }
}

/* Media Query for Print */
@media print {

}
