﻿.ventanaModal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    display: none;
    transition: 200ms ease-in-out;
    border-radius: 5px;
    z-index: 12000;
    background-color: white;
    width: 80%;
    display: table;
    /*height: 300px;*/
    /*overflow-y: scroll;*/
    max-height: 95%;
    max-width: 80%;
    overflow-y: auto;
}

.ventanaModal.active {
    transform: translate(-50%, -50%) scale(1);
    display: block;
}


#overlay {
    position: fixed;
    opacity: 0;
    transition: 200ms ease-in-out;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, .5);
    pointer-events: none;
}

#overlay.active {
    opacity: 1;
    pointer-events: all;
    z-index: 1060;
}



.popup-contenedor-descripcion {
    display: flex;
}

.popup-titulo {
    font-family: 'Poppins', sans-serif !important;
    text-align: center;
    padding: 0 10px;
    line-height: normal;
}

.popup-titulo-contenedor {
    position: sticky;
    top: 0;
    z-index: 1020;
    display: flex;
    justify-content: space-between;
    border-radius: 5px;
    background-color: #89CFE0;
    padding: 10px;
    color: white;
    font-weight: 700;
    font-size: 24px;
}

.boton-cerrar {
    margin: auto 0;
    cursor: pointer;
}

.popup-contenedor-descripcion {
    margin: 80px 80px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size:18px;
}

.popup-imagen-contenedor {
    margin: auto 0;
    margin-right: 80px;
}






@media screen and (max-width: 1500px) {
    .popup-contenido {
        width: 80%;
    }

    
}



@media screen and (max-width: 1350px) {



    .popup-contenedor-descripcion {
        margin: 40px 40px;
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        font-size: 18px;
    }

    .popup-imagen-contenedor {
        margin: auto 0;
        margin-right: 40px;
    }
}

@media screen and (max-width: 1000px) {
    .popup-contenedor-descripcion {
        flex-direction: column;
    }

    .popup-imagen-contenedor{
        margin:0 auto;
        margin-bottom: 25px;
    }

}

@media screen and (max-width: 700px) {

    .popup-contenido {
        width: 90%;
    }


    .popup-contenedor-descripcion {
        margin: 10px 10px;
    }

    
}