body {
    display: block;
    font-family: 'Press Start 2P', cursive;
    margin: 0px;
    padding: 0;
    overflow: hidden;
    width: 100vw;
    height: 100vh;
    cursor: url('images/cursor.cur'), auto;
}

canvas {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
}

/* move aorunds */
#image-container {
    display: none; /* Initially hide the container */
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 650px;
    height: 300px;
    z-index: 9999;
}

#timed-image {
    opacity: 0; /* Initially set opacity to 0 */
    transition: opacity 0.7s; /* Transition for the fade effect */
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 650px;
    height: 300px;
    background-image: url('images/movearound.png'); /* Path to the different image */
        background-size: contain;
        background-repeat: no-repeat;
    z-index: 9999;
}

/* Styles for the loading screen */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: black;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    transition: opacity 2s;
    z-index: 9999;
}

#loading-gif {
    width: 100vw; /* Adjust size as needed */
    height: 70vh;
    transition: opacity 2s, transform 2s;
}

/* Fade out animation for the loading screen */
#loading-screen.fade-out {
    opacity: 0;
    pointer-events: none;
}

/* Smooth transition for the loading GIF */
#loading-gif.scale-up {
    transform: scale(15); /* Adjust scale factor as needed */
}

/* Styles specific to mobile devices */
@media (max-width: 768px) {
    #loading-gif {
        width: auto;
        height: auto;
        max-width: 80%;
        max-height: 80%;
    }

    #timed-image {
        width: 360px; /* 60% of 650px */
        height: 150px; /* 60% of 300px */
        top: 20%; /* Move towards the top of the screen */
        left: 22%;
        background-image: url('images/movearoundmobile.png'); /* Path to the different image */
        background-size: contain;
        background-repeat: no-repeat;
    }
}
