@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;
}

body {
  background: url("../public/images/polaris_for-white-bg.png") no-repeat center center fixed;
  background-size: cover;
  font-family: 'Satoshi-Regular';
  font-size: large;
  position: relative;
}

.main {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  font-size: large;
  text-align: center;
}

.quiz {
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.quiz-question {
  width: 75%;
  padding: 2.5%;
  background-color: rgba(255, 255, 255, 0.9);
  border-color: rgba(0, 147, 255, 1);
  border-style: solid;
  border-radius: 25px;
  margin-top: 5%;
  margin-bottom: 1%;
}

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

.expl {
  width: 75%;
  padding: 5%;
  background-color: rgba(255, 255, 255, 0.9);
  border-color: rgba(0, 147, 255, 1);
  border-style: solid;
  border-radius: 25px;
  margin-top: 5%;
  margin-bottom: 1%;
}

table {
  width: 50%;
}

th {
  font-size: larger;
}

.quiz-answer {
  display: flex;
  flex-direction: column;
  margin: 5%;
  justify-content: space-around;
  width: 100%;
  align-items: center;
}

td {
  border-top: solid; 
  width: 50%;
  border-top-width: 50%;
}

.quiz-answer-image {
  display: flex;
  flex-direction: row;
  margin: 5%;
  justify-content: space-around;
  width: 100%;
}

.quiz-answer-column {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.expl-row {
  width: 30%;
  padding: 2.5%;
  /* margin: 5%; */
  background-color: rgba(255, 255, 255, 0.9);
  border-color: rgba(0, 147, 255, 1);
  border-style: solid;
  border-radius: 25px;
}

.alusta {
  width:25%;
  margin: 5%;
  background-color: rgba(0, 147, 255, 0.6);
  border-radius: 25px;
  border: none;
  padding: 2%;
  font-family: 'Satoshi-Regular';
  font-size: large;
  color: white;
}

.anneta {
  background-color: rgba(0, 147, 255, 0.6);
  border-radius: 25px;
  border: none;
  padding: 3%;
  font-family: 'Satoshi-Regular';
  font-size: large;
  color: white;
  text-align: center;
  margin: 1%;
}

.anneta:hover {
  background-color: rgba(0, 147, 255, 1);
}

form {
  margin: 1%;
}

.alusta:hover {
  background-color: rgba(0, 147, 255, 1);
}

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

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

.donate {
  display: flex;
  justify-content: flex-end;
}

.footer {
  position: absolute; 
  bottom: 0; 
  left: 0; 
  z-index: 10;
  color: rgba(0, 147, 255, 1);
}

.next {
  width: 50%;
  margin: 1%;
  background-color: rgba(135, 195, 252, 1);
  padding: 2.5%;
  border-radius: 25px;
  border: none;
  font-size: large;
  color: white;
}

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

/* .quiz-image {
} */

#topscores {
  display: flex;
  padding: 2.5%;
  border-style: solid;
  margin: 5%;
  border-radius: 25px;
  background-color: rgba(255, 255, 255, 0.9);
  color: rgba(0, 147, 255, 1);
  width: 40%;
  justify-content: center;
}

.img_q {
  max-width: 500px;
  max-height: 400px;
}

.img_a {
  max-width: 500px;
  max-height: 500px;
  border-color: rgba(0, 147, 255, 1);
  border-style: solid;
  border-radius: 25px;
  margin-right: 5%;
  margin-bottom: 2.5%;
}

.options_img {
  display: flex;
  flex-direction: row;
  width: 75%;
  padding-left: 5%;
  /* padding-right: 5%; */
}

.options_no_img {
  width: 75%;
}

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

.blurb {
  margin-bottom: 5%;
}

.name {
  width:50%;
  margin: 2.5%;
  padding: 1%;
  border-radius: 25px;
  border: solid;
  border-color: rgba(0, 147, 255, 1);;
  padding: 2%;
  font-family: 'Satoshi-Regular';
  font-size: large;
}

.email {
  width:50%;
  margin: 2.5%;
  padding: 1%;
  border-radius: 25px;
  border: solid;
  border-color: rgba(0, 147, 255, 1);;
  padding: 2%;
  font-family: 'Satoshi-Regular';
  font-size: large;
}

#start {
  padding: 2.5%;
  border-style: solid;
  margin: 5%;
  border-radius: 25px;
  background-color: rgba(255, 255, 255, 0.9);
  color: rgba(0, 147, 255, 1);
  width: 40%;
}


nav {
  display: flex;
  justify-content: space-between;
  padding: 2.5%;
  background-color: rgba(135, 195, 252, 0.7);
}

.nav-section {
  width: 250px;
  display: flex;
  flex-direction: row;

}

.social-container {
  padding: 1%;
}

.fb {
  display: block;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(0, 147, 255, 0.6);
  -webkit-mask-image: url(../public/images/fb-resized.png);
  mask-image: url(../public/images/fb-resized.png);
}

.fb:hover {
  background-color: rgba(0, 147, 255, 1);
}

.insta {
  display: block;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(0, 147, 255, 0.6);
  -webkit-mask-image: url(../public/images/insta.png);
  mask-image: url(../public/images/insta.png);
}

.insta:hover {
  background-color: rgba(0, 147, 255, 1);
}

.youtube {
  display: block;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(0, 147, 255, 0.6);
  -webkit-mask-image: url(../public/images/youtube.png);
  mask-image: url(../public/images/youtube.png);
}

.youtube:hover {
  background-color: rgba(0, 147, 255, 1);
}

@media screen and (max-width: 769px) {
  nav {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .main {
    flex-direction: column;
    align-items: center;
  }

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

  .options_img {
    display: flex;
    flex-direction: column;
    width: 75%;
    padding: 0;
  }

  .expl-row {
    width: 75%;
  }

  #intro {
    width: 75%;
  }

  #start {
    width: 75%;
    margin: 2.5%;
  }

  .donate {
    justify-content: center;
  }

  #topscores {
    width: 75%;
margin: 2.5%;
  }

  table {
    width: 75%;
  }

  #socials {
    justify-content: space-around;
    padding-bottom: 5%;
  }

  .blurb {
    font-size: larger;
  }

  input {
    font-size: larger;
  }

  a {
    text-align: center;
  }

  .img_a {
    max-width: 75%;
    max-height: 500px;
    border-color: rgba(0, 147, 255, 1);
    border-style: solid;
    border-radius: 25px;
    margin: 0;
  }

}