:root {
    --bg-color: #828282;
    --secondary-bg-color: #656765;
    --fg-color: #CCCCCC;

    --nav-bg-color: #566c73;

    --a-color: #51A8DD;
    --a-visited-color: #77969A;
    --a-highlight-color: #7DB9DE;
}

body {
    margin: 0;

    color: var(--fg-color);
    background-color: var(--bg-color);
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2vh 4vw 2vh 4vw;

    background-color: var(--nav-bg-color);
    color: #566C73;
    font-size: x-large;
}

nav>* {
    display: flex;
    gap: 2vw;
}

a {
    text-decoration: none;
    color: var(--a-color);
    transition: scale 0.2s;
}

a:visited {
    color: var(--a-visited-color)
}

a:hover,
a:active {
    scale: 1.1;
    color: var(--a-highlight-color);

    transition: scale 0.2s, color 0.2s;
}

main {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;

    padding: 2vw;
}

h2 {
    margin: 0;
}

#about {
    padding: 2vw;
    border-radius: 2vw;
    background-color: var(--secondary-bg-color);
}

li {
    margin: 1vh 0;
}

.icon {
    width: 3vw;
}

footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;

    gap: 2vh;
    margin-top: 2vh;
}

footer>section:first-child {
    display: flex;
    justify-content: space-evenly;
    align-items: center;

    gap: 1vw;
}

footer>section:nth-child(2) {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: start;

    gap: 1vh;
}

footer a {
    color: var(--fg-color);
}

footer a:has(.icon) {
    display: inline-block;
    height: fit-content;
}