:root {
    --main-bg-color: #1C3738;
    --main-text-color: #EDF4ED;
    --highlight-text-color: #ABD1B5;
    --accent-color: #79B791;
    --dark-alt-color: #000F08;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

body {
    margin: 0;
    display: grid;
    grid-template-rows: min(5vh, 100px) 1fr;
    background: var(--main-bg-color);
    height: 100vh;
    width: 100vw;
}


#navbar {
    background: var(--dark-alt-color);
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}

#navbar button {
    background: none;
    border: none;
    color: var(--main-text-color);
    cursor: pointer;
}

#navbar button:hover {
    color: var(--accent-color);
    text-decoration: overline;
}

#content-container {
    padding: 0 max(5vw, 10px);
    overflow: scroll;
    scrollbar-width: none;
}

h1 {
    text-align: center;
    background: -webkit-linear-gradient(var(--accent-color), var(--main-text-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

@media (min-width: 400px) {
    h1 {
        font-size: 7rem;
    }
}

@media (max-width: 399px) {
    h1 {
        font-size: 5.5rem;
    }
}

h2 {
    width: 100%;
    font-size: 3rem;
    color: var(--highlight-text-color);
}

p {
    font-size: 1.5rem;
    color: var(--main-text-color);
    margin: 0;
}

#content-container > div {
    width: 100%;
    margin-bottom: max(14vh, 120px);
}

#header {
    justify-content: center;
}

#about {
    display: flex;
    flex-direction: column;
}

#about div {
    display: flex;
    justify-content: space-between;
    flex-direction: unset;
    flex-wrap: wrap;
    margin: 0;
}

#about img {
    border-radius: 5px;
}

@media (width >= 550px) {
    #about img {
        width: 25%;
    }

    #about p {
        width: 70%;
    }
}

@media (550px > width) {
    #about img {
        width: 100%;
    }

    #about p {
        width: 100%;
        padding: 2rem 0 0 0;
    }
}

#skill-matrix {
    display: grid;
    grid-template-columns: 8rem 1fr;
    grid-row-gap: 1rem;
}

.skill-matrix-bar{
    height: 1.5rem;
    border-radius: 1.5rem;
    border: 1px solid var(--highlight-text-color);
}

.skill-matrix-level {
    border-radius: 1rem;
    background: var(--accent-color);
    height: 100%;
}