/* Importação de fontes  */
@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;
}

/* Definição de rotas padrão */

:root{
    --bg-color: #FFFF;
    --secondary-color: #E30613;
    --third-color:  #a12720;
    --font-text: "Montserrat", sans-serif;
    --h1-font: 6rem;
    --h2-font: 3rem;
    --p-font: 1rem;
}

.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: inline-block; */

    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-simulados {
    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%;
}

/* conteúdo */
 
.container_banner{
    height: 45rem;
    display: flex;
    padding: 0.3rem;
    justify-content: center;
    align-items: center;
    background-image: url('../media/img/Banner-simulado.png');
    background-size:cover;
    background-position: center;
}

.container_content{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(214, 213, 213, 0.699);
    flex-direction: row;
}

.content_box{
    display: flex;
    flex-direction: column;
    align-content: center;
    justify-content: center;
    margin-left: 3%;
}

.content_phrase{
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
    align-content: center;
    align-items: center;
    margin-top: 2%;
    margin-bottom: 1%;
}

.content_phrase h2{
    margin-top: 11%;
    font-family: "Montserrat", sans-serif;
    font-size: 3rem;
    font-weight: 900;
    color: #000000;
    line-height: 1.2;
}

.content_phrase h2 span{
    color: #b61818;
}

/* Division content */

.division-phrase{
    /* height: 4px; */
    background-color: #b61818;
    width: 40%;
    margin-right: auto;
    border-radius: 10px;
}

.content_text{
    width: 80%;
    /* height: 100%; */
    margin-top: 3%;

}


.content_text p{
    font-family:"Montserrat", sans-serif ;
    font-size:1.2rem;
    font-weight: 4o0;
    color: #000000;
    display: flex;
    flex-direction: row;
    justify-content: justify;
    text-align: justify;
}

.container_btn{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-top: 1.5rem;
    margin-bottom: 2rem;
}

.banner_btn{
    margin-top: 3%;
}

.banner_btn a{
    font-family: "Montserrat", sans-serif;
    text-decoration: none;
    font-size: var(--p-font);
    text-transform: uppercase;
    font-weight: 800;
    border-radius: 1.5rem;
    color: #ffff;   
}

.btn{
    background-color: var(--secondary-color);
    width: 10rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 1.5rem;
    color: var(--bg-color);
    font-family: var(--font-text);
    font-weight: 800;
    text-transform: uppercase;
    text-decoration: none;
}

/* Imagem do Banner */

.content_img{
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
    align-content: center;
    justify-content: center;
    align-items: center;
    margin-right: auto;
}

.content_img img{
    max-width: 100%;
    border-radius: 2rem;
    margin: 0 auto;
}

/* seção do gráfico de anúncios */

.content-container{

    display: flex;
    justify-content: center;
    width: 100%;
}

.container-box{
    display: flex;
    flex-direction: column;
    align-content: center;
    align-items: flex-start;
    padding: 3rem 1rem 1rem 2rem;
}

.box_phrase{
    display: flex;
    align-items: flex-start;
    flex-direction: column;
}

.box_phrase h4{
    font-family: "Montserrat", sans-serif;
    font-size: 2rem;
    font-weight: 900;
    color: #000000;
    line-height: 1.2;
}

.simulado-icon{
    width: 60%;
    height: auto;
    margin-right: 10rem ;
}

/* time line */

.roll-container{
    height: 30vh;
    display: flex;
    justify-content: center;
    display: flex;
    flex-direction: row;
    margin-left: 4rem;
    align-items: center;
}

.box_phrase p{
    font-family: var(--font-text);
    margin-top: 2%;
    font-size: 1rem;
}

.box-time-line{ 
    display: flex;
    justify-content: space-between;
    margin-top: 2%;
    margin-bottom: 2%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;    
}


.box-first-line{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.box-number{
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.box-number h1{
    font-family: "Montserrat", sans-serif;
    font-size: 1rem;
    font-weight: 900;
    color: #ebebeb;
    line-height: 1.2;
    background-color: #E30613;
    height: 3rem;
    width: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 45px;
    margin: 0.6rem;
}

.box-division{
    height: 3px;
    background-color: #E30613;
    width: 60%;
    margin-right: auto;
    border-radius: 10px;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}


.box-second-line{
    display: flex;
    flex-direction: column;
    width: 80%;
}

.title{
    margin-bottom: 2%;
    word-spacing: 0.1em;
    text-align: justify;
    font-size: 1.3rem;
    font-family: "Montserrat", sans-serif;
    font-weight: bold;
}       

.text{    
    word-spacing: 0.1em;
    text-align: justify;
    font-size: 1rem;
    font-family: 500;
    font-family: "Montserrat", sans-serif;
}

/* Footer */

footer {
    background-color: #a12720; 
    padding: 0; 
    margin: 0; 
    text-align: center;
    color: var(--bg-color);
    font-family: "Montserrat", 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; 
    background-color: #D71920;
    padding: 10px;
    border-radius: 5px;
    width: calc(100% + 20px);
    margin: 0 -10px;     box-sizing: border-box; 
  }
  
  .social-icon {
    width: 50px; 
    height: 50px; 
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .social-icon img {
    width: 100%; 
    height: 100%; 
    object-fit: contain; 
  }
  
  .addresses {
    display: flex;
    justify-content: space-around;
    font-family: var(--font-text);
    align-items: center;
    flex-wrap: wrap;
    gap: 20px; 
    padding: 2rem 0; 
    background-color: #b61818;
  }
  
  .address {
    flex: 1;
    max-width: 300px; 
    text-align: center;
    padding: 10px; 
  }

  /* Responsividade */

  /* Responsividade para telas médias de até 768px */

  @media (max-width: 768px) {
    .container_header {
        flex-direction: column;
        height: auto;
        padding: 1rem;
    }
    .img_header {
        width: 100%;
        height: auto;
    }

    .division_header {
        display: none;
    }

    .container_banner {
        height: auto;
        padding: 1rem;
    }

    .banner_content {
        height: 250px;
        flex-direction: column;
        padding: 1rem;
    }

    .nav_header {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        align-items: center;
        padding: 2rem;
    }

    .nav_header a {
        font-size: 1rem;
    }
    
    .nav-content {
        flex-direction: column;
        padding: 1rem;
    }

    .nav-content ul {
        flex-direction: column;
        width: 100%;
        align-items: center;
    }

    .nav-content ul li {
        width: 100%;
    }

    .nav-content ul li a {
        width: 100%;
        text-align: center;
        padding: 0.5rem;
        font-size: 0.8rem;
    }

    .container_banner{
        height: auto;
        padding: 1rem;
        background-position: center;
    }

    .container_content{
        flex-direction: column;
        height: auto;
        padding: 1rem;
    }

    .content_box{
        margin-left: 0;
        width: 100%;
    }   

    .content_box{
        margin-left: 0;
        width: 100%;
    }

    .content_phrase{
       width: 100%;
       margin-top: 2%;
       margin-bottom: 1%;
    }

    .content_phrase h2{
        font-size: 2rem;
    }

    .content_text{
        width: 100%;
        margin-top: 3%;
    }

    .content_text p{
        font-size: 1rem;
    }   

    .container_btn{
        flex-direction: column;
        width: 100%;
        gap: 1rem;
        margin-top: 1.5rem;
        margin-bottom: 2rem;
    }

    .btn{
        width: 100%;
    }

    .content_img{
        width: 100%;
        height: auto;
        margin-right: 0;
    }

    .content_img img{
        max-width: 100%;
        height: auto;
        margin: 0 auto;
    }

    .content-container{
        flex-direction: column;
        padding: 1rem;
        width: 100%;
    }

    .container-box{
        padding: 1rem;
        width: 100%;
    }

    .roll-container{
        flex-direction: column;
        align-items: center;
        justify-content: center;
        margin-left: 0;
        height: 30rem;
        width: 100%;
    }

    .box-number{
        justify-content: center;
        align-items: center;
        width: 100%;
    }

    .box-number h1{
        display: flex;
        justify-content: center;
        align-items: center; 
        font-size: 1rem;
        height: 2rem;
        width: 2rem;
        background-color: #E30613; 
        border-radius: 50%; 
        color: #fff; 
    }

    .box-division{
        width: 80%;
        margin-left: 1rem auto;
        height: 3px;
        background-color: var(--secondary-color);
    }

    .title{
        font-size: 1.2rem;
      ;
      margin-left: 4%;
        margin-bottom: 1rem;
    }

    .text{
        font-size: 0.8rem;
        margin-left: 4%;
        margin-bottom: 1rem;
    }
footer {
    margin-top: 12rem;
}
    footer .addresses {
        flex-direction: column;
        gap: 1rem;
    }
    
    .divider{
      rotate: 90deg;
    }
    
    .social-media {
        flex-direction: column;
        gap: 1rem;
    }
    
    .social-icon {
        width: 45px;
        height: 45px;
    }
}

/* Responsividade para tela de celular */

@media (max-width: 480px)  {
   
    .banner_content {
        height: 150px;
        flex-direction: column;
        padding: 1rem;
    }

    .nav_header {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        align-items: center;
        padding: 2rem;
    }

    .nav_header a {
        font-size: 1rem;
    }
    
    .nav-content {
        flex-direction: column;
        padding: 1rem;
    }

    .nav-content ul {
        flex-direction: column;
        width: 100%;
        align-items: center;
    }

    .nav-content ul li {
        width: 100%;
    }

    .nav-content ul li a {
        width: 100%;
        text-align: center;
        padding: 0.5rem;
        font-size: 0.8rem;
    }

    .container_banner {
        height: auto;
        padding: 1rem;
        background-position: center;
    }

    .container_content {
        flex-direction: column;
        height: 27rem;
        padding: 1rem;
    }

    .content_box {
        margin-left: 0;
        width: 100%;
    }   

    .content_box {
        margin-left: 0;
        width: 100%;
    }

    .content_phrase {
        width: 100%;
        margin-top: 60%;
        margin-bottom: 1%;
    }

    .content_phrase h2 {
        font-size: 1.8rem;
    }

    .content_text {
        width: 100%;
        margin-top: 3%;
    }

    .content_text p {
        font-size: 0.9rem;
    }   

    .container_btn {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
        margin-top: 1.5rem;
        margin-bottom: 2rem;
    }

    .btn {
        width: 100%;
    }

    .content_img {
        width: 100%;
        height: auto;
        margin-right: 0;
    }

    .content_img img {
        max-width: 100%;
        height: auto;
        margin: 0 auto;
    }

    .content-container {
        flex-direction: column;
        height: 28rem;
        padding: 1rem;
        width: 100%;
    }

    .container-box {
        padding: 1rem;
        width: 100%;
    }

    .roll-container{
        flex-direction: column;
        align-items: center;
        justify-content: center;
        margin-left: 0;
        height: 30rem;
        width: 100%;
    }

    .box-number{
        justify-content: center;
        align-items: center;
        width: 100%;
    }

    .box-number h1{
        display: flex;
        justify-content: center;
        align-items: center; 
        font-size: 1rem;
        height: 2rem;
        width: 2rem;
        background-color: #E30613; 
        border-radius: 50%; 
        color: #fff; 
    }

    .box-division{
        width: 80%;
        margin-left: 1rem auto;
        height: 3px;
        background-color: var(--secondary-color);
    }

    .title{
        font-size: 1.2rem;
      ;
      margin-left: 4%;
        margin-bottom: 1rem;
    }

    .text{
        font-size: 0.8rem;
        margin-left: 4%;
        margin-bottom: 1rem;
    }

}
