@import url("https://fonts.googleapis.com/css2?family=Lugrasimo&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  height: 100vh;
  width: 100%;
  font-family: "Lugrasimo", cursive;
  font-weight: 400;
  font-style: normal;
}
.half {
  display: grid;
  grid-template-columns: 1.2fr 3fr;
}
.container {
  background-image: url("img/perfume.png");
  background-position: center/cover;
  background-repeat: no-repeat;
  height: 100vh;
  width: 100%;
}
.box {
  margin: 5%;
  position: relative;
}

#oval {
  position: absolute;
  top: 0;
  left: 0;
  width: 200px;
  height: 100px;
  background: #9795b3;
  border-radius: 100px / 50px;
  transform-style: preserve-3d;
  transform: rotateX(65deg);
  animation: falling 5s 1s linear forwards;
  z-index: 10;
  color: white;
  text-align: center;
  justify-content: left;
}
#nameOval {
  position: absolute;
  top: 2.5rem;
  padding-top: 5rem;
  margin-left: -2.7rem;
  opacity: 0;
  font-size: 1.1rem;
  animation: suppressing 5s 1s linear forwards;
}
@keyframes suppressing {
  0% {
    opacity: 0;
  }

  55% {
    opacity: 0.5;
  }
  100% {
    opacity: 1;
  }
}
@keyframes falling {
  0% {
    transform: rotateX(65deg);
  }

  50% {
  }
  100% {
    width: 200px;
    height: 200px;
    border-radius: 100px / 100px;
    transform: rotateX(0);
  }
}
#square {
  position: absolute;
  top: 8%;
  left: 5px;
  width: 190px;
  height: 200px;
  background: #939765;
  border-top-left-radius: 25px;
  border-top-right-radius: 25px;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
  animation: turning 5s 1s linear forwards;
  transform-origin: top center;
  z-index: 1;
}
@keyframes turning {
  0% {
    transform: rotateX(0);
  }

  50% {
  }
  80% {
    width: 160px;

    transform: rotateX(90deg);
  }
  100% {
    transform: rotateX(90deg);
  }
}
.perfume {
  position: absolute;
  top: 25%;
  left: 18%;
  font-size: 1.3rem;
  color: white;
}
#turn {
  position: absolute;
  top: 27%;
  left: 6%;
  font-size: 1.3rem;
  color: black;
  padding: 5px;
  border-radius: 30px;
}
#perfume-body {
  position: absolute;
  z-index: 2;
  width: 160px;
  top: 23px;
  margin: 0 auto;
  left: 22px;
  height: 160px;
  box-shadow: 0 0 0 10px #fff, 0 0 0 15px#A99BA2;
  border-radius: 50%;
  background: radial-gradient(#939765 33%, #faebd3 66%, #a99ba2);
  opacity: 0;
}
#liquid {
  position: absolute;
  z-index: 3;
  width: 30px;
  top: 33px;
  left: 30px;
  height: 30px;
  margin: 0 auto;
  border-radius: 80%;
  background: radial-gradient(#939765 33%, #faebd3 66%, #fce9c8);
  opacity: 1;
}

.sideComment {
  position: absolute;
  top: 0;
  left: 30%;
}
.sideComment li {
  list-style: none;
  background-color: #9795b3;
  margin: 2px;
  padding: 3px;
  border-radius: 5px;
  text-shadow: 1px 1px 0 black;
  color: white;
  font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
  font-size: 1.4rem;
  text-align: center;
}
.mainComment {
  position: absolute;
  top: 40%;
  left: 0%;
}
.mainComment li {
  list-style: none;
  background-color: rgba(129, 142, 95, 0.8);
  margin: 2px;
  padding: 5px;
  border-radius: 5px;
  color: white;
  font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
  font-size: 1.1rem;
  text-align: left;
}

.click {
  cursor: pointer;
  color: rgb(250, 250, 143);
  align-content: center;
  justify-content: center;
}
.click:hover {
  background-color: rgb(250, 250, 143);
  color: #818e5f;
  font-weight: bold;
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
h3 {
  color: rgb(250, 250, 143);
}
