/*!***********************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[4].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[4].use[2]!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[4].use[3]!./src/blocks/modal-button/style.scss ***!
  \***********************************************************************************************************************************************************************************************************************************************************/
.pmg-modal-btn > button {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  position: relative;
  border-radius: 3em;
  border: 2px solid transparent;
  padding: calc(1em - 1.7px) 2em;
  text-align: center;
  box-sizing: border-box;
  font-size: 12px;
  text-transform: uppercase;
  transition: all 0.25s cubic-bezier(0.66, 0.26, 0.63, 0.86);
  cursor: pointer;
  text-decoration: none;
  letter-spacing: 2px;
  line-height: 100%;
  background-color: #FAF8F3;
  color: #415465;
  font-weight: 700;
  max-width: 280px;
  margin: 0 auto;
  white-space: nowrap;
}
.pmg-modal-btn > button:before {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 3em;
  border: 2px solid #415465;
  transition: all 0.25s cubic-bezier(0.66, 0.26, 0.63, 0.86);
  box-sizing: border-box;
}
.pmg-modal-btn > button span {
  font-weight: inherit;
  font-size: inherit;
  flex-grow: 1;
}
.pmg-modal-btn > button:hover:before {
  border-width: 5px;
}
.pmg-modal-btn > button img {
  margin-right: 0.5rem;
}
.pmg-modal-btn .modal {
  display: none;
  position: fixed;
  height: 100vh;
  width: 100vw;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: all 0.25s cubic-bezier(0.66, 0.26, 0.63, 0.86);
  top: 0;
  left: 0;
  z-index: 10;
  background-color: rgba(0, 0, 0, 0.6);
  transition: opacity 0.25s cubic-bezier(0.66, 0.26, 0.63, 0.86);
  cursor: initial;
}
.pmg-modal-btn .modal.active {
  display: flex;
  opacity: 1;
}
.pmg-modal-btn .modal > .modal-content {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  position: relative;
  background: #FAF8F3;
  border: 2px solid #B24119;
  border-radius: var(--pmg--border-radius-desktop);
  width: 100%;
  max-width: 980px;
  padding: 24px;
  cursor: initial;
}
.pmg-modal-btn .modal > .modal-content .close {
  position: absolute;
  top: 0;
  right: 0;
  transform: translate(50%, -50%);
  cursor: pointer;
  pointer-events: all !important;
}
.pmg-modal-btn .modal > .modal-content img-wrapper {
  display: flex;
  position: relative;
  height: 100%;
  flex-direction: row;
  justify-content: flex-end;
  flex-shrink: 0;
  overflow: visible;
  width: 100%;
  max-width: min(380px, (90vh - 150px - 1rem - 48px) / 1.12);
  margin-right: 1rem;
}
.pmg-modal-btn .modal > .modal-content img-wrapper picture,
.pmg-modal-btn .modal > .modal-content img-wrapper .video-wrapper {
  display: block;
  height: 100%;
  width: 100%;
  position: relative;
  overflow: hidden;
  border-radius: var(--pmg--border-radius-desktop);
}
.pmg-modal-btn .modal > .modal-content img-wrapper img,
.pmg-modal-btn .modal > .modal-content img-wrapper video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
}
.pmg-modal-btn .modal > .modal-content img-wrapper video {
  -o-object-fit: fill;
     object-fit: fill;
}

@media only screen and (max-width: 1180px) {
  .pmg-modal-btn .modal > .modal-content {
    margin: 0 1rem 1rem;
    max-height: calc(90vh - 150px - 1rem);
  }
  .pmg-modal-btn .modal > .modal-content img-wrapper {
    display: none;
  }
  .pmg-modal-btn .modal > .modal-content > .content {
    overflow-y: auto;
    pointer-events: all;
  }
}
@media only screen and (max-height: 810px) {
  .pmg-modal-btn .modal > .modal-content {
    margin: 0 1rem 1rem;
    max-height: calc(90vh - 150px - 1rem);
  }
  .pmg-modal-btn .modal > .modal-content > .content {
    overflow-y: auto;
    pointer-events: all;
    max-height: calc(90vh - 150px - 4rem);
  }
}
@media only screen and (max-width: 1024px) {
  .pmg-modal-btn .modal > .modal-content .close {
    transform: translate(25%, -50%);
  }
}
@media only screen and (max-width: 768px) {
  .pmg-modal-btn button {
    max-width: none;
    width: 100%;
  }
  .pmg-modal-btn .modal > .modal-content {
    flex-direction: column;
  }
  .pmg-modal-btn .modal > .modal-content img-wrapper {
    margin-bottom: 1rem;
  }
}
@media only screen and (max-width: 576px) {
  .flex-buttons .pmg-modal-btn {
    align-self: stretch;
  }
  .flex-buttons .pmg-modal-btn button {
    width: 100%;
    justify-content: flex-start;
  }
  .flex-buttons .pmg-modal-btn button span {
    justify-self: center;
  }
}

/*# sourceMappingURL=style-index.css.map*/