
.modal-btn-trigger {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 15px;
    line-height: 2;
    height: 50px;
    border-radius: 4px;
    width: 240px;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    background-color: #102770;
    color: #ffeba7;
    box-shadow: 0 12px 35px 0 rgba(16,39,112,.25);
    transition: all 200ms linear;
    margin-top: 20px;
}
.modal-btn-trigger:hover {
    background-color: #ffeba7;
    color: #102770;
}

.modal {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    z-index: 1050;
    background-color: rgba(31,32,41,.75);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 250ms 700ms ease;
    padding: 20px;
    overflow-y: auto;
}

.modal-activo {
    opacity: 1 !important;
    pointer-events: auto !important;
    transition: all 300ms ease-in-out !important;
}

.modal-wrap {
    background-color: #fff;
    width: 100%;
    max-width: 850px;
    border-radius: 4px;
    box-shadow: 0 12px 25px 0 rgba(199,175,189,.25);
    overflow: hidden;
    padding-bottom: 20px;
    opacity: 0;
    transform: scale(0.6);
    transition: opacity 250ms 250ms ease, transform 300ms 250ms ease;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-activo .modal-wrap {
    opacity: 1 !important;
    transform: scale(1) !important;
    transition: opacity 250ms 500ms ease, transform 350ms 500ms ease;
}

.modal-wrap img {
    width: 100%;
    height: auto;
    display: block;
}
.modal-wrap p {
    padding: 20px 30px 0 30px;
    font-family: 'Poppins', sans-serif;
}

.modal__btn {
    background-color: #102770;
    color: #ffeba7;
    padding: 10px 20px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 500;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 200ms linear;
}
.modal__btn:hover {
    background-color: #ffeba7;
    color: #102770;
}

@media screen and (max-width: 500px) {
    .modal-wrap {
        width: calc(100% - 40px);
        padding-bottom: 15px;
    }
    .modal-wrap p {
        padding: 15px 20px 0 20px;
    }
}
