* {
    margin: 0;
    padding: 0;
    font-family: 'Helvetica', sans-serif;
}

body {
    background: linear-gradient(#8ACAC1, white);
    max-width: 100%;
    color: black;
}

a {
    text-decoration: none;
    color: inherit;
}

p {
    line-height: 1.5;
}



/* Wrapper */

.wrapper {
    display: flex;

    flex-direction: column;

    max-width: 1400px;
    min-height: 100vh;
    margin: auto;

    
}



/* Navigation Bar */

.navigation {
    position: sticky;
    top: 0;
    background-color: rgba(255,255,255,0.5); /* Semi-transparent white background */
    backdrop-filter: blur(5px); /* Adjust the blur intensity as needed */
    z-index: 1; /* Ensure it's above other elements */

}

.nav-container {
    max-width: 90rem;
    width: 100%;
    box-sizing: inherit;
    border-bottom: 2px solid #8ACAC1;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 1rem 2rem;
}

.nav-title {
    font-size: 1.3rem;
    font-weight: bold;
    transition: color 0.2s ease-in-out;
}

.nav-title:hover {
    color: #8ACAC1;
}

.nav-list {
    display: flex;
    align-items: center;

    list-style-type: none;
    font-size: 1rem;
    display: flex;
    font-weight: bolder;

}

.list-item {
    margin-left: 2rem;
}

.navigation-link:hover{
    color: #8ACAC1;
}


.hamburger {
    display: none;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background-color: #101010;
}

/* Content */

.content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 10px;
    background-color: rgba(255,255,255,0.5);

}

h2 {
    text-transform: uppercase;
    color: rgb(70, 155, 181);
    margin-bottom: 10px;
}

.text-box {
    display: flex;
    flex-direction: column;
    padding-top: 30px;
    width: 90%;
    gap: 10px;

    font-size: 1.1rem;
    
}

.text-box-content {
    padding-top: 30px;
    display: flex;
    flex-direction: row;
}

.text {
    padding-right: 30px;
    width: 60%;
}

.text-box ul {
    align-self: center;
    padding-left: 40px;
    line-height: 1.5;
}

.img-container {
    display: flex;
    align-items: center;
    width: 40%;
}

.img-container img{
    max-width: 100%;
    height: auto;
}

.img-container:hover {
    opacity: 0.7;
}



/* Footer */

.footer {
    padding: 10px;
    background-color: rgba(255, 255, 255, 0.5);
    text-align: center;
    margin-bottom: 10px;
}

.footer-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap; /* Allow items to wrap to the next line */
}

.footer-legal-link {
    display: flex;
    align-items: space-between;
    color: rgb(70, 155, 181);
    margin-bottom: 15px;
}

.footer-legal-link a {
    margin: 0 10px 0 10px;
}

.footer-legal-link a:hover {
    text-decoration: underline;
}

/* Modal */

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 2; /* 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%;
    }
}

/* Responsive Design */

/* Responsive Design */

@media screen and (max-width: 1200px) {
    .nav-wrapper {

        font-size: 1rem;
    }
    .nav-list {
        position: fixed;
        left: -100%;
        top: 0rem;
        flex-direction: column;
        background-color: #fff;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    }

    .nav-list.active {
        left: 0;
    }

    .list-item {
        margin: 2.5rem 0;
    }

    .hamburger {
        display: block;
        cursor: pointer;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

@media screen and (max-width: 1165px) {
    .text-box-content {
        flex-direction: column;
    }

    .text {
        width: 100%;
    }

    .img-container {
        margin-top: 40px;
        margin-bottom: 30px;
        width: 100%;
        justify-content: center;
    }

    .img-container img{
        width: 60%;
        max-width: 600px;
    }

    /* Change footer items to stack */

    .footer-container {
        flex-direction: column;
        align-items: center; /* Center items in a column */
    }

    .footer-legal-link {
        margin-left: 0; /* Reset margin for stacked items */
        margin-top: 10px; /* Add some space between stacked items */
    }

}

@media screen and (max-width: 640px) {
    .nav-wrapper {

        font-size: 1rem;
    }

    .text-box p {
        width: 100%;
    }

    .img-container img{
        width: 100%;
    }
}
