/* --------------------------------------------------------------- */
/* CAROUSEL ------------------------------------------------------ */
/* --------------------------------------------------------------- */

.color_change {
    z-index: 0;
}

#carouselExampleIndicators {
    margin: 0 auto;
    width: 100%;
    max-width: 1200px; /* Adicione um tamanho máximo */
}

#carouselExampleIndicators img {
    max-height: 300px;
}
.carousel-control-next-icon, .carousel-control-prev-icon{
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    mix-blend-mode: difference;
}

body .carousel-indicators{
    background-color: rgba(0, 0, 0, 0.2);
    mix-blend-mode: difference;
    padding-inline: 10px;
    justify-self: center;
}

.carousel_image {
    margin: 0 auto;
    width: 100%;
    height: 100%;
    object-fit: contain;
    z-index: 0;
}


@media(max-width: 1200px) {
    .carousel_image,
    #carouselExampleIndicators {
        min-height: 200px;
    }
}

@media(max-height: 500px) {

    .carousel_image,
    #carouselExampleIndicators {
        min-height: 200px;
    }
}

/* ---------------------------------------------------------- */
/* CARD ----------------------------------------------------- */
/* ---------------------------------------------------------- */

.vermais_container{
    display: flex;
    justify-content: center;
}
.card img{
    height: 400px;
}

.card_container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    max-width: 100%;
}

div.col-md-4.mb-4 {
    width: 100%; /* Ocupa toda largura em mobile */
}

.card:first-of-type {
    margin-right: 1vw;
}

.card:last-of-type {
    margin-left: 1vw;
}

.card-title{
    font-size: larger;
}
.card-text {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    /* Número máximo de linhas */
    line-clamp: 3;
    max-height: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: large;
}

.card-body {
    overflow: hidden;
}


.card_container button {
    margin-top: 20px;
    font-size: x-large;
}

.buttonVerMais {
    width: 150px;
    margin: 0 auto;
    border-radius: 10px;
    height: 50px;
    text-align: center;
    font-size: 1.4rem;
}


@media(max-width: 1200px) {

    div.col-md-4.mb-4 {
        width: 90%;
    }

    .card_container {
        display: flex;
        flex-direction: column;
        max-width: 100%;
        align-items: center;
    }

    .col-md-4.mb-4 {
        width: 50%;
    }

    .card:first-of-type {
        margin-right: 0;
    }

    .card:last-of-type {
        margin-left: 0;
    }
}

@media(max-width: 999px) {
    .card-text {
        font-size: 16px;
    }
}

@media(max-width: 768px) {
    .card:first-of-type,
    .card:last-of-type {
        margin: 0;
    }
}

/* ---------------------------------------------------------- */
/* INFO ----------------------------------------------------- */
/* ---------------------------------------------------------- */
.info_container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    justify-content: space-between;
    max-width: 100%;
    gap: 10px;
    justify-content: center;
}

.numImage {
    overflow: hidden;
    align-items: center;
    justify-content: center;
}

.numText {
    width: 180px;
    max-width: 30vw;
    overflow: hidden;
    text-overflow: clip;
    height: 45px;
    justify-items: center;
}

.numText h1 {
    font-size: 32px;
}

.img-fluid {
    width: 200px;
    height: 200px;
    object-fit: fill;
}

.info {
    align-items: center;
    text-align: center;
    justify-content: center;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.editContadores {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

@media(max-width: 999px) {
    .info_container {
        display: flex;
        flex-direction: column;
    }

    .info {
        flex-direction: row;
    }

    .numText {
        justify-items: baseline;
    }
}

/* ------------------------------------------------------------- */
/* Section ----------------------------------------------------- */
/* ------------------------------------------------------------- */

.section-title {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px 0;
    text-align: center;
    font-size: 1.5em;
    font-weight: bold;
    color: #333;
    gap: 10px;

    align-self: center;
}

.section-title::before,
.section-title::after {
    content: "";
    flex: 1;
    border-top: 2px solid #ccc;
}

.section-title span {
    white-space: nowrap;
}

/* ------------------------------------------------------------- */
/* Video ------------------------------------------------------- */
/* ------------------------------------------------------------- */

.video_container {
    margin: 0 auto;
}

.video_container iframe {
    width: 70vw;
    height: 40vw;
}

#link-video {
    height: 15vh;
    width: 70vw;
}

#links-banner {
    width: 70vw;
}

.enviarDadosPI {
    height: 40px;
    width: 225px;
    border-radius: 10px;
}

@media(max-width: 1200px) {
    .video_container iframe {
        width: 100%;
        height: 50vh;
    }

    .video_container {
        margin: 0 0;
    }
}


/* ------------------------------------------------------------- */
/* Map ------------------------------------------------------- */
/* ------------------------------------------------------------- */

.map_container {
    margin: 0 auto;
}

.map_container iframe {
    width: 70vw;
    height: 60vh;
}

@media(max-width: 1200px) {
    .map_container {
        display: flex;
        width: 100%;
        justify-content: center;
    }

    .map_container iframe {
        width: 100%;
        height: 80vh;
        max-width: 750px;
    }
}

@media(max-height: 500px) {
    .map_container iframe {
        height: 100vh;
    }
}