html {
    overflow-x: hidden;
}

body,
main {
    max-width: 960px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.site-box {
    position: relative;
    width: 916px;
    height: 225px;
    display: flex;
    gap: 8px;
    background-color: black;
    border: 4px solid darkslategray;
    border-right: 0;
    padding: 12px;
}

.site-box-1 {
    background-image: url(/images/tray-bg-1.jpeg);
    background-size: cover;
}

.site-box-2 {
    background-image: url(/images/tray-bg-2.jpg);
    background-size: cover;
}

.site-box-3 {
    background-image: url(/images/tray-bg-3.jpg);
    background-size: cover;
}

.site-tray {
    flex: 1;
    overflow: hidden;
    box-shadow: inset 8px 0 12px 12px black;
    text-align: center;
}

.site-tray img {
    max-width: none;
}

iframe {
    width: 1200px;
    height: 900px;
    box-sizing: border-box;
    border: 16px solid black;
    transform: scale(0.25);
    transform-origin: 0 0;
    pointer-events: none;
    z-index: -10;
}

.sliding-lid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.sliding-lid-1 {
    background: url(/images/tray-bg-1.jpeg);
    background-size: cover;
}

.sliding-lid-2 {
    background: url(/images/tray-bg-2.jpg);
    background-size: cover;
}

.sliding-lid-3 {
    background: url(/images/tray-bg-3.jpg);
    background-size: cover;
}

.site-box:hover .sliding-lid {
    transform: translateX(102%);
}

footer {
    text-align: center;
}

.box {
    color: white;
    mix-blend-mode: difference;
    font-size: 1em;
}

.p {
    font-size: 1em;
}