body {
  background-color: black;
}

@font-face {
  font-family: "Gilroy";
  src: url("/static/fonts/Gilroy-Light.ttf");
  font-weight: 300;
}

@font-face {
  font-family: "Gilroy";
  src: url("/static/fonts/Gilroy-Regular.ttf");
  font-weight: 400;
}

@font-face {
  font-family: "Gilroy";
  src: url("/static/fonts/Gilroy-Medium.ttf");
  font-weight: 500;
}
@font-face {
  font-family: "Kreadon";
  src: url("/static/fonts/Kreadon-L.otf");
  font-weight: 300;
}

@font-face {
  font-family: "Kreadon";
  src: url("/static/fonts/Kreadon-R.otf");
  font-weight: 400;
}

@font-face {
  font-family: "Kreadon";
  src: url("/static/fonts/Kreadon-M.otf");
  font-weight: 500;
}
@font-face {
  font-family: "Kreadon";
  src: url("/static/fonts/Kreadon-B.otf");
  font-weight: 700;
}
.right {
  text-align: right;
}
.alicenter {
  align-items: center;
}
.top {
  padding-left: 100px;
}

@media (min-width: 1400px) {
  .container {
    max-width: 1246px;
  }
}

@media (max-width: 768px) {
  .nav {
    display: none;
  }
  .menu-toggle {
    display: block;
    cursor: pointer;
  }
}
.header {
  margin: 22px auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 77px;
}
.nav {
  display: flex;
  gap: 30px;
}
.nav a {
  color: white;
  text-decoration: none;
  font-family: Gilroy;
  font-weight: 500;
  font-size: 16px;
  line-height: 18.83px;
  letter-spacing: 0%;
}
.buttons {
  display: flex;
  gap: 15px;
}
.btn {
  padding: 16px;
  border: 1px solid white;
  border-radius: 30px;
  background: none;
  color: white;
  cursor: pointer;
  font-family: Gilroy;
  font-weight: 500;
  font-size: 16px;
  line-height: 18.83px;
  letter-spacing: 0%;
}
.btn.primary {
  background: white;
  color: black;
}
.regoplata {
  display: flex;
  align-items: center;
  gap: 8px;
}
.regoplata h2 {
  font-family: Gilroy;
  font-weight: 400;
  font-size: 11px;
  line-height: 100%;
  letter-spacing: 0%;
  vertical-align: middle;

  color: white;
}
.reg,
.oplata {
  border: 1px solid #ffffff;
  border-radius: 30px;
  padding: 8px 12px;
}
.main {
  margin-top: 3%;
}
@media (max-width: 1200px) {
  .main {
    margin-top: 8%;
  }
}
.firstcontainer {
  margin-bottom: 3%;
}
.nizhyaya-button {
  display: flex;
  align-items: center;
  justify-content: end;
  gap: 32px;
  margin-top: 64px;
  margin-bottom: 7%;
}
.nizhyaya-button h4 {
  font-family: Gilroy;
  font-weight: 500;
  font-size: 20px;
  line-height: 100%;
  letter-spacing: 0%;
  vertical-align: middle;
  color: white;
  margin-bottom: 8px;
}
.nizhyaya-button h5 {
  font-family: Gilroy;
  font-weight: 700;
  font-size: 30px;
  line-height: 100%;
  letter-spacing: 0%;
  vertical-align: middle;
  color: #fe82db;
}
.nizhyaya-button button {
  background: #ffffff;
  border-radius: 30px;
  padding: 16px 32px;
  font-family: Gilroy;
  font-weight: 600;
  font-size: 20px;
  line-height: 100%;
  letter-spacing: 0%;
  vertical-align: middle;
  color: #000000;
  cursor: pointer;
}
.form {
  display: block;
}

.hidden {
  display: none;
}
.big-forma .row {
  row-gap: 15px;
}
.secondh2 {
  margin-bottom: 40px !important;
}
.second-text-area {
  margin-top: 40px !important;
}
.topform {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.rotated {
  transform: rotate(180deg);
  transition: transform 0.3s ease-in-out; /* Плавный поворот */
}
.add-form-btn {
  border: 2px dashed #f8ccf480;
  width: 100%;
  border-radius: 20px;
  padding: 21px 40px;
  background-color: transparent;
  touch-action: manipulation;
}
.sale h3 {
  font-family: Gilroy;
  font-weight: 400;
  font-size: 20px;
  line-height: 100%;
  letter-spacing: 0%;
  vertical-align: middle;
  color: #ffffff;
}
.sale h4 {
  font-family: Gilroy;
  font-weight: 700;
  font-size: 25px;
  line-height: 100%;
  letter-spacing: 0%;
  vertical-align: middle;
  color: #ffffff;
}
.sale p {
  font-family: Gilroy;
  font-weight: 500;
  font-size: 12px;
  line-height: 100%;
  letter-spacing: 0%;
  vertical-align: middle;
  color: #adadad;
}
.sale {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.itogo h3 {
  font-family: Gilroy;
  font-weight: 500;
  font-size: 20px;
  line-height: 100%;
  letter-spacing: 0%;
  vertical-align: middle;
  color: white;
}
.prices {
  display: flex;
  gap: 16px;
}
.prices h4 {
  font-family: Gilroy;
  font-weight: 400;
  font-size: 20px;
  line-height: 100%;
  letter-spacing: 0%;
  vertical-align: middle;
  text-decoration: line-through;
  color: #adadad;
  margin-top: 9px;
}
.prices p {
  font-family: Gilroy;
  font-weight: 700;
  font-size: 30px;
  color: #fe82db;
  line-height: 100%;
  letter-spacing: 0%;
  vertical-align: middle;
}
.oplata-button {
  font-family: Gilroy;
  font-weight: 600;
  font-size: 20px;
  line-height: 100%;
  letter-spacing: 0%;
  vertical-align: middle;
  color: #0e0e10;
  background: #ffffff;
  padding: 16px 32px;
  border-radius: 30px;
}
.forjustify {
  display: flex;
  justify-content: center;
}
@media (max-width: 768px) {
  .forjustify {
    justify-content: start;
    margin-top: 30px;
    margin-bottom: 30px;
  }
}
.nizh-after-form {
  margin-top: 64px;
  margin-bottom: 8%;
}
.rotated-180 {
  transform: rotate(180deg);
  transition: transform 0.3s ease;
}
.file-upload {
  position: relative;
  text-align: center;
}

.file-preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 5px;
  background-color: #f9f9f9;
}

.file-preview.hidden {
  display: none;
}

.file-icon {
  width: 50px;
  height: 50px;
  margin-bottom: 10px;
}

.file-name {
  font-size: 14px;
  color: #333;
}

.remove-file-btn {
  position: absolute;
  top: 5px;
  right: 5px;
  background-color: white;
  border: 1px solid #ccc;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  color: #333;
}

.remove-file-btn:hover {
  background-color: #f0f0f0;
}
@media (max-width: 576px) {
  .input-margin-top {
    margin-top: 0 !important;
  }
  .forradio {
    flex-direction: column;
  }
  .nomin p {
    font-size: 15px !important;
  }
  .nomin {
    align-items: center;
  }
}
@media (max-width: 410px) {
  .nomin p {
    font-size: 13px !important;
  }
}
.tooltip-custom {
  display: none;
  position: absolute;
  top: -100px; /* Расположение над иконкой */
  left: 50%;
  transform: translateX(-50%);
  background: #ffffff;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 8px 16px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  z-index: 10;
  font-family: Gilroy, sans-serif;
  font-size: 14px;
  line-height: 1.4;
  color: #333;
  white-space: nowrap; /* Предотвращает перенос текста */
}

.tooltip-custom::before {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid #ffffff;
}

.tooltip-custom.show-tooltip {
  display: block;
}
@media (max-width: 767px) {
  .tooltip-custom::before {
    display: none;
  }
  .tooltip-custom {
    word-wrap: break-word;
    white-space: normal;
    width: 300px;
    left: -90px;
    top: -138px;
  }
}
@media (max-width: 575px) {
  .tooltip-custom {
    width: 200px;
    top: -108px;
    left: -97px;
  }
}
.forcheckbox{
  display: flex;
  align-items: center;
  gap: 8px;
}
.forcheckbox p{
  font-family: Gilroy;
  font-weight: 500;
  font-size: 14px;
  color: #ffffff;
  letter-spacing: 0%;
  vertical-align: middle;
}
.forcheckbox p a{
  font-family: Gilroy;
  font-weight: 500;
  font-size: 14px;
  color: #fe82db;
  letter-spacing: 0%;
  vertical-align: middle;
}
@media(max-width:992px){
  .custom-checkbox{
    transform: scale(2);
    margin-right: 10px;
  }
  .forcheckbox1{
    margin-bottom: 20px;
  }
}
