@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100..800&display=swap');
* {
    font-family: Roboto;
    color: #093d75;
    box-sizing: border-box;
}
.box2a3 a{
    cursor: pointer;
    text-decoration: none;
}

html{
    width: 100%;
    margin: 0;
    padding: 0;
    background-color: #ffffff;
    font-size: 62.5%;

}
body{
    width: 100%;
    margin: 0 auto;
    padding: 0;
}
p{
    padding: 0px;
    margin: 3px;
    color: #3399cc;
    font-size: 1.5rem;
}

h2{
    justify-content: right;
    padding: 0px;
    margin: 3px;
    color: #3399cc;
    width: 100%;
    font-size: 2.3rem !important;
    font-weight: 700;

}

h3{
    justify-content: right;
    padding: 1% 0 0 0 ;
    margin: 3px;
    color: #3399cc;
    width: 100%;
    font-size: 2rem !important;
}
.boxgeral{
    width: 100%;
    max-width: 1050px;
    margin: 0 auto;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.boxgeral2{
    width: 50%;
    max-width: 525px;
    margin: 0 auto;
    padding: 0;
}
.box1{
    width: 94%;
    margin: 0 auto;
    padding: 0 3%;
}
.box2 {
    width: 94%;
    margin: 1% auto;
    padding: 0 3%;
    display: flex;
}

.box3{
    width: 94%;
    margin: 0 auto;
    padding: 0 3%;
    height: 10%;
}
.box4{
    width: 94%;
    margin: 6% auto;
    padding: 0 3%;

}
.box5{
    width: 100%;
    margin: 0 auto;
    padding: 3% 3%;
    background-color: #009FD6;
    display: flex;
    flex-wrap: wrap;

    /*clip-path: polygon(0% 5%, 20% 0%, 50% 10%, 80% 0%, 100% 0%, 100% 100%, 0% 100%);*/
}

.box1a {
    width: 70%;
}
.box1b{
    width:30%;
}


.box2a,.box2d,.box2e{
    width: 70%;
    height:13rem;
}
.box2b,.box2c{
    width:30%;
    height: 3rem;
}


.box2f{
    width: 70%;
    display: none
}

.box2g {
    width: 100%;
}

.box2a1{
    width: 100%;
    padding: 4% 2%;
    margin: 2.7% 0;
}
.box2a2{
    width: 100%;
    background: #009FD6;
    border-radius: 8px;
    padding: 14% 2% 14% 2%;
    margin: 5% 0 0 0
}
.box2a3{
    width: 100%;
    background: #3EBF5E;
    border-radius: 8px;
    padding: 9% 2% 9% 2%;
    margin: 2.5% 0;
}

.box2a4{
    width: 100%;
    background: #FFCC00;
    border-radius: 8px;
    padding: 10% 2% 10% 2%;
    margin: 2.5% 0;
}

.box4a{
    width: 100%;
}
.box5a{
    width: 17%;
    height: 150px;
    margin: 0 0 0 2.1%;
    background-color: #ffffff;
    border-radius: 5px;
}

.box_foto_home{
    width: 20%;
    background-color: #efefef;
    margin: 1.5% 0% 1.5% 3%;
    padding: 1%;
    border-radius: 8px;
    cursor: pointer;
}

.box_foto_home:hover {
    background-color: #badfec;
    /*box-shadow: 2px 2px 2px 2px #dedede;}*/
}

.box_foto_home img{
    width: 100%;
}

.bx3c_galeria{
    width: 100%;
    background: #f1f1f1;
    border: 1px solid #ffffff;
    border-radius: 8px;
    padding: 0.5%;
}
.bx3c_galeria:hover{
    background: #8dd4f6;
    color: #eaeaea;
    cursor: pointer;
}

.bx3c_galeria h4{
    margin: 0.5% 0;
    font-size: 1.4rem;
}



/* Cores */
.color-palette {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

.color {
    width: 60px;
    height: 60px;
    margin: 10px;
    border-radius: 0px;
    text-align: center;
    border-radius: 5px;
}
.img_rede{
    cursor: pointer;
    width: 40px;
    opacity: 90%;
}
.img_rede:hover{
    opacity: 110%;
}



.home { background-color: #0082ca; }
.pascom { background-color:  #3ebf5e; }
.galeria { background-color:  #005f9e; }
.noticias { background-color:  #ffcc00; }
.contato { background-color:  #0082ca; }

.link_acesso {
    cursor: pointer;
    border-radius: 8px;
}

.link_acesso:hover {
    background-color: #efefef}

/* Estilo do carrossel */

.carousel-images {
    display: flex;
    transition: transform 0.5s ease;
}
.carousel-images img {
    width: 100%;
    height: auto;
}
.carousel-prev, .carousel-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: 50%;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    background-color: rgba(0,0,0,0.5);
    border: none;
    border-radius: 0 3px 3px 0;
    user-select: none;
}
.carousel-next {
    right: 0;
    border-radius: 3px 0 0 3px;
}
.carousel {
    position: relative;
    width: 100%;
    max-width: 1024px; /* Limite máximo de largura */
    height: 50rem; /* Ajuste conforme necessário */
    margin: auto; /* Centraliza o banner na tela */
    overflow: hidden;
}

.carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.carousel-item.active {
    opacity: 1;
}

.carousel-item img {
    width: 100%; /* Ajusta a largura da imagem */
    height: auto; /* Ajusta a altura da imagem */
    object-fit: cover; /* Cobre toda a área do banner */
}

.box_patro{
    padding: 1% 0.5%;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}
.box_patro img {
    width: 175px;
    height: 130px;
    object-fit: cover;
    border-radius: 5px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

.boxfoto{
    width: 100%;
    padding: 5% 0;
    background-color: transparent;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}
.boxfoto img {
    width: 200px;
    height: 150px;
    object-fit: cover;
    border-radius: 5px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

/* Estilos do modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 90%;
    height: 90%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;

}
.modal-content {
    position: relative;
    display: flex;
    /*justify-content: center;*/
    align-items: center;
    max-width: 50%;
    padding: 3%;
    /*max-height: 60vh;*/
}
/*.modal img {*/
/*    padding: 8% 0;*/
/*    border-radius: 10px;*/
/*    transition: transform 0.3s ease;*/
/*}*/

/* Botões de navegação */
.prev, .next, .close {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 30px;
    color: white;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.5);
    padding: 10px;
    border-radius: 5px;
}
.prev { left: 10px; }
.next { right: 10px; }
.close {
    top: 20px;
    right: 20px;
    transform: none;
    font-size: 25px;
}

@media only screen and (max-width: 700px) {
    .boxgeral{
        width: 100%;
        margin: 0 auto;
        padding: 0;
        justify-content: center;
    }

    .boxgeral2{
        width: 100%;
        margin: 3% auto;
        padding: 0;
    }
    .box2 {
        width: 94%;
        margin: 1% auto;
        padding: 0 3%;
    }

    .carousel {
        position: relative;
        width: 100%;
        max-width: 1024px; /* Limite máximo de largura */
        height: 390px; /* Ajuste conforme necessário */
        margin: auto; /* Centraliza o banner na tela */
        overflow: hidden;
    }

    .box3{
        width: 94%;
        margin: 1% auto;
        padding: 1% 3%;
    }

    .color {
        width: 40px;
        height: 40px;
        margin: 10px;
    }

    .color img{
        width: 100%;
    }

    .box4{
        width: 94%;
        margin: 6% auto;
        padding: 6% 3%;
    }

    .box_foto_home{
        width: 90%;
        margin: 1.5% 0% 1.5% 1%;
        padding: 1%;

    }

    .box1a {
        width: 100%;
    }
    .box1b{
        width: 100%;

    }

    .box2a,.box2d,.box2e,.box2f{
        width: 100%;
        display: flex;
        flex-wrap: wrap;
    }

    .box2b,.box2c{
        display: none
    }
    .box2a2{
        width: 100%;
        background: #009FD6;
        border-radius: 8px;
        padding: 2% 2% 5% 2%;
        margin: 2.5% 0
    }
    .box5a{
        width: 45%;
        height: 150px;
        margin: 2% 0 0 2%;
        background-color: #ffffff;
        border-radius: 5px;
    }

    p{
        font-size: 1.2rem;
    }

    h2{
        font-size: 1.6rem !important;
    }

    h3{
        font-size: 1.4rem !important;
    }

    .box2a3{
        padding: 3% 2%;
    }

    .box2a4{
        padding: 5% 2%;
    }

    .img_rede{
        cursor: pointer;
        width: 3rem;
        opacity: 90%;
    }

    .modal-content {
        position: relative;
        display: flex;
        /*justify-content: center;*/
        align-items: center;
        max-width: 70%;
        padding: 3%;
        /*max-height: 60vh;*/
    }

    .boxfoto img {
        width: 150px;
        height: 100px;
        object-fit: cover;
        border-radius: 5px;
        box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
        cursor: pointer;
    }
}

@media only screen and (max-width: 470px) {
    .carousel {
        position: relative;
        width: 100%;
        max-width: 1024px; /* Limite máximo de largura */
        height: 36rem; /* Ajuste conforme necessário */
        margin: auto; /* Centraliza o banner na tela */
        overflow: hidden;
    }
}


@media only screen and (max-width: 400px) {
    .carousel {
        position: relative;
        width: 100%;
        max-width: 1024px; /* Limite máximo de largura */
        height: 30.5rem; /* Ajuste conforme necessário */
        margin: auto; /* Centraliza o banner na tela */
        overflow: hidden;
    }
}


