﻿.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    visibility: hidden;
    opacity: 0;
    z-index: 5;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.overlay.active {
    visibility: visible;
    opacity: 1;
    }

.overlay-left,
.overlay-right {
    position: absolute;
    top: 0;
    width: 50vw;
    height: 100vh;
    background-color: #000000;
    transition: transform 1.5s ease;
}

.overlay-left {
    left: 0;
}

.overlay-right {
    right: 0;
}

.vertical-line {
    position: absolute;
    width: 0.3px;
    height: 5px;
    background-color: #FF8A00;
    transition: height 1.2s ease;
}

.line-expanded {
    height: 100vh !important;
}

.line-hidden {
    display: none !important;
}

.curtains-open .overlay-left {
    transform: translateX(-100%);
}

.curtains-open .overlay-right {
    transform: translateX(100%);
}
