.overlay{
    position: fixed;
    inset: 0;
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
    animation: fadeIn 0.15s ease-in-out;
}

.modal{
    position: relative;
    max-width: 50%;
    max-height: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.media{
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 5px;
}

.title{
    font-size: 26px;
    font-family: var(--font-dm-sans);
    font-weight: 400;
    color: #901C1C;
    margin-top: 10px;
    align-self: flex-start;
}

.close{
    position: absolute;
    width: 80px;
    height: 40px;
    top: 0;
    right: -80px;
    cursor: pointer;
}

.chevron{
    position: absolute;
    width: 80px;
    height: 40px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}

.chevron.left{
    left: -80px;
}

.chevron.right{
    right: -80px;
}

@keyframes fadeIn{
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

