body, html {
    margin: 0;
    padding: 0;
    overflow: hidden;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #000;
}

#container {
    position: relative;
}

#laptop-image {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    display: none;
}

.mobile-image {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
}

#open-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 10px 20px;
    font-size: 18px;
    cursor: pointer;
    z-index: 1;
}

#door-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    z-index: 2;
    pointer-events: none; /* Ensure the doors don't block button clicks */
}

.door-left, .door-right {
    background-color: #333;
    width: 50%;
    height: 100%;
}

.door-left {
    transform: translateX(0);
}

.door-right {
    transform: translateX(0);
}

.hidden {
    display: none !important;
}

.open .door-left {
    animation: slideLeft 2s forwards;
}

.open .door-right {
    animation: slideRight 2s forwards;
}

@keyframes slideLeft {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

@keyframes slideRight {
    0% { transform: translateX(0); }
    100% { transform: translateX(100%); }
}
@media only screen and (orientation: landscape) {
    .mobile-image {
        display: none !important;
    }
    #laptop-image {
        display: block !important;
    }
    #open-button {
        top: 80% !important;
    }
}