@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

/* Padrões */

:root {
    --vermelho: #cc0000;
    --vermelho_escuro: #9A1915;
    --cinza: #D9D9D9;
    --preto: #000;
    --branco: #ffffff;
    --fonte_texto: "Montserrat", sans-serif;
}

/* Configurações Gerais */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--fonte);
}

/* Header */

.container_header {
    display: flex;
    align-items: center;
    gap: 0.33rem;
    padding: 0.5rem;
    background-color: var(--vermelho);
    height: 6rem;
}

.container_img {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 30%;
    height: 100%;
}

.container_img img {
    width: 70%;
    height: 80%;
}

.divisoria {
    background-color: var(--branco);
    width: 0.15rem;
    height: 80%;
}

.nav {
    display: flex;
    justify-content: center;
    gap: 5rem;
    width: 70%;
}

.nav a {
    color: var(--branco);
    font-size: 20px;
    text-decoration: none;
    padding: 10px;
    border-radius: 15px;
    cursor: pointer;
}

.nav a:hover {
    background-color: var(--vermelho_escuro);
}

.strong {
    font-family: var(--fonte_texto);
}

/* Menu */
.icon-menu {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    width: 35px;
    height: 24px;
    cursor: pointer;
    margin-right: 1rem;
  }
  
  .line1, .line2, .line3 {
     background-color: #ffffff;
     height: 4px;
     width: 100%;
     border-radius: 2px;
  }
  
  .menu-dropdown {
    display: none;
    background-color: #9a1915;
    position: absolute;
    top: 70px;
    right: 20px;
    width: 150px;
    border-radius: 8px;
    z-index: 10;
  }
  
  .menu-dropdown ul {
    list-style: none;
    padding: 20px;
    margin: 0;
    flex-direction: column;
  }
  
  .menu-dropdown ul li {
    margin: 0.1rem;
  }
  
  .menu-dropdown ul li a {
    text-decoration: none;
    font-size: 10px;
    color: #ffffff;
    font-size: 25px;
    display: block;
  }
  
  .menu-dropdown ul li a:hover {
    background-color: #5c0202;
    border-radius: 5px;
  }



/* Estilos Gerais */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
}

h2,
h3 {
    color: black;
    text-align: justify;
}

hr {
    border: 0;
    height: 2px;
    background-color: #cc0000;
}

/* Estilo para o main e artigos */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background-color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-top: 2rem;
    border-radius: 3%;
    margin-bottom: 2rem;
}

.article {
    padding: 20px;
    margin-bottom: 40px;
}

.article-title {
    font-size: 28px;
    margin-bottom: 20px;
    text-align: justify;
}

.article-img {
    display: flex;
    gap: 30px;
    align-items: center;
}

.article-img img {
    width: 50%;
    height: auto;
    max-width: 100%;
    margin: 30px 0;
    border-radius: 15px;
}


.article-text p {
    font-size: 16px;
    line-height: 1.6;
}

/*cards*/
.equipe {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px;
}

.card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 22rem;
    text-align: center;
    padding: 15px;
}

.card img {
    border-radius: 50%;
    height: 18rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 18rem;
    text-align: center;
    object-fit: cover;
}

.card h2 {
    margin: 1rem;

}

.card p {
    font-size: 0.95em;
    color: black;
}

/* Footer */

.footer-text {
    background-color: #9a1915;
    color: white;

}

.header-nav .nav-link {
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
    margin: 6px;
    color: #ffffffff;
}

.footer {
    background-color: #9a1915;
    color: white;
    margin-top: 50px;
}

.footer .icones {
    background-color: #e30613;
}

.senai {
    width: 20%;
    display: inline-block;
    text-align: center;
    padding: 30px 0 20px 0;
    margin-left: 25%;
}

.senai h3 {
    text-align: left;
    color: white;
}

.senai p {
    text-align: left;
}

.sesi {
    width: 20%;
    display: inline-block;
    margin-left: 3%;
    text-align: center;
    padding: 0 0 20px 0px;
}

.sesi h3 {
    text-align: left;
    color: white;
}

.sesi p {
    text-align: left;
}

.footer .icones img {
    display: inline-block;
    margin-left: 25px;
    ;
}

.icones {
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-text {
    background-color: #9a1915;
    color: white;
}

.img {
    width: 25%;
    margin-bottom: 300px;
    align-items: center;
}

.team {
    display: flex;
    justify-content: space-around;
    margin: 0px 0px 50px 0px;
    margin-left: 100px;
    margin-right: 100px;
}

.icones {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 10px 0;
    align-items: center;
    margin-left: -135px;
}

@media (max-width : 768px) {
    .menu-materias ul {
        left: 0;
        width: 100%;
    }

    .menu-icon {
        display: flex;
    }

    #btn-menu {
        right: 15px;
    }

    .container_header {
        flex-direction: column;
        height: auto;
        padding: 1rem;
    }

    .container_img {
        width: 100%;
    }

    .container_img img {
        width: 100%;
    }

    .nav {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }

    nav a {
        font-size: 16px;
        padding: 8px;
        width: 100%;
        text-align: center;
    }

    .container_menu {
        width: auto;
    }


    .main-content {
        padding: 15px;
    }

    .article-title {
        flex-direction: column;
    }
    .article {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }


    footer {
        padding: 20px;
    }

    .senai,
    .sesi {
        width: 100%;
        margin: 0;
        padding: 10px 0;
        text-align: center;
    }

    .icones {
        margin-left: 0;
        flex-direction: column;
    }

    .icones img {
        margin: 10px 0;
    }
}

@media (max-width: 768px) {
    /* Header e navegação */
    .container_header {
        flex-direction: column;
        padding: 1rem;
        height: auto;
    }

    .container_img {
        width: 100%;
        justify-content: center;
    }

    .container_img img {
        width: 80%; /* Ajuste para a imagem */
        height: auto;
    }

    .nav {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        text-align: center;
    }

    .nav a {
        font-size: 18px;
        padding: 8px;
        width: 100%;
    }

    /* Menu dropdown */
    .menu-dropdown {
        display: none;
        background-color: var(--vermelho_escuro);
        position: absolute;
        top: 60px;
        right: 20px;
        width: 100%;
        border-radius: 8px;
        z-index: 10;
    }

    .menu-dropdown ul {
        list-style: none;
        padding: 15px;
        margin: 0;
        flex-direction: column;
        width: 100%;
    }

    .menu-dropdown ul li a {
        text-decoration: none;
        font-size: 18px;
        color: white;
        display: block;
        padding: 8px;
        text-align: center;
    }

    .menu-dropdown ul li a:hover {
        background-color: #5c0202;
    }

    /* Cards */
    .equipe {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
        padding: 10px;
    }

    .card {
        width: 100%;
        max-width: 300px;
        padding: 10px;
        margin-bottom: 20px;
    }

    .card img {
        width: 100%;
        height: auto;
    }

    /* Footer */
    footer {
        padding: 20px;
        text-align: center;
    }

    .senai, .sesi {
        width: 100%;
        margin: 10px 0;
        padding: 10px;
        text-align: center;
    }

    .icones {
        flex-direction: column;
        margin-top: 20px;
    }

    .icones img {
        margin: 10px 0;
    }
}

/* Para telas menores de 480px */
@media (max-width: 480px) {
    .nav a {
        font-size: 16px;
    }

    .card {
        width: 100%;
        max-width: 250px;
    }

    .card img {
        width: 80%;
        height: auto;
    }
}
