.panel-menu {
  background-color: #fff5f5;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  visibility: hidden;
  transition: max-height 0.2s ease-in-out, opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
}
.panel-menu.active {
  opacity: 1;
  max-height: 100%;
  overflow: hidden;
  visibility: visible;
}
.panel-menu > .child {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 50px;
}
.panel-menu > .child .container.flex-center {
  width: 90%;
  max-width: 1640px;
  background: #ffffff;
  padding: 25px;
  position: relative;
  overflow: hidden;
  box-shadow: -1px 3px 14px rgba(209, 213, 223, 0.4196078431);
}
.panel-menu .panel {
  margin: 70px 0;
  max-width: 740px;
  width: 100%;
  z-index: 1;
}
.panel-menu .panel > p {
  color: #e83687;
  display: block;
  font-size: 36px;
  font-weight: bold;
  margin: 0 0 30px 0;
  max-width: 740px;
  width: 100%;
  text-align: center;
}
.panel-menu .panel-item {
  background-color: rgba(255, 255, 255, 0);
}
.panel-menu .bg-icon-light.absolute {
  width: 274px;
  top: 50px;
  left: -100px;
  opacity: 0.3;
  z-index: 0;
}

.panel-page {
  flex-flow: column;
  opacity: 1;
  max-height: 100%;
  overflow: hidden;
  visibility: visible;
  transition: max-height 0.5s ease-in-out, opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
}
.panel-page.hide {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  visibility: hidden;
}

.panel-items {
  display: grid;
  gap: 5px;
  grid-template-columns: repeat(auto-fit, 180px);
  justify-content: space-around;
  width: 100%;
}

.panel-item {
  display: flex;
  align-items: center;
  border-radius: 20px;
  color: #333333;
  flex-direction: column;
  font-size: 16px;
  justify-content: center;
  max-width: 180px;
  padding: 18px;
  width: 100%;
  transition: 0.5s all ease;
  box-shadow: 0px 0px 0px rgba(209, 213, 223, 0.5019607843);
}
.panel-item:hover {
  box-shadow: 0px 10px 30px rgba(209, 213, 223, 0.5019607843);
  background-color: rgb(255, 255, 255) !important;
}
.panel-item > span {
  display: block;
  margin: 20px 0 0 0;
  font-weight: 600;
}
.panel-item .img_box {
  padding-top: 100%;
}
.panel-item .img_box-content {
  width: 70px;
  height: auto;
}

@media screen and (max-width: 730px) {
  .panel-items {
    justify-content: center;
    gap: 10px;
  }
  .panel-menu .panel > p {
    text-align: center;
  }
}
@media screen and (max-width: 640px) {
  .panel-menu {
    background-color: #f1f1f1;
    border-radius: 8px;
    top: 135px;
    max-width: unset;
    right: 0.5vw;
    width: 100%;
    z-index: 3;
    height: calc(100vh - 125px);
  }
  .panel-menu.active {
    overflow: visible;
  }
  .panel-menu.active::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: inherit;
    bottom: -10px;
    right: 4vw;
    transform: rotate(45deg);
  }
  .panel-menu > .child {
    padding: 10px;
    height: 100%;
  }
  .panel-menu > .child .container.flex-center {
    width: 100%;
    height: 100%;
    align-items: flex-start;
  }
  .panel-menu .panel {
    margin: 0;
  }
  .panel-menu .panel > p {
    display: none;
  }
  .panel-menu .panel-items {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    width: 100%;
    align-items: center;
  }
  .panel-menu .panel-item {
    background-color: #fff;
    display: flex;
    align-items: center;
    flex-direction: row;
    gap: 10px;
    justify-content: space-around;
    width: 100%;
    max-width: unset;
    border: 1px solid #d9deea;
  }
  .panel-menu .panel-item > span {
    margin: 0;
    display: block;
    margin: 0 0 0 20px;
    width: 100%;
    max-width: calc(100% - 126px);
    text-align: left;
    font-size: 1.5rem;
  }
  .panel-menu .panel-item .img_box {
    padding-top: 100%;
  }
  .panel-menu .panel-item .img_box-content {
    width: 70px;
    height: auto;
  }
}
