* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -webkit-font-smoothing: grayscale;
}

:root {
    font-family: "Hepta Slab", serif;
    font-size: 62.5%;
}

body {
    background-color: #26282a;
    color: #ffffff;

    position: relative;
    min-height: 100vh;
}

/* HEADER */

.header {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;

    margin: auto;

    max-width: 126rem;
    padding: 4.5rem 0rem;

    transition: all 200ms ease;
}

.willian {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: center;
    gap: 4.2em;
}

.willian article {
    font-size: 4.2em;
    font-weight: 400;
    text-align: center;
}

.willian article h1 {
    font-weight: 400;
}

.willian-img {
    width: 160px;
}

.vertical-line {
    border-left: 2px solid #ffffff;
    border-radius: 1em;
    height: 130px;
}

.nav {
    display: flex;
    flex-direction: column;
    gap: 2.6rem;

    transition: all 200ms ease;
}

.nav-items {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.svg {
    cursor: pointer;
    width: 4rem;
    transition: scale 200ms ease;
}

.svg:hover {
    scale: 1.12;
}

.rounded {
    position: relative;
}

.dark-ellipse {
    position: absolute;

    background-color: #8b8b8b;

    margin: 0;
    padding: 0.4rem;

    border-radius: 50%;

    top: 50%;
    left: -1rem;
    transform: translate(-50%, -50%);
}

.light-ellipse {
    position: absolute;

    background-color: #ffffff;

    margin: 0;
    padding: 0.4rem;

    border-radius: 50%;

    top: 50%;
    left: -1rem;
    transform: translate(-50%, -50%);
}

/* CONTAINER */

.container {
    /* padding: 2rem 32rem; */
    margin: auto;
    padding-top: 4rem;
    padding-bottom: 12rem;
    max-width: 82rem;

    text-align: justify;

    transition: all 200ms ease;
}

.home-article {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5rem;

    line-height: 2.5rem;
    font-size: 1.8rem;
}

.home-article h1 {
    font-size: 2.4rem;
    font-family: 700;

    margin-bottom: 1rem;
}

.home-article ul {
    text-transform: capitalize;
    margin-left: 3.2rem;
    line-height: 2.8rem;
}

.resume h1 {
    text-align: left;
}

/* FOOTER */

footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 2rem;

    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    /* display: grid;
    place-content: center; */
    gap: 2rem;

    margin: auto;
    text-align: justify;
    font-size: 1.5rem;
}

/* DIALOG */

dialog {
    margin: auto;
    text-align: center;

    color: #ffffff;
    background-color: #171717bc;

    border: none;
    border-radius: 1rem;

    padding: 5rem;

    font-size: 1.4rem;

    animation: show 0.4s ease;

    z-index: 3;
}

dialog button {
    padding: 1rem;
    margin: 0.75rem;
    border-radius: 0.5rem;

    font-size: 1.2rem;

    background-color: #ffffff;
    color: #26282a;

    border: none;
    outline: none;

    cursor: pointer;
}

@keyframes show {
    0% {
        opacity: 0;
    }
}

.blur {
    filter: blur(5px);
    -webkit-filter: blur(5px);
    -moz-filter: blur(5px);
    -o-filter: blur(5px);
    -ms-filter: blur(5px);
}

/* INFO */

.college h1 {
    text-align: center;
}

.info-job {
    text-align: center;
}

.info-job ul {
    list-style: none;
    margin-left: 0;
}

.job-stuff {
    text-align: center;
    margin: auto;
}

.job-svg {
    filter: grayscale(90%);

    transition: all 200ms ease;
}

.job-svg:hover {
    filter: grayscale(0);
}

.svg-adjust {
    margin: 1rem;
}

.code-svg {
    filter: invert(85%) sepia(89%) saturate(34%) hue-rotate(307deg)
        brightness(108%) contrast(80%);
}

.html:hover {
    filter: invert(62%) sepia(66%) saturate(7500%) hue-rotate(9deg)
        brightness(96%) contrast(87%);
}

.css:hover {
    filter: invert(43%) sepia(61%) saturate(5850%) hue-rotate(191deg)
        brightness(93%) contrast(91%);
}

.js:hover {
    filter: invert(71%) sepia(68%) saturate(445%) hue-rotate(5deg)
        brightness(110%) contrast(92%);
}

.python:hover {
    filter: invert(41%) sepia(64%) saturate(531%) hue-rotate(182deg)
        brightness(84%) contrast(87%);
}

#open-btn-menu {
    display: none;
}

/* MEDIA SIZE CONTENT */

@media only screen and (max-width: 1300px) {
    .header,
    .container {
        max-width: 80rem;
        padding: 1rem 5rem 8rem;
        transition: all 200ms ease;
    }

    .willian-img {
        width: 112px;
        transition: all 200ms ease;
    }

    .willian article {
        font-size: 2.6rem;
        transition: all 200ms ease;
    }

    .vertical-line {
        display: none;
    }

    .nav {
        flex-direction: row;
        transition: all 200ms ease;
    }

    .nav-items {
        display: none;
    }

    #open-btn-menu {
        display: block;
        transition: all 200ms ease;
    }

    dialog {
        min-height: 100vh;
        min-width: 100vw;
        overflow: hidden;

        font-size: 1.6rem;

        border-radius: 0;
    }

    dialog h1 {
        font-size: 3.5rem;
        margin-bottom: 1rem;
    }

    dialog button {
        min-width: 100%;
        padding: 2rem;

        font-size: 2rem;
    }
}

@media only screen and (max-width: 490px) {
    .willian article {
        display: none;
    }
}
