:root {
    --text-color: #fff;
    --nav-active: #fff;
    --nav-grad: #ffffff25;
}

html {
    margin: 0;
    padding: 0;
    height: 100vh;
    width: 100vw;
    background-color: #151221;
    font-family: 'Montserrat', sans-serif;
}

body {
    margin: 0;
    padding: 0;
    /* height: 100%;
    width: 100%; */
}

.app {
    opacity: var(--body-opacity);
    transition: opacity 0.2s linear;
}

* {
    color: var(--text-color);
}

*[data-trans] {
    transition: opacity 0.2s linear;
    opacity: var(--js-opacity);
}

nav {
    width: 100%;
    background: linear-gradient(0deg, var(--nav-grad), transparent);
    padding-bottom: 2px;
    padding-top: 4px;
    border-bottom: 1px solid var(--nav-active);
}

nav .list {
    padding: 8px;
    min-width: 15%;
    text-align: left;
    list-style: none;
    display: flex;
    flex-direction: row;
}

nav .list a {
    user-select: none;
    text-decoration: none;
    color: var(--text-color);
    font-size: 20px;
    padding: 6px;
    transition: border 0.2s ease-in-out;
    border-bottom: 2px transparent solid;
}

nav .list a:hover {
    border-bottom: 2px var(--nav-active) solid;
}

.theme-switch, .theme-switch:hover {
    margin-left: auto;
    border: none !important;
}

.translate, .translate:hover {
    border: none !important;
}

.about {
    cursor: default;
    user-select: none;
    display: flex;
    flex-direction: column;
}

.greeting {
    margin: 42px;
    font-size: 32px;
}

.name {
    font-weight: 800;
}

.info {
    text-align: center;
    margin: 0 auto;
}

@media only screen and (max-width: 600px) {
    .greeting {
        font-size: 26px;
    }

    nav .list a {
        font-size: 16px;
    }

    .info {
        padding: 14px;
    }
}

.projects {
    cursor: default;
    user-select: none;
    text-align: center;
}