* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
 
    font-family: "Poppins", sans-serif;
}
 
body {
    width: 100vw;
    min-height: 100vh;
}
 
/* Tirando o list das ul */
ul {
    list-style: none;
}
 
/* Remove toda a estilização padrão a tag "a" */
a {
    text-decoration: none;
    color: black;
}
 
/* PARTE HEADER DA PÁGINA ONDE FICA A LISTA DE NAVEGAÇÃO */
header {
    width: 100%;
    height: 4rem;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.1);
}
 
header nav {
    display: flex;
    justify-content: center;
    height: 100%;
}
 
header .list-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4rem;
}
 
.list-nav a {
    text-decoration: none;
    color: #000000;
    font-size: 0.9rem;
}
 
.list-nav a:hover {
    color: blueviolet;
    transition: color 1s;
}
 
/* Parte principal da página */
 
.container {
    width: 100%;
    min-height: calc(100vh - 8rem);
 
    display: flex;
    justify-content: center;
    align-items: center;
}
 
.container > section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}
 
section h2 span {
    color: #6753c0;
}

/* Esconde todos os artigos por padrão */
article {
    border: 2px solid #6753c042;
    background-color: #6753c042;
    border-radius: 15px;
    width: 500px;
    height: auto;
    overflow: hidden;
 
    display: none;
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}
 
/* Exibe apenas o ativo */
article.active {
    display: block;
    opacity: 1;
    transform: translateX(0);
}
 
article a img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
 
article .infos {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    max-height: 130px;
}
 
.infos p {
    font-size: 14px;
}
 
/* Botões de seta */

 
.container-btn-arrow {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.btn-arrow {
    background: none;
    border: 2px solid #6753c0;
    color: #6753c0;
    border-radius: 50%;
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s, color 0.3s;
    flex-shrink: 0;
}

/* :not(:disabled) exclui o elemento se ele estiver desabilitado e só aplica o estilo se não estiver desabilitado */
.btn-arrow:hover:not(:disabled) {
    background-color: #6753c0;
    color: white;
}
 
/* Aplica o estilo quando ele estiver desabilitado */
.btn-arrow:disabled {
    opacity: 0.3;
    cursor: default;
}
 
/* Bolinhas indicadoras */
.container-dots {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}
 
.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #6753c042;
    border: 2px solid #6753c0;
    cursor: pointer;
    transition: background-color 0.3s;
}
 
/* Aplica o estilo quando estiver ativo */
.dot.active {
    background-color: #6753c0;
}

/* Parte footer do projeto */
footer {
    font-size: 13px;

    width: 100%;
    height: 3rem;
    
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}


@media (max-width: 900px) {
    body {
        width: 100%;
    }

    header {
        height: auto;
        padding: 1rem 0;
    }

    header .list-nav {
        gap: 1.5rem;
        flex-wrap: wrap;
    }

    .container {
        padding: 2rem 1rem;
    }

    .container-btn-arrow {
        gap: 1rem;
    }

    article {
        width: 420px;
    }
}

@media (max-width: 600px) {
    header .list-nav {
        gap: 1rem;
        padding: 0 1rem;
    }

    .list-nav a {
        font-size: 0.8rem;
    }

    .container {
        padding: 1.5rem 1rem;
    }

    .container > section {
        gap: 1.5rem;
    }

    .container-btn-arrow {
        width: 100%;
        gap: 0.5rem;
        justify-content: center;
    }

    article {
        width: 260px;
    }

    article a img {
        height: 150px;
    }

    article .infos {
        max-height: none;
    }

    .infos p {
        font-size: 13px;
    }

    .btn-arrow {
        width: 2rem;
        height: 2rem;
        font-size: 1.2rem;
    }

    footer {
        height: auto;
        padding: 1rem;
        text-align: center;
        gap: 0.3rem;
    }
}