html, body {
    height: 100%;
    margin: 0;
    transition: background-color 2s linear;
    /*background-color: blue;*/
    /*overflow: hidden; /* Optional to hide scrollbars */
}

#display-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 200px; /* Large text */
    font-family: "Open Sans", serif; /* Your font */
    font-weight: bold;
    text-align: center;
    color: black; /* Default color */
    text-shadow: 5px 5px 10px rgb(254, 209, 46);
    display: none; /* Hidden by default */
    z-index: 2;
}

#mainWrap{
    height:100%;
    width:100%;
    position: relative;
    overflow: hidden;
}


canvas {
    display: block;
    /*position: absolute;*/
    width: 100%;
    height: auto;
    /*top:0;
    left: 0;*/
    z-index: 1;
}


#wrap {
        position: absolute;
        top: 0;
        /*bottom: 0;*/
        left:0;
        height: 100%;
        width: 100%;
        z-index: 0; /* Adjust as needed */
        /*overflow: hidden;*/
}

#video{
    position: absolute;
    top: 0; /* Ensure it's aligned with the top */
    left: 0; /* Ensure it's aligned with the left */
    /*min-height: 100%; /* Maintains video height to cover the screen */
    /*min-width: 100%; /* Maintains video width to cover the screen */
    width: 100%; /* Adjusts width automatically */
    height: 100%; /* Adjusts height automatically */
    object-fit: fill; /* Ensures video covers the area */
    z-index: -1; /* Bring the video in front of the background */
   pointer-events: auto; /* Ensure the video can be interacted with */
}

#sphere-container {
    position: absolute; /* Positioned absolutely for easy placing */
    top: 50%; /* Center vertically */
    left: 50%; /* Center horizontally */
    transform: translate(-50%, -50%); /* Adjust for centering */
    z-index: 1; /* Ensure it’s above the video */
    width: 80vw;
    height: 80vh;
}

/*@font-face {
    font-family: 'PirataOne' cursive;
    src: url('PirataOne-Regular.ttf') format('truetype'); /*Ensure correct filename
    font-weight: normal;
    font-style: normal;
}*/

#start-button {
    font-family: 'Pirata One', serif;
    font-size: 56px;
    color: black;
    cursor: pointer;
    padding: 10px 20px;
    display: inline-block;
    transition: color 0.3s ease, transform 0.2s ease;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
    position: absolute; /* Positioned absolutely for easy placing */
    top: 50%; /* Center vertically */
    left: 50%; /* Center horizontally */
    transform: translate(-50%, -50%); /* Adjust for centering */
    z-index: 1; /* Ensure it’s above the video */
    }

     /* Hover effect */
    #start-button:hover {
    color: #020202; /* Orange-Red color on hover */
    /*transform: scale(1.1); /* Slight zoom effect */
    text-shadow: 4px 4px 10px rgb(254, 224, 0); /* Glow effect */
    }

#gif{
    position:absolute;
    /*margin-left:10%;
    margin-top:5%;*/
    width:inherit;
    height:inherit;
    z-index:-10;
}

#animation-left, #animation-right {
    animation-name: spin;
    animation-duration: 40000ms;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

#animation-right {
    display: block;
    float:left;
    margin-left:-10%;
    margin-top: 10%;


}

#animation-left {
    background-image: url(BodyVideo.gif);
    display: block;
    float:right;
    margin-right:-15%;
    margin-top: 10%;
}


@-webkit-keyframes spin {
    from {
        -webkit-transform:rotate(0deg);
    }
    
    to {
        -webkit-transform:rotate(360deg);
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}