:root {
    --cream: #FEF1D4;
    --sand: #F2D28C;
    --stone: #D1D6C0;
    --green: #637911;
    --dark: #46540C;
}


body {
    font-family: 'League Spartan', sans-serif;
    background-color: var(--cream);
    margin: 0;
    padding: 0;
}

section {
    padding: 20px;
}

/* Typography */
h1 {
    font-weight: 200;
    text-transform: uppercase;
    font-size: 150px;
    color: var(--green);
    margin: 0;
    margin-top: 70px;
}

h2 {
    font-weight: 500;
    font-size: 50px;
    color: var(--green);
    margin: 0;
}

h3 {
    font-weight: 600;
    font-size: 30px;
}

p {
    font-weight: 500;
    font-size: 16px;
    color: var(--dark);
}

a {
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
}

/* Navigation */
nav {
    position: fixed;
    right: 0;
    left: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: var(--stone);
    color: var(--dark);
    z-index: 10;
}

nav .left {
    display: flex;
    align-items: center;
}

.logo {
    width: 40px;
    height: 40px;
    margin-right: 10px;
    padding: 5px;
    background-color: var(--sand);
    border-radius: 100%;
}

.logo img {
    width: 40px;
    height: 40px;
}

nav .right {
    display: flex;
    gap: 20px;
    transition: all 0.3s ease;
}

nav a {
    background-color: var(--sand);
    color: var(--dark);
    text-transform: uppercase;
    padding: 5px 10px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
}

.nav-toggle {
    display: none;
    cursor: pointer;
}

.nav-toggle img {
    width: 28px;
    height: 28px;
}

/* Main Content */

.heading {
    text-align: center;
    margin-bottom: 30px;
}

.intro {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 50px;
}

.intro p {
    width: 500px;
}

.intro img {
    width: 500px;
    height: auto;
    border-radius: 10px;
}

.assignment {
    margin-top: 50px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 20px;
}

.context {
    background-color: var(--sand);
    padding: 20px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 20px;
}

.context p {
    width: 500px;
}

.inspiration {
    background-color: var(--sand);
    padding: 20px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 20px;
}

.inspiration p {
    width: 500px;
}

.inspiration img {
    width: 300px;
    height: auto;
    border-radius: 10px;
}

.content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.finish {
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.finish img {
    max-width: 500px;
    height: auto;
    border-radius: 10px;
}

.images {
    display: flex;
    flex-direction: row;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.contact {
    display: flex;
    align-items: center;
    background-color: var(--sand);
    padding: 0 40px;
    margin: 0;
    margin: 50px auto 0 auto;
    border-radius: 20px;
    height: 120px;
    width: 300px;
    position: relative;
}

.contact h3 {
    position: absolute;
    right: 0;
    top: 0;
    transform: translateY(-50%);
    margin: 0;
    padding-right: 20px;
    color: var(--green);
    z-index: 1;
}

.contact a {
    color: var(--dark);
    font-weight: 700;
    font-size: 16px;
    padding: 5px;
    text-decoration: none;
}

.contact .row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    width: 100%;
    height: 100%;
}

.contact .paw {
    width: 50px;
    height: 50px;
    margin: 0;
    padding-left: 20px;
}

.contact .col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    text-align: right;
    gap: 2px;
}

.linkedin {
    color: var(--dark);
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.linkedin img {
    width: 20px;
    height: 20px;
}

/* popup */
.popup {
    display: none;
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 50;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(2px);
    animation: fadeIn 0.3s ease;
}

.open-btn {
    background-color: var(--green);
    color: var(--sand);
    margin-top: 5px;
    padding: 5px 10px;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
    font-family: 'League Spartan', sans-serif;
}

.open-btn:hover {
    background-color: var(--dark);
}

/* Footer */
footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: var(--stone);
    color: var(--dark);
}

footer .logo {
    width: 40px;
    height: 40px;
    padding: 5px;
    background-color: var(--sand);
    border-radius: 50px;
}

footer p {
    margin: 0;
    margin-bottom: 0;
    padding: 5px 10px;
    border-radius: 20px;
}

/* responsive */
@media (max-width: 768px) {
    html {
        scroll-padding-top: 50px;
    }

    h1 {
        margin: 0;
        margin-top: 70px;
        font-weight: 200;
        text-transform: uppercase;
        font-size: 60px;
        color: var(--green);
        text-align: center;
    }

    h2 {
        font-size: 25px;
        margin: 0;
    }

    h3 {
        font-size: 22px;
    }

    p {
        font-weight: 500;
        font-size: 16px;
        color: var(--dark);
    }

    a {
        font-weight: 700;
        font-size: 16px;
        text-decoration: none;
    }

    /* Navigation */
    nav .logo {
        width: 30px;
        height: 30px;
        margin-right: 10px;
        padding: 5px;
        background-color: var(--sand);
        border-radius: 50%;
    }

    nav {
        flex-wrap: wrap;
    }

    .nav-toggle {
        display: block;
        position: absolute;
        top: 15px;
        right: 20px;
        z-index: 2;
    }

    nav .right {
        display: none;
        flex-direction: row;
        justify-content: center;
        width: 100%;
        background-color: var(--stone);
        text-align: center;
        padding: 10px 0;
    }

    .right a {
        margin: 10px 0;
        display: block;
    }

    .right.open {
        display: flex;
        animation: slideDown 0.3s ease forwards;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    section {
        padding: 20px;
    }

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

    .finish img {
        max-width: 100%;
    }

    .intro {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }

    .assignment {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }

    .inspiration p, .intro p, .context p {
        width: 100%;
    }
}