@font-face {
  font-family: "pixel";
  src: url("pix3l5.otf");
}

html,
body,
main {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #222;
  flex-direction: column;
  font-family: "pixel";
  color: white;
  font-size: 1.4vw;
  text-align: center;
  overflow: hidden;
}

h2 {
  text-transform: uppercase;
  border-bottom: solid 0.2vw white;
}

p {
  margin: 0;
  font-size: 1vw;
}

.construction-img {
  height: 15vw;
  aspect-ratio: 1;
  image-rendering: pixelated;
  background-image: url("img/inbuilding.png");
  background-repeat: no-repeat;
  background-size: cover;
  animation: anim-ss steps(4, jump-none) 4s infinite;
}

.row {
  margin: 1vw;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.timing-box {
  padding: 0.8vw 1vw;
  background-color: #111;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1;
  font-size: 3vw;
}

@keyframes anim-ss {
  from {
    background-position: 0% 0;
  }
  to {
    background-position: 100% 0;
  }
}

.timing-cancel {
  position: absolute;
  width: 80%;
  image-rendering: pixelated;
  display: none;
}

.oops {
  position: absolute;
  right: 0;
  display: none;
  justify-content: center;
  align-items: center;
}

.oops-image {
  position: relative;
  left: 40vw;
  width: 30vw;
  aspect-ratio: 25 / 21;
  rotate: -57deg;
  image-rendering: pixelated;
  background-image: url("img/oops.png");
  background-repeat: no-repeat;
  background-size: cover;
  animation: anim-ss steps(2, jump-none) 2s infinite;
}

.cloud {
  padding: 2vw;
  outline: solid 0.4vw black;
  background-color: #111;
}

.oops-text {
  position: relative;
  bottom: 15vw;
  right: 10vw;
}
