@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
@import url(./header.css);

.montserrat {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.montserrat {
    font-family: var(--font-text);
    font-optical-sizing: auto;
}
/* Barra de Navegação */

.nav-content{
    display: flex;
    justify-content: center;
    align-items: center;
    list-style-type: none;
    padding: 1.5%;
}

.nav-content ul {
    display: flex;
    justify-content: space-between;
    list-style-type: none;
    gap: 1rem;
}

.nav-content ul li a {
    width: 15rem;
    height: 3rem;
    font-family:"Montserrat", sans-serif ;
    align-items: center;
    justify-content: center;

    display: flex;
    flex-direction: column;
    gap: 10px;
    
    padding: 13% 40%;
    font-size: 1.3rem;
    font-weight: 800;
    color: black;
    border-radius: 30px;
    background-color: #D9D9D9;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Botão */
.nav-content ul li a.botao-noticias {
    background-color: #b61818;
    color: #fff;
}

.nav-content ul li a:hover {
    background-color: #868686;
    color: #000000;
}


/* Linha vermelha abaixo dos botões ativos */
.nav-division {
    margin-top: 1.5%;
    height: 4px;
    background-color: #b61818;
    width: 25%;
    margin-left: auto;
    margin-right: auto;
    border-radius: 10px;
    margin-bottom: 1.5%;
}

/* Notícias */

h2{
    font-size: 2em;
    font-weight: bold;
    margin-bottom: 0.5em;
}


.container_banner{
    background-color: var(--bg-color);
    height: 50rem;
    width: 100%;
    display: flex;
    gap: 0.5rem;
    padding: 0.3rem;
    flex-direction: row;
    align-content: center;
    justify-content: center;
    align-items: center;
    background-image: linear-gradient(to Left, rgba(0, 0, 0, 0.848), rgba(0, 0, 0, 0.634)), url('../media/img/img-noticias/Banner-noticias.png');
    background-size:cover;
    background-position: bottom center;
}

/* Conteúdo do Banner */
.banner_content{
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-content: center;
    justify-content: center;
    align-items: center;
    margin-left: 0;
    margin-left: 24rem;
}
.banner_content h1{
    justify-content: justify;
    font-size: 4.2rem;
    font-family: "Montserrat", sans-serif;
    font-weight: 900;
    color: #FFFF;
    line-height: 1.2;
}

.banner_title h1 span{
    color: #E30613;
}

/* Conteúdo do Banner */

.banner_text{
    width: 78%;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;


}
.banner_text p{
    font-family:"Montserrat", sans-serif ;
    font-size: 1rem;
    font-weight: 450;
    color: #FFFF;
    margin-top: 1rem;
    margin-left: auto;
}

.banner_btn a {
    padding: 0.7rem 1rem;
    font-family: "Montserrat", sans-serif;
    text-decoration: none;
    font-size: var(--p-font);
    color: #fff;
}

/* Imagem do Banner */

.banner_image{
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
    align-content: center;
    justify-content: center;
    margin-bottom: -1rem;
}

.homem-carreira img {
    width: 80%;
    height: 80%;
    display: none;
}

/* Division content  */

.division {
    width: 100%;
    height: 2rem;
    display: flex;
    flex-direction: row;
    align-content: flex-end;
    justify-content: center;
    align-items: flex-end;
}

.menu list {
    flex-direction: column;
}

/* Footer*/
footer {
    background-color: #a12720;
    padding: 0;
    margin: 0;
    text-align: center;
    color: white;
    font-family: Arial, Helvetica, sans-serif;
    position: relative;
}

.social-media-container {
    background-color: #D71920;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: -5px;
}

.social-media {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 10px;
}

.addresses {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px 0;
}

.address {
    flex: 1;
    max-width: 300px;
    text-align: center;
    padding: 10px;
}

.divider {
    width: 2px;
    height: 60px;
    background-color: white;
    margin-left: 10px;
    margin-right: 10px;
}

.menu {
    margin-top: 15px;
    background-color: rgb(255, 255, 255);
    padding: 10px 0;
    display: flex;
    justify-content: center;
}

.menu ul {
    list-style-type: none;
    display: flex;
    gap: 3rem;
}

.tip {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    background-color: #f5f5f5;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    margin-top: 2rem;   
}

.tip img {
    width: 150px;
    margin-right: 1rem;
}

.tip a {
    color: black;
    display: flex;
    flex-direction: column;
    align-items: start;
}

.text {
    flex: 1;
    font-family: Arial, Helvetica, sans-serif;
    color: black;
}

/* Botão se inscrever */
.banner_btn{
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 5%;
    margin-top: 3%;
}

a{
    color: white;
    text-decoration: none;
    text-align: center;
}

p{
    margin-top: 1rem;
}

h2{
 text-align: center;
 font-size: 2.2em;

}

/*Responsividade*/

/* Responsividade */
@media (max-width: 1024px) {
    .container_banner {
        height: auto;
        padding: 2rem 1rem;
        flex-direction: column; 
        text-align: center;
    }
    .banner_content {
        padding: 0 1rem; 
    }
    .banner_content h1 {
        font-size: 4rem;
        margin-bottom: 1rem;
    }

    .banner_text {
        width: 90%; 
        margin: 0 auto;
    }
    .banner_text p {
        font-size: 1.1rem;
        margin-left: 2rem;
        margin-right: 2rem; 
        line-height: 1.6; 
    }
    .banner_btn a {
        padding: 0.6rem 0.9rem;
        font-size: 1rem; 
        margin-top: 1rem;
        text-align: center;
    }
    .banner_image img {
        display: none !important; 
    }

    .nav-content {
        flex-direction: column;
        text-align: center;
    }
    .nav-content ul {
        flex-direction: column;
        gap: 1rem;
        
    }

    .nav-content ul li a {
        font-size: 1rem;
        padding: 0.5rem 1rem;
    } 
    .container {
        flex-direction: column;
        align-items: center;
    }
    .custom-card {
        width: 100%;
        padding: 1rem;
    }
    
    .col-12 {
        flex: 0 0 100%; 
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .nav-content {
        flex-direction: column;
        text-align: center;
    }

    .nav-content ul {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-content ul li a {
        font-size: 1rem;
        padding: 0.5rem 1rem;
    }

    .container {
        flex-direction: column;
        align-items: center;
    }

    .custom-card{
        width: 100%;
    }

    .container_banner{
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .banner_content h1{
        font-size: 3.5rem;
    }

    .banner_text p {
        font-size: 1rem;
        margin-left: 1rem;
    }

    .banner_btn a{
        padding: 0.5rem 0.8rem;
        font-size: 0.9rem;
    }

    .col-12 {
        flex: 0 0 100%; 
        max-width: 100%;
    }
    .addresses {
        flex-direction: column; 
        gap: 10px;
        text-align: center;
    }

    .address {
        max-width: 100%; 
    }

    .divider{
        rotate: 90deg;
      }

}

@media (max-width: 500px){
    .nav-content ul {
        gap: 0.5rem;
    }

    .nav-content ul li a{
        font-size: 1rem;
        padding: 0.5rem 1rem;
    }

    .custom-card{
        padding: 1rem;
    }
    .banner_content h1{
        font-size: 2.8rem;
    }

    .banner_text p {
        font-size: 0.9rem;
        margin-left: 0.5rem;
    }

    .banner_btn a {
        font-size: 0.4rem 0.7rem;
        padding: 0.8rem;
    }
}
