*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    font-family: 'Josefin Sans', sans-serif;
}

body button{
    /*  font-family: 'Grandstander', cursive; */
    font-family: 'Josefin Sans', sans-serif; 
}
.container{
    width: 100%;
    max-width: 1280px;
    margin: auto;
}
 #category{
    font-size: 35px;
  margin-top: 30px;
  margin-bottom: 40px;
  text-align: center;
} 
#answers{
   display: inline-flex;
   justify-content: center;
   width: 100%;
   text-align: center;
    margin-top: 15px;
    /* display: flex; */
    /* flex-wrap: wrap; */
    /* overflow-wrap: normal;  */
     
}
 #answers div{
   
     float: left;
    font-size: 40px;
    margin-bottom: 60px;
    margin-right: 15px;
    display: none;
     width: 65px; 
}
.display
{
    display: flex;
    flex-wrap: wrap;
    /* justify-content: space-between; */
}

/* .section2{
   
   margin-top: 10px;
} */

.section2_button{
   
    
    width:80%;
   margin: auto;
   align-content: center;
}
.section2_button button {
   
    width: 8%;
    border-radius: 5px;
    margin : 5px;
    padding: 10px 0px;
    font-size: 25px;
    text-align: center;
    background-color: rgba(169, 238, 255, 0.644);
    cursor: pointer;
    /* border-color:rgb(68, 171, 212) ; */
    color:rgb(73, 53, 36,0.9) ;
    
}
.section2_button button:hover{
    /* background-color:rgb(76, 153, 244) ; */
    background-color:rgb(79, 195, 241);
    color: white;
    border-color: rgb(79, 195, 241);

}
.buttonrow{
    text-align: center;
}
/* .heading
{
    text-align: center;
} */
/*popup*/
#popupbox{
    width: 100%;
    height: 100%;
    display: none;
    position: fixed;
    z-index: 10;
    background-color: rgba(255, 255, 255, 0.8); /* Black w/ opacity */
    
}
#popupboxgameover{
    width: 100%;
    height: 100%;
    display: none;
    position: fixed;
    z-index: 10;
    background-color: rgba(255, 255, 255, 0.8); /* Black w/ opacity */
    
}
#popupgamecompleted{
    width: 100%;
    height: 100%;
    display: none;
    position: fixed;
    z-index: 10;
    background-color: rgba(255, 255, 255, 0.8); /* Black w/ opacity */
}
#win-popup{
    width: 100%;
    height: 100%;
    display: none;
    position: fixed;
    z-index: 10;
    background-color: rgba(255, 255, 255, 0.8); /* Black w/ opacity */
}
.content{
   
    margin: auto;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0); /* Black w/ opacity */
    width:auto;
    position: fixed;
    top: 30%;
   left: 35%;
}
#nextbutton{
    color: black;
    background-color: rgb(8, 197, 8) ;
    margin-top: 40px;
    font-size: 25px;
    padding: 20px;
    border-radius: 10px;
    float: right;
    border: none;

}
#nextbutton:hover{
    color:  rgb(8, 197, 8);
    border: 1px solid rgb(8, 197, 8) ;
    background-color: white;
}
#text{
    font-size: 50px;
}
#nextbutton img{
    width: 30px;
    vertical-align: middle;
}

/*initially button time and live none*/

#alphaButton{
    display: none;
}
#timediv{
    display: none;
    font-family: 'Josefin Sans', sans-serif;
    font-size: 70px;
    /* margin: 30px; */
    opacity: 55%;
    text-align: right;
    margin-top: 20px;
}
.marginright{
    margin-right: 10px;
}
#lives{
    
}
#livediv{
    display: none;
    width: 100%;
}

.floatleft{
    float: left;
    width:22%;
}
.clear{
    clear: right;
}

/*new popups*/
/* #popuploader{
            width: 100%;
            height: 100%;
            display: none;
            position: fixed;
            z-index: 11;
             background-color: rgba(273, 233, 233, 1); Black w/ opacity 
            background-image: url("images/logo-loading.png");
           background-repeat: no-repeat;
           background-size: 100% 110%;
        }

#popuploaderback{
            width: 100%;
            height: 100%;
            display: block;
            position: fixed;
            z-index: 10;
            background-color: rgba(255, 253, 253, 1); /* Black w/ opacity 
        } */

#popupModes{
            width: 100%;
            height: 100%;
            display: none;
            position: fixed;
            z-index: 10;
            background-color: rgba(255, 253, 253, 0.7); /* Black w/ opacity */
        }
        #popupHome{
            width: 100%;
            height: 100%;
            display: block;
            position: fixed;
            z-index: 10;
            background-color: rgba(255, 253, 253, 0.185);
        }
        #popuphelp{
            width: 100%;
            height: 100%;
            display: none;
            position: fixed;
            z-index: 10;
            background-color: rgba(255, 253, 253, 0.7); 
        }
        #popuphelp .content{
            width: 50%;
           max-height: 50%;
            left:30%;
            top: 20%;
            line-height: 50px;
            
           
        }
        #popuphelp .content p{
            font-size: 22px;
            font-weight: bold;
        }
        #popuphelp .content ul li{
            list-style-type: disc;
            
        }
        .helpdetail{
            max-height: 300px;
            font-size: 20px;
            overflow: scroll;
        }
        #backhome{
            float: right;
            width: 40%;
        }
        .contenthome{
            margin: auto;
            background-color: rgba(255, 255, 255, 0);
            position: fixed;
            top: 15%;
            left: 30%;
            width: 40%;
           
            align-items: center;
        }
       
        .content{
   
           
            padding: 20px;
            background-color: rgba(255, 255, 255, 0); /* Black w/ opacity */
            position: fixed;
            top: 30%;
            left: 35%;
        }
        #text{
            font-size: 50px;
        }
        .buttonstyle{

            margin: 10px;
            padding: 15px;
            border-radius: 10px;
            font-size: 20px;
            background: rgb(79, 195, 241);
            color: white;
            border: none;
            width: 60%;
            align-self: center;
            
        }
        .buttonhover:hover{
            color:  rgb(79, 195, 241);
            border: 1px solid rgb(79, 195, 241);
            background-color: white;
            
        }
        .flex{
            display: flex;
            justify-content: center;
            text-align: center;
        }
        .flexdirection{
            flex-direction: column;
        }

    /*background animations*/

    #bridge{
            position: absolute;
            background: url(images/bridgenew.png);
            width: 100%;
            min-height: 80px;
           bottom: 61px;
            left: 0px;
            z-index: 4;
            transform-style: preserve-3d;
            transform: rotateX(50deg);
            background-color: rgb(86, 207, 203);
        }
        .wave{
            position: absolute;
            bottom: 0px;
            left:0px;
            width: 100%;
            height: 75px;
            background: url(images/newwave.png);
            background-size: 1000px 100px;
           
            overflow: hidden;
        }
        .wave1{
            animation: animate1 30s linear infinite;
           z-index: 6;
            opacity: 1;
            animation-delay:0s ;
            bottom: 0;
        }
    
        .wave2{
            animation: animate2 15s linear infinite;
           z-index: 3;
            opacity: 0.5;
            animation-delay:-4s ;
            bottom: 7px
        }
        .wave3{
            animation: animate1 10s linear infinite;
           z-index: 3;
            opacity: 0.3;
            animation-delay:-1s ;
            bottom: 7px
        }
        .wave4{
            animation: animate2 5s linear infinite;
           z-index: 3;
            opacity: 0.7;
            animation-delay:-1.7s ;
            bottom: 0px;
            background-color: rgb(86, 207, 203);
        }
        .waveload1{
            animation: animate1 30s linear infinite;
           z-index: 6;
            opacity: 1;
            animation-delay:0s ;
            bottom: 0;
        }
        .waveload2{
            animation: animate2 15s linear infinite;
           z-index: 3;
            opacity: 0.5;
            animation-delay:-4s ;
            bottom: 7px
        }

        @keyframes animate1{
            0%{
                background-position-x: 0px;
            }
            100%{
                background-position-x: 1000px;
            }
        }
        @keyframes animate2{
            0%{
                background-position-x: 0px;
            }
            100%{
                background-position-x: -1000px;
            }
        }

        #turtle1{
            
            position: absolute;
            background-image: url(images/turtlewalkslowbig.gif);
            background-repeat: no-repeat;
            width: 70%;
            height: 200px;
            left: 390px;
            bottom: 45px;
            z-index: 5;
        }

        #turtle2{
            position: absolute;
            background-image: url(images/turtlewalkslow.gif);
            background-repeat: no-repeat;
            width: 70%;
            height: 100px;
            left: 295px;
            bottom: 80px;
            z-index: 5;
        }
        
        #turtle3{
            position: absolute;
            background-image: url(images/turtlewalkslow.gif);
            background-repeat: no-repeat;
            width:70%;
            height: 100px;
            left: 200px;
            bottom: 80px;
            z-index: 5;
        }

        #turtle4{
            position: absolute;
            background-image: url(images/turtlewalkslow.gif);
            background-repeat: no-repeat;
            width: 70%;
            height: 100px;
            left: 105px;
            bottom: 80px;
            z-index: 5;
        }

        #turtle5{
            position: absolute;
            background-image: url(images/turtlewalkslow.gif);
            background-repeat: no-repeat;
            width: 70%;
            height: 100px;
            left: 10px;
            bottom: 80px;
            z-index: 5;
        }

        @keyframes turtlemove{
            0%{
                background-position-x: 0px;
            }
            100%{
                background-position-x: 650px;
            }
        }
       
        @keyframes turtlestop{
            0%{
                background-position: 0px;              
            }
           75%{
                background-position-y: -20px ;
            }
            100%{
                background-position-y: 200px;
            
            }
        }
        #flag{
            position: absolute;
            background-image: url(images/finishflag.png);
            background-repeat: no-repeat;
            width: 170px;
            height: 170px;
            left: 1150px;
            bottom: 90px;
            z-index: 5;
        }

        body{
            background: url(images/backimg.jpg);
            background-repeat: no-repeat;
            background-size: 100%;
        }

        #logo{
            width: 500px;
            height: 200px;
        }
        #scorediv{
            display: none;
            width: 100%;
            margin-bottom: 5px;
        }
        #bestdiv{
            width: 100%;
            margin-bottom: 5px;
        }

        #homediv{
            display: none;
            border-radius: 5px;
            padding: 3px;
            margin-right: 10px;
            margin-top: 5px;
            color:  white;
            border: 1px solid rgb(79, 195, 241);
            background-color: rgb(79, 195, 241);
          
        } 
        #homediv:hover{
            color:   rgb(79, 195, 241);
            border: 1px solid rgb(79, 195, 241);
            background-color:white;
        }
        button{
            cursor: pointer;
        }
    .width{
        width: 30%;
    }
   
     .topheadrow{
        width: 33.3%;
        float: left;
    }
    .headleftdisplay div{
        text-align: left;
        font-size: 20px;
        width: max-content;
        float: left;
    }
    .headleftdisplay button{
        font-size: 18px;
        background-color: rgba(255, 255, 255, 0);
        border:1px solid rgba(0, 0, 0, 0.5);
        
    }
    #bestdiv{
        display: none;
    }
    #soundbutton{
        display: none;
        border-radius: 5px;
        padding: 3px;
        width: max-content;
        margin-top: 5px;
        color:  white;
        border: 1px solid rgb(79, 195, 241);
        background-color: rgb(79, 195, 241);
    }
    #soundbutton:hover{
        color:   rgb(79, 195, 241);
        border: 1px solid rgb(79, 195, 241);
        background-color:white;
    }
    .marginbottom{
        margin-bottom: 30px;
    }
    .headleftdisplay .score-box{
        float: none;
         clear: both;
        display: flex;
        flex-direction: column;
    }