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

p {
    color: rgb(75, 147, 162);
    text-shadow: 2px 2px rgb(34, 26, 26);
    overflow: hidden;
}

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

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

body {
    background-image: url(../images/intro-photo-expanded.png);
    background-size: cover;
    background-position: center top;
    height: 100vh;
    width: 100%;
    background-repeat: no-repeat;
    overflow-x: hidden; /* Prevent horizontal scrolling */
}

html {
    overflow-x: hidden; /* Prevent horizontal scrolling */
}

* {
    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: fill;
    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;
    right: -40px;
    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;
}

.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 .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 .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 {
    /* other styles */
    transition: all 0.3s ease, transform .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: .6s;
    transform: translateX(-100px);
}

/* Main */
main {
    text-shadow: 2px 2px white;
    text-align: center;
    padding-top: 25%;
    font-size: 30px;
}

#facebook_link {
    display: inline-block;
}

#instagram_link {
    display: inline-block;
}

/* Footer */
footer {
    color: white;
    text-align: center;
    padding-top: 10%;
}

.copyright p {
    text-align: center;
    font-size: 1em;
    color: rgb(255, 255, 255);
    text-shadow: 2px 2px black;
}

.socials {
    padding-top: 5%;
}

/* 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 {
    /* Add print-specific styles here */
}
