html, body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  background: url("./bg.webp") no-repeat;
  background-size: cover;
}

ul {
  padding: 0;
  margin: 0 0 0 15px;
  list-style: none;
  display: flex;
  height: 90%;
  flex-direction: column;
  width: 250px;
  position: relative;
}

ul .small-menu {
  cursor: pointer;
  position: absolute;
  width: 20%;
  left: 0;
  top: 5px;
  height: 40px;
  transition: all 1s;
  overflow: hidden;
}

ul .small-menu span {
  display: block;
  width: 100%;
  height: 10px;
  border-radius: 5px;
  background-color: #fff;
  margin-bottom: 5px;
}

ul .small-menu.active {
  height: 0;
}

ul li {
  width: 100%;
  display: flex;
  align-items: center;
  background-color: #fff;
  transform-origin: 0% 0%;
  height: 10%;
  padding: 0 20px;
  box-sizing: border-box;
  position: absolute;
  left: 0;
  transition: all .2s linear;
}

ul li .close {
  font-weight: bold;
  cursor: pointer;
}

ul li.ctrl {
  justify-content: space-between;
  background-color: rgba(255, 255, 255, 0.6);
}

ul li:nth-of-type(1) {
  top: 0%;
  transition-delay: 0.9s;
}

ul li:nth-of-type(1).active {
  left: 0;
  top: 1px;
  transform: scaleX(0.13) scaleY(0);
  transition-delay: 0s;
}

ul li:nth-of-type(2) {
  top: 10%;
  transition-delay: 0.8s;
}

ul li:nth-of-type(2).active {
  left: 0;
  top: 2px;
  transform: scaleX(0.13) scaleY(0);
  transition-delay: 0.1s;
}

ul li:nth-of-type(3) {
  top: 20%;
  transition-delay: 0.7s;
}

ul li:nth-of-type(3).active {
  left: 0;
  top: 3px;
  transform: scaleX(0.13) scaleY(0);
  transition-delay: 0.2s;
}

ul li:nth-of-type(4) {
  top: 30%;
  transition-delay: 0.6s;
}

ul li:nth-of-type(4).active {
  left: 0;
  top: 4px;
  transform: scaleX(0.13) scaleY(0);
  transition-delay: 0.3s;
}

ul li:nth-of-type(5) {
  top: 40%;
  transition-delay: 0.5s;
}

ul li:nth-of-type(5).active {
  left: 0;
  top: 5px;
  transform: scaleX(0.13) scaleY(0);
  transition-delay: 0.4s;
}

ul li:nth-of-type(6) {
  top: 50%;
  transition-delay: 0.4s;
}

ul li:nth-of-type(6).active {
  left: 0;
  top: 6px;
  transform: scaleX(0.13) scaleY(0);
  transition-delay: 0.5s;
}

ul li:nth-of-type(7) {
  top: 60%;
  transition-delay: 0.3s;
}

ul li:nth-of-type(7).active {
  left: 0;
  top: 7px;
  transform: scaleX(0.13) scaleY(0);
  transition-delay: 0.6s;
}

ul li:nth-of-type(8) {
  top: 70%;
  transition-delay: 0.2s;
}

ul li:nth-of-type(8).active {
  left: 0;
  top: 8px;
  transform: scaleX(0.13) scaleY(0);
  transition-delay: 0.7s;
}

ul li:nth-of-type(9) {
  top: 80%;
  transition-delay: 0.1s;
}

ul li:nth-of-type(9).active {
  left: 0;
  top: 9px;
  transform: scaleX(0.13) scaleY(0);
  transition-delay: 0.8s;
}

ul li:nth-of-type(10) {
  top: 90%;
  transition-delay: 0s;
}

ul li:nth-of-type(10).active {
  left: 0;
  top: 10px;
  transform: scaleX(0.13) scaleY(0);
  transition-delay: 0.9s;
}
