html {
    scroll-behavior: smooth;
    scroll-padding-top: 9.25rem;
}

body {
    font-family: 'Poppins', 'Inter', sans-serif;
    background-color: #EFE9F4;
    margin: 0;
    padding: 0;
    height: 100vh;
    display: flex;
    align-items: center;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}

#btn-mobile {
    display: none;
}

nav {
    position: fixed;
    top: 0;
    width: 100%;
    font-family: 'Poppins', sans-serif;
    font-weight: 200;
    letter-spacing: 0.15rem;
    font-size: 2rem;
    display: flex;
    background: #171D1C;
    height: 6.25rem;
    align-items: center;
    justify-content: space-between;
    z-index: 9999;
}

nav ul {
    display: flex;
    gap: 3.125rem;
    list-style: none;
    margin-right: 3.125rem;
}

nav a {
    text-decoration: none;
    color: #EFE9F4;
    transition: 0.3s;
    text-transform: lowercase;
}

nav a:hover {
    opacity: 0.7;
}

nav img {
    margin-left: 3.125rem;
}

h1, h2, h3 {
    margin: 0;
    padding: 0;
    text-shadow: 3px 3px 2px rgba(0, 0, 0, 0.1);
}

h1 {
    font-size: 40px;
    letter-spacing: 0.08rem;
    color: #EFE9F4;
    font-weight: 600;
}

span {
    color: #171D1C;
}

#underline {
    text-decoration: underline;
}

p {
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    margin-right: 60px;
    color: #EFE9F4;
    font-weight: 300;
    text-shadow: 3px 3px 2px rgba(0, 0, 0, 0.1);
}

#techs {
    font-weight: 600;
    color: #EFE9F4;
}

.container {
    margin-top: 6.25rem;
    width: 100vw;
    display: grid;
    grid-template-columns: 1fr auto;
    justify-content: center;
    align-items: center;
    background-color: #797A9E;
    box-sizing: border-box;
}

.container .text-block {
    margin-left: 60px;
    margin-right: 60px;
}

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

.button {
    margin-top: 32px;
}

#github-button {
    color: #171D1C;
    font-weight: 500;
    text-decoration: none;
    background-color: #EFE9F4;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.2);
    transition: 0.3s;
}

#github-button:hover {
    color: #797A9E;
}

@media screen and (max-width: 1209px) {
    html {
        scroll-padding-top: 7.25rem;
    }

    /* - Header -*/
    #menu.nav-list {
        display: block;
        position: absolute;
        width: 100%;
        top: 6.25rem;
        margin: 0;
        height: 0px;
        background-color: #171D1C;
        z-index: 9999;
        transition: .7s;
        visibility: hidden;
        overflow-y: auto;
        padding-inline-start: 0;
    }

    #menu a {
        border-bottom: 2px solid rgba(255, 255, 255, 0.1);
        margin-left: 20px;
    }

    #btn-mobile {
        display: flex;
        padding: .5rem 1rem;
        font-size: 1rem;
        border: none;
        background: none;
        cursor: pointer;
        margin-right: 20px;
        gap: .5rem;
        color: #EFE9F4;
        font-family: 'Poppins', sans-serif;
        font-weight: 500;
        font-size: 25px;
    }

    #hamburger {
        width: 20px;
        border-top: 2px solid;
        color: #EFE9F4;
    }

    #hamburger::after, #hamburger::before {
        content: '';
        display: block;
        width: 20px;
        height: 2px;
        background-color: #EFE9F4;
        margin-top: 5px;
        transition: .7s;
        position: relative;
    }

    #nav.active #menu {
        display: block;
        visibility: visible;
        height: calc(100vh - 6.25rem);
    }

    #nav.active #hamburger {
        transition: .7s;
    }

    #nav.active #hamburger {
        border-top-color: transparent;
    }

    #nav.active #hamburger::before {
        transform: rotate(135deg);
    }

    #nav.active #hamburger::after {
        transform: rotate(-135deg);
        top: -7px;
    }

    .logo {
        max-width: 70%;
        height: auto;
        margin-left: 20px;
    }

    .container {
        margin-top: 6.25rem;
        width: 100vw;
        min-height: calc(100vh - 6.25rem);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        background-color: #797A9E;
    }

    .container a {
        display: inline-block;
    }

    .container img {
        display: none;
    }

    body {
        background-color: #797A9E;
    }

    .container {
        margin-top: 2.25rem;
    }

    h1 {
        font-size: 35px;
        text-align: center;
    }

    p {
        margin-right: 0;
        text-align: center;
    }

    .button {
        align-items: center;
        display: flex;
        justify-content: center;
    }

}

@media screen and (max-width: 750px) {
    h1 {
        font-size: 25px;
    }

    p {
        font-size: 15px;
    }
}
