body.full-screen-image {
    overflow: hidden;
}

.full-screen {
    top: 0;
    left: 0;
    opacity: 0;
    width: 100vw;
    height: 100vh;
    z-index: 10000;
    position: fixed;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(80px);
    background-color: rgba(0, 0, 0, 0.8);
    transition: opacity .3s ease-in-out, visibility .3s ease-in-out, transform .3s ease-in-out;
}

body.full-screen-image .full-screen {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.full-screen button {
    color: white;
}

.full-screen .top {
    padding: 15px;
}

.full-screen .top h3 {
    color: white;
}

.full-screen .top button.close-button {
    padding: 7px;
}

.full-screen .image-scroll {
    padding-bottom: 20px;
    height: calc(100% - 75px);
}

.full-screen .image-scroll button {
    width: 50px;
    height: 200px;
    transition: padding .15s ease-in-out;
}

.full-screen .image-scroll button.previous,
.full-screen .image-scroll button.next {
    padding-left: 10px;
}

.full-screen .image-scroll button.previous:hover {
    padding-left: 5px;
}

.full-screen .image-scroll button.next:hover {
    padding-left: 15px;
}

.full-screen .image-scroll img.main-image {
    max-height: 100%;
    border-radius: 10px;
    max-width: calc(100% - 100px);
}



.room {
    margin-top: 20px;
    padding-top: 15px;
    position: relative;
}

.room .title {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    position: absolute;
}

.room .title h3 {
    top: 80px;
    z-index: 1000;
    padding: 10px 0;
    margin-bottom: 0;
    position: sticky;
    background-color: var(--background-color);
}



.gallery .item img {
    cursor: pointer;
    transition: transform .15s ease-in-out, filter .15s ease-in-out;
}

.gallery .item:hover img {
    filter: brightness(.8);
    transform: scale(1.02);
}

.gallery .item:first-of-type {
    grid-row: span 2;
}

.gallery .item:first-of-type:not(:only-child) {
    grid-column: span 2;
}

.gallery .item:nth-child(2n) {
    grid-row: span 2;
}

.gallery .item:nth-of-type(4n) {
    grid-column: span 2;
    grid-row: span 1;
}

.gallery .item:nth-of-type(6n) {
    grid-column: span 2;
}


@media (max-width: 680px) {
    .full-screen .top button.close-button {
        margin: 0;
    }
}