@font-face {
    font-family: 'CheekFont';
    src: url('WalterTurncoat.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    background-color: black;
}

body {
    opacity: 0;
    animation: fadeIn 3s ease-in-out forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}


@media screen and (max-width: 490px) {



.scene1-backdrop {
    position: absolute;
    width: 100vw;
    height: 100%;  
    overflow: hidden;
}
}

.scene1-background {
    z-index: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;    
    height: 100%;   
    background-size: cover;   
    background-position: center;  
    overflow: hidden;  
}

.scene1-elements {
    max-width: 350px;
    position: absolute;
    bottom: 5%;
    right: 0%;
    width: 65%;  
    z-index: 2;
}


.scene1-building {
    position: relative;  
    width: 100%;  
    z-index: 1;
}

.scene1-tree {
    z-index: 2;
    position: absolute;
    width: 50%;
    bottom: -5%;    
    left: -15%;     

}

.scene1-Shion {
    z-index: 2;
    position: absolute;
    width: 40%;  
    bottom: 65%;  
    right: 69%;  
}


.scene1-cloud1 {
    z-index: 1;
    position: absolute;
    width: 35%;
    bottom: 70%;     
    right: 5%;   
    animation: cloudmoves 60s cubic-bezier(0, 0, 1, 1) infinite, cloudfades 2s 0, 0, 1, 1 infinite; /*comment out if using bouncy cloud code*/  
}

.scene1-cloud2 {
    z-index: 1;
    position: absolute;
    width: 35%;
    bottom: 80%;     
    left: 10%;
    animation: cloudmoves 60s cubic-bezier(0, 0, 1, 1) infinite, cloudfades 2s 0, 0, 1, 1 infinite; /*comment out if using bouncy cloud code*/   

}

.preload-image {
    opacity: 0;
    transition: opacity 0.5s ease-in-out; 
}

/*.drawingspoem-container {
    position: absolute;
    width: 100vw;
    height: 100%;  
    overflow: hidden;
    display: flex;
    flex-direction: row;
}*/

.drawings {

}


/*desktop styles*/
@media screen and (min-width: 700px) {
    html, body {
        margin: 0;
        padding: 0;
        height: 100%;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        overflow: hidden;
        transition: background 1s ease-in-out;

}


.scene1-container {
    width: 800px;
    height: 500px;
    max-height: 100vh;
    max-width: calc(100vh * 16 / 9);
    position: fixed;
    overflow: hidden;
    border-radius: 25px;
    opacity: 1;
    background-color: white;
    z-index: 4;
}


.scene1-elements {
    max-width: 350px;
    position: absolute;
    bottom: 5%;
    right: 100vw;
    width: 35%;  
    z-index: 2;
}


.scene1-building {
    position: relative;  
    width: 100%;  
    z-index: 1;
}

.scene1-tree {
    z-index: 2;
    position: absolute;
    width: 45%;
    bottom: -5%;    
    left: auto;     
    right: 70%;      
}

.scene1-Shion {
    z-index: 2;
    position: absolute;
    width: 40%;  
    bottom: 65%;  
    right: 69%;  
}

.scene1-cloud1 {
    z-index: 1;
    position: absolute;
    width: 20%;
    bottom: 70%;     
    right: 15%;     
}

.scene1-cloud2 {
    z-index: 1;
    position: absolute;
    width: 20%;
    bottom: 80%;     
    left: 10%;     

}

.preload-image {
    opacity: 0;
    transition: opacity 0.5s ease-in-out; 
}

.drawingspoem-container {
    left: 0;
}

.circle-container {
        position: absolute;
        top: 50%;
        /* Calculate the left position */
        left: calc((100vw - 800px) / 4 - 21.5px); /* Half the width of .circle subtracted */
        transform: translateY(-50%);
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 50px;
    }

    /* Styles for each circle */
    .circle {
        width: 43px; /* Circle size */
        height: 43px;
        background-color: #0065ce; /* Circle color */
        border-radius: 50%; /* Makes it round */
        cursor: pointer;
        transition: background-color 0.5s ease; /* Smooth transition for background color */
        position: relative; /* Position relative to allow absolute positioning inside */
        z-index: 1; /* Ensure it's above other elements */
    }

    /* Hover effect for circles */
    .circle:hover {
        background-color: #68c450; /* Color on hover */
    }

    /* Styles for the anchor tag inside each circle */
    .circle a.scene-button {
        display: block;
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        background: transparent; /* No background color */
        border-radius: 50%; /* Maintain the round shape */
        z-index: 2; /* Ensure links are clickable */
        pointer-events: auto; /* Ensure they can be clicked */
    }

    .instruction-screen {
        position: absolute;
        top: 50%;
        right: calc((100vw - 800px) / 4 - 200px / 2); /* Adjusted for centering */
        width: 200px; /* Width of the rectangle */
        height: 380px; /* Height of the rectangle */
        background-color: white;
        z-index: 0;
        border-radius: 5px;
        transform: translateY(-50%);
        transition: opacity 2s ease-in-out;
        opacity: 1;
        display: flex; /* Flexbox for centering content */
        justify-content: center; /* Center horizontally */
        align-items: center; /* Center vertically */
        text-align: center; /* Center text horizontally */
        overflow: hidden; /* Prevents text from overflowing */
    }

    .instruction-text {
        padding: 10px; /* Padding for the text */
        font-size: 24px; /* Adjust font size as needed */
        cursor: default;
        color: black;
        font-family: 'CheekFont', sans-serif;
    }

    .instruction-text-gently {
        color: lightpink;
    }



}



