@font-face {
  font-family: 'Satoshi-Regular';
  src: url('../public/fonts/Satoshi-Regular.woff2') format('woff2'),
       url('../public/fonts/Satoshi-Regular.woff') format('woff'),
       url('../public/fonts/Satoshi-Regular.ttf') format('truetype'),
       url('../public/fonts/Satoshi-Light.otf') format('opentype');
       font-weight: 400;
       font-display: swap;
       font-style: normal;
}

@font-face {
  font-family: 'Satoshi-Variable';
  src: url('../public/fonts/Satoshi-Variable.woff2') format('woff2'),
       url('../public/fonts/Satoshi-Variable.woff') format('woff'),
       url('../public/fonts/Satoshi-Variable.ttf') format('truetype'),
       url('../public/fonts/Satoshi-Variable.otf') format('opentype');
       font-weight: 300 900;
       font-display: swap;
       font-style: normal;
}

body {
  background-color: #091141;
  font-family: 'Satoshi-Regular';
  color:rgb(255, 255, 255);
}

nav {
  display: flex;
  justify-content: space-between;
  height: 100px;
  padding-left: 1em;
  padding-right: 1em;
  font-family: 'Satoshi-Regular';
  align-items: center;
  padding-top: 1em;
  padding-bottom: 1em;
}

.home {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  padding-top: 2.5%;
  width: 100%;
}

.lang {
  background-color: rgba(135, 195, 252, 0.8);
  color: white;
  padding: 16px;
  font-size: 16px;
  border: none;
  width: 100%;
  font-family: 'Satoshi-Regular';
}

.langMenu {
  position: relative;
  width: 5em;
  height: 75%;
  padding-right: 1em;
}

.lang-options {
  display: none;
  position: absolute;
  background-color: rgba(135, 195, 252, 0.8);
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
  font-family: 'Satoshi-Regular';
  width: 5em;
  font-size: 16px;
  border-bottom-left-radius: 25px;
  border-bottom-right-radius: 25px;
  text-align: center;
}

.lang-options a {
  color: white;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  border-bottom-left-radius: 25px;
  border-bottom-right-radius: 25px;
}

.lang-options a:hover {
  background-color: rgba(135, 195, 252, 1);
}

.langMenu:hover .lang-options {
  display: block;
}

.langMenu:hover .lang {
  background-color: rgba(135, 195, 252, 1);
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.quiz {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.imga {
  width: auto; 
  max-height: 350px; 
  padding: 5%;
}

.imga:hover {
  border: 5px solid;
  border-color: rgb(255, 255, 255);
border-radius: 25px;
}

.quizExpl {
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.expl {
  text-align: center;
  padding: 5%;
  border: 5px solid;
  border-color: rgb(255, 255, 255);
  border-radius: 25px;
  width: 75%;
  margin-top: 2%;
}

.explImg {
  text-align: center;
  padding: 2.5%;
  border: 5px solid;
  border-color: rgb(255, 255, 255);
  border-radius: 25px;
  width: 75;
  margin-top: 2%;
}

.next {
  margin: 2.5%;
}

.quizz {
  display: flex;
  flex-direction: row;
  width: 100%;
}

.option {
  width: 75%;
  padding: 1em;
  margin-top: 2.5%;
  border-radius: 25px;
  border: none;
  color: white;
  background-color: rgba(135, 195, 252, 0.8);
}

.imgbox {
  width: 50%;
  display: flex;
  justify-content: center;
}

.quizImg {
  display: flex;
  flex-direction: column;
  padding-top: 1%;
  justify-content: space-around;
  align-items: center;
  width: 50%;
}

#questionImg {
  width: 75%;
  text-align: center;
  padding: 5%;
  border: 5px solid;
  border-color: rgb(255, 255, 255);
  border-radius: 25px;
}

.multipleChoice {
  display: flex;
  flex-direction: column;
  width: 200%;
}

.questionbox {
  background-color: rgba(0, 147, 255, 0.5);
  width: 100%;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  border-radius: 25px;
  padding: 1%;
}

#question {
  width: 50%;
  text-align: center;
  padding: 5%;
  border: 5px solid;
  border-color: rgb(255, 255, 255);
  border-radius: 25px;
  background-color: #091141;
}

.button {
  width: 50%;
  padding: 1em;
  margin-top: 5%;
  border-radius: 25px;
  border: none;
  color: white;
  background-color: rgba(135, 195, 252, 0.8);
  text-decoration: none;
  font-size: inherit;

}

.button:hover {
  background-color: rgba(135, 195, 252, 1);
}

button {
  width: 50%;
  padding: 1em;
  border-radius: 25px;
  border: none;
  color: white;
  background-color: rgba(135, 195, 252, 0.8);
}

button.red {
  background-color: red;
}

button.answer {
  background-color: aqua;
  margin: 2.5%;
  padding: 2.5%;
}

button:hover {
  background-color: rgba(135, 195, 252, 1);
}

.oldClass{
background-color: red;
}

.newClass {
  background-color: purple;
}

.hide {
  display: none;
}

.left-column {
  /* border-right: solid white; */
  border-top: solid white;
  text-align: center;
  width: 100%;
}

.left-header {
  /* border-right: solid white; */
  width: 100%;
  text-align: center;
}

.totals {
  width: 25vw;
  border: 5px solid;
  border-color: rgb(255, 255, 255);
  border-radius: 25px;
  padding: 2.5%;
}

.topscores {
  width: 100%;
  height: 100%;
  padding: 5%;
}

#start {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  width: 25vw;
  text-align: center;
  border: 5px solid;
  border-color: rgb(255, 255, 255);
  border-radius: 25px;
  padding: 2.5%;

}

td {
  padding:5%;
}

th {
  padding: 5%;
}

@media screen and (max-width: 1250px){


  .home {
    display: flex;
    flex-direction: column;
    width: 100%;
    justify-content: center;
    align-items: center;
  }

  .totals {
    display: flex;
        justify-content: space-around;
    align-items: center;
    width: 75vw;
    border: 5px solid;
    border-color: rgb(255, 255, 255);
    border-radius: 25px;
    padding: 2.5%;
    margin-bottom: 5%;
    font-size: 25px;
  }

  form {
    width: 75%;
  }
  input {
    height: 50px;
    width: 100%;
  }
  input[type="text"] {
    font-size: inherit;
  }
  input[type="email"] {
    font-size: inherit;
  }

  input[type="submit"] {
    font-size: inherit;
    padding-bottom: 50px;
  }

  #start {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    width: 75vw;
    text-align: center;
    border: 5px solid;
    border-color: rgb(255, 255, 255);
    border-radius: 25px;
    padding: 2.5%;
    font-size: 25px;
  }
  .topscores {
    width: 100%;
    height: 50%;
    padding: 1%;
  }

  .quiz {
    font-size: inherit;
  }
  td {
    padding: 1%;
  }
  
  th {
    padding: 1%;
  }

  .quizExpl {
    width: 75%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .quizz {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
  }

  .quizImg {
    width: 100%;
  }

}

@media screen and (max-width: 645px) {
  nav {
    display: flex;
    flex-direction: column;
    padding: 5%;
  }
}