/* importing google fonts */
/* @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap'); */

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', verdana, arial, sans-serif;
}

body{
      background-image: url('../img/addis.jpg');
       
    cursor: pointer; background-blend-mode: multiply;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    background-size: cover;  overflow-x: hidden;
}

::selection{
    color: greenyellow;
    background: #007bff;
}

.start_btn,
.info_box,
.quiz_box,
.result_box{
    position: absolute;
     
     
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 
                0 6px 20px 0 rgba(0, 0, 0, 0.19); transform: translate(-50%, -50%) scale(0.9);
                opacity: 1;
                left: 50%;
                top: 50%;
}

.info_box.activeInfo,
.quiz_box.activeQuiz,
.result_box.activeResult{
    opacity: 1;
    z-index: 5;
    pointer-events: auto;
    transform: translate(-50%, -50%) scale(1);
}

.start_btn{
    width: 594px;
    height: 454px;
    
    font-size: 25px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
    padding: 15px 30px;
    outline: none;
    border: none;
    border:rgba(255, 255, 255, 0.5);
    border-width:15px;
    border-style:double;
    border-radius: 15px;
    background: bunrlywood;
    background-image: url('../img/ETH2.gif');
        
    cursor: pointer; background-blend-mode: multiply;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    background-size: cover; 
    left: 50%;
    top: 50%;


    
  align-items: center;
  justify-content: space-evenly;
  background-color: rgba(255,255,255,0.4);
  border-radius: 20px;
  box-shadow: 0px 0 31px 0px rgb(0 0 0 / 10%);
  backdrop-filter: blur(15px);
 
}

.info_box{
    width: 524px;
    background: rgba(135, 212, 222, 0.836);
    border-radius: 5px;
    transform: translate(10%, -80%) scale(0.9);
    opacity: 0;
    left: 50%;
    top: 50%;
    pointer-events: none;
    transition: all 0.3s ease;

    align-items: center;
  justify-content: space-evenly;z-index: -99;
   
  border-radius: 10px;
  box-shadow: 0px 0 31px 0px rgb(0 0 0 / 10%);
  backdrop-filter: blur(15px);
}

.info_box .info-title{
    height: 60px;
    width: 100%;
    border-bottom: 1px solid lightgrey;
    display: flex;
    align-items: center;
    padding: 0 30px;
    border-radius: 5px 5px 0 0;
    font-size: 20px;
    font-weight: 600;background-color: #0a7c5f; color: white;
}

.info_box .info-list{
    padding: 15px 30px;
}

.info_box .info-list .info{
    margin: 5px 0;
    font-size: 17px;
}

.info_box .info-list .info span{
    font-weight: 600;
    color: #7c0a34;
}
.info_box .buttons{
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 30px;
    border-top: 1px solid lightgrey;
}

.info_box .buttons button{
    margin: 0 5px;
    height: 40px;
    width: 100px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    border: none;
    outline: none;
    border-radius: 5px;
    border: 1px solid #007bff;
    transition: all 0.3s ease;
}

.quiz_box{
    width: 564px;
    background: rgb(0, 119, 128) ;
    border-radius: 5px;
     
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease; color: white; transform: translate(10%, -70%) scale(0.9);
    opacity: 0;
    left: 50%;
    top: 50%;
    
}

@media (max-width: 604px) {
 
    body{
        background-image: url('../img/addis.jpg');
         
      cursor: pointer; background-blend-mode: multiply;
      background-repeat: no-repeat;
      background-position: center;
      background-attachment: fixed;
      background-size: cover; overflow-x: hidden; 
  }
  
  ::selection{
      color: greenyellow;
      background: #007bff;
  }
  
  .start_btn,
  .info_box,
  .quiz_box,
  .result_box{
      position: absolute;
       
       
      box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 
                  0 6px 20px 0 rgba(0, 0, 0, 0.19); transform: translate(10%, -50%) scale(0.9);
                  opacity: 1;
                  left: -8%;
                  top: 40%;
  }
  
  .info_box.activeInfo,
  .quiz_box.activeQuiz,
  .result_box.activeResult{
      opacity: 1;
      z-index: 5;
      pointer-events: auto;
      transform: translate(10%, -50%) scale(1);
  }
  
  .start_btn  {
      width: 98%;
      min-width: 344px;
      height: 464px;
      font-size: 24px;
      font-weight: 500;
      color: black;
      
      border-style:double;
      border-radius: 15px;
         
      cursor: pointer; background-blend-mode: multiply;
      background-repeat: no-repeat;
      background-position: bottom;
       
       background-size: contain;
      align-items: center;
      
      background-color: rgba(255,255,255,0.4);
      border-radius: 20px;
      box-shadow: 0px 0 31px 0px rgb(0 0 0 / 10%);
      backdrop-filter: blur(15px);
      border: 1px solid rgba(255, 255, 255, 0.5); top: 50%;  



      color: rgba(255, 255, 255, 0.5);
      padding: 15px 30px;
      outline: none;
      border: none;
      border:rgba(255, 255, 255, 0.5);
      border-width:15px;
      border-style:double;
      border-radius: 15px; background-image: url('../img/ETH2.gif');
        
      cursor: pointer; background-blend-mode: multiply;
      background-repeat: no-repeat;
      background-position: center;
      background-attachment: fixed;
      background-size: cover; 
      
  }
  
  .info_box{
    width: 96%;
    min-width: 334px;
      background: rgb(135, 212, 222);
      border-radius: 5px;
      transform: translate(10%, -80%) scale(0.9);
      opacity: 0;
      
      pointer-events: none;
      transition: all 0.3s ease;
  }
  
  .info_box .info-title{
      height: 60px;
      width: 100%;
      border-bottom: 1px solid lightgrey;
      display: flex;
      align-items: center;
      padding: 0 30px;
      border-radius: 5px 5px 0 0;
      font-size: 18px;
      font-weight: 600; background-color: #0a7c5f; color: white;
  }
  
  .info_box .info-list{
      padding: 15px 30px;
  }
  
  .info_box .info-list .info{
      margin: 5px 0;
      font-size: 17px;
  }
  
  .info_box .info-list .info span{
      font-weight: 600;
      color: #7c0a34;
  }
  .info_box .buttons{
      height: 60px;
      display: flex;
      align-items: center;
      justify-content: flex-end;
      padding: 0 30px;
      border-top: 1px solid lightgrey;
  }
  
  .info_box .buttons button{
      margin: 0 5px;
      height: 40px;
      width: 100px;
      font-size: 16px;
      font-weight: 500;
      cursor: pointer;
      border: none;
      outline: none;
      border-radius: 5px;
      border: 1px solid #007bff;
      transition: all 0.3s ease;
  }
  
  .quiz_box{
    width: 96%;
      min-width: 341px;
      margin-top: 18%;
      background: rgb(0, 119, 128) ;
      border-radius: 5px;
      min-height: 584px;
      opacity: 0;
      pointer-events: none;
      transition: all 0.3s ease; color: white; transform: translate(10%, -70%) scale(0.9);
      opacity: 0; 
       
  }
  .quiz_box header .time_line{
    position: absolute;
    bottom: 0px;
    left: 0px;
    height: 3px;
    background: #007bff;
    display: none;
}
 
.result_box{
    background: rgb(0, 128, 75) ; ;
    border-radius: 5px;
    display: flex;
    padding: 25px 30px;
    width: 97%;
    min-width: 341px;
    height: 444px;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    transform: translate(-40%, -50%) scale(0.9);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease; color: white;

    background:#04243f url(../img/ETH2.gif);

    background-blend-mode: multiply;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    background-size: cover; 
}
}






@media only screen and (min-width: 504px) and (max-width: 604px){
 
    .quiz_box{
        width: 96%;
          min-width: 341px;
          margin-top: 4%;
          background: rgb(0, 119, 128) ;
          border-radius: 5px;
          min-height: 514px;
          opacity: 0;
          pointer-events: none;
          transition: all 0.3s ease; color: white; transform: translate(10%, -70%) scale(0.9);
          opacity: 0; 
           
      
  }

}
.quiz_box header{
    position: relative;
    z-index: 2;
    height: 70px;
    padding: 0 30px;
    background: rgb(9, 73, 146);
    border-radius: 5px 5px 0 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0px 3px 5px 1px rgba(0,0,0,0.1);
    width: auto;
}

.quiz_box header .title{
    font-size: 18px;
    font-weight: 600;
}

.quiz_box header .timer{
    color: #004085;
    background: #cce5ff;
    border: 1px solid #b8daff;
    height: 45px;
    padding: 0 8px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 184px;
}

.quiz_box header .timer .time_left_txt{
    font-weight: 400;
    font-size: 15px;
    user-select: none;
}

.quiz_box header .timer .timer_sec{
    font-size: 18px;
    font-weight: 500;
    height: 30px;
    width: 45px;
    color: white;
    border-radius: 5px;
    line-height: 30px;
    text-align: center;
    background: rgb(0, 128, 75) ;
    border: 1px solid #343a40;
    user-select: none;
}

.quiz_box header .time_line{
    position: absolute;
    bottom: 0px;
    left: 0px;
    height: 3px;
    background: #00a2ff;
    display: none;
}

.question{
    padding: 25px 14px 18px 14px;
    background: rgb(104, 197, 146);
    align-items: center;
    justify-content: space-evenly;
      
    box-shadow: 0px 0 31px 0px rgb(0 0 0 / 10%);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

section .que_text{
    font-size: 18px;
    font-weight: 600;
}

section .option_list{
    padding: 20px 0px;
    display: block;   
}

section .option_list .option{
    background: aliceblue;
    border: 1px solid #84c5fe;
    border-radius: 5px;
    padding: 8px 10px;
    font-size: 15px;
    margin-bottom: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

section .option_list .option:last-child{
    margin-bottom: 0px;
}

section .option_list .option:hover{
    color: #004085;
    background: #b1d5fc;
    border: 1px solid #b8daff;
}

section .option_list .option.correct{
    color: white;
    background: #03350e;
    border: 1px solid #c3e6cb;
}

section .option_list .option.incorrect{
    color: #721c24;
    background: #f8d7da;
    border: 1px solid #f5c6cb;
}

section .option_list .option.disabled{
    pointer-events: none;
}

section .option_list .option .icon{
    height: 24px;
    width: 41px;
    border: 2px solid transparent;
    border-radius: 0%;
    text-align: center;
    font-size: 13px;
    pointer-events: none;
    transition: all 0.3s ease;
    line-height: 18px;
}
.option_list .option .icon.tick{
    color: #23903c;
    border-color: #23903c;
    background: #d4edda;
    
}

.option_list .option .icon.cross{
    color: #a42834;
    background: #f8d7da;
    border-color: #a42834;
    height: 24px;
    width: 41px;
     
    border-radius: 0%;
}

footer{
    height: 60px;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid lightgrey;
}

footer .total_que span{
    display: flex;
    user-select: none;
}

footer .total_que span p{
    font-weight: 500;
    padding: 0 5px;
}

footer .total_que span p:first-child{
    padding-left: 0px;
}

footer button{
    height: 40px;
    padding: 0 13px;
    font-size: 16px;
    font-weight: 400;
    cursor: pointer;
    border: none;
    outline: none;
    color: white;
    border-radius: 5px;
    background: #045716;
    border: 1px solid #f8f7f7;
    line-height: 10px;
    opacity: 0;
    pointer-events: none;
    transform: scale(0.95);
    transition: all 0.3s ease;
}

footer button:hover{
    background: #0263ca;
}

footer button.show{
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
}

.result_box{
    background: rgb(0, 128, 75) ; ;
    border-radius: 5px;
    display: flex;
    padding: 25px 30px;
    
    width: 541px;
    height: 444px;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    transform: translate(-40%, -50%) scale(0.9);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease; color: white;

    background:#04243f url(../img/ETH2.gif);

    background-blend-mode: multiply;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    background-size: cover; 
}

.result_box .icon{
    font-size: 100px;
    color: #1ff3e1;
    margin-bottom: 10px;
}

.result_box .complete_text{
    font-size: 20px;
    font-weight: 500;
}

.result_box .score_text span{
    display: flex;
    margin: 10px 0;
    font-size: 18px;
    font-weight: 500;
}

.result_box .score_text span p{
    padding: 0 4px;
    font-weight: 600;
}

.result_box .buttons{
    display: flex;
    margin: 20px 0;
}

.result_box .buttons button{
    margin: 0 10px;
    height: 45px;
    padding: 0 20px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    border: none;
    outline: none;
    border-radius: 5px;
    border: 1px solid #0551a4;
    transition: all 0.3s ease;
}

.buttons button.restart{
    color: white;
    background: rgb(0, 128, 111);
    font-size: 15px;
}

.buttons button.restart:hover{
    background: #0551a4;
}

.buttons button.quit{
    color: white ;
    background: rgb(71, 37, 37);
    font-size: 15px;
}

.buttons button.quit:hover{
    color: white ;
    background: rgb(24, 70, 129);
}






@media only screen and (max-width: 604px){
 
.result_box{
    background: rgb(0, 128, 75) ; ;
    border-radius: 5px;
    display: flex;
    padding: 25px 30px;
    
    width: 344px;
    height: 544px;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    transform: translate(10%, -50%) scale(0.9);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease; color: white;

    background:#04243f url(../img/ETH2.gif);

    background-blend-mode: multiply;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    background-size: cover; 
    justify-items: center;
}
}



 
 .start_btn{  padding-top: 20px;
 padding-bottom: 20px;}
 body{
 background-color:#d9f8f5;
 }
 
 .background-img{
 background-image: url("./img/1234_2.jpg");
 height: 400px;
 width: 80%;
 background-repeat: no-repeat;
 background-size: cover;
 margin: 5% auto;
 padding:20px;
 border: 1px solid #fff;
 box-shadow: 0px 0px 5px #2a3cad;
 position: relative;
 }

 .content h2{ font-size:24px;font-weight: bold;margin-bottom: 14px;color: white;}
 
 .start_btn{
 position: absolute;
 top: 50%;
 left: 50%;
 transform: translate(-50%, -50%);
 width: 70%;
 height: 80vh;
 background: #111845a6;
 box-sizing: border-box;
 overflow: hidden;
 box-shadow: 0 20px 50px rgb(23, 32, 90);
 border: 2px solid #446eac;
 color: white;
 padding: 20px;cursor: pointer; 
 background:#04243f url(../img/ETH2.gif);

 background-blend-mode: multiply;
 background-repeat: no-repeat;
 background-position: center;
 background-attachment: fixed;
 background-size: cover; 
 justify-items: center;
   
 }
 
 .start_btn:before{
 content: '';
 position:absolute;
 top:0;
 left:-100%;
 width:100%;
 height:100%;
 
 transition:0.5s;
 pointer-events: none; 
 }
 
 .start_btn:hover:before{
 left:0%;
 transform: skewX(0deg);
 }
 
 .start_btn .content{
 position:absolute;
 top:15px;
 left:15px;
 right:15px;
 bottom:15px;
 border:2px solid #0b7726;
 padding:20px;
 text-align:center;
 box-shadow: 0 5px 10px rgba(9,0,0,0.5);
 
 }
 
 .start_btn span{
 position: absolute;
 top: 0;
 left: 0;
 width: 100%;
 height: 100%;
 display: block;
 box-sizing: border-box;
 
 }
 
 .start_btn span:nth-child(1)
 {
 transform:rotate(0deg);
 }
 
 .start_btn span:nth-child(2)
 {
 transform:rotate(90deg);
 }
 
 .start_btn span:nth-child(3)
 {
 transform:rotate(180deg);
 }
 
 .start_btn span:nth-child(4)
 {
 transform:rotate(270deg);
 }
 
 .start_btn span:before
 {
 content: '';
 position: absolute;
 width:100%;
 height: 2px;
 background1: #ccc;
 animation: animate 4s linear infinite;
 }
 
 @keyframes animate1 {
 0% {
 transform:scaleX(0);
 transform-origin: left;
 }
 50%
 {
   transform:scaleX(1);
 transform-origin: left;
 }
 50.1%
 {
   transform:scaleX(1);
 transform-origin: right;
   
 }
 
 100%
 {
   transform:scaleX(0);
 transform-origin: right;
   
 }
 
 
 }
 
 

body{
  padding:50px;
}
.container{
 
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

@media (max-width: 767.98px) {
  body{
  padding:4px; padding-top: 44px;
}

.content h2{ font-size:18px;font-weight: bold;margin-bottom: 14px;color: white;}
 
 .box{
 position: absolute;
 top: 50%;
 left: 50%;
 transform: translate(-50%, -50%);
 width: 96%;
 height: 90vh;
 background: #111845a6;
 box-sizing: border-box;
 overflow: hidden;
 box-shadow: 0 20px 50px rgb(23, 33, 90);
 border: 2px solid #446eac;
 color: white;
 padding: 20px;cursor: pointer; 
 }
 
 .container{  padding-top: 81px;
 padding-bottom: 20px;}
 body{
 background-color:#d9f8f5;
 }
 
 .background-img{
 background-image: url("../img/1234_2.jpg");
 height: 450px;
 width: 98%;
 background-repeat: no-repeat;
 background-size: cover;
 margin: 5% auto;
 padding:10px;
 border: 1px solid #fff;
 box-shadow: 0px 0px 5px #2a3cad;
 position: relative;
 }

 
ol > li::after{
content: "";
position: absolute;
z-index: -1;
--size: calc(var(--number-size) + var(--padding-block) * 4);
width: var(--size);
aspect-ratio: 1;
inset-block-start: calc(var(--padding-block) * 1);
--inset-inline: calc(var(--padding-inline) - var(--padding-block) * 1);padding-top: 4px;
inset-inline: var(--inset-inline) auto;
border-radius: 100vmax;
 --backdrop-filter: blur(2px);
-webkit-backdrop-filter: var(--backdrop-filter);
backdrop-filter: var(--backdrop-filter);
 
}
}



.the-div{
  background: #aaa;
  border-radius: 31px;
  padding: 2px;
  box-shadow: 0 2px 4px #16161699;
  position: relative;
  z-index: 1; width: 172px;
}
.the-div::after, .the-div::before{
  content: '';
  width: 172px;
  height: 2px;
  background-color: #e4d70c6b;
  position: absolute;
  border-radius: 50%;
  box-shadow: 0px 0px 31px 3px #ebe5a8;
  z-index: 0;
  filter: contrast(1.5) blur(2px) saturate(1.5);
}
.the-div::after{
  bottom: 0px;
  right: calc(44% - 2px);
}
.the-div::before{
  top: 0px;
  left: calc(44% - 2px);
}
.the-button{
  background: linear-gradient(180deg, #333e 0%, #777e 200%);
  border: none;
  padding: 10px 11px;
  border-radius: 31px;
  color: #eee;
  cursor: pointer;
  z-index: 2;
  position: relative;
  font-weight: bold; font-size: 15px;width:168px; ;
  outline: none;
}
.the-div:hover::before{
  transform: translateX(-31px);
}
.the-div:hover .the-button{
  background: linear-gradient(180deg, #333e 0%, #777e 150%);
}
.the-div:active .the-button{
  background: linear-gradient(180deg, #333e 0%, #777e 100%);
}



 

.btn {
    padding: 10px;
    margin: 15px;
    font-size: 18px;
    text-transform: uppercase;
    color: rgb(0, 0, 0);
    cursor: pointer;
    /* background-color: #fb008c; */
    position: relative; left: 15%;
    z-index: 1;
    border-radius: 5px;font-weight: bold;
    border: 2px solid white; margin-top: 22%;
  }
  
  .btn1::before,
  .btn3::before {
    background-color: rgb(255, 255, 255);
    content: "";
    display: block;
    height: 5px;
    position: absolute;
    width: 100%;
    top: 0px;
    left: 0;
    transition: 0.6s all ease-in-out;
  }
  
  .btn2::before,
  .btn4::before {
    background-color: rgb(26, 134, 98);
    content: "";
    display: block;
    height: 5px;
    position: absolute;
    width: 100%;
    bottom: 0px;
    left: 0;
    transition: 0.6s all ease-in-out;
  }
  
  .btn1:hover::before,
  .btn3:hover::before {
    top: 41px;
    transition: 0.6s all ease-in-out;
  }
  
  .btn2:hover::before,
  .btn4:hover::before {
    bottom: 41px;
  }
  
  .btn1,
  .btn3 {
    background-color: rgb(45, 80, 156);
    color: white; 
  }
  
  
.start_btn .content   h2 {
    margin-top: 1%; line-height: 28px;
}

@media (max-width: 767.98px) {
    .btn {
      padding: 10px;
      margin: 5px;
      font-size: 16px; font-weight: bold;
      text-transform: uppercase;
      color: rgb(0, 0, 0);
      cursor: pointer;
      /* background-color: #fb008c; */
      position: relative; left: 5%;
      z-index: 1;
      border-radius: 5px;
      border: 2px solid white;margin-top: 70%;
    }
    
.start_btn .content   h2 {
    margin-top: 34%;line-height: 21px;
}

  }

  @media (min-width: 768.98px) and (max-width: 1101.98px){
    .btn {
      padding: 10px;
      margin: 5px;
      font-size: 16px; font-weight: bold;
      text-transform: uppercase;
      color: rgb(0, 0, 0);
      cursor: pointer;
      /* background-color: #fb008c; */
      position: relative; left: 12%;
      z-index: 1;
      border-radius: 5px;
      border: 2px solid white;margin-top: 24%;
    }
    
.start_btn .content   h2 {
    margin-top: 34%;line-height: 28px;
}

  }