/* CSS Reset */
body, header, nav, main, footer, h1, div, img, ul {
    margin: 0;
    padding: 0;
    border: 0;
}

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

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

body {
    background-image: url(../images/intro-photo.png);
    background-size: cover;
    background-position: center;
    height: 100vh;
    width: 100%;
    overflow-x: hidden; /* Prevent horizontal overflow */
}
/* Style the Image Used to Trigger the Modal */
#myImg {
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
  }
  
  #myImg:hover {opacity: 0.7;}
  
  /* The Modal (background) */
  .modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
  }
  
  /* Modal Content (Image) */
  .modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
  }
  
  /* Caption of Modal Image (Image Text) - Same Width as the Image */
  #caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
  }
  
  /* Add Animation - Zoom in the Modal */
  .modal-content, #caption {
    animation-name: zoom;
    animation-duration: 0.6s;
  }
  
  @keyframes zoom {
    from {transform:scale(0)}
    to {transform:scale(1)}
  }
  
  /* The Close Button */
  .close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
  }
  
  .close:hover,
  .close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
  }
  
  /* 100% Image Width on Smaller Screens */
  @media only screen and (max-width: 700px){
    .modal-content {
      width: 100%;
    }
  }


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

.wrapper {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100%;
    width: 100%;
    background: url(../images/intro-photo.png);
    background-size: cover; /* Adjusted for better fit */
    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 .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;
}

/* Closing animation */
#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;
    overflow: hidden;
}

.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;
    overflow: hidden;
}

/* Example parent container */
.parent-container {
    position: relative; /* Ensure the container is positioned correctly */
    padding-right: 40px; /* Add padding if needed */
}


.content .title {
    font-size: 40px;
    font-weight: 700;
}

.content p {
    font-size: 35px;
    font-weight: 600;
}

#active:checked ~ .wrapper ul li a {
    opacity: 1;
}

/* Main */

/* Footer */
.copyright p {
    text-align: center;
    font-size: 1em;
    color: rgb(0, 0, 0);
    text-shadow: 1px 1px white;
}

/* 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 {
        display: none;
    }
}

/* 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;
    }
}

/* 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-main {
        display: flex;
        justify-content: space-between; /* Optional: Adjust spacing between images */
        align-items: center; /* Optional: Center images vertically if they have different heights */
        padding-top: 10%;
    }
    
    .tablet-desktop-main img {
        width: 100%; /* Adjust as needed for smaller size */
        height: auto; /* Maintain aspect ratio */
        margin-right: 10px; /* Optional: Adjust spacing between images */
    }
    
    .tablet-desktop-main img:last-child {
        margin-right: 0; /* Remove margin from the last image */
    }
    

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

    /* 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, .about-section, .mobile-main {
        display: none;
    }

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

    .mobile, .mobile-nav, .mobile-main {
        display: none;
    }
    
    .tablet-desktop-main {
        display: flex;
        justify-content: space-between; /* Optional: Adjust spacing between images */
        align-items: center; /* Optional: Center images vertically if they have different heights */
        padding-top: 10%;
    }
    
    .tablet-desktop-main img {
        width: 100%; /* Adjust as needed for smaller size */
        height: auto; /* Maintain aspect ratio */
        margin-right: 10px; /* Optional: Adjust spacing between images */
    }
    
    .tablet-desktop-main img:last-child {
        margin-right: 0; /* Remove margin from the last image */
    }

    /* 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 */
    }

}



@media screen and (min-width: 1259px) {
    .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;
    }

    /* 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 */
    }

    .tablet-desktop-main {
        display: flex;
        justify-content: space-between; /* Optional: Adjust spacing between images */
        align-items: center; /* Optional: Center images vertically if they have different heights */
        padding-top: 10%;
    }
    
    .tablet-desktop-main img {
        width: 100%; /* Adjust as needed for smaller size */
        height: auto; /* Maintain aspect ratio */
        margin-right: 10px; /* Optional: Adjust spacing between images */
    }
    
    .tablet-desktop-main img:last-child {
        margin-right: 0; /* Remove margin from the last image */
    }
    

}



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

}
