* {
    padding: 0;
    margin: 0;
}

.modal-body {
    position: relative;
    display: none;
}

.modal-body::before {
    content: '';
    background-color: black;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    z-index: 4;
    opacity: 0.8;
}

.modal-body > div {
    opacity: 1;
    z-index: 5;
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    top: 0;
    width: 100%;
    height: 100%;
    flex-direction: column;
}

.modal-image {
    width: 300px;
    height: auto;
}

.animate-modal {
    animation: animateModal 1s ease-in-out forwards;
}

@keyframes animateModal {
    0% {
        opacity: 0;
        transform: scale(0.1);
    }
    
    100% {
        opacity: 1;
        transform: scale(1);
    }
}





