@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;900&display=swap");

* {
  margin: 0;
}

body {
  overflow: hidden;
  min-height: 90vh;
  font-family: "Poppins", arial;
  color: white;
  background-color: black;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
}

div.main-d {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

div.about {
  border: 5px dashed white;
  padding: 50px 10px;
  animation: tb 1.5s;
}

div.warning {
  animation: ltr 0.5s linear;
}

h1.main-title {
  font-size: 60px;
  font-family: arial;
  margin-bottom: 30px;
}

span#main-titletwo {
  color: black;
  padding: 10px;
  border: 0px solid #000;
  border-radius: 8px;
  box-shadow: inset 250px 0 0 0 #29beb0;
  animation: fill-lr 1.7s ease-in;
}

h1:hover {
  color: green;
}

div.warning:hover {
  font-size: 110px;
  position: absolute;
  color: red;
  background-color: black;
}

li:hover {
  transform: translateY(-5%);
  font-weight: 900;
}

@keyframes fill-lr {
  from {
    box-shadow: inset 0 0 0 0 #29beb0;
  }
  to {
    box-shadow: inset 250px 0 0 0 #29beb0;
  }
}

@keyframes tb {
  0% {
    transform: translateY(-200%);
  }

  50% {
    transform: translateY(30%);
  }

  100% {
    transform: translateY(0%);
  }
}

@keyframes ltr {
  0% {
    transform: translateX(200%);
  }
  100% {
    transform: translateX(0%);
  }
}
