@import url('https://fonts.googleapis.com/css2?family=Nerko+One&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400..700&family=Dela+Gothic+One&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400..700&family=Dela+Gothic+One&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400..700&display=swap');

main {
    height: auto;
}

.historia {
    display: flex; 
    justify-content: space-between; 
    align-items: center;
    position: relative;
    height: 80vh;
    margin: 50px 10% 20px 10%;
    background-image: url(/Site/Images/historia/background.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden; /* Para garantir que o pseudo-elemento não ultrapasse os limites */
}

 
.historia::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0%;
    bottom: 0px;
    background-color: rgba(251, 235, 210, 0.8); /* Cor #FBEBD2 com 70% de opacidade */
    z-index: 1; /* Coloca a cor acima da imagem de fundo */
}

.historia > * {
    position: relative; /* Permite que os filhos fiquem acima do pseudo-elemento */
    z-index: 2; /* Coloca o conteúdo acima do fundo */
    padding: 20px; /* Adiciona um espaço interno para o conteúdo */
    /* Outros estilos que você deseja aplicar ao conteúdo */
}

.imagem-container {
    flex: 0 0 80%;
    display: flex;
    justify-content: center;
    margin-left: 20%;
}

.imagem-container img {
    width: 100%; /* Garantir que a imagem dentro do container ocupe todo o espaço */
    height: auto;
}

.sobre {
    display: flex;
    width: 100%;
}

.imagem-container {
    flex: 0 0 80%;
    display: flex;
    justify-content: center;
    margin-left: 20%;
}

.imagem-container img {
    max-width: 100%;
    height: auto;
}

.texto-container {
    flex: 1; 
    padding: 0 20px 0px 20px; 
}

.texto-container h4 {
    font-family: "Dancing Script", cursive;
    font-optical-sizing: auto;
    font-weight: 800;
    font-style: normal;
    font-size: 3.75rem;
    margin-top: 20px;
    color: #7E1312;
}

.texto-container P {
    color: #7E1312;
    font-weight: 550;
    font-size: 1.3rem;
}

.missao {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 40vh; /* Metade da altura da seção história */
    margin: 20px 10%;
    background-color: rgba(251, 235, 210, 0.9); /* Cor de fundo, você pode ajustar conforme o design */
    padding: 20px;
    position: relative;
}

.missao > * {
    flex: 1;
    padding: 10px;
}

.missao h4 {
    font-family: "Dancing Script", cursive;
    font-weight: 800;
    font-size: 2.5rem;
    color: #7E1312;
}

.missao p {
    font-weight: 900;
    color: #7E1312;
}

.mission-icon i {
    color: #7E1312;
    font-size: 3rem;
    
}

@media (max-width: 1200px){
    
    .historia {
        background-image: url(/Site/Images/historia/background2.png)
    }

    .texto-container h4 {

        font-size: 3.50rem;   

    }
    
    .texto-container P {

        font-size: 1.2rem;
    }
    
    .imagem-container {
        flex: 0 0 95%;
        margin-left: 10%;
    }

}

@media (max-width: 1000px){

    .texto-container h4 {

        font-size: 3.3rem;   

    }
    
    .texto-container P {

        font-size: 1.1rem;
    }
    
    .imagem-container {
        flex: 0 0 98%;
        margin-left: 5%;
    }

    .missao h4 {
 
        font-size: 2.2rem;
    }
    
    .missao p {
        
        font-size: 1.1rem;
    }
    
    .mission-icon i {
        color: #7E1312;
        font-size: 2.5rem;
    }
    

}

@media (max-width: 900px) {

    .historia {
        margin: 60px 4% 30px 4%;
    }

    .missao {
        margin: 20px 4%;
    }
    
}

@media (max-width: 800px) {

    .historia {
        margin: 60px 3% 30px 3%;
    }

    .missao {
        margin: 20px 3%;
    }
    
}

@media (max-width: 700px) {
    
    .historia {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        background-image: url(/Site/Images/historia/background3.png);
        margin: 60px 2% 30px 2%;
    }

    .missao {
        margin: 20px 2%;
    }

    .imagem-container {
        display: none;
    }

      
    .historia > * {
        
        position: absolute; 
        width: 100%;
        left: 0;
        right: 0;
        padding: 20px;
        display: flex;
    }

    .texto-container {
        flex: 1;
        position: relative;
    }

    .texto-container h4 {

        font-size: 4rem;   

    }
    
    .texto-container P {

        font-size: 1.4rem;
    }

    .missao h4 {
 
        font-size: 2.2rem;
    }
    
    .missao p {
        
        font-size: 1.1rem;
    }

   
  
    
}

@media (max-width: 600px){

    .texto-container h4 {

        font-size: 3.8rem;   

    }
    
    .texto-container P {

        font-size: 1.3rem;
    }

    .missao {
        display: flex;
        flex-direction: column;
        gap: 20px;
        margin: 20px 4%;
        height: 900px;

    }

    .mission-icon i {
        font-size: 3rem;
    }


    .missao h4 {
 
        font-size: 2.5rem;
    }
    
    .missao p {
        
        font-size: 1.5rem;
        font-weight: 600;
    }
}

  
@media (max-width: 500px){

    .texto-container h4 {

        font-size: 3.6rem;   

    }
    
    .texto-container P {

        font-size: 1.2rem;
    }


    .mission-icon i {
        font-size: 2.8rem;
    }


    .missao h4 {
 
        font-size: 2.4rem;
    }
    
    .missao p {
        
        font-size: 1.4rem;
        font-weight: 550;
    }

}
/* para celulares */
@media (max-width: 400px){

    .historia {
        margin: 40px 1% 30px 1%;
        height: 900px;
    }

    .missao {
        margin: 20px 1%;
    }

    .texto-container h4 {

        font-size: 3.3rem;   

    }
    
    .texto-container P {

        font-size: 1rem;
    }


    .mission-icon i {
        font-size: 2.5rem;
    }


    .missao h4 {
 
        font-size: 2.1rem;
    }
    
    .missao p {
        
        font-size: 1.1rem;
        font-weight: 550;
    }
}


