#modal {
    display: none;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    background-color: #4e555bb5;
    opacity: 0;
    transition: all .8s;
}

#modal.opened {
    display: flex;
    opacity: 1;
    z-index: 99999;
}

/*lightbox*/

#modal .lightbox-wrapper {
    height: 90vh;
    max-width: 90vw;
    display: flex;
    justify-content: center;
    align-items: center;
}

#modal .lightbox-wrapper img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
}

.lightbox-control, .modal-close {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 50px;
    color: #fff;
    background-color: #4e555b;
    opacity: .6;
    cursor: pointer;
    transition: opacity .8s;
}

.lightbox-control:hover, .modal-close:hover {
    opacity: 1;
}

.modal-close {
    top: 0;
    right: 0;
    height: 100px;
    width: 100px;
}

.lightbox-arrow {
    top: 100px;
    bottom: 100px;
    width: 100px;
    max-width: 10vw;
}

.lightbox-arrow.prev {
    left: 0;
}

.lightbox-arrow.next {
    right: 0;
}

/*Auth*/

.auth-wrapper {
    padding: 20px 30px;
    width: 450px;
    max-width: 90vw;
    background-color: #FFFFF0;
    border-radius: 15px;
}

/*Popover*/

#popover {
    position: fixed;
    top: 50px;
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 999999;
}

#popover p {
    padding: 10px 20px;
    min-width: 200px;
    border-radius: 5px;
}
