:root {
  --bg-dark: hsl(239 61% 3%);
  --bg: hsl(236 41% 6%);
  --bg-light: hsl(235 26% 10%);
  --text: hsl(234 100% 100%);
  --text-muted: hsl(234 30% 74%);
  --highlight: hsl(235 16% 43%);
  --border: hsl(235 20% 32%);
  --border-muted: hsl(236 27% 22%);
  --primary: hsl(235 71% 79%);
  --primary-hover: hsla(235 71% 79% 80%);
  --secondary: hsl(51 42% 57%);
  --danger: hsl(9 26% 64%);
  --warning: hsl(52 19% 57%);
  --success: hsl(146 17% 59%);
  --info: hsl(217 28% 65%);
  --text-dark: hsl(242 62% 8%);
  --border-width: 2px;
  --modal-w: min(90vw, 1500px);
}

.hidden {
  display: none;
}

html,
body {
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
  cursor: default;
}

body {
  background-color: var(--bg-dark);
  color: var(--text);
  font-family: 'manrope', sans-serif;
  text-align: center;
  margin: 0;
}

#intro {
  position: fixed;
  inset: 0;
  overflow: hidden;
  z-index: 10;
  animation: introHide 0.01s forwards;
  animation-delay: 2.2s;
}

@keyframes introHide {
  to {
    display: none;
    z-index: -300;
  }
}

.stripes {
  position: absolute;
  inset: 0;
  display: flex;
  pointer-events: none;
  z-index: 11;
}

.stripe {
  flex: 1;
  background: var(--bg);
  transform: translateY(0);
  animation: stripeUp 0.8s ease forwards;
}

@keyframes stripeUp {
  to {
    transform: translateY(-100%);
  }
}

.stripe:nth-child(1),
.stripe:nth-child(11) {
  animation-delay: 1s;
}

.stripe:nth-child(2),
.stripe:nth-child(10) {
  animation-delay: 1.05s;
}

.stripe:nth-child(3),
.stripe:nth-child(9) {
  animation-delay: 1.1s;
}

.stripe:nth-child(4),
.stripe:nth-child(8) {
  animation-delay: 1.15s;
}

.stripe:nth-child(5),
.stripe:nth-child(7) {
  animation-delay: 1.2s;
}

.stripe:nth-child(6) {
  animation-delay: 1.24s;
}

.logo-container {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 700px;
  height: 400px;
  transform: translate(-50%, -50%) scale(0.8);
  opacity: 0;
  z-index: 12;
  animation: logoFadeIn 0.7s ease forwards, logoFadeOut 0.4s ease forwards 1s;
}

.logo {
  width: 100%;
  height: 100%;
}

.glint {
  position: absolute;
  top: 100px;
  left: 20%;
  width: 100px;
  height: 50%;
  background: linear-gradient(
    75deg,
    transparent 0%,
    rgba(255, 255, 255, 0.15) 45%,
    transparent 100%
  );

  transform: skewX(-45deg);
  animation: glintMove 1s forwards;
  animation-delay: 0.1s;
  z-index: 13;
}

@keyframes logoFadeIn {
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes logoFadeOut {
  to {
    opacity: 0;
    display: none;
  }
}

@keyframes glintMove {
  to {
    left: 70%;
    opacity: 0;
  }
}

#content {
  position: relative;
  z-index: 0;
}

nav {
  height: 70px;
  background-color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 10;
}

.navbox {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.nav-left {
  margin-left: 40px;
  cursor: default;
}

.menu {
  font-size: 30px;
  display: none;
  background: transparent;
  color: var(--text);
  border: none;
  z-index: 3;
}

.navlogo {
  color: var(--primary);
  font-weight: 900;
  font-size: min(20vw, 2.75rem);
  text-decoration: none;
}

.nav-middle {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  gap: max(20px, 5vw);
}

.nav-middle a {
  position: relative;
  color: var(--text);
  text-decoration: none;
  font-size: 1.3rem;
  font-weight: 500;
}

.nav-middle a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 1.5px;
  background-color: var(--primary);
  transition: width 0.3s ease, left 0.3s ease;
}

.nav-middle a:hover::after {
  width: 100%;
  left: 0;
}

.nav-right {
  margin-right: 40px;
}

.hamburger {
  position: fixed;
  display: flex;
  flex-direction: column;
  background-color: hsl(236 41% 6% / 0.98);
  z-index: 9;
  top: -52rem;
  width: 100%;
  transition: top 0.4s ease;
}

.hamburger.open {
  top: 70px;
}

.hamburger a {
  color: var(--text);
  text-decoration: none;
  font-size: 1.3rem;
  font-weight: 500;
  padding: 1rem 0rem;
  border-bottom: 1px solid var(--border);
}

.scroll-progress {
  position: fixed;
  top: 69px;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--primary);
  z-index: 1999;
  transition: width 0.1s ease-out;
}

.land {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
}

.navpush {
  height: 70px;
  width: 100%;
}

.background-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 50vh;
  object-fit: cover;
  opacity: 0.15;
  z-index: -1;
}

.header {
  margin-top: 90px;
  font-size: clamp(2.5rem, 10vw, 3.5rem);
  font-weight: 800;
  padding: 0 max(5vw, 20px);
  cursor: default;
}

.subtext {
  font-size: clamp(1.2rem, 3.5vw, 1.5rem);
  padding: 0 max(5vw, 50px);
  margin-top: max(-20vw, -0px);
  min-width: 50%;
  color: var(--text-muted);
  cursor: default;
  text-align: center;
}

.bottom-content {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.boxes {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: max(30px, 6vw);
  margin-bottom: 100px;
  align-items: center;
}

.box {
  display: flex;
  width: clamp(100px, 20vw, 400px);
  height: 320px;
  background: linear-gradient(to bottom, var(--bg-light), var(--bg));
  border: solid 1px var(--border);
  border-radius: 20px;
  justify-content: space-around;
  align-items: center;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.5s ease;
}

.boxside {
  font-size: 1.9rem;
}

.boxtext {
  padding: 0 max(20px, 2vw);
}

.boxtext.boxp {
  width: 91%;
}

.boxp {
  font-size: 1.2rem;
}

.boxtip {
  color: var(--text-muted);
}

.box:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(255, 255, 255, 0.1);
}

.boxes .box:nth-child(2) {
  width: clamp(125px, 30vw, 500px);
  height: 380px;
  border: solid var(--border-width) var(--border);
}

.buttonbox {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: max(20px, 5%);
  justify-content: center;
  margin-top: auto;
  margin-bottom: clamp(60px, 10vh, 15vh);
}

.cta {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  padding: 10px 20px;
  border-radius: 10px;
}

.cta1 {
  border: solid 3px var(--secondary);
  background-color: var(--secondary);
  transition: background-color 0.3s ease;
}

.cta1:hover {
  background-color: hsl(51 42% 57% / 0.67);
}

.cta2 {
  border: solid 3px var(--primary);
  background-color: var(--primary);
  transition: background-color 0.3s ease;
}

.cta2:hover {
  background-color: hsl(235 71% 79% / 0.67);
}

hr {
  border: none;
  height: 2px;
  background-color: hsl(0 0% 100% / 0.2);
  width: 80%;
  margin: 20px auto;
  border-radius: 2px;
}

#meist {
  scroll-margin-top: 70px;
}

.meist {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-top: dashed var(--border-muted) 0.1px;
  background: linear-gradient(
    to bottom,
    var(--bg-light),
    var(--bg),
    var(--bg-dark)
  );
  padding-bottom: 50px;
}

.meisth {
  font-size: 4rem;
  margin-top: 0px;
  padding-top: 20px;
  margin-bottom: 20px;
}

.meisttop {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  max-width: max(300px, 80vw);
  min-width: 250px;
}

.meistsubtext {
  font-size: clamp(1.1rem, 3.5vw, 1.2rem);
  padding: 0 max(5vw, 30px);
  margin-top: max(-20vw, -0px);
  min-width: 50%;

  cursor: default;
  text-align: center;

  font-weight: 400;
  line-height: 1.6;
  color: #bfc3da;
}

.vanus {
  font-size: clamp(0.9rem, 3vw, 1.1rem);
  opacity: 0.7;
}

.team {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 90vw;
  justify-content: center;
  gap: 5%;
  align-items: center;
  margin: 0 auto;
}

.member {
  width: max(300px, 20%);
  min-height: 500px;
  border-radius: 14px;
  background: var(--bg);
  margin-top: 50px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: 1 10px 20px rgba(0, 0, 0, 0.55),
    inset 0 0 0 rgba(255, 255, 255, 0.03);
  transition: transform 0.22s cubic-bezier(0.2, 0.9, 0.3, 1), box-shadow 0.22s;
}

.member:hover {
  transform: translateY(-8px);
  box-shadow: 2px 16px 40px var(--bg-light), 0 2px 0 rgba(26, 54, 212, 0.062);
}

.memberimg {
  border-radius: 50%;
  border: solid var(--border-muted);
  height: 250px;
  width: 250px;
  margin-top: 30px;
  object-fit: cover;
  transition: transform 0.3s ease, box-shadow 0.5s ease;
}

.memberimg:hover {
  transform: scale(1.03);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.membername {
  font-size: 1.8rem;
  font-weight: 900;
}

.memberdesc {
  color: var(--primary);
  margin: 0;
  margin-top: 15px;
  margin-bottom: 5px;
  font-size: 1.2rem;
}

.membermail {
  color: var(--text-muted);
}

#teenused {
  scroll-margin-top: 110px;
}

.teenused {
  padding: 40px 20px;
  text-align: center;
  background-color: var(--bg);
  border: dashed var(--border-muted) 0.1px;
  border-right: none;
  border-left: none;
}

.teenusheader {
  font-size: 44px;
  font-weight: 800;
  margin-top: 0;
}

.teenussubtext {
  max-width: 900px;
  margin: 0 auto 40px;
  font-weight: 400;
  color: #bfc3da;
}

.teenussuurkast {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 50px;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 50px;
}

.teenuskast {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  padding: 25px;
  text-align: left;
  width: 550px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.55),
    inset 0 0 0 rgba(255, 255, 255, 0.03);
  transition: transform 0.22s cubic-bezier(0.2, 0.9, 0.3, 1), box-shadow 0.22s;
}

.teenuskast:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.65), 0 2px 0 rgba(243, 236, 35, 0.04);
}

.teenuskast h4 {
  margin-top: 0px;
  font-size: 18px;
  color: var(--primary);
}

.teenuskast ul {
  padding-left: 18px;
}

.teenuskast li {
  margin-bottom: 8px;
  color: #c9cbe0;
  line-height: 1.45;
}

#tood {
  scroll-margin-top: 90px;
}

.tood {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding-bottom: 50px;
}

.toodgrid {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 90vw;
  gap: 5%;
  row-gap: 5vh;
}

.toodkast {
  background: var(--bg);
  border-radius: 20px;
  padding: 1rem;
  height: 400px;
  width: 320px;
  box-sizing: border-box;
  text-align: left;
  margin-bottom: 1rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  --t1: 20%;
  --t2: 50%;
  position: relative;
  border: var(--border-width) solid var(--bg-light);
  box-shadow: 1 10px 20px rgba(0, 0, 0, 0.55),
    inset 0 0 0 rgba(255, 255, 255, 0.03);
  transition: transform 0.22s cubic-bezier(0.2, 0.9, 0.3, 1), box-shadow 0.22s;
}

.toodkast:hover {
  transform: translateY(-8px);
  box-shadow: 2px 16px 40px var(--bg-light), 0 2px 0 rgba(26, 54, 212, 0.062);
  --t1: 23%;
  --t2: 53%;
}

.cardButtons {
  position: absolute;
  bottom: 0px;
  right: 0px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  z-index: 60;
  pointer-events: auto;
}

.cardButtons .openExternal {
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 15000;
  width: 40px;
  height: 40px;
  cursor: pointer;
  text-decoration: none;
}

.cardButtons .openExternal:hover,
.cardButtons .enlargeImage:hover {
  transform: scale(1.06);
}

.cardButtons .enlargeImage {
  width: 20px;
  height: 20px;
  cursor: pointer;
}

.cardButtons .openExternal img {
  width: 20px;
  height: 20px;
  display: block;
}

.cardButtons a {
  display: inline-block;
  width: 22px;
  height: 22px;
}

.toodimg {
  aspect-ratio: 4 / 3;
  border: var(--border) solid;
  width: 270px;
  margin-top: 15px;
  border-radius: 10px;
}

.toodkasttext {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: space-between;
}

.toodkast::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent var(--t1),
    var(--bg) var(--t2)
  );
  transition: all 0.3s ease;
}

.toodkast:hover::after {
  background: linear-gradient(to bottom, transparent 25%, var(--bg-light) 55%);
}

.kast-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.4s ease;
  z-index: 0;
}

.card-content {
  position: relative;
  z-index: 2;
  padding: 0rem 0;
  font-size: clamp(0.8rem, 1.1vw, 1.2rem);
  color: var(--text-muted);
  margin: 0rem 0;
}

.cardButtonsPos {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.card-content h4 {
  color: var(--text);
}

.iframe-modal {
  display: none;
  position: fixed;
  inset: 0;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  backdrop-filter: blur(9px);
  background: rgba(0, 0, 0, 0.65);
}

.modal-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: var(--modal-w);
  max-width: 100%;
}

.iframe-modal.active {
  display: flex;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.modal-btn.open {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}
.modal-btn.open img {
  width: 30px;
  height: 30px;
}

.iframe-content {
  position: relative;
  width: 100%;
  height: 80vh;
  margin: 0;
  border-radius: 15px;
  overflow: hidden;
  animation: zoomIn 0.3s ease;
  border: 2px solid var(--primary-hover);
  background: #111;
  z-index: 2010;
}

@keyframes zoomIn {
  from {
    transform: scale(0.9);
  }
  to {
    transform: scale(1);
  }
}

.iframe-content iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.close_open {
  position: absolute;
  top: 50%;
  left: calc(100% + 2%);
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  z-index: 2100;
  pointer-events: auto;
}

.modal-btn,
.close_open .close,
.close_open .open {
  width: 44px;
  height: 44px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-size: 1.6rem;
  color: var(--text);
  background-color: var(--bg-light);
  border: var(--border-width) solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  padding: 0;
  margin: 0;
  transition: background-color 0.18s ease, transform 0.12s ease;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.45);
}

.modal-btn:hover,
.close_open .close:hover,
.close_open .open:hover,
.modal-btn:focus {
  background-color: var(--primary);
  transform: translateY(-2px);
  outline: none;
}

.modal-btn:focus-visible {
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.06);
}

@media (max-width: 900px) {
  .close_open {
    left: calc(100% + 3.5%);
    gap: 10px;
  }
  .modal-btn {
    width: 40px;
    height: 40px;
    font-size: 1.4rem;
  }
}

@media (max-width: 600px) {
  .close_open {
    left: calc(100% + 5%);
    gap: 8px;
  }
  .modal-wrapper {
    width: var(--modal-w);
  }
  .modal-btn {
    width: 36px;
    height: 36px;
    font-size: 1.2rem;
  }
}

.submitFormParent {
  display: flex;
  flex-direction: column;
  padding: 50px;
  border-top: dashed var(--border-muted) 0.1px;
  background: linear-gradient(to bottom, var(--bg), var(--bg-dark));
}

.submitForm {
  display: flex;
  justify-content: center;
  align-self: center;
  border-radius: 14px;
  padding: 1rem;
  align-items: center;
  width: max(300px, 60vw);
  border: var(--border-width) solid var(--border);
  background: var(--bg);
}

.contactForm {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1rem 1rem;
  width: 100%;
  max-width: 90%;
  align-items: stretch;
}

.formField {
  position: relative;
  margin-bottom: 1rem;
}

.formField input,
.formField textarea {
  width: 100%;
  padding: 1rem 0.5rem;
  border: 1.5px solid var(--primary);
  border-radius: 15px;
  font-size: 1rem;
  color: var(--text);
  background-color: var(--bg);
  box-sizing: border-box;
}

.formField textarea#message {
  min-width: 100%;
  max-width: 395px;
  min-height: 100px;
}

.formField label {
  position: absolute;
  left: 0.5rem;
  top: 1rem;
  color: var(--text);
  background: transparent;
  padding: 0 0.25rem;
  cursor: text;
  transition: all 0.2s ease;
  transform-origin: left top;
  pointer-events: auto;
  border-radius: 5px;
}

.formField:focus-within label,
.formField.filled label {
  top: -0.6rem;
  left: 0.4rem;
  font-size: 0.8rem;
  color: var(--text);
  border: 1.5px solid var(--border);
  background-color: var(--bg-dark);
}

.formField input:focus,
.formField textarea:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

#formSubmit {
  padding: 0.8rem;
  border-radius: 10px;
  color: var(--text-dark);
  font-weight: 600;
  border: var(--border-width) solid var(--border);
  background-color: var(--primary);
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s ease;
}

#formSubmit:hover {
  background-color: hsl(235 71% 79% / 0.67);
}

#formStatus {
  min-height: 1.2rem;
  font-size: 0.95rem;
  color: var(--text);
}

footer {
  width: 100vw;
  display: flex;
  flex-direction: column;
  background-color: var(--bg);
  border: dashed var(--border-muted) 0.1px;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.logoall {
  color: var(--primary);
  font-weight: 900;
  font-size: min(20vw, 2.75rem);
  text-decoration: none;
}

.social {
  display: flex;
  flex-direction: row;
  gap: min(5vw, 30px);
}

.social i {
  font-size: 40px;
}

footer p {
  line-height: 30px;
}

.estonia-underline {
  position: relative;
  padding-bottom: 2px;
}

.estonia-underline::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3.5px;
  background: linear-gradient(
    to right,
    #0072ce 33.33%,
    #000 33.33%,
    #000 66.66%,
    #fff 66.66%
  );
  border-radius: 2px;
}

@media (max-width: 1600px) {
  .team {
    max-width: 1100px;
    gap: 10%;
  }

  .boxtext.boxp {
    margin-top: 0;
  }

  .subtext {
    min-width: 70%;
  }
}

@media (max-width: 1000px) {
  .nav-left .logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
  .nav-middle {
    display: none;
  }
  .box {
    display: none;
  }
  .boxes .box:nth-child(2) {
    display: flex;
    width: 550px;
  }
  .contact {
    position: absolute;
    right: 20px;
    width: 80px;
    padding: 5px 5px;
  }
  .menu {
    display: flex;
  }
  .teenussuurkast {
    padding: 25px;
  }
}

@media (max-width: 500px) {
  .buttonbox {
    width: 100%;
    left: 0;
    right: 0;
    margin-bottom: 30px;
    flex-direction: column-reverse;
    gap: 10px;
    align-items: center;
  }
  .cta {
    width: calc(100% - 90px);
  }
  .box {
    display: none;
  }
  .boxes .box:nth-child(2) {
    max-width: 80vw;
    height: auto;
  }
  .nav-right .contact {
    margin-right: none;
    right: 0;
  }
  .menu {
    position: absolute;
  }
  .contact {
    width: 80px;
    margin-right: 20px;
  }
  nav {
    display: flex;
    align-items: right;
    justify-content: space-between;
    position: fixed;
  }
  .teenussuurkast {
    padding: 10px;
  }
}

@media (max-width: 450px) {
  .teenussuurkast {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
  .teenuskast {
    padding: 15px;
    border-radius: 12px;
  }
  .teenusheader {
    font-size: 32px;
  }
}

@media (max-width: 420px) {
  :root {
    --modal-w: calc(95vw);
  }
  .close_open {
    left: calc(100% + 5%);
  }
  .modal-btn,
  .close_open .close,
  .close_open .open {
    font-size: 1rem;
    padding: 0.2rem 0.4rem;
    width: 36px;
    height: 36px;
  }
}

/*/////////////////////////////////////////////////////////////////////////////////////*/

body.no-scroll {
  overflow: hidden;
}
@media (max-width: 1450px) {
}

@media (max-width: 1000px) {
  .iframe-modal {
    display: none;
    z-index: -1100;
  }

  .iframe-modal.active {
    display: none;
  }

  .enlargeImage {
    display: none;
  }
}

@media (max-width: 1500px) {
  :root {
    --modal-w: min(92vw, 1100px);
  }
  .close_open {
    left: calc(100% + 1.5%);
  }
}

@media (max-width: 1450px) {
  :root {
    --modal-w: min(90vw, 1050px);
  }
  .close_open {
    left: calc(100% + 1%);
    gap: 10px;
  }
}

@media (max-width: 1200px) {
  :root {
    --modal-w: min(88vw, 1000px);
  }
  .close_open {
    left: calc(100% + 1%);
  }
}

@media (max-width: 1100px) {
  :root {
    --modal-w: min(84vw, 900px);
  }

  .modal-wrapper {
    align-items: center;
  }

  .iframe-content {
    padding-top: 0.25rem;
  }
}
