
/* Styles for popup send email */
.popup {
  visibility: hidden; /* Hidden by default */
  position: fixed; /* Stay in place */
  left: 0;
  top: 0;
  width: 100vw; /* Full width */
  height: 100vh; /* Full height */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.9);
  opacity:0;
  transition:visibility 0.3s linear,opacity 0.3s linear;
}

.popup .popup-content{
  margin: auto;
  transform: scale(0.6);
  transition: all 0.5s ease-in-out;
}

.popupActive {
  visibility: visible; /* Hidden by default */
  opacity:1;
}

.popupActive .popup-content{
  transform: scale(1);
}


/* Styles for burger menu and mobile header */
.top-nav {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
  padding: 24px;
  transition: all 0.2s;
  background-color: #18191C;
}

.menu > li, .menu > button{
  margin: 0 1rem;
  overflow: hidden;
}

.menu-button-container {
  display: none;
  padding: 25px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#menu-toggle {
  display: none;
}

.menu-button,
.menu-button::before,
.menu-button::after {
  display: block;
  background-color: #fff;
  position: absolute;
  height: 3px;
  width: 24px;
  transition: transform 400ms cubic-bezier(0.23, 1, 0.32, 1);
  border-radius: 2px;
}

.menu-button::before {
  content: '';
  margin-top: -8px;
}

.menu-button::after {
  content: '';
  margin-top: 8px;
}

#menu-toggle:checked + .menu-button-container .menu-button::before {
  margin-top: 0px;
  transform: rotate(405deg);
}

#menu-toggle:checked + .menu-button-container .menu-button {
  background: rgba(255, 255, 255, 0);
}

#menu-toggle:checked + .menu-button-container .menu-button::after {
  margin-top: 0px;
  transform: rotate(-405deg);
}

@media (max-width: 768px) {
  .menu-button-container {
    display: flex;
  }
  .menu {
    visibility: hidden;
    position: absolute;
    top: 80px;
    left: 0;
    display: flex;
    flex-direction: column;
    width: 100%;
    justify-content: center;
    align-items: center;
    z-index: 1;
    background-color: transparent;

  }
  .burgerOpen .menu {
    visibility: visible;
    transition: 1s all;
  }
  #menu-toggle:checked ~ .menu li {
    color: white;
     transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1);
    background-color: transparent;
  }
  .menu > li {
    display: flex;
    justify-content: center;
    margin: 0 0 24px;
    width: 100%;
  }
}

.burgerOpen {
  background: rgb(24 25 28 / var(--tw-bg-opacity));
}

.floating-block-container {
  position: fixed;
  left: 50%;
  transform: translateX(-50%) translateZ(0);
  top: 0;
  width: 780px;
  height: 150px;
  z-index: 1001;
  transition: all 0.6s ease; 
}

.floating-block-mobile-container {
  width: 480px;
  max-width: 100%;
  position: fixed;
  left: 50%;
  transform: translateX(-50%) translateZ(0);
  top: 0;
  height: 150px;
  transition: all 0.3s ease; 
}

.floating-block {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--White-100, #FFF);
  filter: blur(125px);
  opacity: 0.24;
  transition: filter 0.5s ease, opacity 0.5s ease;
  transform: translateY(-50%); /* Смещение вверх на 50% от высоты блока */
}

.floating-block-mobile {
  border-radius: 480px;
  filter: blur(75px);
  max-width: 100%;
  width: 100%;
  height: 100%;
  background: var(--White-100, #FFF);
  opacity: 0.24;
  transition: filter 0.5s ease, opacity 0.5s ease;
  transform: translateY(-50%); /* Смещение вверх на 50% от высоты блока */
}

.dotes-bg, .dotes-bg-mobile {
  position: absolute;
  top: 0;
  left: 130%;
  width: 1200px;
  height: 273.458px;
  transform: translateX(-50%);
  opacity: 1;
  transition: filter 0.5s ease, opacity 0.5s ease;
  @media (max-width: 1024px) {
    left: 120%;
  }
  @media (max-width: 768px) {
    left: 100%;
  }
}

.dotes-bg-mobile {
  width: 768px;
}

.floating-block-container.scrolled .floating-block {
  filter: blur(0);
  opacity: 0;
}

.floating-block-mobile-container.scrolled .floating-block-mobile {
  filter: blur(0);
  opacity: 0;
}
.floating-block-container.scrolled .dotes-bg img, .floating-block-container.scrolled .dotes-bg, .floating-block-mobile-container.scrolled .dotes-bg-mobile img, .floating-block-mobile-container.scrolled .dotes-bg-mobile {
  opacity: 0;
  height: 0!important;
}

.floating-block-mobile-container.scrolled .dotes-bg-mobile {
  opacity: 0;
}

.floating-block-container.scrolled, .floating-block-mobile-container.scrolled {
  height: 0;
}

.focused {
  border-color: rgba(255, 255, 255, 0.32);
}

.rotate-180 {
  transform: rotate(180deg);
}