@import url('https://fonts.googleapis.com/css2?family=Nunito&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: inherit;
}

html {
  font-size: 62.5%;
  box-sizing: border-box;
}

body {
  font-family: 'Nunito', sans-serif;
  font-weight: 400;
  height: 100vh;
  color: #333;
  background-image: linear-gradient(to top left, #753682 0%, #bf2e34 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

main {
  position: relative;
  width: 100rem;
  height: 60rem;
  background-color: #ffffff59;
  backdrop-filter: blur(200px);
  filter: blur();
  box-shadow: 0 3rem 5rem rgba(0, 0, 0, 0.25);
  border-radius: 9px;
  overflow: hidden;
  flex-direction: column;
  display: flex;
  justify-content: center;
}

h1 {
  color: aliceblue;
  margin-top: 4rem;
  text-align: center;
}

.welcome-screen,
.quiz-screen,
.result-screen {
  padding: 5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: all 0.75s;
}

/* .d {
  display: flex;
  flex-direction: column;
  align-items: end;
} */
input#name-input {
  width: 50%;
  height: 3rem;
  font-size: 1.6rem;
  padding: 0.5rem 1rem;
  text-align: center;
  border-radius: 8px;
}

.btn {
  color: #444;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 1.1rem;
  text-transform: uppercase;
  cursor: pointer;
  font-weight: 400;
  transition: all 0.2s;

  background-color: white;
  background-color: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);

  padding: 0.7rem 2.5rem;
  border-radius: 50rem;
  box-shadow: 0 1.75rem 3.5rem rgba(0, 0, 0, 0.1);
}

.btn:active {
  transform: translate(0, 50%);
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.15);
}

.btn:focus {
  outline: none;
}

.button-container {
  display: flex;
  justify-content: flex-end;
  width: 80%;
}

p {
  color: #ddd;
}

form#options {
  color: #ffffff;
}

p#score-display {
  color: #333;
}

.hidden {
  display: none;
}
