@font-face {
    font-family: Chopin;
    src: url(./Chopin-Light.ttf);
}

body {
    margin: 0;
    padding: auto;
    font-family: Chopin, Calibri, Arial, sans-serif;
}

.home, .article {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.home::before, .article::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(../images/background.png);
    background-size: cover;
    background-position: center;
    filter: blur(1.5px) brightness(50%);
    z-index: -1;
}

.home {
    height: 100vh;
}

.logo {
    width: 7vw;
    height: 7vw;
    transition: transform 0.3s ease;
    margin-bottom: 1vw;
}

.logo:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

.home nav, .article nav {
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1vw;
}

.home nav a, .article nav a {
    color: white;
    text-decoration: none;
    margin: 0 1vw;
    padding-left: 0.7vw;
    padding-right: 0.7vw;
    padding-top: 0.1vw;
    padding-bottom: 0.1vw;
    background-color: transparent;
    transition: background-color 0.3s ease, color 0.3s ease;
    border-radius: 1.5vw;
    font-size: 2vw;
    text-shadow: 0px 0px 10px rgb(0, 0, 0);
}

.home nav a:hover, .article nav a:hover {
    background-color: violet;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.info {
    padding-left: 5vw;
    padding-right: 5vw;
    padding-bottom: 2vw;
    text-align: center;
    color: rgb(175, 175, 175);
    font-style: italic;
    margin: 0;
    text-shadow: 0px 0px 4vw rgb(255, 255, 255);
}

.info h1 {
    font-size: 1.2vw;
    font-weight: bold;
    margin-bottom: -1vw;
}

.info p {
    font-size: 1vw;
}


.discord {
    text-decoration: none;
    width: 3vw;
    transition: transform 0.3s ease;
}

.discord:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
    text-decoration: none;
}

.article {
    height: 30vh;
}

.article nav a.active {
    color: violet;
    font-weight: bold;
}

.article nav a.active:hover {
    color: white;
    font-weight: bold;
}

.section {
    text-align: center;
    padding-left: 5vw;
    padding-right: 5vw;
    padding-bottom: 5vw;
    font-weight: bold;
}

.section h1 {
    margin-top: 3vw;
}

.section h2 {
    margin-top: 3vw;
}

.section p {
    color: grey;
    font-size: 1vw;
}

.section .element {
    text-align: left;
    padding: 1vw;
    transition: background-color 0.3s ease;
    transition: transform 0.3s ease;
}

.section .element:hover {
    text-align: left;
    padding-bottom: 1vw;
    background-color: lightgrey;
    color: rgb(50, 50, 50);
    transition: background-color 0.3s ease;
    transform: scale(1.05);
    transition: transform 0.3s ease;
    border-radius: 1.5vw;
}

.section .element a {
    text-decoration: none;
    color: inherit;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.section .element a:hover {
    color: violet;
    transition: background-color 0.3s ease, color 0.3s ease;
}

@media (max-width: 600px) {
    .logo {
        width: 16vw;
        height: 16vw;
        margin-bottom: 1vw;
    }
    .home nav, .article nav {
        text-align: center;
        display: flex;
        flex-direction: column;
        justify-content: center;
        flex-wrap: wrap;
        margin-bottom: 1vw;
    }
    .home nav a, .article nav a {
        font-size: 6vw;
    }
    .info {
        padding: 1vw;
        text-align: center;
        color: rgb(175, 175, 175);
        font-style: italic;
        margin: 0;
        text-shadow: 0px 0px 12vw rgb(255, 255, 255);
    }
    .discord {
        text-decoration: none;
        width: 9vw;
        transition: transform 0.3s ease;
    }
    .info h1 {
        font-size: 3.5vw;
        font-weight: bold;
        margin-bottom: -2vw;
    }
    .info p {
        font-size: 3vw;
    }
    .section p {
        color: grey;
        font-size: 3vw;
    }
}