body {
    margin: 0;
    background: black;
    color: seashell;
}


.playing{
    overflow: hidden;
}

canvas {
      display: block;
      position: absolute;
}

#overlay {
    display: flex;
    align-items: center;
    background:black;
    flex-direction: column;
    font-family: Avant Garde, "Trebuchet MS", Verdana, sans-serif;
    position: absolute;
    width: 100%;
}

#button {
    /* margin-right: auto;
    margin-left: auto; */
    margin: 20px;
    border-color: white;
    color: black;
    height:200px;
    width:200px;
    border-radius: 50%;
    outline: none;
    text-align: center;
    display: block;  
    background: white;    
    font-size: large;
    cursor: pointer;
    font-family: Avant Garde, "Trebuchet MS", Verdana, sans-serif;

}

#button:hover {
    background:#fcfbc0; 
    color: rgb(136, 128, 122);

}


#button:active{
    background:#fcfbc0; 
    color: rgb(136, 128, 122);
}

a {
    color: #fffed9;
    font-weight: bold;
    /* text-decoration: none;  */
}

a:visited {
    color:#c9c9a7;
}

a:hover {
    color:#fcfbc0;
}

#p1-credits{
    font-size: small;

}



#mute-trigger{
    display: none;
    background-size: auto 100%;
    /* width: 40px;
    height: 40px; */
    background-repeat: no-repeat;    
    position: absolute;
    float: right;
    z-index: 99;
    top: 5%;
}

.mute-checker {
    background-image: url(../texture/Speaker_Icon-white.png);
    background-size: auto 100%;
    /* width: 40px;
    height: 40px; */
    background-repeat: no-repeat;    
    position: absolute;
    float: right;
    display: block;
    z-index: 99;
    margin: 10px;
    color:transparent;
   
  }

  #mute-trigger:checked + .mute-checker {
    background-image: url(../texture/Mute_Icon-white.png);
  }


 /* .overlay, #mute-button {

    background-color:red;
    position: absolute;
    float: right;
    display: block;
    z-index: 99;
    top: 5%;
    
} */



#caption-display span {
    background-color: #00000099;
    margin-bottom: 30px;
    padding: 0px 5px 0px 5px;




    /* padding: 5px; */


    
}

#caption-display{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    position: absolute;
    z-index: 99;
    width: 100%;
    height: 100%;
    font-size: x-large;
    font-family: Avant Garde, "Trebuchet MS", Verdana, sans-serif;
    text-align: center;
    line-height: 1.5;
    pointer-events: none;
    color: white;
}

.invisible-video, .invisible-video video{
    display: none !important;
}

.invisible{
    display: none !important;
}

.invisible-div{
    visibility: hidden;

}

.loading{

    z-index: 97;

    position: absolute;
    width: 100%;
    height: 100%;
    /* background: red; */
    display: flex;
    align-items: center;
    justify-content: center;
    background:black;
    flex-direction: column;
    font-size: large;
    font-family: Avant Garde, "Trebuchet MS", Verdana, sans-serif;
}

.loading p{
    color: seashell;
}

.dream-video-div{
    background: black;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 95;
    width: 100%;
    height: 100%;
    position: absolute;


}


.mouse-dream-video-div{
    background: black;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 95;
    opacity: 0.7;
    position: absolute;
    width: 100%;
    height: 100%;


}

.dream-video-div video {
    width: 100%;
}

#loading-bar-wrapper {
    margin-top: 100px;
    background: none;
    width: 200px;
    height: 20px;
    /* border-color: white; */
    border: solid white;
    display: flex;
    /* align-items: ; */
    justify-content: left;
}

#loading-bar {
    background: white; 
}

#landing-page-text{
    width: 70%;
    color: seashell;
    text-align: center;
        /* padding-top: 100px; */
    line-height: 1.5;
    /* padding-bottom: 200px; */

    opacity: 0.7;


}

#landing-page-Welcome-text{
    /* padding-bottom: 100px; */
    width: 70%;
    color: seashell;
    text-align: center;
    line-height: 1.5;
    padding-top: 20px;

}

#mode{
    /* padding-bottom: 100px; */
    width: 70%;
    color: seashell;
    text-align: center;
    font-size: large;
    display: inline-flex;
    justify-content: center;
    margin-top: 10px;


}

#mode span{
    border-color: white;
    border-style: dotted;
    padding: 10px;
}

#mode p{
    margin: 1px;
}


#end-screen{
    position: fixed;
    text-align: center;
    display: block;
    background-color: transparent;
    z-index: 99;
    font-size: large;

    background: rgba(0, 0, 0, 0.212);

    font-family: Avant Garde, "Trebuchet MS", Verdana, sans-serif;
    
    align-items: center;
    justify-content: center;
    z-index: 98;
    width: 100%;
    color: seashell;
    text-align: center;
    line-height: 1.5;

}

#instructions{
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    z-index: 99;
    width: 100%;
    height: 100%;
    font-size: x-large;
    font-family: Avant Garde, "Trebuchet MS", Verdana, sans-serif;
    text-align: center;
    line-height: 1.5;
    pointer-events: none;



}

#instructions-text{
    background: none;
    color: seashell;

}

#nudge{
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    z-index: 99;
    width: 100%;
    height: 100%;
    font-size: x-large;
    font-family: Avant Garde, "Trebuchet MS", Verdana, sans-serif;
    text-align: center;
    line-height: 1.5;
    pointer-events: none;



}

#nudge-text{
    background: none;
    color: seashell;

}

.fadeOut {
    animation: fadeOut ease 10s;
    animation-fill-mode: forwards;
}

@keyframes fadeOut {
    0% {
        opacity:0;
    }
    30% {
        opacity:1;
    }
    40% {
        opacity:1;
    }
    100% {
        opacity:0;
    }
}


#play {
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    z-index: 96;
    width: 100%;
    height: 100%;
    font-size: x-large;
    font-family: Avant Garde, "Trebuchet MS", Verdana, sans-serif;
    text-align: center;
    line-height: 1.5;

}


#play button{
    margin: 20px;
    color: white;
    height: 250px;
    width: 250px;
    border-radius: 50%;
    border-style: hidden;
    outline: none;
    text-align: center;
    display: block;
    background: radial-gradient(#c8b5ff, transparent);
    font-size: xx-large;
    font-weight: bold;
    cursor: pointer;
    font-family: Avant Garde, "Trebuchet MS", Verdana, sans-serif
}

#play button:hover{
    background: radial-gradient(#f19ef8, transparent);
}



#wifi-warning{
    font-size: large;
    font-weight: bold;
    opacity: 1;
    color: seashell;
}

/* h2 {
    margin-block-end: 0.1em;
} */