@font-face {
  src: url(font/FjallaOne-Regular.ttf);
  font-family: fjalla;
}

body {
  background-color: #cec1b4;
  margin: 0 auto;
  text-align: center;
  color: #2a252d;
  box-sizing: border-box;
  font-family: fjalla;
}



#white-moon-el {
  background-color: #d5d3d6;
  width: 400px;
  height: 400px;
  border-radius: 100%;
  position: absolute;
  top: 50%; 
  left: 50%; 
  transform: translate(-50%, -50%); 
  z-index: -1; 
}

h1 {
  display: flex;
  justify-content: center;
  font-family: fjalla; 
  font-size: 3rem;
  margin-top: 3rem;
}

main {
  font-size: 25px;
}

.total-score {
  font-size: 20px;
}

.welcome-el {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin-top: 50px;
}

button {
  margin: 15px;
  padding: 10px 30px;
  border: none;
  border-radius: 5px;
  background-color: #cebb96;
  color: #5a4835;
  cursor: pointer;
  font-size: 20px;
  min-width: 130px;
}

button:hover:enabled {
  color: #cebb96;
  background-color: #5a4835;
}

footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  text-align: center;
  color: #5a4835;
  padding: 0px;
  background-color: #cec1b4;
}

.hide {
  display: none;
}

.correct-answer {
  border: 3px solid green;
}

.incorrect-answer {
  border: 3px solid darkred;
}
img {
  border-radius: 0.5rem;
  }

#next,
#result,
#play-again-btn {
  color: #cebb96;
  background-color: #5a4835;
}

#next:hover,
#result:hover #play-again-btn:hover {
  color: #5a4835;
  background-color: #cebb96;
}

@media (max-width: 990px) {
  h1 {
    font-size: 2rem;

  }
  .sub-title,
  .total-score {
    font-size: 1rem;
  }

  button {
    margin: 8px;
    padding: 8px 22px;
    border: none;
    border-radius: 5px;
    background-color: #cebb96;
    color: #5a4835;
    cursor: pointer;
    font-size: 1rem;
    min-width: 130px;
  }
}

@media (min-width: 760px) {
h1 {
  margin-top: 10rem;
}

  #country-image {
    width: 30vw;
  }
  .sub-title,
  .total-score {
    font-size: 1.5rem;
  }
}
