/* CSS is how you can add style to your website, such as colors, fonts, and positioning of your
   HTML content. To learn how to do something, just try searching Google for questions like
   "how to change link color." */


body {
  font-family: "Caveat Brush";
  background-color: white;
  color: black;
}

.frame::before {
  content: "";
  position: absolute;
  left: 0px;
  bottom: 0px;
  background: rgb(255, 0, 0);
  border-radius: 42px 1.5rem 42px 1.5rem;
  height: calc(100% + 20px);
  width: calc(100% + 20px);
  /* transform: skewY(1deg); */
  /* Offset to bottom-right */

  /* Put behind parent content */
  z-index: -1;
}

.tv1 {
  opacity: 1; /* or animate opacity as well */
  animation: tvPowerOn1 2s forwards;
  position: absolute; /* confirm */
  width: 100%;        /* confirm */
  /* start with height 50% to match animation start */
  height: 50%;
  top:0;
  border-radius: inherit;
  background-color: black; /* to see it */
}

.tv2 {
  opacity: 1; /* or animate opacity as well */
  animation: tvPowerOn1 2s forwards;
  position: absolute; /* confirm */
  width: 100%;        /* confirm */
  /* start with height 50% to match animation start */
  height: 50%;
  bottom:0;
  border-radius: inherit;
  background-color: black; /* to see it */
}

@keyframes tvPowerOn1 {
  0% {
    height: 50%;
  }


  100% {
    height: 0%;
  }
}