* {
    --background-color: #F6F7EB;
    --shadow-color: #393E41;

    --thumb-color: #3f88C5;
    --track-color: #393E41;

    --red: #E94F37;
    --orange: #e98635;
    --yellow: #e9bf35;
    --blue: #3F88C5;
    --black: #393E41;
    --white: #F6F7EB;

    scrollbar-color: var(--thumb-color) var(--track-color);
    scrollbar-width: thin;
}

.about {
    display: flex;
    justify-content: space-around;
    margin: 0 10% 0 10%;
    gap: 10%;
}

.button {
    position: relative;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 117px;
    min-height: 2em;
    padding-inline: 1em;
    font-size: larger;
    font-weight: 400;

    text-decoration: none;
}

.button.selected {
    font-weight: 600;
}

.button::after {
    content: "";
    position: absolute;
    top: 0;
    right: -15px;
    bottom: 0;
    left: -1px;
    background-color: var(--color);
    z-index: -1;
    transform: skew(-15deg);
    transition: .25s;

    border-radius: 0 0 10px 0;
}

.button:hover::after {
    background-color: color-mix(in hsl shorter hue, var(--color), var(--white) 25%);
}

.certs {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    /* gap: 4%; */
}

.cert {
    display: flex;
    align-items: center;
    min-width: 300px;
    border-radius: 10px;
    text-decoration: none;
    color: var(--black);
}

.cert img {
    width: 150px;
}

.cert p {
    max-width: 150px;
}

.head {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.logo {
    position: fixed;
    top: 0;
    left: 0;
}

.menu {
    display: flex;
}

.nav {
    display: none;
}

.portrait {
    box-shadow: 25px 25px 0px var(--blue);
    border-radius: 10px;
    /* border: 1px solid var(--orange); */
}

article {
    width: 100%;
    margin-top: 117px;
    margin-bottom: 16px;
}

body {
    background-color: var(--background-color);
    font-family: "nasalization", sans-serif;
}

header {
    width: 100%;
    position: fixed;
    top: 0;
    background-color: var(--background-color);
    box-shadow: 0px 0px 15px var(--shadow-color);
    min-height: 117px;
    border-radius: 0 0 10px 10px;
}

header img {
    width: 64px;
}

footer {
    width: 100%;
    position: fixed;
    bottom: 0;
    background-color: var(--background-color);
    box-shadow: 0px 0px 15px black;
    border-radius: 10px 10px 0 0;
}

footer p {
    text-align: center;
}

@media only screen and (max-width: 640px) {
    .button {
        height: 0px;
        background-color: var(--color);
    }

    .button::after {
        background-color: #00000000;
    }

    .head {
        flex-direction: column;
    }

    .menu {
        width: 100%;
        display: none;
        flex-direction: column;
        margin-top: 117px;
    }

    .nav {
        display: inherit;
        position: fixed;
        top: 26.5px;
        right: 0;
    }

    article {
        margin-top: var(--offset);
    }
}