* {
  margin: 0 auto;
  border: none;
  padding: 0;
  box-sizing: border-box;
  font-family: "Varela Round", sans-serif;
}

body {
  font-size: 18px;
  line-height: 150%;
  min-height: 100vh;
  background-color: #ffde03;
  padding: 20px;
}

header {
  width: 600px;
  max-width: 100%;
  height: calc(20vh - 20px);
  padding: 20px 0;
  text-align: center;
  position: relative;
  z-index: 1;
}

h1 {
  font-size: 45px;
  text-align: right;
  font-family: "Varela Round", sans-serif;
  line-height: 130%;
  color: #fff;
}
h1 span {
  background-color: #ff0266;
}
h1 strong {
  color: #ffde03;
  /* background: #000; */
}
@keyframes glowing {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(0.9) rotate(12deg);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes clicked {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2) rotate(180deg);
  }
  100% {
    transform: scale(1);
  }
}
button {
  background: #ff0266;
  box-shadow: 1px 1px 0px 5px #000;
  width: 60px;
  height: 60px;
  display: block;
  position: absolute;
  top: -5px;
  left: -5px;
  outline: none;
  z-index: 100;
}
button.is-loading i {
  animation: 1s ease-in-out clicked infinite;
}
button i {
  animation: 1s ease-in-out glowing infinite;
  font-size: 30px;
  line-height: 60px;
}

main {
  width: 600px;
  max-width: 100%;
  position: relative;
  height: 60vh;
  display: block;
  background: #0336ff;
  box-shadow: 3px 3px 0px 8px #000;
}
.video-wrapper {
  width: 100%;
  height: 100%;
  display: block;
  overflow: hidden;
}
main video {
  height: 100%;
  margin: 0 auto;
  display: block;
  transition: ease-in-out 500ms all;
}
main video.wide {
  height: auto;
  width: 100%;
  margin-top: 50%;
  transform: translateY(-50%);
}

@media only screen and (min-width: 600px) {
  main video.wide {
    height: auto;
    width: 100%;
    margin-top: 0;
    transform: translateY(0);
  }
}

footer {
  width: 600px;
  max-width: 100%;
  height: calc(20vh - 20px);
  padding: 40px 0 0;
  transition: ease-in-out 500ms all;
}
footer p {
  display: block;
  font-size: 13px;
  padding-left: 15px;
  border-left: 3px solid #000;
  line-height: 130%;
  color: #000;
  transition: ease-in-out 500ms all;
}
footer span {
  background: #ff0266;
  color: #fff;
  margin-right: 15px;
}

.loading {
  width: 100%;
  height: 100%;
  position: absolute;
  display: block;
  background: #0336ff;
  color: #fff;
  text-align: center;
  padding-top: 40%;
}
.loading i {
  display: block;
  animation: 1s ease-in-out clicked infinite;
  font-size: 40px;
  margin-bottom: 10px;
  line-height: 140%;
}

.is-hidden {
  opacity: 0;
  transition: ease-in-out 500ms all;
}

.introduction {
  width: 100%;
  height: 100%;
  position: absolute;
  display: block;
  background: #000;
  color: #fff;
}
.introduction p {
  position: absolute;
  top: 50%;
  padding-left: 25px;
  transform: translateY(-50%);
}
