.p-menu {
  background-color: #fff;
  height: 100%;
  left: 0;
  overflow: auto;
  padding-bottom: 5rem;
  position: fixed;
  top: 0;
  transform: translateX(101%);
  transition: transform 0.3s;
  width: 100%;
  z-index: 9990;
}

.p-menu.is-active {
  transform: translateX(0%);
}

.p-menu__inner {
  margin-left: auto;
  margin-right: auto;
  max-width: 375px;
  width: 100%;
}

.p-menu__button {
  align-items: center;
  background: linear-gradient(45deg, #e50012, #ec8089);
  border-radius: 50%;
  bottom: 0;
  content: "";
  cursor: pointer;
  display: flex;
  flex-direction: column;
  height: 50px;
  justify-content: center;
  opacity: 0;
  position: fixed;
  right: calc(50% - 20rem);
  transform: translate(-50%, -44%);
  transition: opacity 0.3s, visibility 0.3s;
  visibility: hidden;
  width: 50px;
  z-index: 9999;
}

.p-menu__button.is-visible {
  opacity: 1;
  visibility: visible;
}

.p-menu__line {
  background-color: #fff;
  display: block;
  height: 1px;
  transform-origin: center;
  transition: top 0.3s, transform 0.3s;
  width: 28px;
}

.p-menu__line:nth-of-type(1) {
  left: 50%;
  position: absolute;
  top: 30%;
  transform: translate(-50%, -50%) rotate(0deg);
}

.p-menu__line:nth-of-type(2) {
  left: 50%;
  position: absolute;
  top: 70%;
  transform: translate(-50%, -50%) rotate(0deg);
}

.p-menu__button.is-active .p-menu__line:nth-of-type(1) {
  top: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
}

.p-menu__button.is-active .p-menu__line:nth-of-type(2) {
  top: 50%;
  transform: translate(-50%, -50%) rotate(-45deg);
}

.p-menu__menu {
  color: #fff;
  display: block;
  max-width: 2.3rem;
  opacity: 1;
  transition: opacity 0.3s, visibility 0.3s, width 0.3s;
  visibility: visible;
  width: 100%;
}

.p-menu__button.is-active .p-menu__menu {
  opacity: 0;
  visibility: hidden;
  width: 0;
}

.p-menu__title {
  padding-top: 2.4rem;
}

.p-menu__items {
  margin-top: 1.6rem;
}

.p-menu__item {
  border-bottom: 1px solid rgba(115, 115, 115, 0.1);
  display: block;
  font-weight: 500;
  line-height: calc(23 / 16);
  padding: 2.4rem;
  position: relative;
}

.p-menu__item::before {
  background-image: url(../img/menu-arrow.svg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  content: "";
  height: 1.2rem;
  position: absolute;
  right: 32px;
  top: 50%;
  transform: translateY(-50%);
  width: 0.7rem;
}

.p-menu__button {
  margin-top: 1.6rem;
}

.p-menu__logo {
  margin-left: auto;
  margin-right: auto;
  margin-top: 2.4rem;
  max-width: 13.5rem;
  width: 100%;
}

.p-menu__buttons {
  position: relative;
}
