* {
    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: 100; /* 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);

    font-size: 1.1rem;
}

h2, h3, h4 {
    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;
    
}

.name-btn {
    color: rgb(70, 155, 181);
    font-weight: bolder;
}

.img-container {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    margin: 20px 0 20px 0;
    
}

.portrait-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    max-width: 40%;
}

img {
    max-width: 90%;
    height: auto;
    box-shadow: 8px 10px #8ACAC1;
}

.name {
    color: rgb(70, 155, 181);
    font-size: 1.2rem;
}

.quote {
    border: 3px solid rgba(138, 202, 193, 0.536);
    border-radius: 15px;
    padding: 10px;
    background-color: rgba(255, 255, 255, 0.749);

}

details {
    align-self: flex-start;
    cursor: pointer;
    line-height: 1.5;
}

details summary {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: rgb(70, 155, 181);
}

.portrait-box ul {
    padding-left: 40px;
}

.contact-me-box {
    align-self: flex-start;
}

.contact-me-box a {
    text-decoration: none;
    color: rgb(70, 155, 181);
}


/* Contact Button */

#contact-btn {
    width: 15%;
    min-width: 150px;
    background-color: #8ACAC1;;
	color:#FFF;
    padding: 13px 5px;
    margin: 30px 0 50px 0;
	border-radius:5px;
    text-align:center;
    align-self: center;
    box-shadow: 2px 2px 3px #999;
    transition: transform 0.3s ease-in-out;
}

#contact-btn:hover {
    transform: scale(1.1); /* Scale the button size on hover */
}

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

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

    /* Change image container to stack */

    .img-container {
        flex-direction: column;
        gap: 40px;
    }

    .portrait-box {
        max-width: 100%;
    }
}
