#popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    max-width: 100%;
    background: rgba(0, 0, 0, 0.8);
    /* display: flex; */
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.popup-content div {
    display: none;
}

.popup-content {
    position: relative;
    max-width: 90%;
    background-color: var(--bg-dark);
    border-radius: 1vw;
}

.popup-content img {
    max-width: 100%;
    max-height: 70vh;
    border-radius: 1vw;
    z-index: 2000;
}
.popup-content video {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 1vw;
    z-index: 2000;
}

#popup .close {
    position: absolute;
    top: 8px;
    right: 8px;
    color: white;
    font-size: 30px;
    cursor: pointer;
    background-color: var(--grey-transparent-dark);
    height: 40px;
    width: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 100%;
}
#popup .close:hover {
    background-color: var(--grey-transparent-light);
}

.arrow-container {
    height: 50px;
    width: 50px;
    font-size: 36px;
    color: white; 
    cursor: pointer; 
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border-radius: 100%;
    z-index: -1;
}
.arrow {
    height: 50px;
    width: 50px;
    font-size: 36px;
    color: white; 
    cursor: pointer; 
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border-radius: 100%;
    z-index: 10000;
}

.arrow-container:hover ~ .arrow {
    background-color: var(--grey-transparent-light);
}

.arrow:hover {
    background-color: var(--grey-transparent-light);
}

.arrow-left, .arrow-left-container {
    left: calc(max(-5vw, -50px));
}

.arrow-right, .arrow-right-container {
    right: calc(max(-5vw, -50px));
}

.arrow-container::before {
    content: "";
    position: absolute;
    inset: -20vh;
}
.arrow-left-container::before {
    left: -20vw;
}
.arrow-right-container::before {
    right: -20vw;
}


.popup-description {
    display: flex;
    flex-direction: column;
    align-items: center;
}