body {
  background-color: black;
  display: flex;
  justify-content: center;
  align-content: center;
  min-width: 100svw;
  min-height: 100svh;
  overflow: hidden;
  color: white;
  font-family: monofonto;
}

p {
  padding-top: 5svh;
  font-size: 3svh;
}

.top-div {
  padding-top: 20svh;
  max-width: 50svw;
  max-height: 50svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.cool-container {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  place-content: center;
  max-width: 100vw;
  max-height: 100vh;
  aspect-ratio: 1 / 1;
}

.letter-container {
  position: relative;
  max-width: 100%;
  max-height: 100%;
}

.black-letter {
  max-width: 100%;
  max-height: 100%
}

.red-letter {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  max-width: 100%;
  max-height: 100%;
  display: inline-block
}

@keyframes flip {
  from {
    transform: scaleY(0);
  }

  25% {
    transform: scaleY(0);
  }

  35% {
    transform: scaleY(1);
    transform: scaleX(1);
  }

  65% {
    transform: scaleY(1);
    transform: scaleX(1);

  }

  75% {
    transform: scaleX(0);
  }


  to {
    transform: scaleX(0);
  }
}

@font-face {
  font-family: "monofonto";
  src: url(./monofonto.otf) format("opentype");
  font-weight: bold;
}
