body {
    line-height: 1.5;
    color: #322e18ea;
    font-family: 'Montserrat', sans-serif;
}

.inner-container {
    max-width: 78rem;
    margin: 0 auto;
    opacity: 0;
    animation: fadeIn 2.25s ease forwards;
    padding: 0 1.5rem;
}

h2 {
    font-family: 'Red Hat Display', sans-serif;
    text-transform: uppercase;
    font-size: 1.875rem;
    line-height: 2rem;
    font-weight: 300;
    letter-spacing: 0.25rem;
    padding-bottom: 0.5rem;
    margin-bottom: 0.8rem;
}

h2 span {
    font-weight: 500;
}


h3 {
    font-family: 'Marck Script', cursive;
    color: #322e188a;
    font-size: 1.875rem;
    line-height: 2.5rem;
    margin-bottom: 1.5rem;
}

p {
    margin-bottom: 1.5rem;
}


h3.animate-h3 {
    animation: fadeIn 0.5s ease forwards;
}

header {
    background-image: url(../img/banner-sm.webp);
    background-repeat: no-repeat;
    background-size: cover;
    height: 100vh;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

header svg {
    max-width: 600px;
    opacity: 70%;
    padding: 0 0.8rem;
}

.about {
    background-color: #474C32;
    padding: 5rem 0;
}

.about p, .about h3, .about h2 {
    color: #f0f0ea;
}

.about p {
    max-width: 70ch;
}

.about img {
    border-radius: 100%;
    max-width: 300px;
    margin: 0 auto;
}

.skills {
    background-color: #f5f5f5;
    padding: 5rem 0;
}

.skill-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.skill-card {
    background-color: #FFFFFF;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
    margin-bottom: 1rem;
}

.skill-card:hover {
    transform: scale(1.05);
}

.projects {
    background-color: #F5F5F5;
    padding: 5rem 0;
}

.tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.tab-btn {
    background-color: #EEE;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    margin: 0 1rem;
    max-width: 200px;
}

.tab-btn.active {
    background-color: #DDD;
}

.tab-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 1.5rem;
}

.interests {
    background-color: #f0f0ea;
    padding: 5rem 0;
}

.interest, .interest-special {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-bottom: 1rem;
}

.interest img {
    max-width: 100%;
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
    border-radius: 8px;
    margin: 10px;
}

.interest-special img {
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
    border-radius: 8px;
    max-width: 100%;
    margin: 10px;
}

.interest-special {
    display: flex;
    flex-direction: column-reverse;
    justify-content: center;
}


.interest-content {
    padding: 2rem;
}

.interest h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.interest p {
    color: #322e18ea;
}


.project-card {
    width: 100%;
    max-width: 350px;
    background-color: #FFF;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
}

.project-card:hover {
    transform: scale(1.05);
}

.project-card img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-bottom: 2px solid #EEE;
}

.project-card h3 {
    padding: 1rem;
    margin: 0;
}

.chevron {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
}

.chevron svg {
    width: 50px;
    height: 50px;
    padding: 1rem;
}

.chevron svg:hover {
    fill: #7d6124;
    transition: fill 0.3s ease;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fefefe;
    padding: 20px;
    border-radius: 10px;
    max-width: 600px;
    width: 100%;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: black;
}

p>a {
    text-decoration: none;
    color: #c69731;
}

p>a:hover {
    cursor: pointer;
    color: #7d6124;
    text-decoration: underline;
}

.inner-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h2 {
    margin-bottom: 30px; 
}

.contact {
    background-color: #474C32;
    padding: 50px 0;
}

.contact h2, .contact p {
    color:#F5F5F5;
}

.contact h2 {
    text-align: center;
}

.contact-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hidden {
    display: none;
}

.contact-info-container,
.contact-form-container {
    width: 70%; 
}

.contact-form {
    background-color: rgba(243, 245, 233, 0.7);
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.contact-form label {
    display: block;
    margin-bottom: 10px;
}


.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 1); 
}

.contact-form button {
    background-color: #c69731;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.contact-form button:hover {
    background-color: #7d6124;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateX(-1.25rem);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@media (min-width: 700px) {
    .flex {
        display: flex;
        flex-wrap: nowrap;
        justify-content: space-between;
        align-items: center;
        gap: 1rem;
    }

    header {
        background-image: url(../img/banner-md.webp);
    }

.interests-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}       

.interest, .interest-special {
    flex-direction: row;
    margin-bottom: 0;
}

.interest-special {
    flex-direction: row;
}

    .interest img {
        max-width: 50%;
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
    }
    
    .interest-special img {
        max-width: 50%;
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
    }
    
    .interest-content {
        max-width: 50%;
    }
}

@media (min-width: 770px) {
    .contact-details {
        display: flex;
        justify-content: center;
        gap: 0.8rem;
    }

    .hidden {
        display: block;
    }
}

@media (min-width: 1150px) {
    .tab-content {
        display: flex;
        flex-wrap: wrap;
        align-items: stretch;
    }


    header {
        background-image: url(../img/banner-lg.webp);
    }

    .interest img {
        max-width: 30%;
    }
    
    .interest-special img {
        max-width: 30%;
    }
    
    .interest-content {
        max-width: 70%;
    }
}