

.icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  stroke-width: 0;
  stroke: currentColor;
  fill: currentColor;
}

.navbar {
  width: 100%;
  background: #fdfdfd;
  display: inline-flex;
  align-items: center;
  padding: 10px 20px 15px;
  box-shadow: 0px 20px 40px rgba(18, 34, 64, 0.1);
  border-radius: 30px 30px 0 0;
  z-index: 1000;
  position: fixed;
  right: 0;
  bottom: -20px;
  left: 0;
}

/*@media screen and (max-width: 480px) {*/
/*  .navbar {*/
/*   top:100px ;*/
/*  }*/
/*}*/

.navbar__item {
  width: auto;
  height: 70px;
  position: relative;
  cursor: pointer;
  padding: 10px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 21px;
}

.navbar__item::before, .navbar__item:after {
  content: "";
  position: absolute;
  width: 70px;
  height: 100%;
  top: 0;
  left: 50;
  background-color: currentColor;
  border-radius: 80%;
  transform: scale(0.8);
  opacity: 0;
  transition: all 0.55s cubic-bezier(0.71, 0.03, 0.23, 0.95);
}

.navbar__item::after {
  box-shadow: 0 50px 15px currentColor;
}
.navbar__item.-blue {
  color: #5DADE2;
}
.navbar__item.-orange {
  color: #F8C471;
}
.navbar__item.-navy-blue {
  color: #2471A3;
}
.navbar__item.-yellow {
  color: #F7DC6F;
}
.navbar__item.-purple {
  color: #BB8FCE;
}
.navbar__item.-camel {
  color: #E09C09;
}

.navbar__item:hover::before, .navbar__item:hover::after {
  transform: translateY(-60px) scale(1.1);
}
.navbar__item:hover::before {
  opacity: 1;
}
.navbar__item:hover::after {
  opacity: 0.4;
}
.navbar__item:hover .navbar__icon {
  transform: translateY(-58px) scale(1.25);
  color: #fff;
  transition-delay: 0.1s, 0.1s;
}
.navbar__icon {
  transition: all 0.5s cubic-bezier(0.71, 0.03, 0.23, 0.95);
  transition-delay: 0.1s;
  display: inline-block;
  position: relative;
  z-index: 2;
}
