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

@font-face {
  font-family: 'Futura Now';
  src: url('fonts/FuturaNowHeadline.woff2') format('woff2'),
    url('fonts/FuturaNowHeadline.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Futura Now';
  src: url('fonts/FuturaNowHeadline-Bold.woff2') format('woff2'),
    url('fonts/FuturaNowHeadline-Bold.woff') format('woff');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Futura Now';
  src: url('fonts/FuturaNowHeadline-Black.woff2') format('woff2'),
    url('fonts/FuturaNowHeadline-Black.woff') format('woff');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

img {
  pointer-events: none;
}

.wrapper {
  font-family: 'Futura Now';
  background-color: #1d7cb9;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  position: fixed;
  top: 0;
  left: 0;
  color: #fff;
}

.welcome,
.end {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}

.welcome-text {
  width: 880px;
  font-size: 45px;
  text-align: center;
  line-height: 1.35;
  margin: 0 auto;
  font-weight: 600;
  margin-top: 1200px;
}

.btn {
  font-family: 'Futura Now';
  width: calc(100% - 200px);
  height: 156px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 42px;
  font-weight: 800;
  color: #2351a0;
  background-color: #fff;
  outline: none;
  border: none;
  border-radius: 36px;
  text-transform: uppercase;
  margin: 0 auto;
  transition: 0.3s ease;
}

.btn.is-clicked {
  background-color: #2351a0;
  color: #fff;
}

.end .btn,
.welcome .btn {
  position: absolute;
  bottom: 120px;
  left: 100px;
}

.quiz {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  font-weight: 600;
}

.logo {
  display: block;
  margin: 100px auto 56px;
  width: 312px;
  position: relative;
  z-index: 1;
  pointer-events: none;
  transition: 0.5s ease;
}

.logo.is-active {
  width: 790px;
  margin: 500px auto 120px;
}

.quiz-text {
  text-align: center;
  font-size: 45px;
  font-weight: 600;
  line-height: 1.35;
  width: 880px;
  margin: 0 auto;
  min-height: 200px;
  margin-bottom: 56px;
  margin-top: 395px;
}

.quiz-buttons {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.quiz-next {
  background: transparent;
  outline: none;
  border: none;
  display: block;
  width: 142px;
  height: 142px;
  position: absolute;
  bottom: 100px;
  left: 0;
  right: 0;
  margin: auto;
  transition: 0.3s ease;
  opacity: 0;
  pointer-events: none;
}
.quiz-next.is-active {
  opacity: 1;
  pointer-events: auto;
}

.confetti {
  position: fixed;
  width: 100%;
  top: -470px;
  left: 0;
  pointer-events: none;
  transition: 0.5s ease;
}
.confetti.is-active {
  top: 0;
}

.quiz-answer {
  font-family: 'Futura Now';
  width: 880px;
  height: 924px;
  display: block;
  margin: 0 auto;
  border-radius: 36px;
  border: 3px solid #fff;
  background: transparent;
  padding: 40px 60px;
  font-size: 50px;
  line-height: 1.35;
  font-weight: 400;
  color: #fff;
  resize: none;
  outline: none;
}

.quiz-answer::placeholder {
  color: #fff;
}
.quiz-answer:-ms-input-placeholder {
  color: #fff;
}
.quiz-answer::-ms-input-placeholder {
  color: #fff;
}

.welcome {
  opacity: 0;
  pointer-events: none;
  transition: 0.5s ease;
}

.quiz {
  opacity: 0;
  pointer-events: none;
  transition: 0.5s ease;
}

.end {
  opacity: 0;
  pointer-events: none;
  transition: 0.5s ease;
}

.is-active {
  opacity: 1;
  pointer-events: auto;
}
