* {
  box-sizing: border-box;
}

@font-face {
  font-family: "Golos Text";
  src: url("../fonts/GolosTextRegular.woff2");
  font-display: swap;
  font-weight: 400;
}

@font-face {
  font-family: "Golos Text";
  src: url("../fonts/GolosTextBold.woff2");
  font-display: swap;
  font-weight: 700;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/CormorantGaramondBold.woff2");
  font-display: swap;
  font-weight: 700;
}

body {
  margin: 0;
  padding: 80px 20px;
  background: #1f1425;
  font-family: "Golos Text", sans-serif;
}

.no-scroll {
  overflow: hidden;
}

.content {
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 32px;
  padding: 56px;
  max-width: 780px;
  backdrop-filter: blur(36px);
  background: rgba(255, 255, 255, 0.03);
}

.content__title {
  margin: 0;
  margin-bottom: 16px;
  font-family: "Cormorant Garamond", sans-serif;
  font-weight: 700;
  font-size: 64px;
  line-height: 120%;
  color: #f7efe7;
}

.content__descr {
  margin: 0;
  margin-bottom: 32px;
  max-width: 420px;
  font-weight: 400;
  font-size: 16px;
  line-height: 140%;
  color: #d6cbc3;
}

.content__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 100px;
  padding: 16px 32px;
  font-family: inherit;
  font-weight: 400;
  font-size: 16px;
  line-height: 120%;
  color: #d6cbc3;
  backdrop-filter: blur(20px);
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  transition: background 0.3s;
}

.content__btn:hover {
  background: rgba(255, 255, 255, 0.35);
}

.modal-wrapper {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  padding: 40px 0;
  cursor: pointer;
  overflow-y: auto;
  overflow-x: hidden;
  opacity: 0;
  visibility: hidden;
}

.modal-wrapper--open {
  opacity: 1;
  visibility: visible;
}

.modal {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: calc(100% - 20px);
  max-width: 542px;
  margin: auto;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 32px;
  padding: 32px;
  backdrop-filter: blur(32px);
  box-shadow: 0 30px 90px 0 rgba(0, 0, 0, 0.35);
  background: rgba(255, 245, 236, 0.14);
  cursor: default;
}

.modal__close {
  position: absolute;
  right: 20px;
  top: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 100px;
  width: 36px;
  height: 36px;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
}

.modal__close svg {
  display: block;
  width: 20px;
  height: 20px;
  stroke: currentColor;
}

.modal__close:hover {
  color: #2b1f18;
  background: #f3d2b2;
}

.modal__top {
  font-weight: 400;
  font-size: 12px;
  line-height: 120%;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #f3d2b2;
}

.modal__title {
  margin: 0;
  font-family: "Cormorant Garamond", sans-serif;
  font-weight: 700;
  font-size: 44px;
  line-height: 120%;
  color: #fff8f2;
}

.modal__descr {
  margin: 0;
  font-weight: 400;
  font-size: 16px;
  line-height: 140%;
  color: rgba(242, 231, 223, 0.8);
}

.modal__card {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.08);
}

.modal__text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.modal__subtitle {
  margin: 0;
  font-weight: 700;
  font-size: 16px;
  line-height: 120%;
  color: #fff8f2;
}

.modal__time {
  font-weight: 400;
  font-size: 12px;
  line-height: 120%;
  color: rgba(255, 255, 255, 0.75);
}

.modal__guests {
  font-weight: 700;
  font-size: 16px;
  line-height: 120%;
  color: #fff8f2;
}

.modal__btns {
  display: flex;
  gap: 12px;
}

.modal__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  flex: 1;
  border-radius: 16px;
  padding: 16px;
  font-family: inherit;
  font-weight: 700;
  font-size: 16px;
  line-height: 120%;
  color: #fff;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.12);
  transition: background 0.3s, color 0.3s;
}

.modal__btn:hover {
  color: #2b1f18;
  background: #f3d2b2;
}

.modal__btn--approve {
  color: #2b1f18;
  background: #f3d2b2;
}

.modal__btn--approve:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}
