body {
  background: #26371B;
}

.menu-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
}
.menu-wrapper .container {
  width: 408px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
}
@media screen and (min-width: 400px) {
  .menu-wrapper .container {
    border: 2px solid #FFFADF;
    border-radius: 2rem;
  }
}
.menu-wrapper .container::after {
  content: "";
  display: block;
  background: url(../media/bcg.webp) no-repeat;
  background-size: contain;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 88px;
  left: 0;
  opacity: 0.35;
  z-index: -1;
}
.menu-wrapper .container .logo {
  width: 248px;
  height: 200px;
  margin-top: 1rem;
}
.menu-wrapper .container .logo img {
  width: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}
.menu-wrapper .container .links-wrapper {
  width: 352px;
  display: flex;
  flex-direction: column;
  row-gap: 3.5rem;
  align-items: center;
  padding: 4rem 0;
}
.menu-wrapper .container .links-wrapper a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 272px;
  height: 64px;
  border: 2px solid #FFFADF;
  border-radius: 2rem;
  color: #FFFADF;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 24px;
}
.menu-wrapper .container .social {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 4rem;
}
.menu-wrapper .container .social .r1, .menu-wrapper .container .social .r2 {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}
.menu-wrapper .container .social a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  width: 48px;
  border-radius: 50%;
  background: #fffadf;
}
.menu-wrapper .container .social a svg {
  height: 32px;
}
.menu-wrapper .container .social a svg path {
  fill: #26371B;
}
.menu-wrapper .container .ft {
  background: #FFFADF;
  color: #26371B;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: 100%;
  padding: 1rem;
}
.menu-wrapper .container .ft a {
  color: #26371B;
  text-decoration: none;
  font-weight: 600;
}
.menu-wrapper .container .ft h1 {
  margin: 0;
}

#popup {
  width: 576px;
  height: 720px;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: url(../media/bgpopup.webp) no-repeat;
  background-size: cover;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s;
}
#popup.show {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}
#popup .content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 352px;
  height: 100%;
  position: absolute;
  top: 0;
  background-color: rgba(0, 91, 77, 0.8);
  color: #fff;
  font-family: "League Spartan", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  padding-left: 2rem;
}
#popup .content ._title, #popup .content ._mss, #popup .content ._cta {
  display: flex;
  flex-direction: column;
  z-index: 10;
}
#popup .content ._title {
  font-size: 3rem;
  text-transform: uppercase;
  line-height: 2rem;
  margin-bottom: 4rem;
}
#popup .content ._mss {
  font-weight: bold;
  margin-bottom: 4rem;
}
#popup .content ._cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 176px;
  height: 40px;
  background-color: #fff;
  color: #000;
  font-size: 1.5rem;
  padding-top: 4px;
  font-weight: bold;
  text-decoration: none;
  text-transform: uppercase;
  line-height: 1;
  border-radius: 0.5rem;
}
#popup .content ._link {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
}
#popup .content::after {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background-image: url(../media/pattern01.png), url(../media/pattern01.png), url(../media/pattern01.png), url(../media/pattern01.png);
  background-position: top left, top right, bottom left, bottom right;
  background-repeat: no-repeat;
  --ps: 64px;
  background-size: var(--ps) var(--ps);
  position: absolute;
  left: 0;
  z-index: 1;
}
#popup #closePopup {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 999;
  cursor: pointer;
}

@media screen and (max-width: 768px) {
  #popup {
    width: calc(100% - 2rem);
    height: calc(100% - 4rem);
  }
}
@media screen and (max-width: 500px) {
  #popup .content {
    width: 216px;
  }
  ._title {
    line-height: 1.5rem;
  }
  .__t1 {
    font-size: 2rem!important;
  }
  .__t2 {
    font-size: 1.675rem!important;
  }
  .__m1 {
    font-size: 1rem!important;
    max-width: 184px;
  }
  .__m2 {
    font-size: 2rem!important;
  }
  #popup .content ._cta a {
    width: 144px;
    height: 32px;
    font-size: 1rem!important;
  }
  ._link {
    font-size: .8rem;
  }
}