.screen {
    width: 45vw;
    height: 20vw;
    display: flex;
    justify-content: center;
    align-items: center;
}

.screen iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.exit {
    position: absolute;
    top: 0;
    left: 0;
    width: 170px;  /* Default size for larger screens */
    height: auto;  /* Keeps the aspect ratio */
}

#original-image, #hover-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 170px;  /* Default size for larger screens */
    height: auto;
    transition: opacity 0.09s ease;  /* Smooth fade transition */
}

#hover-image {
    opacity: 0;  /* Start with the hover image hidden */
}

a:hover #original-image {
    opacity: 0;  /* Fade out the original image */
}

a:hover #hover-image {
    opacity: 1;  /* Fade in the hover image */
}

body {
    margin: 0;
    padding: 0;
    width: 100vw;
    height: 100vh;
    background: url('/dworzec/images/cinemadark.jpg') no-repeat center center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

footer {
    font-family: "Roboto Condensed", sans-serif;
    position: absolute;
    bottom: 10px;
    right: 10px;
    font-size: 10px;
    color: #989897;
    z-index: 10;
}

/* Portrait mobile specs */
@media screen and (max-width: 768px) and (orientation: portrait) {
    body {
        background: url('/dworzec/images/cinemamobile.jpg') no-repeat center center/cover;
    }

    .screen {
        width: 60vw;
        height: 33.75vw;
        position: absolute;
        top: 27%;
        left: 50%;
        transform: translateX(-50%);
    }

    .screen iframe {
        width: 100%;
        height: 100%;
        border: none;
        transform: rotate(0deg);
    }

    footer {
        font-size: 8px;
        position: fixed;
        bottom: 10px;
        right: 10px;
        z-index: 10;
    }

    /* Smaller size for the .exit image on mobile */
    .exit {
        width: 100px;  /* Smaller size for mobile */
    }

    #original-image, #hover-image {
        width: 100px;  /* Smaller size for mobile */
    }
}

/* Landscape mobile specs */
@media screen and (max-width: 768px) and (orientation: landscape) {
    footer {
        font-size: 6px;
        bottom: 1px;
        right: 60px;
    }

    /* Smaller size for .exit image on landscape mobile */
    .exit {
        width: 100px;  /* Adjust size for landscape mobile */
    }

    #original-image, #hover-image {
        width: 100px;  /* Adjust size for landscape mobile */
    }
}

/* Portrait footer specs */
@media screen and (max-width: 480px) {
    footer {
        font-size: 6px;
        bottom: 10px;
        right: 10px;
    }
}

