@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;700&display=swap');

:root {
    --fundo-nav: #23232e;
    --fundo-main: #0F1819;
    --fundo-letra: #ff001d;
    --white: #ffffff;
}

* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--fundo-main);
}

/* MENU */

nav a {
    color: var(--white);
    text-decoration: none;
    transition: 0.3s;
}

.nav-list a:hover {
    color: var(--fundo-letra);
    transition: 0.5s ease-in-out;
}

.logo {
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.25rem;
}
.logo:hover {
    color: var(--fundo-letra);
    transition: 0.5s ease-in-out;
}

nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background: var(--fundo-nav);
    height: 8vh;
}

.nav-list {
    list-style: none;
    display: flex;
}

.nav-list li {
    letter-spacing: 0.188rem;
    margin-left: 2rem;
}

            /*  MENU RESPONSIVO */

.mobile-menu {
    display: none; /* esconde a barrinha do menu */
    cursor: pointer; /* efeito para clicar */
}

.mobile-menu div {
    width: 2rem;
    height: 0.125rem;
    background: var(--white);
    margin: 0.5rem;
    transition: 0.3s;
}

@media (max-width: 999px) {
    body {
        overflow-x: hidden;
    }
    .nav-list {
        position: absolute;
        top: 8vh;
        right: 0;
        width: 50vw;
        height: 92vh;
        background: var(--fundo-nav);
        flex-direction: column;
        align-items: center;
        justify-content: space-around;
        transform: translateX(100%);
        transition: transform 0.3s ease-in;
    }
    .nav-list li {
        margin-left: 0;
        opacity: 0;
    }
    .mobile-menu {
        display: block;
    }
}

.nav-list.active {
    transform: translateX(0);
}

@keyframes navLinkFade {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.mobile-menu.active .line1 {
    transform: rotate(-45deg) translate(-8px, 8px);
}

.mobile-menu.active .line2 {
    opacity: 0;
}

.mobile-menu.active .line3 {
    transform: rotate(45deg) translate(-5px, -7px);
}

                /*  CONTEÚDO    */

.artigo {
    background-color: var(--white);
    border-radius: 0.625rem;
    width: 62.5rem;
    padding: 0.625rem;
    margin: auto;
    margin-top: 0.625rem;
    margin-bottom: 0.625rem;
}

.artigo p {
    font-size: 1.5rem;
    text-align: justify;
    line-height: 2em;
    color: black;
}

#bloco {
    text-align: justify;
    font-size: 1.125rem;
    columns: 2;
    list-style-position: inside;
    padding: 0rem;
    line-height: 2em;
    
}

.extra {
    font-size: 0.938rem;
    text-align: center;
    margin-top: 1.25rem;
}

           /*  CONTEUDO RESPONSIVO   */

@media screen and (max-width: 768px) {
    main .artigo {
        width: 100%;
    }
}

           /*  FOOTER   */
footer {
    width: 100%;
    height: 1.875rem;
    bottom: 0;
    background-color: var(--fundo-nav);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    color: var(--white);
}

footer a {
    text-decoration: none;
    color: var(--white);
}

footer a:hover {
    color: var(--fundo-letra);
    transition: 0.5s ease-in-out;
}