
.container_total_abrir {
    display: flex;
    height: calc(100vh - 8vh);
    overflow: hidden;
    justify-content: space-between;
}

.box_detalhes {
    flex: 1;
    overflow-y: auto;
    position: relative;
    padding:0 0.5vw;
}

.carousel {
    flex: 0 0 75vw;
    background-color: rgba(0, 0, 0, 0.9);
    width: 80vw; 
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin: 0 auto;
    position: relative;
}

    .carousel img {
        width: 75vw; 
        height: 100vh; 
        object-fit: contain;
    }


.btn_fechar_abrir {
    position: absolute;
    top: 1vw;
    right: 1vw;
    text-decoration: none;
    cursor: pointer;
    z-index: 999;
}


    .btn_fechar_abrir i {
        text-decoration: none;
        cursor: pointer;
        font-size: 1.5em;
        color: #aaaaaa;
    }

        .btn_fechar_abrir i:hover {
            color: var(--cor_branca);
        }
/* Ajuste para abrir vídeo******************** */

.container_video {
    flex: 0 0 75vw;
    background-color: rgba(0, 0, 0, 0.9);
    width: 80vw;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin: 0 auto;
    position: relative;
}

    .container_video video {
        margin-top:0;
        width: 75vw;
        height: 100%;
        object-fit: contain;
    }


/* Ajuste para abrir dica******************** */
.carousel_dica {
    flex: 0 0 60vw;
    background-color: rgba(0, 0, 0, 0.9);
    width: 80vw;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin: 0 auto;
    position: relative;
}

    .carousel_dica img {
        width: 60vw;
        height: 100vh;
        object-fit: contain;
    }

.carousel_contribuicao {
    flex: 0 0 60vw;
    background-color: rgba(0, 0, 0, 0.9);
    width: 80vw;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin: 0 auto;
    position: relative;
}

    .carousel_contribuicao img {
        width: 60vw;
        height: 100vh;
        object-fit: contain;
    }
/* ************************Responsividade******************** */
@media only screen and (max-width: 1024px) {

    .container_total_abrir {
        height: calc(100vh - 14vh);
    }

    .carousel {
        flex: 0 0 65vw;
        width: 80vw;
    }

        .carousel img {
            width: 65vw;
            height: 100vh;
        }

    .btn_fechar_abrir {
        top: 2vw;
        right: 2vw;
    }

    /* Ajuste para abrir vídeo******************** */
    .container_video {
        flex: 0 0 65vw;
        width: 80vw;
    }

    .container_total_abrir video {
        width: 65vw;
        height: 100vh;
    }
    /* Ajuste para abrir dica******************** */
    .carousel_dica {
        flex: 0 0 50vw;
        width: 100%;
    }

        .carousel_dica img {
            width: 50vw;
            height: 100vh;
        }
    .carousel_contribuicao {
        flex: 0 0 50vw;
        width: 100%;
    }

        .carousel_contribuicao img {
            width: 50vw;
            height: 100vh;
        }
}

@media only screen and (max-width: 768px) {


    .container_total_abrir {
        height: calc(100vh - 14vh);
    }
    .carousel {
        flex: 0 0 65vw;
        width: 80vw;
    }

        .carousel img {
            width: 65vw; 
            height: 100vh; 
        }
    .btn_fechar_abrir {
        top: 2vw;
        right: 2vw;
    }


    /* Ajuste para abrir vídeo******************** */
    .container_video {
        flex: 0 0 65vw;
        width: 80vw;
    }

    .container_total_abrir video {
        width: 65vw;
        height: 100vh;
    }
    /* Ajuste para abrir dica******************** */
    .carousel_dica {
        flex: 0 0 50vw;
        width: 100%;
    }

        .carousel_dica img {
            width: 50vw;
            height: 100vh;
        }
    .carousel_contribuicao {
        flex: 0 0 50vw;
        width: 100%;
    }

        .carousel_contribuicao img {
            width: 50vw;
            height: 100vh;
        }
}

@media only screen and (max-width: 480px) {
    .container_total_abrir {
        flex-direction: column;
        width: 100vw;
        height: auto;
        overflow-y: auto;
    }
    .box_detalhes {

        padding: 0 2.5vw;
    }
    .carousel {
        flex: 0 0 70vh;
        width: 100%; 
    }

        .carousel img {
            width: 100vw; 
            height: 100vh; 
        }

    .btn_fechar_abrir {
        top: 3vw;
        right: 3vw;

    }

    /* Ajuste para abrir vídeo******************** */
    .container_video {
        flex: 0 0 70vh;
        width: 100%;
    }

        .container_total_abrir video {
            width: 100vw;
            height: 100vh;
        }
    /* Ajuste para abrir dica******************** */
    .carousel_dica {
        flex: 0 0 55vh;
        width: 100%;
    }

        .carousel_dica img {
            width: 100vw;
            height: 100vh;
        }
    .carousel_contribuicao {
        flex: 0 0 60vh;
        width: 100%;
    }

        .carousel_contribuicao img {
            width: 100vw;
            height: 100vh;
        }
}
