/* CSS Reset */
body, header, nav, main, footer, h1, div, img, ul {
    margin: 0;
    padding: 0;
    border:0;
    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%;
}

p, li {
    animation: fade linear both;
    animation-timeline: view();
    animation-range: entry 50% cover 50%;
}

p {
    text-shadow: 1px 1px rgb(174, 175, 176);
    background-color: rgba(129, 123, 123, 0.293);
}

h1 {
    background: linear-gradient(90deg, black, transparent);
    background-size: 200%;
    animation: reveal both linear;
    animation-timeline: view();
    background-repeat: no-repeat;
    animation-range: entry 50% cover 50%;
    background-clip: text;
    -webkit-background-clip: text;
    color: black;
    text-shadow: 1px 1px white;
    text-decoration: underline;
}

@keyframes fade {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes reveal {
    from {
        background-position-x: 200%;
    }
    to {
        background-position-x: 0%;
    }
}

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

.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 {
    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 */
.about-section, .desktop-about-section {
    padding: 25px;
    text-align: center;
    margin: 0px auto;
    background: #ffffff17;
    width: 100%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    font-size: large;
}

.animate {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate.visible {
    opacity: 1;
    transform: translateY(0);
}

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

/* 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) {
    /* Viewport: Show mobile & small tablet, hide tablet-desktop */
    .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, .mobile-main, .about-section{
        display: none;
    }

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

    /* Logo styling */
    #home-logo {
        max-width: 15%;
        height: auto;
        float: left;
        margin-right: 20px;
    }
    
    .desktop-about-section {
        display: flex;
        align-items: flex-start;
    }
    
    .desktop-about-section img {
        flex: 0 0 50%;
        height: 50%;
        width: 50%;
        margin-right: 20px; /* Optional: Adjust spacing between image and text */
    }
    
    .about-text {
        flex: 1;
    }

    .about-text p {
        margin-bottom: 20px; /* Adjust as needed for vertical spacing */
        line-height: 1.6; /* Adjust as needed for line spacing */
        font-size: x-large;
    }

    .about-text h2 {
        margin-bottom: 20px; /* Adjust as needed for vertical spacing */
    }
    

    /* Navigation styling */
    .tablet-desktop-nav {
        float: right;
        padding-top: 20px;
    }

    .tablet-desktop-nav a {
        font-size: 18px;
        margin-left: 30px;
        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;
    }
}

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

    .tablet-desktop-nav a {
        font-size: 1.2rem;
        margin-left: 2rem;
        position: relative;
        color: #ffffff;
        font-weight: 500;
        text-decoration: none;
        text-shadow: 2px 2px rgb(0, 0, 0);
        margin-right: 1.25rem;
    }

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

    /* Slideshow container */
    .slideshow-container {
        max-width: 100%;
        width: 100%;
        margin: auto;
        margin-top: 20px;
        overflow: hidden;
    }

    .mySlides img {
        width: 100%;
        height: auto;
        object-fit: contain;
        display: block;
    }
}

@media screen and (min-width: 1259px) {
    /* Styling for the Nav */
    .tablet-desktop-nav a {
        font-size: 2rem;
        margin-left: 2rem;
        position: relative;
        color: #ffffff;
        font-weight: 500;
        text-decoration: none;
        text-shadow: 2px 2px rgb(0, 0, 0);
        margin-right: 1.25rem;
    }

}

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