﻿/*Modal*/
.modal {
    display: none;
    position: fixed;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(5px);
    overflow: hidden;
}

.modal-content {
    background-color: #fefefe;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 15px -3px, rgba(0, 0, 0, 0.05) 0px 4px 6px -2px;
    margin: 15% auto;
    padding: 5px 15px 15px 15px;
    border: 1px solid #888;
    border-radius: 10px;
    width: 80%;
    max-width: 550px;
    border: none;
}

    .modal-content img {
        border-radius: 10px;
        border: none;
    }

.close {
    color: #aaa;
    float: right;
    font-size: 2rem;
    font-weight: 900;
    cursor: pointer;
    transition: all 300ms ease;
}

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

.fade-in {
    opacity: 0;
    animation: fadeIn 300ms ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}
