* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  background-color: rgb(2, 23, 35);
}
.container {
  margin: 2.5%;
  background-color: rgb(247, 247, 179);
  background-image: url(images/sparta.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 10px;
}
.heading {
  background-color: rgb(2, 23, 35);
  height: 4rem;
  width: 100%;
  color: rgb(247, 247, 179);
  display: flex;
  justify-content: center;
  gap: 1rem;
  align-items: center;
  font-size: 2.5rem;
  padding-bottom: 0.75rem;
}

#h-1 {
  transform: rotateX(90deg);
  animation: turnWord 1s linear forwards;
  animation-delay: 1s;
}
#h-2 {
  transform: rotateX(90deg);
  animation: turnWord 1s linear forwards;
  animation-delay: 2s;
}
#h-3 {
  transform: rotateX(90deg);
  animation: turnWord 1s linear forwards;
  animation-delay: 3s;
}
#h-4 {
  align-self: last baseline;

  color: rgb(247, 247, 179);
  transform: rotateX(-90deg);
  animation: turnWord 1s linear forwards;
  animation-delay: 4s;
}
@keyframes turnWord {
  from {
    transform: rotateX(90deg);
  }
  to {
    transform: rotateX(0deg);
  }
}

.text {
  padding: 5%;
  margin-top: 0.5%;
  margin-bottom: 0.5%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  color: whitesmoke;
}
p {
  font-size: 1.5rem;
}
#detail {
  margin-top: 25%;
}
.btns {
  margin-top: 1%;
  margin-bottom: 2%;
  text-align: center;
  display: flex;
  justify-content: center;
  gap: 10px;
}
.btn {
  border: 2px solid rgb(247, 247, 179);
  background: none;
  color: rgb(247, 247, 179);
  padding: 15px 30px;
  font-size: 1.1rem;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.5s;
  font-weight: bold;
  position: relative;
  color: rgb(247, 247, 179);
  overflow: hidden;
}

.btn:hover {
  color: rgb(2, 23, 35);
}

.btn:before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgb(247, 247, 179);
  z-index: -1;
  border-radius: 50% 50% 0% 0%;
  height: 0%;
  transition: all 0.5s;
}

.btn:hover:before {
  height: 190%;
}
