:root {
    font-family: "Archivo", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
}

body {
    font-size: 1rem;
}

.container {
    width: 75%;
    padding: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

main,
header,
section,
li {
    text-wrap: pretty;
}

main,
section {
    padding: 1rem;
}

header {
    padding-left: 1rem;
    padding-right: 1rem;
    padding-bottom: 1rem;
}

nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    place-items: center;
    gap: 1rem;
    padding: 5%;
    font-size: 1.25rem;

    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: white;
}

.title-container:hover,
#about-me:hover,
#self-taught:hover,
#skills:hover,
.project-card:hover,
#contact-me:hover {
    color: white;
    background-color: black;

    .socials {
        transition: filter .4s ease-out;
        filter: invert(1) hue-rotate(180deg);
    }
}

.title-container,
#about-me,
#self-taught,
#skills,
.project-card,
#contact-me {
    transition: background-color .4s ease-out, color .4s ease-out;
}

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

}

.nav-bar>a {
    text-transform: none;
    text-decoration: none;
    color: inherit;
    transition: background-color .4s ease-in-out, color 0.4s ease-out, transform 0.4s ease-out;
    width: 100%;
}

.nav-bar>a:hover {
    transform: scale(1.2);
    color: white;
    background-color: black;
}

#main-title-text {
    font-size: 8vh;
}

.title-desc>p {
    font-size: 1.5em;
    font-weight: 100;
}

.section-line {
    border: 1px solid black;
}

.socials {
    display: flex;
    gap: 1.5%;
    align-items: center;
    padding-bottom: 2.5%;
}

li {
    padding: .5%;
    width: 80%;
}

.project-card {
    padding: 1.5%;
}

.about-text {
    width: 75%;
    font-size: 2vh;
    font-weight: 200;
}

#odin-link:hover {
    color: blue;
}

.title-container {
    padding: 1.5%;
}

.title-desc {
    padding: .5%;
}

@media (min-width: 768px) {
    .container {
        padding: 2rem;
        width: 90%;
    }

    #main-title-text {
        font-size: 10vh;
    }

    section {
        padding: 2.5%;
    }

    nav {
        text-align: center;
    }

}

@media (min-width: 1024px) {
    .container {
        max-width: 1200px;
    }

    nav {
        display: flex;
        flex-direction: column;

        position: fixed;
        right: 0;
        top: 2.5%;

        padding-right: 5%;
        gap: 10vh;
        font-size: 1.75rem;
    }

    .bullets-container {
        display: flex;
        gap: 25%;
    }

    #main-title-text {
        font-size: 12vh;
    }

    .about-text {
        width: 75%;
        font-size: 4vh;
        font-weight: 200;
    }

    .title-desc {
        font-size: 3vh;
    }

    .section-title {
        font-size: 6vh;
    }

    .project-title,
    .list-title {
        font-size: 4vh;
    }

    .tech-stack,
    .project-links {
        font-size: 3vh;
        font-style: italic;
    }

    .project-links {
        display: flex;
        gap: 2.5%;
    }

    section {
        min-height: 100vh;
    }

}
