.menu {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fff;
  border-radius: 8px;
  cursor: pointer;
  padding: 0.3em 0;
  color: #2D3D47;
  font-size: 1.5rem;
  transition: all 400ms ease;
}

.menu p {
  color: #2D3D47;
  transition: all 400ms ease;
}

.menu {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.menu p {
  padding-right: 0.75em;
  padding-left: 2rem;
  margin: 0;
}

.menu .menu-icon {
  position: relative;
  left: 0.125em;
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  transform: rotate(45deg);
  transition: transform 1s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.menu.active {
  background: #FF481F;
}

.menu.active p,
.menu.active ion-icon {
  color: #fff;
}

.menu.active .menu-icon {
  transform: rotate(270deg);
  transition: transform 1s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.menu:hover {
  background: #FF481F;
  color:#fff;
}
.menu:hover p {
  color: #fff;
}
@media (max-width: 900px) {
  .menu {
    padding: 0.3em 0;
    font-size: 1.3rem;
    height: 52px;
  }
  .menu p {
    padding-left: 1rem;
    text-transform: uppercase;
    padding-top: 4px;
  }
  .menu .menu-icon {
    left: 0;
  }

  .menu.active {
    background: #FF481F;
  }

  .menu.active p,
  .menu.active ion-icon {
    color: #ffffff;
    text-transform: uppercase;
    padding-top: 4px;
  }
}


/* menu-container */
.menu-container {
  position: fixed;
  top: 86px;
  right: 1rem;
  width: 100%;
  padding: 1em;
  display: flex;
  text-transform: uppercase;
  z-index: 22;
  opacity: 0;
}

.whitespace {
  pointer-events: none;
}

.whitespace,
.menu-items {
  flex: 1;
  padding: 0.25em;
}

.menu-items {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.25em;
  background: #2d1d56;
  border-radius: 8px;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.menu-item {
  position: relative;
  width: 100%;
  padding: 1em;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f4f4f4;
  border-radius: 5px;
  text-decoration: none;
}

.menu-item span {
  color: #333;
}
.menu-item .menu-item-title {
  font-size: 1.1rem;
  font-weight: 700;
}

@media (max-width: 900px) {
  .menu {
    border-radius: 12px;
  }
  .menu-container {
    top: unset;
    bottom: calc(0px);
    padding: 0;
    right: 0;
    z-index: 3;
  }
  
  .menu-container::before {
    position: absolute;
    content: '';
    background: #ffffff42;
    backdrop-filter: blur(10px);
    width: 100%;
    height: 200vh;
    top: -120vh;
    z-index: 1;
  }

  .menu-items {
    border-radius: 8px 8px 0px 0px;
    padding-bottom: 100px;
    z-index: 4;
  }

  .whitespace {
    display: none;
  }
}
