@font-face {
  font-family: 'main';
  src: url("../fonts/main.woff2") format("woff2"), url("../fonts/main.woff") format("woff");
  font-weight: 100;
}

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

img {
  width: 100%;
  display: block;
}

html, body {
  width: 100%;
}

.block-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.app {
  width: 100%;
  overflow: hidden;
  position: relative;
  background: #271d1c;
  display: block;
  text-decoration: none;
  font-family: 'Arial';
  height: 100vh;
  /* Fallback for browsers that do not support Custom Properties */
  height: calc(var(--vh, 1vh) * 100);
}

.header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
  background: #131313;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  position: relative;
  padding: 10px;
}

.header .logo {
  -ms-flex-preferred-size: 40%;
      flex-basis: 40%;
}

.header .line {
  position: absolute;
  width: 1%;
  top: 10%;
  background: #251b25;
  height: 80%;
  left: 48.5%;
}

.header .header-text {
  -ms-flex-preferred-size: 40%;
      flex-basis: 40%;
}

.header .header-text p {
  color: #9f162c;
  font-size: 12px;
}

.images {
  width: 100%;
  position: relative;
}

.images .girls {
  -webkit-transition: all ease 1s;
  transition: all ease 1s;
  width: 100%;
  opacity: 0;
}

.images .girl-absolute {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}

.images .girl_active {
  opacity: 1;
}

.images .notice {
  position: absolute;
  width: 100%;
  left: 0%;
  top: 0;
}

.images .notice p {
  text-align: center;
}

.images .notice p:first-child {
  color: #ffdb14;
  font-size: 30px;
  font-weight: bolder;
}

.images .notice p:last-child {
  color: white;
  font-size: 20px;
}

.main-text {
  width: 90%;
  left: 5%;
  position: absolute;
  bottom: 15%;
  text-align: center;
  background: white;
  color: black;
  font-size: 13px;
  font-weight: 500;
  padding: 20px 7px;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
}

.button {
  position: absolute;
  bottom: 4%;
  left: 15%;
  width: 70%;
}

.button .button-text {
  position: absolute;
  width: 100%;
  top: 20%;
  left: 0;
  text-align: center;
  color: white;
  text-transform: uppercase;
  font-size: 8vw;
  font-weight: bolder;
}

.button-game {
  display: none;
  position: absolute;
  bottom: 4%;
  left: 15%;
  width: 70%;
}

.button-game .button-text {
  position: absolute;
  width: 100%;
  top: 20%;
  left: 0;
  text-align: center;
  color: white;
  text-transform: uppercase;
  font-size: 8vw;
  font-weight: bolder;
}

.questions {
  position: absolute;
  width: 90%;
  left: 5%;
  bottom: 1%;
  display: none;
}

.questions p {
  background: white;
  color: black;
  padding: 10px 0;
  text-align: center;
  -webkit-transform: rotateZ(0);
          transform: rotateZ(0);
  font-weight: bold;
  font-size: 15px;
  -webkit-animation: question 1s ease-in-out;
          animation: question 1s ease-in-out;
  -webkit-animation-fill-mode: forwards;
          animation-fill-mode: forwards;
}

.questions .answers {
  width: 70%;
  margin: 10% auto;
  opacity: 0;
  -webkit-animation: btns 1s ease;
          animation: btns 1s ease;
  -webkit-animation-fill-mode: forwards;
          animation-fill-mode: forwards;
}

.questions .answers .answer {
  position: relative;
}

.questions .answers .answer .answ-text {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 20%;
  left: 0;
  text-align: center;
  color: #d62741;
  font-weight: bolder;
  font-size: 7vw;
}

.questions .answers .answer2 {
  margin: 5% auto;
}

.questions .answers .answer2 .answ-text {
  color: white;
}

.block_remove {
  display: none;
}

@-webkit-keyframes question {
  from {
    opacity: 0;
    -webkit-transform: scale(1.1) rotateZ(5deg);
            transform: scale(1.1) rotateZ(5deg);
  }
  to {
    opacity: 1;
    -webkit-transform: scale(1) rotateZ(-5deg);
            transform: scale(1) rotateZ(-5deg);
  }
}

@keyframes question {
  from {
    opacity: 0;
    -webkit-transform: scale(1.1) rotateZ(5deg);
            transform: scale(1.1) rotateZ(5deg);
  }
  to {
    opacity: 1;
    -webkit-transform: scale(1) rotateZ(-5deg);
            transform: scale(1) rotateZ(-5deg);
  }
}

@-webkit-keyframes btns {
  from {
    -webkit-transform: translateY(-10%);
            transform: translateY(-10%);
    opacity: 0;
  }
  to {
    -webkit-transform: translateY(0);
            transform: translateY(0);
    opacity: 1;
  }
}

@keyframes btns {
  from {
    -webkit-transform: translateY(-10%);
            transform: translateY(-10%);
    opacity: 0;
  }
  to {
    -webkit-transform: translateY(0);
            transform: translateY(0);
    opacity: 1;
  }
}

@media (min-width: 768px) {
  .header .logo {
    -ms-flex-preferred-size: 10%;
        flex-basis: 10%;
  }
  .header .line {
    display: none;
    height: 100%;
    top: 0;
    width: 0.5%;
  }
  .header .header-text p {
    font-size: 1.2vw;
    text-align: right;
  }
  .images .notice p:first-child {
    color: #ffdb14;
    font-size: 2vw;
    font-weight: bolder;
  }
  .images .notice p:last-child {
    color: white;
    font-size: 1.2vw;
  }
  .main-text {
    bottom: auto;
    top: 20%;
    font-size: 1.2vw;
    width: 50%;
    left: 25%;
  }
  .button {
    width: 20%;
    left: 40%;
    top: 40%;
    bottom: auto;
  }
  .button .button-text {
    font-size: 1.6vw;
    top: 30%;
  }
  .questions {
    width: 40%;
    left: 30%;
    bottom: auto;
    top: 20%;
  }
  .questions p {
    font-size: 1.4vw;
  }
  .questions .answers {
    width: 50%;
  }
  .questions .answers .answer .answ-text {
    font-size: 1.4vw;
    top: 30%;
  }
}
