* {
    font-family: Aclonica;
}

h1 {
    font-family: Aclonica;
}
body {
    margin: 0;
    height: 100vh;
    font-weight: 100;
    background: radial-gradient(#6a39a2,#1f1013);
    -webkit-overflow-Y: hidden;
    -moz-overflow-Y: hidden;
    -o-overflow-Y: hidden;
    overflow-y: hidden;
    -webkit-animation: fadeIn 1 1s ease-out;
    -moz-animation: fadeIn 1 1s ease-out;
    -o-animation: fadeIn 1 1s ease-out;
    animation: fadeIn 1 1s ease-out;
}

.light {
    position: absolute;
    width: 0px;
    opacity: .75;
    background-color: white;
    box-shadow: #e9f1f1 0px 0px 20px 2px;
    opacity: 0;
    top: 100vh;
    bottom: 0px;
    left: 0px;
    right: 0px;
    margin: auto;
}

.x1{
  -webkit-animation: floatUp 4s infinite linear;
  -moz-animation: floatUp 4s infinite linear;
  -o-animation: floatUp 4s infinite linear;
  animation: floatUp 4s infinite linear;
   -webkit-transform: scale(1.0);
   -moz-transform: scale(1.0);
   -o-transform: scale(1.0);
  transform: scale(1.0);
}

.x2{
  -webkit-animation: floatUp 7s infinite linear;
  -moz-animation: floatUp 7s infinite linear;
  -o-animation: floatUp 7s infinite linear;
  animation: floatUp 7s infinite linear;
  -webkit-transform: scale(1.6);
  -moz-transform: scale(1.6);
  -o-transform: scale(1.6);
  transform: scale(1.6);
  left: 15%;
}

.x3{
  -webkit-animation: floatUp 2.5s infinite linear;
  -moz-animation: floatUp 2.5s infinite linear;
  -o-animation: floatUp 2.5s infinite linear;
  animation: floatUp 2.5s infinite linear;
  -webkit-transform: scale(.5);
  -moz-transform: scale(.5);
  -o-transform: scale(.5);
  transform: scale(.5);
  left: -15%;
}

.x4{
  -webkit-animation: floatUp 4.5s infinite linear;
  -moz-animation: floatUp 4.5s infinite linear;
  -o-animation: floatUp 4.5s infinite linear;
  animation: floatUp 4.5s infinite linear;
  -webkit-transform: scale(1.2);
  -moz-transform: scale(1.2);
  -o-transform: scale(1.2);
  transform: scale(1.2);
  left: -34%;
}

.x5{
  -webkit-animation: floatUp 8s infinite linear;
  -moz-animation: floatUp 8s infinite linear;
  -o-animation: floatUp 8s infinite linear;
  animation: floatUp 8s infinite linear;
  -webkit-transform: scale(2.2);
  -moz-transform: scale(2.2);
  -o-transform: scale(2.2);
  transform: scale(2.2);
  left: -57%;
}

.x6{
  -webkit-animation: floatUp 3s infinite linear;
  -moz-animation: floatUp 3s infinite linear;
  -o-animation: floatUp 3s infinite linear;
  animation: floatUp 3s infinite linear;
  -webkit-transform: scale(.8);
  -moz-transform: scale(.8);
  -o-transform: scale(.8);
  transform: scale(.8);
  left: -81%;
}

.x7{
  -webkit-animation: floatUp 5.3s infinite linear;
  -moz-animation: floatUp 5.3s infinite linear;
  -o-animation: floatUp 5.3s infinite linear;
  animation: floatUp 5.3s infinite linear;
  -webkit-transform: scale(3.2);
  -moz-transform: scale(3.2);
  -o-transform: scale(3.2);
  transform: scale(3.2);
  left: 37%;
}

.x8{
  -webkit-animation: floatUp 4.7s infinite linear;
  -moz-animation: floatUp 4.7s infinite linear;
  -o-animation: floatUp 4.7s infinite linear;
  animation: floatUp 4.7s infinite linear;
  -webkit-transform: scale(1.7);
  -moz-transform: scale(1.7);
  -o-transform: scale(1.7);
  transform: scale(1.7);
  left: 62%;
}

.x9{
  -webkit-animation: floatUp 4.1s infinite linear;
  -moz-animation: floatUp 4.1s infinite linear;
  -o-animation: floatUp 4.1s infinite linear;
  animation: floatUp 4.1s infinite linear;
  -webkit-transform: scale(0.9);
  -moz-transform: scale(0.9);
  -o-transform: scale(0.9);
  transform: scale(0.9);
  left: 85%;
}

@-webkit-keyframes floatUp{
  0%{top: 100vh; opacity: 0;}
  25%{opacity: 1;}
  50%{top: 0vh; opacity: .8;}
  75%{opacity: 1;}
  100%{top: -100vh; opacity: 0;}
}
@-moz-keyframes floatUp{
  0%{top: 100vh; opacity: 0;}
  25%{opacity: 1;}
  50%{top: 0vh; opacity: .8;}
  75%{opacity: 1;}
  100%{top: -100vh; opacity: 0;}
}
@-o-keyframes floatUp{
  0%{top: 100vh; opacity: 0;}
  25%{opacity: 1;}
  50%{top: 0vh; opacity: .8;}
  75%{opacity: 1;}
  100%{top: -100vh; opacity: 0;}
}
@keyframes floatUp{
  0%{top: 100vh; opacity: 0;}
  25%{opacity: 1;}
  50%{top: 0vh; opacity: .8;}
  75%{opacity: 1;}
  100%{top: -100vh; opacity: 0;}
}

    .grid {
    width: 68%;
    height: 550px;
    margin: 0 auto;
    background-color: #fff;
    padding: 10px 50px 50px 50px;
    border-radius: 50px;
    border: 2px solid #cbcbcb;
    box-shadow: 10px 15px 5px #cbcbcb;
    }
    
    .buttons img
    {
    width:230px;
    height: 180px;
    border-radius: 22px;
    }

    .grid h1 {
    font-family: "sans-serif";
    background-color: #6a39a2;
    font-size: 35px;
    text-align: center;
    color: #ffffff;
    padding: 2px 0px;
    border-radius: 50px;
    }
    hr
    {
    margin-top: 50px;
        color: red;
        background-color: #6a39a2;
        height: 2px;
        border: none;
    }
    #score {
    color: #6a39a2;
    text-align: center;
    font-size: 30px;
    }
    
    .grid #question {
    font-family: "monospace";
    font-size: 30px;
    color: #6a39a2;
    }
    
    .buttons {
    margin-top: 30px;
    }
    
    #btn0,
    #btn1,
    #btn2,
    #btn3 {
    padding: 0px;
    font-size: 20px;
    color: #fff;
    border: none;
    margin: 10px 20px 10px 0px;
    border-radius: 22px;
    }
    
    #btn0:hover,
    #btn1:hover,
    #btn2:hover,
    #btn3:hover {
    cursor: pointer;
    background-color: #6a39a2;
    border-radius: 25px;
    }
    
    #btn0:focus,
    #btn1:focus,
    #btn2:focus,
    #btn3:focus {
    outline: 0;
    }
    
    #progress {
    color: rgba(0, 128, 0, 0.714);
    font-size: 16px;
    font-weight: bold;
    }

.bottomtext{
    font-size: 1rem;
    border: none;
    border-radius: 4px;
    color: linear-gradient(to top, #b462f7 0%, #9c51fe 100%);
}

.mybtn {
    font-size: 1rem;
    text-decoration: none;
    background-image: linear-gradient(to top, #b462f7 0%, #9c51fe 100%);
    border-radius: 4px;
    color: #fff;
    cursor: pointer;
}
@media screen and (max-width: 1425px){
    .grid {
        width: 68%;
        height: 550px;
        margin: 0 auto;
        background-color: #fff;
        padding: 10px 50px 50px 50px;
        border-radius: 50px;
        border: 2px solid #cbcbcb;
        box-shadow: 10px 15px 5px #cbcbcb;
        }

    .buttons img{
    width:200px;
    height: 150px;
    border-radius: 22px;
    }
    
}   

@media screen and (max-width: 1300px){
    .buttons img{
        width:200px;
        height: 125px;
        border-radius: 22px;
        }
    }
@media screen and (max-width: 1200px){
    .buttons img{
        width: 200px;
        height: 110px;
        border-radius: 22px;
        }
    }

@media screen and (max-width: 1000px){
    .buttons img{
        width: 180px;
        height: 110px;
        border-radius: 22px;
            }
        }

@media screen and (max-width: 800px){
    .buttons img{
        width: 150px;
        height: 110px;
        border-radius: 22px;
                }
        }
        

@media screen and (max-width: 700px){
    .buttons img{
        width: 140px;
        height: 110px;
        border-radius: 22px;
                }
        }
        .grid {
            width: 68%;
            height: 600px;
            margin: 0 auto;
            background-color: #fff;
            border-radius: 50px;
            border: 2px solid #cbcbcb;
            box-shadow: 10px 15px 5px #cbcbcb;
            }
    




    
