@font-face {
    font-family: 'AvertaDemo';
    src: url('Fontes/Fontes/AvertaDemoPE-ExtraboldItalic.ttf') format('woff2'), format('woff'), format('truetype');
    font-weight: bold;
    font-style: italic;
    font-family: 'AvertaDemoRegular';
    src: url('Fontes/Fontes/AvertaDemoPE-Regular.ttf');
    font-family: 'ReeyRegular';
    src: url(/Fontes/Reey-Regular.otf);
}

.ms-3 {
    margin-left: 15% !important;
}

body {
    background: url(img/fundo.png) repeat;
    background-size: 100%;
}

.nav {
    background: linear-gradient(150deg, #381b4b, #46255b);
    width: 100%;
    transition: height 0.3s ease;

}


.nav.transparent {
    background: rgba(0, 0, 0, 0.363);
    backdrop-filter: blur(5px);
    transition: 1s;
    height: auto;


}


.nav.transparent.scrolled {
    transition: 2s;
    height: auto;
}


.Header {
    margin-top: 10%;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    height: auto;
}

.text-header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.text-header>h1 {
    color: #5c3d7c;
    font-size: 60px;
    font-family: 'AvertaDemo', sans-serif;
}

.text-header>h2 {
    color: #eaba6b;
    font-family: 'ReeyRegular';
}

.Header img {
    width: 90%;
}

@media (max-width: 768px) {
    .text-header>h1 {
        font-size: 40px;
    }

    .text-header>h2 {
        font-size: 20px;
    }

    .Header img {
        width: 100%;
    }

    .Header{
        display: flex;
        flex-direction: column;
        margin-top: 50%;
    }
}

.section-video {
    margin-top: 2%;
    position: relative;
    width: 100%;

}


.texto-video {
    display: flex;
    align-items: flex-start;
}




.texto-video h1 {
    margin-left: 12%;
    margin-top: 27%;
    color: #5c3d7c;
    font-family: 'AvertaDemo', sans-serif;
}

.texto-video h3 {
    letter-spacing: 9px;
    margin-top: 29%;
    margin-bottom: 2%;
    color: #eaba6b;
    font-family: 'ReeyRegular';
}

.video {
    width: 100%;
    display: flex;
    justify-content: center;

}

.video>iframe {
    border-radius: 10px;
    width: 50%;
    height: 400px;
}

@media (max-width: 768px) {
    .section-video {
        margin-top: 5%;
        width: 100%;
    }

    .texto-video {
        align-items: center;
    }

    .texto-video img {
        width: 380px;
        margin-right: 85%;
        height: auto;


    }

    .texto-video h2 {
        margin-left: 0;

        margin-top: 10px;

        text-align: center;

    }

    .texto-video h3 {
        margin-left: 0;
        margin-top: 10px;
        text-align: center;

    }

    .video>iframe {
        width: 90%;
        height: auto;
        margin-top: 5%;
    }
}

.prop {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    height: auto;
    margin-top: 5%;
}

@media (max-width: 768px) {

    .prop {
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        height: auto;
        margin-top: 5%;
    }

    .prop img {
        display: flex;
        width: 300px;
        justify-content: center;
        align-items: center;
        margin-left: 15%;
        padding: 10px;

    }
}

.icones {
    width: 100%;
    display: flex;
    justify-content: space-around;
    flex-direction: column;
    align-items: center;
}

.card {
    margin-top: 5%;
    border-radius: 10px;
    padding: 5%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    color: #4B0082;
    width: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-left: 3%;
    border: black;
    overflow: visible;


}

.card img {
    border-radius: 100%;
    background-color: #8a3cbe;
    width: 100px;
    height: 100px;
    padding: 10px;
}
.icones{
    margin-top: 50px;
}
.icones img {
    width: 60%; /* Ajuste a largura como preferir (percentual ou valor fixo) */
    height: auto; /* Mantém a proporção original da imagem */
    margin: 0 auto; /* Centraliza as imagens caso necessário */
    display: block; /* Garante que o elemento seja tratado como bloco */
  }



.icones h2 {
    margin-top: 10%;
    justify-content: center;
    width: 100%;
    text-align: center;
}

.text-mapa {
    margin-top: 10%;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    height: auto;
}

.mapa {
    width: 100%;
    margin-top: 5%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 20px;
}

.mapa h4 {
    max-width: 80%;
    text-align: center;
    margin: 0;
    padding-left: 20%;
}

.image-container {
    display: flex;
    flex-direction: column;
    /* Empilha as imagens na vertical */
    align-items: center;
    /* Centraliza as imagens horizontalmente */
    gap: 10px;
    /* Espaçamento entre as imagens */
}

.image-container img {
    width: 90%;
    height: auto;
}


.image-container img:nth-child(2) {

    height: auto;
}

.mapa a {

    background: none;
    border: 0cm;
}

.mapa a:hover {
    transition: 500ms;
    
}


/* Para tablets (largura máxima de 768px) */
@media (max-width: 768px) {

    .text-mapa,
    .mapa {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .mapa h4 {
        padding-left: 0;
        max-width: 100%;
    }

    .image-container img {
        width: 80%;
    }
}


@media (max-width: 480px) {

    .text-mapa,
    .mapa {
        grid-template-columns: 1fr;
    }

    .mapa h4 {
        font-size: 1rem;
        padding-left: 0;
        max-width: 100%;
    }

    .image-container img {
        width: 70%;
    }

    .mapa a:hover {
        width: 60%;
    }
}

.Form {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 90%;
    margin: 0 auto;
    gap: 20px;

    margin-bottom: 30px;
}
.Form > .logo{
    max-width: 150px;
}

.Form img {
    
    height: auto;
    margin-bottom: 20px;
    margin-bottom: 50px;
}

.Form form {
    margin-top: 20%;
    position: relative;
    display: flex;
    flex-direction: column;
    width: 400px;
    padding: 20px;
    border-radius: 8px;
    color: white;
    z-index: 1;
    height: 650px;
}

.Form form label {
    font-size: 1rem;
    margin-bottom: 5px;

}

.Form form input {
    margin-bottom: 15px;
    padding: 10px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.Form form button {
    justify-content: flex-start;
    padding: 10px 15px;
    font-size: 1rem;
    color: #fff;
    background-color: #64397f;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 200px;
}

.Form form button:hover {
    background-color: #4B0082;
}

.form-container {
    position: relative;
    margin-top: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url('img/bg-bakground.png');
    background-size: 100%;
    background-repeat: no-repeat;
    border-radius: 12px;
}

.icones .row {
    display: flex;
    flex-wrap: wrap; /* Permite que os itens quebrem linha em telas menores */
    justify-content: center; /* Centraliza horizontalmente */
    align-items: center; /* Alinha verticalmente */
  }
  
  .icones .row > div {
    display: flex; /* Torna cada coluna um contêiner flexível */
    justify-content: center; /* Centraliza o conteúdo na coluna */
    align-items: center; /* Alinha verticalmente na coluna */
    margin-bottom: 15px; /* Espaçamento entre linhas para telas pequenas */
  }
  



@media (max-width: 768px) {
    @media (max-width: 768px) {
        .text-form{
            width: 100%;
        }
        .text-form img{
            width: 500px;
        }
        .form-container{
            margin-top: 0px;
        }
        .Form {
            display: grid;
            grid-template-columns: 1fr;
            gap: 10px;
            text-align: center;
            width: 100%;
        }

        .Form img {
            max-width: 250px;
            margin: 20px auto;
        }

        .Form form {
            background-color: rgba(0, 0, 0, 0);
            width: 50%;
            padding: 15px;
            margin-bottom: 30px;
            height: 500px;
            justify-content: center;
            align-items: center;
        }

        .form-container {
            background-size: 100%;
            background-position: center;

        }

        .Form form input,
        .Form form button {
            font-size: 0.9rem;
            padding: 8px;
        }

        .Form form button {
            
            height: 40px;
        }
    }
}


@media (max-width: 480px) {
    .Form {
        width: 80%;
        padding: 10px;
        border-radius: 4px;
        background-size: 60%;
        background-position: center top;
    }

    .Form input,
    .Form button {
        font-size: 0.9rem;
    }
}

footer {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    grid-template-areas: 
        "img-footer reali infos"
        "img-footer reali endereco";
    gap: 10px;
    background: #000000;
    color: white;
    align-items: center; 
    width: 100%;
}

.img-footer {
    grid-area: img-footer;
}

.reali {
    grid-area: reali;
    text-align: center;
}

.infos {
    width: 100%;
    grid-area: infos;
}

.endereco {
    width: 500px;
    grid-area: endereco;
    margin-top: 10px;
}

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

.infos img {
    width: 30px;
}


@media (max-width: 768px) {

    
    footer {
        
        grid-template-columns: 1fr;
        grid-template-areas:
            "img-footer"
            "reali"
            "infos"
            "endereco";
        text-align: center;  
        align-items: center;
        width: 100%;
        max-width: 768px;
    }
    
    .img-footer {
        margin-bottom: 10px;
    }

    .reali {
        grid-area: reali;
        margin: 10px 0;
    }

    .infos {
        grid-area: infos;
        margin: 5px 0;
    }

    .endereco {
        grid-area: endereco;
        margin: 5px 0;
    }

}
@media (max-width: 480px) {
    footer {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-areas:
            "img-footer"
            "reali"
            "infos"
            "endereco";
        text-align: center;
        align-items: center;
        width: 100%;
        max-width: 480px;
        padding: 10px; 
        max-width: 100%; 
        padding: 10px;
        overflow: hidden; 
        box-sizing: border-box; 
    }

    .img-footer {
        grid-area: img-footer;
        margin-bottom: 8px; 
    }

    .reali {
        grid-area: reali;
        margin: 8px 0; 
    }

    .infos {
        grid-area: infos;
        margin: 4px 0;
        box-sizing: border-box; 
    }
    .endereco{
        grid-area: endereco;
        margin: 4px 0;
        width: 100%; 
        box-sizing: border-box;
    }
}
