*{
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
body{
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background-color: var(--clr);
}
:root {
  --clr: #20415c;
 }
 .navigation{
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
 }
.menuToggle{
  position: relative;
  width: 65px;
  height: 65px;
  background:#ff4866;
  cursor: pointer;
  border: 5px solid var(--clr);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
  transform: translateY(-30px);
}
.menuToggle::before{
  content: '+';
  width: 100%;
  height: 100%;
  line-height: 100%;
  text-align: center;
  position: absolute;
  font-size: 3em;
  font-weight: 300;
  color: #fff;
  transition: 1.5s;
}
.menuToggle.active::before{
  transform: rotate(225deg);
}
.menuToggle i {
  position: absolute;
  inset: 0;
}
.menuToggle i::before{
  content: '';
  width: 20px;
  height: 20px;
  top:22.5px;
  left: -23px;
  position: absolute;
  background-color:transparent;
  border-top-right-radius: 20px;
  box-shadow: 3.5px -6px var(--clr);

}
.menuToggle i::after{
  content: '';
  width: 20px;
  height: 20px;
  top:22.5px;
  right: -23px;
  position: absolute;
  background-color:transparent;
  border-top-left-radius: 20px;
  box-shadow: -3.5px -6px var(--clr);

}
.menu{
  position:absolute;
  width: 60px;
  height: 60px;
  background-color: #fff;
  border-radius: 60px;
  transform: translateY(-30px);
  transition: transform 0.5s, width 0.5s, height 0.5s;
  transition-delay: 1s, 0.5s, 0.5s;
}
.menuToggle.active ~ .menu{
  width: 360px;
  height: 70px;
  transform: translateY(0);
  transition-delay: 0s, 0.5s, 0.5s;
}

.menu ul{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
  line-height: 70px;

}
.menu ul li {
  list-style: none;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: 0.25s;
  transition-delay: calc(0.5s + var(--i));
}
.menuToggle.active ~ .menu ul li{
  opacity: 1;
  visibility: visible;
}
.menu ul li a{
  display: block;
  font-size: 2em;
  text-decoration: none;
  color: #555;
}
.menu ul li a:hover{
  color: #ff4866;
}
