/* ================= RESET ================= */

html {
    box-sizing: border-box;
}

*, *::before, *::after {
    box-sizing: inherit;
}

.font {
    font-family: "Jersey 25", sans-serif;
    font-weight: 400;
    font-style: normal;
}

/* ================= BASE ================= */

body {
    margin: 0;
    padding: 0;
    color: white;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-image: linear-gradient(to right top, #171f66, #111);
}

.container {
    background-size: cover;
    background-repeat: no-repeat;
    min-height: 100vh;
}

/* ================= NAV ================= */

nav {
    width: 100%;
    backdrop-filter: blur(20px);
    background: rgba(0, 0, 0, 0.1);
    display: flex;
    position: sticky;
    top: 0;
    z-index: 9;
}

nav h1 {
    margin: 0;
    padding: 10px;
}

.title {
    border-right: 2px solid rgba(255, 255, 255, 0.15);
    width: 200px;
    text-align: center;
}

.buttons {
    display: flex;
    align-items: center;
}

.buttons a {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-decoration: none;
    width: 100px;
    font-size: 1.3rem;
}

.buttons a:hover {
    background: rgba(0, 0, 0, 0.2);
}

.selected {
    background: rgba(0, 0, 0, 0.2);
}

/* ================= TITLE ================= */

.site {
    text-align: center;
    font-size: 2.8rem;
}

.div-site-title {
    display: inline-flex;
    text-align: center;
    justify-content: center;
    align-items: center;
    width: 100%;
    gap: 5px;
    font-size: 1.5rem;
}

.div-site-title h1 {
    margin-bottom: 0;
}

h2 {
    text-align: center;
}

h2 a {
    text-decoration: underline;
    color: white;
}

/* ================= CONTENT ================= */

section {
    margin-top: 100px;
    width: 96.5%;
    padding: 0 30px;
    display: flex;
    flex-direction: column;
    gap: 60px;
    align-items: center;
}

article {
    min-height: 100px;
    backdrop-filter: blur(20px);
    width: 65%;
    border: 2px solid rgba(0, 0, 0, 0.2);
    border-radius: 3px;
    padding: 30px;
    z-index: 5;
}

article h1 {
    margin-top: 0;
}

article p {
    font-size: 20px;
}

article a {
    color: white;
}

/* ================= LOADER ================= */

.loader-wrapper {
    background-image: linear-gradient(to right top, #171f66, #111);
    height: 100vh;
    width: 100%;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 10;
}

/* ================= FOOTER ================= */

.footer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(20px);
    bottom: 0;
    z-index: 0;
}

.footer h3 {
    margin-bottom: 0;
}

.last {
    margin-bottom: 60px;
}

#last {
    margin-bottom: 20px;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 1024px) {

    nav {
        flex-direction: column;
        align-items: center;
    }

    .title {
        width: 100%;
        border-right: none;
        border-bottom: 2px solid rgba(255,255,255,0.15);
    }

    .buttons {
        flex-wrap: wrap;
        justify-content: center;
    }

    .buttons a {
        width: 90px;
        font-size: 1.1rem;
    }

    article {
        width: 90%;
        padding: 24px;
        min-height: auto;
    }

    article h1 {
        font-size: 1.6rem;
    }

    article p {
        font-size: 17px;
        line-height: 1.5;
    }

    section {
        margin-top: 60px;
        gap: 20px;
        width: 100%;
        padding: 0 20px;
    }

    .footer {
        padding: 15px;
        text-align: center;
        gap: 8px;
    }

    .footer h3 {
        font-size: 1.3rem;
        line-height: 1;
    }
}

@media (max-width: 768px) {


    .site {
        font-size: 2rem;
    }

    section {
        padding: 0 15px;
        width: 100%;
        margin-bottom: 90px;
    }

    article {
        width: 100%;
        padding: 18px;
        box-sizing: border-box;
    }

    article h1 {
        font-size: 1.4rem;
        text-align: center;
    }

    article p {
        font-size: 16px;
    }

    .div-site-title {
        flex-direction: column;
        gap: 0;
        padding: 10px 15px;
    }

    .site {
        font-size: 1.9rem;
        line-height: 1.25;
        text-align: left;
    }


    article {
        padding: 18px 16px;
    }

    article h1 {
        text-align: left;
        font-size: 1.4rem;
        margin-bottom: 8px;
    }

    article p {
        text-align: left;
        line-height: 1.6;
        font-size: 15.5px;
    }

    article a {
        word-break: break-word;
    }

    .footer {
        padding: 14px 12px;
    }

    .footer h3 {
        text-align: center;
        line-height: 1.4;
        font-size: 18px;
    }

    #arrow1, #arrow2 {
        display: none;
    }

}

@media (max-width: 480px) {

    .site {
        font-size: 1.6rem;
    }

    article h1 {
        font-size: 1.4rem;
    }

    article p {
        font-size: 15px;
    }

    section {
        margin-bottom: 80px;
        padding: 0 10px;
    }

    .footer h3 {
        font-size: 18px;
    }
}
