@font-face {
  font-family: Numans;
  src: url('Numans-Regular.ttf');
}

* {
  font-family: Numans;
}

#logo {
  width: 20%;
}

.layer {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 500px;
}

.layer h2, .score h2, .score h4 {
  color: #1F618D;
}


#countdown {
  background-color: #e73821 !important;
  font-size: 32px;
  width: 150px;
  top: 5%;
  right:0;
  position:fixed;
  overflow-y:scroll;
  overflow-x:hidden;
}

#test-img {
  width: 50%;
}

.error {
  color: #e73821 !important;
}

#done-img {
  width: 50%;
}

#deadline-img {
    width: 30%;
}

.login-form {
  color: #8b918b;
  width: 450px;
  padding: 8px;
}


.btn {
  background-color: #1F618D !important;
  border-color: #1F618D !important;
}

.btn:hover {
  background-color: #7c961f !important;
}


.quiz-box {
  color: #8b918b;
  padding: 5px;
}

.choices {
  padding-left: 5px;
}

.quiz-img {
  margin-bottom: 3px;
  width: 40%;
}

#square_carpet {
  width: 20%;
}

.answer {
  margin-right: 5px;
}

label {
  font-size: 18px;
}

#submit {
  background-color: #e73821 !important;
  border-color: #e73821 !important;
}

#submit:hover {
  background-color: #ca3825 !important;
}

#last-word {
  margin-top: -50px;
  color: #1F618D;
}

footer {
  background-color: #1F618D;
  color: #ffffff;
  height: 60px;
}

#fixed-footer {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
}

@media screen and (max-width: 600px) {
  #logo {
    width: 50%;
  }

  #done-img {
    width: 80%;
  }
  
  #deadline-img {
      width: 50%;
  }
  
  .login-form {
      width: 98%;
  }
  
  #countdown {
      top: 0;
  }

  .quiz-img, #square_carpet {
    width: 100%;
  }
}