/* ------------------------------------------------------------ *\
    Popup
\* ------------------------------------------------------------ */

.overflow-hidden {
  overflow: hidden;
}

.mwp-popup {
  position: fixed;
  top: 0;
  left: 0;
  overflow-y: auto;
  z-index: 100000;
  width: 100%;
  height: 100%;
  background: rgb(0 0 0 / 70%) url(../images/circles.png) center -35vw no-repeat;
  background-size: 150% auto;
}

.admin-bar .mwp-popup {
  top: 32px;
  height: calc(100% - 32px);
}

.mwp-popup .mwp-popup__inner {
  height: 100%;
  backdrop-filter: blur(5px);
}

.mwp-popup .mwp-popup__icon {
  margin-bottom: 40px;
  max-width: 190px;
  max-height: 220px;
}

.mwp-popup .mwp-popup__content:has(.mwp-popup__copyright) .mwp-popup__icon {
  margin-top: auto;
}

.mwp-popup .mwp-popup__icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mwp-popup .mwp-popup__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  max-width: 1000px;
  min-height: 100%;
  margin: 0 auto;
  font-family: "Lato", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 400;
  color: #fff;
  text-align: center;
}

.mwp-popup .mwp-popup__content h2,
.mwp-popup .mwp-popup__content p,
.mwp-popup .mwp-popup__content a {
  font-family: "Open Sans", sans-serif;
  color: inherit;
}

.mwp-popup .mwp-popup__content a {
  text-decoration: none;
}

.mwp-popup .mwp-popup__header {
  max-width: 921px;
  margin: 0 auto;
}

.mwp-popup .mwp-popup__header h2 {
  margin: 0 0 32px;
  font-size: 56px;
  font-weight: 600;
  line-height: 1.3;
}

.mwp-popup .mwp-popup__header--wide {
  max-width: 100%;
}

.mwp-popup .mwp-popup__description {
  max-width: 1000px;
  margin: 0 auto;
  letter-spacing: 0.006em;
}

.mwp-popup .mwp-popup__description p {
  font-size: 18px;
  margin: 0;
  line-height: 1.6;
}

.mwp-popup .mwp-popup__description p:not(:last-child) {
  margin-bottom: 15px;
}

.mwp-popup .mwp-popup__actions {
  margin-top: 47px;
}

.mwp-popup .mwp-popup__actions a {
  display: block;
  height: 60px;
  padding: 21px 36px;
  border: 1px solid #fff;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: opacity 0.3s;
  opacity: 1;
}

.mwp-popup .mwp-popup__actions a:hover {
  opacity: 0.75;
}

.mwp-popup .mwp-popup__copyright {
  padding: 40px 0;
  margin-top: auto;
  font-size: 16px;
  line-height: 1.6;
  text-align: center;
}

.mwp-popup .mwp-popup__copyright p {
  margin-bottom: 0;
}

/* ------------------------------------------------------------ *\
    Responsive
\* ------------------------------------------------------------ */

@media screen and (max-width: 1023px) {
  .mwp-popup .mwp-popup__content {
    padding: 0 30px;
  }
}

@media screen and (max-width: 782px) {
  .admin-bar .mwp-popup {
    top: 46px;
    height: calc(100% - 46px);
  }
}

@media screen and (max-width: 767px) {
  .mwp-popup .mwp-popup__content {
    min-height: calc(100% - 40px);
    padding: 20px;
  }

  .mwp-popup .mwp-popup__header h2 {
    margin-bottom: 30px;
    font-size: 36px !important;
  }

  .mwp-popup .mwp-popup__header h2 br {
    display: none;
  }

  .mwp-popup .mwp-popup__actions {
    margin-top: 30px;
  }

  .mwp-popup .mwp-popup__actions a {
    font-size: 16px;
  }

  .mwp-popup .mwp-popup__copyright {
    padding-bottom: 10px;
  }
}

@media screen and (max-width: 600px) {
  .mwp-popup {
    background-size: 200% auto;
  }

  .admin-bar .mwp-popup {
    top: 0;
    height: 100%;
  }
}
