.photoviewer {
    background: rgba(0, 0, 0, 0.95);
    width: 100%;
    position: fixed;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    z-index: 5;
}

.photoviewer__close-button {
    width: 22px;
    margin-left: 10px;
    margin-top: 10px;
    opacity: 0.6;
    cursor: pointer;
}

.photoviewer__image {

    width: 95%;
    height: 90%;
    margin-left: 2.5%;
    // background: blue;
    object-fit: contain;
}

.photoviewer__loader {
    width: 98%;
    height: 88%;
    display: flex;
    align-items: center;

    @media (max-width: $desktop-breakpoint) {
        width: 90%;
    }
}