
.modal {
    display: none;
    position: fixed;
    z-index: 1121;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    overflow: hidden;
}

.modal-content {
    background-color: #1f1f1f;
    margin: 0px auto;
    padding: 0px;
    border: 2px solid #888;
    width: 90%;
    height: 84vh;
    border-radius: 15px;
    margin-top: 4%;
    color: #F9ECB4;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}


.modalsSvg {
   align-items: center;
   justify-content: center;
   margin-left: 44%;
}


@keyframes modalOpen {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


@keyframes modalClose {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-50px);
    }
}


.modal.show {
    display: block;
    animation: modalOpen 0.3s ease-out forwards;
}


.modal.hide {
    animation: modalClose 0.3s ease-in forwards;
}


.close {
    border: 1px solid #F9ECB4;
    border-radius: 50%;
    margin-top: -4%;
    margin-left: -8%;
    color: #F9ECB4;
    float: right;
    z-index: 1;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
}


.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

@media only screen and (max-width: 480px) {
    .modal-content {
        width: 83%;
        height: 22%;
       
        padding: 15px;
        margin-top: 55%;
        position: relative;
    }

    .modalsSvg {
        margin-left: 31%;
    }

    .close {
        position: absolute; 
        top: 10px; 
        right: 5px; 
        margin-top: -50px; 
        margin-left: 0px; 
        width: 35px;
        height: 35px;
        font-size: 24px;
        z-index: 10;
    }
    .modal-content iframe {
       
        width: 100%;
        height: 90px; 
    }
    
}
