*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    background-color: #10162f;
}

body{
    font-family: 'Open Sans', sans-serif;
}

a{
    text-decoration: none;
    color: white;
}
a:visited{
    color: white;
}

/* END default styling */

.main-container{
    width: 100%;
    max-width: 1024px;
    min-height: 100vh;
    background-color: #10162f;
    color: white;
    /* border: 1px solid #526bce; */
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-container > *{
    width: 100%;
}

h1{
    color: #e4e4e4;
    font-weight: 800;
    margin-bottom: 40px;
    margin-top: 20px;
    font-size: 50px;
    letter-spacing: 2px;
}



.flex-column{
    display: flex;
    flex-direction: column;
}

.flex-center{
    justify-content: center;
    align-items: center;
}

.justify-center{
    justify-content: center;
}


.hidden{
    display: none;
}

.btn{
    border: 1px solid gray;
    padding: 10px 20px;
    margin-bottom: 15px;
    border-radius: 5px;
    letter-spacing: 1px;
    transition: all 0.7s ease;
    font-weight: 300;
}

.btn:hover{
    border-color: rgb(109, 243, 248);
    font-weight: 300;
    color:rgb(109, 243, 248);
    background-color: rgba(109, 243, 248, .04);
}

.btn[disabled]:hover{
    color: lightgray;
    border-color: lightgray;
}


/* play html specific */

#game{
    display: none;
    padding: 0 30px;
    height: 100%;
}

.choice-container{
    display: flex;
    margin-bottom: 10px;
    padding-left: 10px;
    padding-right: 10px;
    width: 100%;
    border: 2px solid gray;
    border-radius: 5px;
    background-color: rgba(19, 40, 122, 0.2);
}


#game h1{
    font-weight: 500;
    font-size: 30px;
    font-weight: 700;
}

#game h2{
    padding: 10px;
    margin-bottom: 25px;
    font-weight: 400;
    font-size: 20px;
}

#game #question{
    background-color: #0a0e1d;
}

.prefix-div{
    width: 30px;
    margin-right: 10px;
    background-color: transparent;
}


.choice-prefix{
    margin-top: 10px;
    margin-right: 10px;
    background-color: transparent;
    border: 2px solid gray;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    text-align: center;
    line-height: 26px;
}

.choice-container{

    transition: all 0.3s ease;
}

@keyframes fadeIn{
    from{
        opacity: 0;
    }
    to{
        opacity: 1;
    }
}

.choice-container.canhover:hover{
    border-color: rgb(109, 243, 248);
    color:rgb(109, 243, 248);
    background-color: rgba(109, 243, 248, .04);
    cursor: pointer;
}

/* .choice-container.canhover{
    animation: fadeIn 1.5s ease-in;
} */

.choice-container.canhover:hover .choice-prefix{
    border-color: rgb(109, 243, 248);
}

.choice-container.correct{
   background-color: rgba(40, 167, 69, .5);
   border-color: rgb(40, 167, 69);
   color: rgb(97, 252, 133);
}

.choice-container.correct .choice-prefix{
    border-color: rgb(40, 167, 69);
}

.choice-container.incorrect{
    background-color: rgba(220, 53, 69, .5);
    border-color: #dc3545;
    color: #dc3545;
 }
 
 .choice-container.incorrect .choice-prefix{
     border-color: #dc3545;
 }

.choice-text{
    padding: 15px;
    padding-left: 0px;
    background-color: transparent;
    word-break: break-word;
}

/* HUD */

#hud {
    display: flex;
    justify-content: space-between;
  }

  #hud-item{
      display: flex;
      justify-content: flex-start;
      align-items: center;
  }
  
  
  .hud-prefix {
    text-align: center;
  }
  
  .hud-main-text {
    text-align: center;
    margin: 0;
    padding-left: 10px;
  }

  h1#questionCounter {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 4px;
    margin-bottom: 5px;
  }
  h1#score{
    font-size: 20px;
    font-weight: 700;
  }

  /* progress bar question counter */
  .progress {
    margin:20px auto;
    margin-bottom: 50px;
    padding:0;
    width: 100%;
    height:4px;
    background:#e5e5e5;
    border-radius:5px;
  }
  
  .bar {
    position:relative;
    float:left;
    min-width:0%;
    height:100%;
    background:rgb(71, 153, 230);
    border-radius: 5px;
    transition: all 0.7s ease-in-out;
  }
  
  p.percent {
    position:absolute;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    top: -7px;
    left: calc(100% + 4px);
    transform:translate(-50%,-50%);
    margin:0;
    font-size:11px;
    color:white;
    /* background: rgba(100, 149, 237, 0.02); */
    /* border: 2px solid white; */
    background: transparent;
    z-index: 2;
    transition: all 0.9s ease;
    
  }

  .percent{
    animation: fadeIn 0.9s ease;
  }

  @keyframes fadeIn{
      from{
          opacity: 0;
      }
      to{
          opacity: 1;
      }
  }
  

  #question div, span{
      background-color: transparent;
  }

  #question span{
    color:#b3ccff;
    font-size: 15px;
  }

  span#orange{
      color: rgb(255, 166, 0);
  }

