/* анимация */
#top .main_top_container,
.main_down .main-note {
  transition: transform 2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  /* transform-style: preserve-3d;
    perspective: 800px; */
}

#top .flip-out,
#down .flip-out {
  transform: rotateX(-87deg);
}

#top .flip-in,
#down .flip-in {
  transform: rotateX(0deg);
}

/*  */

@font-face {
  font-family: "Gadugi";
  src: local("Segoe UI"), local("Tahoma"), local("Verdana"), local("Arial");
  size-adjust: 96%;
  /* подберите: ширина fallback ≈ ширине Gadugi */
  ascent-override: 92%;
  descent-override: 21%;
  line-gap-override: 0%;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-family: "Gadugi", "Segoe UI", Tahoma, Verdana, sans-serif;
  max-width: 100vw;
  width: 100%;
  height: 100vh;
  max-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.tree {
  margin-bottom: -18px;
  width: auto;
  height: 230px;
}

textarea:focus-visible {
  outline: none;
}

input:focus {
  outline: none;
}

input:focus::placeholder {
  color: transparent;
}

.gradient-background {
  background:
    linear-gradient(
      180deg,
      #4992dc 0%,
      #529be2 12.5%,
      #7cbbe9 30%,
      #a4daf4 42.5%,
      #b2e2f7 50%
    ),
    linear-gradient(to top, #eafcf7 0%, #bcece0 100%);
  background:
    linear-gradient(180deg, #5fa4e4, #9ecbec),
    linear-gradient(to top, #eafcf7 0%, #bcece0 100%);

  background-size:
    100% 50%,
    100% 50%;
  background-position:
    top left,
    bottom left;
  background-repeat: no-repeat;
  margin: 0;
}

.with-bottom-image {
  background-image:
    linear-gradient(180deg, #5fa4e4, #9ecbec), url(/assets/img/h2.png),
    linear-gradient(to top, #eafcf7 0%, #bcece0 100%);

  background-size:
    100% 50%,
    100% 50%,
    100% 50%;

  background-position:
    top left,
    bottom left,
    bottom left;

  background-repeat: no-repeat;
}

img {
  max-width: 100%;
  width: 100%;
  height: auto;
  display: block;
}

.bg-img {
  position: absolute;
  width: 100%;
  bottom: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;

  z-index: 1;
}

.bg-img-row {
  flex-direction: row;
  justify-content: center;
}

a {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

main {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-self: center;

  /* объединение */
  position: absolute;
  width: 100%;
  height: 100%;
}

/* footer */
footer {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-self: center;
}

.f-container-mob {
  display: none;
}

.f-container {
  display: flex;
  z-index: 1;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin: 0 31px 0 31px;
}

.f-container-item1 {
  flex: 1;
}

.f-container-item2 {
  text-align: center;
  flex: 0 0 auto;
  line-height: 1.2;
  min-height: 1.2em;
  white-space: nowrap;
  overflow: hidden;
}

.f-container-item3 {
  flex: 1;
}

.f-menu-container {
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
}

.f-menu {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  bottom: 100%;
  right: 0;
  height: auto;
  /* width: 150px; */
  text-align: right;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.6s ease 0.65s,
    visibility 0.3s ease 0.65s;
}

.f-menu a {
  width: max-content;
}

/* .f-menu-container-h:hover .f-menu {

    opacity: 1;
    visibility: visible;
    transition-delay: 0.65s;
} */

.f-menu-container-h:hover .f-menu {
  opacity: 1;
  visibility: visible;
  transition-delay: 0.65s;
}

.f-menu a:hover {
  color: #7f8c8d;
}

.activ-link {
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

/* end footer */

header > div {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: end;
  /* margin: 31px 31px 0 31px; */
  margin: 16px 27px 0 21px;
}

/*Главная страница*/

.main_body {
  margin: 0;
  max-width: 100vw;
  width: 100%;
  max-height: unset;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  margin: 0;
  overflow-y: scroll;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.main_header {
  background-image: linear-gradient(180deg, #4992dc, #5ea4e4);
  height: 110px;
  position: absolute;
  width: 100%;
}

.main_header h1 {
  position: relative;
  z-index: 1;
}

.logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.logo {
  width: 262px;
  height: 51px;
}

/* сам Lottie-элемент */

.logo-link .logo,
dotlottie-wc.logo {
  display: block;
  height: 51px; /* фиксированная высота */
  width: auto; /* ширина из aspect-ratio */
  max-width: 100%; /* не вылезаем за контейнер */
  aspect-ratio: 262 / 51; /* резервируем место до загрузки */
  pointer-events: none; /* клик уходит на <a>, а не в анимацию */
}

.main_main {
  position: relative;
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  flex: 1 0 auto;
  align-self: center;
}

.main_top {
  height: 50vh;
  flex-shrink: 0;
  background-image: linear-gradient(180deg, #5ea4e4, #b2e2f7);
  margin-top: -1px;
  padding-top: 1px;
}

.main_top_container {
  z-index: 2;
}

.main_down {
  flex: 1;
  min-height: calc(50vh - 34px);
  background: linear-gradient(to top, #e2f9f3, #bcece0);
  display: flex;
  flex-direction: column;
}

.main_note {
  width: 700px;
  max-width: 90vw;
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  min-height: 300px;
}

.main_note-zone {
  box-sizing: border-box;
  height: auto;
  scrollbar-gutter: stable;
  min-height: 274px;
  font-size: 17px;
  border: 2px solid;
  border-color: rgb(255, 255, 255);
  background-color: rgb(227, 246, 242);
  /* background-size: 16px 16px; */
  background-origin: content-box;
  background-clip: padding-box;

  text-align: left;
  width: 100%;
  resize: vertical;
  overflow: auto;
  clip-path: polygon(
    0% 0%,
    100% 0%,
    100% calc(100% - 15px),
    calc(100% - 15px) 100%,
    0% 100%
  );
}

textarea::-webkit-scrollbar-corner {
  background: transparent;
}

.main_footer {
  display: flex;
  flex-direction: column;
  /* max-height: 34px; */
  height: 34px;
  width: 100%;
  background: linear-gradient(to top, #eafcf7, #e2f9f3);
  justify-content: end;
}

/*конец главной страницы*/

.mob-menu {
  display: none;
}

.menu {
  white-space: nowrap;
  display: flex;
  align-self: start;
  line-height: 1;
  gap: 20px;
  font-size: 18.22px;
  z-index: 1;
}

h1 {
  font-size: 21px;
  color: rgb(32, 70, 107);
  padding: 0;
  margin: 0;
  line-height: normal;
  text-align: center;
}

.up_container {
  height: 100%;
}

.drop-button-mob {
  display: none;
}

.browse {
  transform: translateY(-25%);
}

/* drop */
.browse_form {
  display: flex;
  flex-direction: column;
  gap: 26px;
  width: 700px;
}

.drop_zone {
  display: flex;
  /* gap: 13px; */
  justify-content: space-between;
  align-items: center;
  box-sizing: border-box;
  border-radius: 5px;
  background-color: rgb(255, 253, 255);
  height: 48px;
  padding: 0 12px;
  /* cursor: pointer; */
  cursor: default;
}

.drop_zone_placeholder {
  width: 80%;
}

.drop-hint {
  font-size: 25px;
  color: rgb(169, 172, 186);
  text-align: left;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: clip;
  transform: translateY(-2px);
}

.drop-button {
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  border-radius: 5px;
  background-color: rgb(81, 149, 210);
  border-width: 1px;
  border-style: solid;
  border-color: rgb(81, 149, 210);
  box-shadow: -0.14px 3.998px 7px 0px rgba(105, 105, 105, 0.43);
  color: rgb(255, 255, 255);
  line-height: 1.2;
  font-size: 21px;
  font-style: normal;
  width: 108px;
  height: 29px;
}

/*  */
.drop-button,
.copy_links_button,
.drop-button-mob {
  color: #ffffff;
  border-radius: 4px;
  background: #5195d2;
  cursor: pointer;
  border: 1px solid #5195d2;
  transition: all 0.3s;
  box-shadow: none;
}

/*  */
.drop-button:active,
.copy_links_button:active,
.drop-button-mob:active {
  border-width: 0.5px;
  border-color: #000000;
  box-shadow:
    0px 0px 0px #c5c5c5,
    0px 0px 0px #ffffff,
    inset 0px 0px 2px 2px #0000003d,
    inset 0px 0px 6px 4px #00000028;
}

/*  */

.drop-button > div {
  transform: translateY(-2px);
}

/* ebd drop */

/* 2 links */

.links {
  width: 700px;
  display: flex;
  flex-direction: column;
  gap: 38px;
}

.links > :first-child {
  margin-top: -33px;
}

.link {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.link_label {
  font-size: 21px;
}

.letter {
  display: inline-block;
  opacity: 0;
  transform: rotateY(90deg);
  transform-origin: left center;
  animation: popIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes popIn {
  0% {
    opacity: 1;
    transform: rotateY(90deg) translateX(-20px);
  }

  60% {
    opacity: 1;
    transform: rotateY(0deg) translateX(0px);
  }

  100% {
    opacity: 1;
    transform: rotateY(0deg) translateX(0px);
  }
}

.copy_links {
  box-sizing: border-box;
  border-radius: 5px;
  background-color: rgb(255, 253, 255);
  height: 48px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.copy_links_button {
  font-size: 21px;
  font-family: "Gadugi", sans-serif;
  color: rgb(255, 255, 255);
  box-sizing: border-box;
  border-radius: 5px;
  width: 100%;
  min-width: 108px;
  max-width: 108px;
  height: 29px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 5px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

/* Псевдоэлемент-блик (изначально спрятан слева) */
.copy_links_button::after {
  content: "";
  position: absolute;
  top: 0;
  left: -40px;
  width: 20px;
  height: 100%;
  background: rgba(255, 255, 255, 0.5);
  /* transform: skewX(-15deg); */
  filter: blur(3px);
  opacity: 0;
  pointer-events: none;
}

.copy_links_button.is-flashing::after {
  animation: flashClick 0.35s ease-out;
}

/* Движение блика */
@keyframes flashClick {
  0% {
    left: -40px;
    opacity: 0;
  }

  15% {
    opacity: 1;
  }

  100% {
    left: 120%;
    opacity: 0;
  }
}

/* Обратный блик */
.is-flashing-reverse::after {
  /* content: '';
    position: absolute;
    top: 0;
    left: 120%;
    width: 40px;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.7),
        transparent
    ); */
  animation: flashClickReverse 0.35s ease-out;
}

@keyframes flashClickReverse {
  0% {
    left: 120%;
    opacity: 0;
  }

  15% {
    opacity: 1;
  }

  100% {
    left: -40px;
    opacity: 0;
  }
}

.copy_links_button_active {
  background-color: rgb(81, 149, 210);
}

/*переворот записки в линк тетс*/
.link-note {
  margin-bottom: -20px;
}

/* энд */

.copy_link_note {
  box-sizing: border-box;
  border-radius: 5px;
  background-color: rgb(173, 224, 207);
  width: 700px;
  height: 48px;
  padding: 0 12px;
  /* margin: 6px 0; */
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.copy_link_note_button_active {
  background-color: rgb(255, 255, 255);
  color: rgb(100, 100, 100);
}

/* end 2 links */

.brows_title {
  display: flex;
  justify-content: center;
}

.brows_title_img,
.up_form_pointer {
  width: auto;
}

/* .up_form_img {
    width: 62px;
    height: 43px;
    margin-left: -8px;
} */

section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 50%;
}

.section_links {
  position: absolute;
  bottom: 0;
  right: 0;
  flex-direction: column;
  text-align: right;
}

.section_links > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.rulse {
  position: absolute;
  right: 5%;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 37px;
  text-decoration: underline;
  text-underline-offset: 2px;
  transform: translateY(38%);
}

.rulse-links {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.lang_switch {
  display: flex;
  align-items: center;
  justify-content: center;
  border-style: solid;
  border-width: 1px;
  border-color: rgb(162, 186, 196);
  border-radius: 8px;
  background-color: rgb(230, 255, 251);
  width: 70px;
  height: 34px;
}

/* upload */
.upload_zone {
  gap: 10px;
  border-style: solid;
  line-height: 1;
  border-width: 2px;
  border-color: rgb(133, 169, 194);
  border-radius: 5px;
  background-color: rgb(255, 253, 255);
  width: 700px;
  max-width: 700px;
  min-height: 273px;
  padding: 8px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

.add_file_btn {
  align-self: flex-end;
  display: inline-flex;
  background-color: rgb(255, 253, 255);
  color: rgb(81, 149, 210);
  border: 2px solid rgb(81, 149, 210);
  align-items: center;
  justify-content: center;
  float: none;
  width: 34px;
  height: 34px;
  padding: 0;
  font-size: 24px;
  line-height: 1;
}

.file_list_container {
  display: flex;
  flex-direction: column;
  gap: 10px;
  /* margin-top: 8px; */
  width: 100%;
  max-height: 150px;
  overflow-y: auto;
}

/* Uploading... текст */
.upload-title {
  font-size: 21px;
  color: rgb(63, 63, 63);
  text-align: center;
  margin-bottom: 2px;
  margin-top: 5px;
  line-height: 1.1;
}

/* Синяя полоса 2px */
.separator-line {
  border: none;
  height: 1px;
  background-color: rgb(81, 149, 210);
  margin: 0 0 19px 0;
}

/* Selected File */
.file-info {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 14px;
  color: #333;
}

.file-label {
  font-size: 25px;
  color: rgb(81, 149, 210);
  font-weight: bold;
  line-height: 1;
}

.filename {
  color: #000000;
}

.input-row {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 13.3px;
  color: rgb(63, 63, 63);
}

/* text-align: center;justify-content: center; */
.input-label {
  white-space: nowrap;
  width: 25%;
}

.upload-input {
  flex: 1;
  padding: 0 10px;
  height: 39px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 13.3px;
  box-sizing: border-box;
}

.file-row {
  line-height: normal;
  flex-shrink: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 8px;
  border-radius: 4px;
  font-size: 13.3px;
  height: 39px;
  box-sizing: border-box;
  border: 1px solid #ccc;
}

.remove-file-btn {
  background: none;
  border: none;
  color: #666;
  cursor: pointer;
  font-weight: bold;
  padding: 0 5px;
  line-height: 1;
  font-size: 16px;
}

.email-upload-row {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 12px;
}

.email-column {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 237px;
}

.email-input {
  padding: 0 10px;
  border-style: solid;
  box-sizing: border-box;
  border-width: 2px;
  border-color: rgb(101, 164, 218);
  background-color: rgb(255, 254, 254);
  font-size: 15px;
  width: 100%;
  height: 34px;
  box-sizing: border-box;
}

.receiver_email_com {
  font-size: 16.667px;
  font-family: "Gadugi";
  color: rgb(122, 122, 122);
  line-height: 1.5;
  text-align: left;
}

.email-input:focus {
  outline: none;
  border-color: rgb(133, 169, 194);
  box-shadow: 0 0 0 2px rgba(133, 169, 194, 0.2);
}

.upload-column {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  flex-shrink: 0;
  padding: 0 10px;
}

.Upload {
  font-size: 25px;
  font-family: "Gadugi";
  color: rgb(255, 255, 255);
  line-height: 1;
}

.upload-btn {
  position: relative;
  width: 240px;
  height: 47px;
  background-color: rgb(81, 149, 210);
  border: none;
  border-radius: 4px;
  color: rgb(255, 255, 255);
  font-size: 21px;
  cursor: pointer;
  transition: background-color 0.3s;
  padding: 0;
  margin: 0;
  overflow: hidden;
}

/* прогресс бара */

.upload-btn.cancel-mode {
  color: #fff;
  /* border-color: #d43f3a; */
}

.upload-btn .btn-progress-fill {
  background-color: #72ace2 !important;
}

.cancel-upload-btn {
  position: absolute;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  font-size: 21px;
  text-align: center;
  width: 100%;
  height: 100%;
}

.btn-progress-container:hover .cancel-upload-btn {
  opacity: 1;
  z-index: 5;
}

.btn-progress-container:hover .btn-progress-fill,
.btn-progress-container:hover > span {
  opacity: 0;
}

/*  */

.max-upload-size {
  font-size: 12.5px;
  color: #999;
  text-align: center;
  margin-left: 17px;
}

/* Terms of Service */
.terms-text {
  font-size: 13px;
  color: #888;
  text-align: center;
  margin: 9px 0 14px 0;
}

.terms-text a {
  color: rgb(81, 149, 210);
  text-decoration: underline;
}

.terms-text a:hover {
  color: rgb(61, 129, 190);
}

/* end upload */

/* note */

.main-note {
  margin-top: -17px;
}

.link-note {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.up_form_info {
  font-size: 14.58px;
  font-weight: bold;
  font-family: "Gadugi";
  color: rgb(31, 35, 36);
  display: flex;
  width: 700px;
  margin-bottom: 12px;
  justify-content: space-between;
  align-items: center;
  align-self: center;
}

.up_form_info_hint_block {
  position: relative;
  align-self: end;
  cursor: default;
}

.up_form_info_hint {
  box-sizing: border-box;
  font-size: 17px;
  font-weight: normal;
  text-align: center;
  width: 25px;
  height: 25px;
  transform-origin: bottom center;
  transition: transform 0.2s;
}

.hint_messege {
  opacity: 0;
  visibility: hidden;
  position: absolute;
  font-size: 13px;
  width: 350px;
  bottom: 100%;
  right: 100%;
  border-radius: 5px;
  padding: 10px;
  background: aliceblue;
  z-index: 5;
  transition:
    opacity 0.3s ease 0.5s,
    visibility 0.3s ease 0.5s;
}

.up_form_info_hint_block:hover .up_form_info_hint {
  animation: swing 0.7s ease-in-out 1;
}

@keyframes swing {
  0% {
    transform: rotate(0deg);
  }

  20% {
    transform: rotate(-12deg);
  }

  40% {
    transform: rotate(12deg);
  }

  60% {
    transform: rotate(-8deg);
  }

  80% {
    transform: rotate(8deg);
  }

  100% {
    transform: rotate(0deg);
  }
}

.up_form_info_hint_block:hover .hint_messege {
  opacity: 1;
  visibility: visible;
  transition-delay: 0.5s;
}

.note-zone {
  box-sizing: border-box;
  min-height: 274px;
  font-size: 17px;
  border: 0px solid;
  border-radius: 5px 5px 0 0;
  border-color: rgb(255, 255, 255);
  border-bottom: 0;
  background-color: rgb(227, 246, 242);
  text-align: left;
  width: 100%;
  resize: vertical;
  overflow: auto;
}

.note-zone:focus::placeholder {
  color: transparent;
}

textarea {
  padding-top: 8px;
  padding-left: 8px;
  max-height: calc(50% + 25vh - 91px);
}

/* textarea::-webkit-resizer {
    display: none;
    background-image: url("/assets/img/u2.png");
    width: 16px;
    background-repeat: no-repeat;
    background-position: right -2px bottom -2px;
    background-size: contain;
    position: absolute;
} */
textarea::-webkit-resizer {
  /* 1. ВКЛЮЧАЕМ отображение (убираем display: none) */
  /* display: block; — браузер и так отобразит его, если задан фон */

  /* 2. Картинка и её позиционирование (убираем position: absolute) */
  background-image: url("/assets/img/u2.png");
  background-repeat: no-repeat;
  background-position: center;
  /* Центрируем внутри области 16x16px */
  background-size: contain;
}

.read_note_container {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: end;
  align-items: center;
}

.read_note::-webkit-resizer {
  display: none;
  background-image: unset;
}

.info-note-lable {
  /* font-size: 19px; */
  /* font-weight: bold; */
  text-align: center;
  transform: translateY(-25%);
}

.up_form_button {
  margin-top: 23px;
  display: flex;
  justify-content: space-between;
  width: 700px;
}

.up_form_button button,
#info-note .create_note {
  box-sizing: border-box;
  /* ← ключевое */
  padding: 0;
  padding-bottom: 2px;
  /* сброс дефолтного padding */
  margin: 0;
  width: 240px;
  height: 48px;
  border-style: solid;
  border-width: 2px;
  border-color: rgb(173, 224, 207);
  border-radius: 5px;
  /* font-size: 16px; */
  font-size: 21px;
  color: rgb(31, 35, 36);
  line-height: 1;
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.create_note {
  background-color: rgb(173, 224, 207);
}

.create_note {
  cursor: pointer;
  border: 1px solid #5195d2;
  transition: all 0.3s;
}

.create_note:active,
.show_options:active {
  /* box-shadow:
        0px 0px 0px #c5c5c5,
        0px 0px 0px #ffffff,
        inset 0px 0px 16px 16px #81B8AA33,
        inset 0px 0px 16px -16px #81B8AA33; */
  border-width: 0.5px;
  border-color: #000000;
  box-shadow:
    0px 0px 0px #c5c5c5,
    0px 0px 0px #ffffff,
    inset 0px 0px 2px 2px #0000003d,
    inset 0px 0px 6px 4px #00000028;
}

.show_options {
  background-color: rgb(255, 255, 255);
  /* background-color:rgb(227, 246, 242); */
}

.show_options {
  cursor: pointer;
  border: 1px solid #5195d2;
  transition: all 0.3s;
  /* box-shadow:
        0px 0px 4px 2px #A9ACBA33,
        0px 0px 4px -4px #ffffff; */
}

/* .show_options:active {
    box-shadow:
        0px 0px 0px #c5c5c5,
        0px 0px 0px #ffffff,
        inset 0px 0px 16px 16px #81B8AA33,
        inset 0px 0px 16px -16px #81B8AA33;
} */

/* end note */

/* options */
.options-zone {
  box-sizing: border-box;
  text-align: left;
  height: 274px;
  line-height: 1;
  border-style: solid;
  border-width: 2px;
  border-color: rgb(255, 255, 255);
  border-radius: 5px;
  background-color: rgb(255, 255, 255);
  box-shadow: -0.14px 3.998px 7px 0px rgba(173, 224, 207, 0.43);
  width: 700px;
  padding: 12px 16px 16px 16px;
}

.options-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto auto;
  gap: 16px 24px;
  height: 100%;
  align-content: space-between;
}

.form-group {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 5px;
}

.form-label {
  font-weight: bold;
  font-size: 16px;
  color: rgb(63, 63, 63);
}

.border-form-input {
  display: flex;
  width: 100%;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.form-input {
  border: none;
  height: 34px;
  padding: 0 10px;
  margin-top: 3px;
  width: 100%;
}

.form-hint {
  font-size: 13px;
  color: rgb(63, 63, 63);
}

/*  */
.custom-select-wrapper {
  position: relative;
  width: 100%;
}

/* Кастомный селект */
.custom-select {
  position: relative;
  width: 100%;
  user-select: none;
}

.custom-select-trigger {
  padding: 0 10px 0 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: #fff;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  transition:
    border-color 0.3s,
    box-shadow 0.3s;
  height: 34px;
}

.custom-select-trigger:hover {
  border-color: rgb(133, 169, 194);
}

.custom-select.open .custom-select-trigger {
  border-color: rgb(133, 169, 194);
  box-shadow: 0 0 0 2px rgba(133, 169, 194, 0.2);
}

.custom-select-value {
  color: #333;
}

.custom-select-arrow {
  display: inline-block;
  font-size: 14px;
  color: #666;
  transition: transform 0.3s ease;
  margin-left: 8px;
  transform-origin: center center;
  line-height: 1;
}

.custom-select.open .custom-select-arrow {
  transform: rotate(90deg);
}

/* Выпадающий список */
.custom-select-options {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: #fff;
  max-height: 200px;
  overflow-y: auto;
  display: none;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  padding: 4px 0;
}

.custom-select.open .custom-select-options {
  display: block;
}

/* list */
.custom-select-option {
  padding: 10px 12px;
  font-size: 15px;
  cursor: pointer;
  transition: background-color 0.2s;
  color: #333;
}

.custom-select-option:hover {
  background-color: #f0f8f5;
  background-color: rgb(173, 224, 207);
}

.custom-select-option.selected {
  background-color: rgb(173, 224, 207);
}

/* hidden select */
.form-select-hidden {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 0;
  height: 0;
  border: none;
  padding: 0;
  margin: 0;
  display: block;
}

/* scrollbar */
.custom-select-options::-webkit-scrollbar {
  width: 6px;
}

.custom-select-options::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}

.custom-select-options::-webkit-scrollbar-thumb {
  background: rgb(173, 224, 207);
  border-radius: 3px;
}

.custom-select-options::-webkit-scrollbar-thumb:hover {
  background: rgb(133, 169, 194);
}

/* animation options */
.custom-select-options {
  display: block;
  opacity: 0;
  transform: translateY(-10px);
  transition:
    opacity 0.2s,
    transform 0.2s;
  pointer-events: none;
}

.custom-select.open .custom-select-options {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/*  */

/* checkbox */
.checkbox-group {
  margin-top: 0;
}

.checkbox-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  height: 34px;
}

.form-checkbox {
  margin-top: 2px;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.checkbox-label {
  font-size: 13px;
  color: #333;
  line-height: 1.4;
  cursor: pointer;
  user-select: none;
}

/* end options */

/* download file */

.btn-download-container {
  display: flex;
  gap: 3px;
}

.download-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 25px;
  text-align: center;
  color: rgb(255, 255, 255);
  width: 231px;
  height: 45px;
  cursor: pointer;
}

.view-btn {
  width: 114px;
}

/* new btn d-d*/
.download-btn {
  color: #ffffff;
  border-radius: 4px;
  background: #5195d2;
  cursor: pointer;
  border: 1px solid #5195d2;
  transition: all 0.3s;
}

.download-btn span {
  transform: translateY(-3px);
}

.download-btn:active {
  color: #ffffff;
  box-shadow:
    0px 0px 0px #c5c5c5,
    0px 0px 0px #ffffff,
    inset 0px 0px 16px 16px #18568e,
    inset 0px 0px 16px -16px #18568e;
}

/* new */
.download-btn:active {
  border-width: 0.5px;
  border-color: #000000;
  box-shadow:
    0px 0px 0px #c5c5c5,
    0px 0px 0px #ffffff,
    inset 0px 0px 4px 4px #0000003d,
    inset 0px 0px 12px 8px #00000028;
}

/*  */

.preview-area {
  display: none;
  box-sizing: border-box;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: absolute;
  z-index: 999;
  width: 100dvw;
  height: 100dvh;
  width: 100%;
  height: 100%;
}

.preview {
  height: 80vh;
  width: 80vh;
  border-style: solid;
  line-height: 1;
  border-width: 2px;
  border-color: rgb(133, 169, 194);
  border-radius: 5px;
  background-color: rgb(255, 253, 255);
  padding: 15px 16px 0 16px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.close_preview {
  text-align: right;
  /* padding: 5px; */
  margin-bottom: 16px;
  cursor: pointer;
}

.close_preview:hover {
  text-shadow:
    0 0 2px #666,
    0 0 2px #666;
}

.previewContainer {
  width: 100%;
  flex: 1;
  background: #fafbfc;
  border-radius: 16px;
  border: 1px dashed #d0d7de;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  position: relative;
  min-height: 300px;
}

.previewContainer > * {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  /* для img, video */
  display: block;
  margin: 0 auto;
}

.viewer-wrapper {
  width: 100%;
  height: 100%;
}

.fileList {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 0;
  overflow: hidden;
  overflow-x: scroll;
  overflow-y: hidden;
  scrollbar-width: thin;
  scrollbar-color: #cff3ea #4a93dd00;
}

.fileList li {
  list-style-type: none;
  text-align: center;
  width: 50px;
}

.file-icon {
  height: 48px;
  width: 48px;
  margin: 0 auto;
}

/* download file and */
/* enter pasword */
.top-pswrd {
  /* justify-content: space-between; */
  justify-content: flex-end;
}

.pswrd-form-container {
  flex: 1;
  display: flex;
  align-items: center;
  align-items: end;
  transform: translateY(-25%);
}

.bg-file {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.bg-file-tree {
  width: min-content;
  margin-bottom: -19px;
  height: 230px;
}

.bg-file-lawn {
  height: 19px;
  overflow: hidden;
}

.password-incorrect::placeholder {
  color: red;
}

.pass_form {
  display: flex;
  align-items: center;
  background-color: rgb(255, 255, 255);
  width: 100%;
  height: 41px;
  font-size: 21px;
  border-radius: 4px;
}

.pass_form input {
  border: none;
  outline: none;
  background: none;
  padding: 0 0 0 11px;
  margin: 0;
  box-shadow: none;
  appearance: none;
  font-family: inherit;
  font-size: 21px;
}

.pass_form img {
  /* width: 20px; */
  width: 35px;
  margin-right: 10px;
}

/* end enter pswrd */

/* file del */
.file_deleted {
  font-size: 21px;
  font-family: "Myriad Pro";
  color: rgb(255, 255, 255);
}

/* end file del */

/* link ready bottom */
.link_ready {
  justify-self: flex-start;
  font-size: 17px;
  color: rgb(31, 35, 36);
  line-height: 1;
}

/* end links ready*/

/* lang*/
.lang-select-container {
  position: relative;
  margin-top: 23px;
  margin-bottom: 23px;
  width: 50px;
  height: 34px;
  z-index: 9999;
  align-self: flex-end;
}

/* Кнопка переключения*/
.lang-select-trigger {
  display: flex;
  align-items: center;
  justify-content: center;
  border-style: solid;
  border-width: 1px;
  border-color: rgb(162, 186, 196);
  border-radius: 8px;
  background-color: rgb(230, 255, 251);
  width: 50px;
  height: 34px;
  cursor: pointer;
  font-size: 14px;
  font-weight: bold;
  color: #333;
  user-select: none;
  box-sizing: border-box;
}

/* Меню выбора языков*/
.lang-select-options {
  position: absolute;
  bottom: calc(100% + 5px);
  right: 0;
  left: auto;
  min-width: 190px;
  max-height: 220px;
  overflow-y: auto;
  background-color: #ffffff;
  border: 1px solid rgb(162, 186, 196);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  padding: 5px 0;

  /* Анимация появления вверх */
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
  pointer-events: none;
}

/* Класс для отображения меню */
.lang-select-container.open .lang-select-options {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Стили элементов внутри языкового списка */
.lang-select-option {
  padding: 9px 14px;
  font-size: 14px;
  color: #333;
  cursor: pointer;
  text-align: left;
  transition: background-color 0.15s;
}

.lang-select-option:hover {
  background-color: rgb(230, 255, 251);
}

.lang-select-option.selected {
  background-color: rgb(173, 224, 207);
}

.lang-select-options::-webkit-scrollbar {
  width: 5px;
}

.lang-select-options::-webkit-scrollbar-track {
  background: #f9f9f9;
}

.lang-select-options::-webkit-scrollbar-thumb {
  background: rgb(162, 186, 196);
  border-radius: 3px;
}

/* end lang test */

/* header and log in */
.ss-modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 9999;
  justify-content: center;
  align-items: center;
}

.ss-modal-overlay.ss-open {
  display: flex;
}

/* Контейнер формы строго 340px */
.ss-modal-container {
  background-color: #eaeaea;
  width: 500px;
  max-width: 95%;
  height: 500px;
  border-radius: 3px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  position: relative;
}

/* Вкладки */
.ss-modal-tabs {
  display: flex;
  background-color: #cccccc;
  border-bottom: 1px solid #c0c0c0;
}

.ss-tab-btn {
  flex: 1;
  padding: 16px 0;
  border: none;
  background: none;
  font-size: 18px;
  color: #7f8c8d;
  cursor: pointer;
  text-align: center;
  position: relative;
}

.ss-tab-btn.ss-active {
  background-color: #eaeaea;
  color: #1bbc9b;
}

/* 1. Нижний серый треугольник (создает эффект обводки) */
.ss-tab-btn.ss-active::before {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 8px 8px 0 8px;
  border-color: #c0c0c0 transparent transparent transparent;
  z-index: 98;
  display: block;
}

/* 2. Верхний светлый треугольник (перекрывает нижний, оставляя только контур) */
.ss-tab-btn.ss-active::after {
  content: "";
  position: absolute;
  bottom: -7px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 7px 7px 0 7px;
  border-color: #eaeaea transparent transparent transparent;
  z-index: 99;
  display: block;
}

/* Внутреннее тело */
.ss-modal-body {
  width: 100%;
  margin: 10% 0;
}

.ss-tab-content {
  display: none;
}

.ss-tab-content form {
  position: relative;
  width: 80%;
}

.ss-tab-content.ss-active {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Поля */
.ss-form-group {
  margin-bottom: 18px;
  width: 100%;
}

.ss-form-group label {
  display: block;
  color: #555555;
  font-size: 14px;
  margin-bottom: 8px;
  text-align: left;
}

.ss-form-group input {
  width: 100%;
  box-sizing: border-box;
  height: 60px;
  padding: 10px 12px;
  border: 1px solid #cccccc;
  border-radius: 3px;
  font-size: 15px;
  color: #333333;
  background-color: #ffffff;
  outline: none;
}

.ss-form-group input:focus {
  border-color: #1bbc9b;
}

/* Чекбокс */
.ss-form-remember {
  margin-bottom: 22px;
  width: 100%;
}

.ss-form-remember label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #555555;
  font-size: 14px;
  cursor: pointer;
}

.ss-form-remember input {
  width: 16px;
  height: 16px;
  margin: 0;
}

/* Кнопка */
.ss-submit-btn {
  width: 100%;
  background-color: #1bbc9b;
  color: #ffffff;
  border: none;
  padding: 14px;
  font-size: 19px;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.ss-submit-btn:hover {
  background-color: #16a085;
}

/* Ссылка внизу */
.ss-form-footer {
  text-align: center;
  margin-top: 20px;
  width: 100%;
}

.ss-form-footer a {
  color: #1bbc9b;
  font-size: 13px;
  text-decoration: underline;
  display: inline-block;
}

/* end log in */

/* destroyed */
.destroyed {
  font-size: 25px;
  color: rgb(255, 255, 255);
  line-height: 1.2;
}

.sorry {
  width: 50%;
  font-size: 21px;
  color: rgb(255, 255, 255);
  line-height: 1.25;
  text-align: center;
}

/* end destroyed */

/* contact_us */
/* end contact_us */
.contact_form input {
  padding-left: 8px;
  border: none;
  height: 100%;
}

.contact_form {
  margin-top: 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 700px;
  width: 100%;
}

.contact_form-group {
  box-sizing: border-box;
  border-style: solid;
  border-width: 2px;
  border-color: rgb(101, 164, 218);
  background-color: rgb(255, 254, 254);
  width: 100%;
  height: 35px;
}

.contact_form-group-text {
  box-sizing: border-box;
  border-style: solid;
  border-width: 2px;
  border-color: rgb(101, 164, 218);
  background-color: rgb(255, 254, 254);
  width: 100%;
}

.contact_form textarea {
  box-sizing: border-box;
  border-style: solid;
  border-width: 2px;
  border-color: rgb(101, 164, 218);
  background-color: rgb(255, 254, 254);
  width: 100%;
  resize: vertical;
  min-height: 300px;
}

.form-actions {
  text-align: center;
}

.form-actions button {
  border: none;
  background-color: rgb(255, 254, 254);
  width: 88px;
  height: 41px;
  font-size: 29px;
  color: rgb(134, 199, 182);
  cursor: pointer;
}

.fq {
  width: 70%;
  overflow: auto;
}

@media (max-width: 480px) {
  .logo-link .logo,
  dotlottie-wc.logo {
    height: 36px;
  }
}
/*внимание!!!*/
@media (max-width: 280px) {
  .upload_zone {
    /* position: absolute !important;
            left: 0;
            right: 0; */
    gap: 2px;
    min-height: auto;
  }

  .file-info {
    gap: 2px;
  }

  .up_form_button button {
    font-size: 15px;
    max-width: 100px;
    max-height: 45px;
  }

  .checkbox-wrapper {
    align-items: center !important;
  }

  .checkbox-label {
    width: 100%;
    margin-left: 0 !important;
    text-indent: 0 !important;
    line-height: 1 !important;
    /* align-self: end; */
  }

  .options-grid > .form-group:nth-of-type(1),
  .options-grid > .checkbox-group {
    grid-column: span 2;
  }
}

@media (max-width: 767px) {
  #info-note .create_note_destroy {
    font-size: 18px;
    width: 174px;
    height: 36px;
  }

  .main_body {
    /* height: 100vh; */
    min-height: 100svh;
    background:
      linear-gradient(
        180deg,
        #4992dc 0%,
        #529be2 12.5%,
        #7cbbe9 30%,
        #a4daf4 42.5%,
        #b2e2f7 50%
      ),
      linear-gradient(to top, #eafcf7 0%, #bcece0 100%);
    background-size:
      100% 50%,
      100% 50%;
    background-position:
      top left,
      bottom left;
    background-repeat: no-repeat;
    margin: 0;
  }

  .main_header {
    height: auto;
    position: absolute;
    z-index: -1;
    background: none;
  }

  .main_main {
    background: none;
    height: 100svh;
    flex: unset;
  }

  .main_top {
    height: 50svh;
    background: none;
  }

  .main_top_container {
    z-index: unset;
  }

  .main_down {
    padding-bottom: 16px;
    /* min-height: 50vh; */
    /* justify-content: start; */
  }

  .main_down > div {
    /* width: 100%;
    max-width: 100%; */
  }

  .main-note {
    margin: 0;
  }

  .main_footer {
    height: auto;
    position: absolute;
    bottom: 0;
    background: none;
    justify-content: start;
  }

  body {
    font-family: "Gadugi";
    max-width: 100vw;
    width: 100%;
    height: 100svh;
    max-height: 100svh;
  }

  footer {
    font-size: 14px;
  }

  .f-container-mob {
    display: flex;
    margin: 0 5px;
    align-items: center;
    /* justify-content: center; */
  }

  /* .f-container-mob>div {
        flex: unset;
    } */
  .f-container-item1 {
    flex: 1;
  }

  .f-container-item2 {
  }

  .f-container-item3 {
    flex: 1;
  }

  .lang-select-trigger {
    justify-self: end;
  }

  .f-container {
    display: none;
    margin: 0;
  }

  .f-container > div {
    /* flex: 1; */
  }

  .f-menu-container {
    position: unset;
    height: auto;
    text-align: center;
  }

  .f-menu {
    /* flex-direction: row; */
    width: 100%;
    align-items: center;
    text-align: center;
    right: 0;
    background: #e9fbf6;
    /* width: max-content; */
  }

  .lang-mob {
    margin: 0;
    z-index: 0;
  }

  /* Ограничиваем контейнер картинки шириной экрана и прячем всё, что выходит за рамки */
  .bg-img {
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
    z-index: -1;
  }

  .bg-img img {
    max-width: none !important;
    width: auto !important;
  }

  .tree,
  .bg-file-tree {
    width: auto;
    height: 25vh;
  }

  /* *,
  *::before,
  *::after {
    box-sizing: border-box;
  } */

  #top {
    display: flex;
  }

  header > div {
    margin: 16px 27px 0 21px;
    align-items: center;
    justify-content: center;
    z-index: 3;
  }

  h1 {
    font-size: 21px;
    text-align: center;
    width: 100%;
    overflow-wrap: break-word;
  }

  .mobile-break {
    display: block;
    margin-top: 5px;
  }

  .desct-break {
    display: block;
    margin-top: 5px;
  }

  .menu,
  .rulse {
    display: none;
  }

  .mob-menu {
    display: block;
  }

  .burger-btn {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 37px;
    height: 31px;
    background: transparent;
    cursor: pointer;
    padding: 0;
    position: relative;
    z-index: 100;
  }

  .burger-toggle {
    position: absolute;
    opacity: 0;
    visibility: hidden;
  }

  .burger-btn::before,
  .burger-btn::after,
  .burger-btn span {
    content: "";
    display: block;
    width: 100%;
    height: 3px;
    background-color: #fff;
    border-radius: 2px;
  }

  .burger-btn span {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
  }

  .burger-btn::before {
    position: absolute;
    top: 0;
  }

  .burger-btn::after {
    position: absolute;
    bottom: 0;
  }

  /* --- МОБИЛЬНОЕ ВЫПАДАЮЩЕЕ МЕНЮ С АНИМАЦИЕЙ ВЫПЛЫВАНИЯ --- */
  .mobile-drop-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 50vh;
    background-color: #111;
    z-index: 90;
    padding: 80px 20px 20px;
    box-sizing: border-box;

    transform: translateY(-100%);
    transition: transform 0.4s cubic-bezier(0.1, 1, 0.1, 1);
  }

  /* Плавно выдвигаем меню при клике по бургеру */
  .burger-toggle:checked ~ .mobile-drop-menu {
    transform: translateY(0);
  }

  /* Ссылки внутри меню */
  .mobile-drop-menu__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 25px;
    align-items: center;
  }

  .mobile-drop-menu__list a {
    color: #fff;
    text-decoration: none;
    font-size: 22px;
    font-family: sans-serif;
  }

  /* browse */
  .browse_form {
    display: none;
  }

  .drop-button-mob {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 21px;
    border-radius: 5px;
    background-color: rgb(81, 149, 210);
    border-width: 1px;
    border-style: solid;
    width: 105px;
    height: 38px;
    /* padding-bottom: 7px; */
    border-color: rgb(81, 149, 210);
  }

  .upload_zone {
    width: 100%;
    max-width: 310px;
    max-width: min(310px, 100% - 16px);
    max-width: min(310px, 100%);
    margin-left: auto;
    margin-right: auto;
    /* padding: 0 8px; */
    padding: 7px;
    position: relative;
    z-index: 1;
  }

  .upload-title {
    font-size: 12px;
  }

  .select {
    margin-top: 55px;
  }

  /* .progress-container {
    height: 18px;
  }

  .progress-status {
    font-size: 9.5px;
    margin-top: 7px;
  } */

  /* .separator-line {
    margin: 0 0 6px 0;
  } */

  .file-label {
    font-size: 14px;
  }

  .input-row {
    font-size: 9px;
    margin-top: 6px;
    gap: 4px;
  }

  .upload-input,
  .file-row {
    font-size: 9px;
    height: 23px;
  }

  .remove-file-btn {
    padding-block: 0;
    padding-inline: 0;
  }

  .input-label {
    width: 30%;
  }

  .email-upload-row {
    margin-top: 6px;
    gap: 9px;
  }

  .upload-column {
    padding: 0;
  }

  .email-input {
    height: 23px;
  }

  .upload-btn {
    padding: 0;
    font-size: 15px;
    width: 86px;
    height: 26px;
    padding-bottom: 2px;
  }

  .max-upload-size {
    font-size: 7px;
    margin-left: 0;
  }

  /* .next-step {
    margin-top: 0px;
  }

  .next-step-link {
    font-size: 9px;
  } */

  .terms-text {
    font-size: 9px;
    margin: 6px 0 8px 0;
  }

  /* end browse */

  /* note */
  .options-zone,
  .note-zone {
    /* width: 310px; */
    width: 100%;
    max-width: min(310px, 100% - 16px);
    max-width: min(310px, 100%);
    margin-left: auto;
    margin-right: auto;
    height: 28svh;
    min-height: 95px;
  }

  .up_form_info {
    font-size: 12.5px;
    width: auto;
    max-width: 310px;
    max-width: min(310px, 100% - 16px);
    max-width: min(310px, 100%);
    margin-left: auto;
    margin-right: auto;
    align-items: end;
  }

  .up_form_info_hint {
    font-size: 21px;
    width: 32px;
    height: 32px;
  }

  .hint_messege {
    width: 200px;
  }

  .up_form_button {
    width: 100%;
    max-width: min(310px, 100%);
    margin-top: 14px;
  }

  .up_form_button button {
    border-radius: 5px;
    max-width: 140px;
    max-height: 45px;
  }

  /* end note */

  /* options */
  .options-zone {
    padding: 7px 9px 9px 6px;
  }

  .options-grid {
    gap: 14px 5px;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .form-group {
    gap: 2px;
  }

  .form-label {
    font-size: 11px;
  }

  .custom-select-trigger {
    width: auto;
    height: 24px;
    font-size: 11px;
  }

  .checkbox-wrapper {
    gap: 3px;
  }

  .form-checkbox {
    margin: 0;

    width: 15px;
    height: 15px;
  }

  .form-hint,
  .checkbox-label {
    font-size: 8px;
    line-height: normal;
  }

  .checkbox-label {
    width: 100%;
    margin-left: -18px;
    text-indent: 16px;
    line-height: 1.4;
    align-self: end;
  }

  .checkbox-wrapper {
    height: 24px;
  }

  .form-input {
    height: 24px;
    font-size: 11px;
  }

  /* end options */
  /* links */
  .links {
    /* width: 310px; */
    max-width: 310px;
    max-width: min(310px, 100% - 16px);
    max-width: min(310px, 100%);
    margin-left: auto;
    margin-right: auto;
    gap: 15px;
    transform: translateY(25%);
  }

  .links > :first-child {
    margin-top: 0;
  }

  .link {
    gap: 5px;
  }

  .link_label {
    font-size: 13px;
  }

  .copy_links {
    padding: 0 4px 0 12px;
    /* height: 31px; */
    height: 28px;
  }

  .drop-hint {
    font-size: 15px;
  }

  .copy_links_button {
    max-width: 89px;
    /* height: 19px; */
    height: 20px;
    font-size: 13px;
    padding-bottom: 3px;
  }

  /* end links */
  /* link */
  .link_ready {
    font-size: 13px;
  }

  .copy_link_note {
    /* width: 310px; */
    max-width: 310px;
    /* max-width: min(310px, 100% - 16px);
        max-width: min(310px, 100%); */
    margin-left: auto;
    margin-right: auto;
    height: 28px;
    padding: 0 4px 0 12px;
    /* margin: 6px 0; */
  }

  /* end link */
  /* pasword check */
  .pass {
    max-width: 186px;
  }

  .pass_form {
    max-width: 186px;
    width: 100%;
    height: 29px;
    z-index: 7;
  }

  .pass_form input {
    font-size: 15px;
    width: calc(100% - 10px);
  }

  /* end pasword check*/
  /* destroed */
  .destroyed {
    font-size: 15px;
  }

  /* end */
  .download-btn {
    font-size: 18px;
    width: 174px;
    height: 36px;
  }

  .view-btn {
    width: 87px;
  }

  .preview {
    height: auto;
    width: 90%;
  }

  .sorry {
    font-size: 16px;
    margin: 0 30px;
  }

  .fileList {
    justify-content: flex-start;
  }

  .destroy_label {
    font-size: 18px;
  }
}

@media (max-width: 280px) {
  .main_body {
    height: auto !important;
    min-height: 0 !important;
  }

  .main_header {
    /* position: static !important; */
    /* height: auto !important; */
    z-index: unset !important;
    background-image: linear-gradient(180deg, #4992dc, #5ea4e4) !important;
  }

  h1 {
    font-size: 16px !important;
  }

  .main_top {
    /* height: calc(50vh - 60px)!important; */
    height: 50vh;
    background-image: linear-gradient(180deg, #5ea4e4, #b2e2f7) !important;
  }

  .main_top_container {
    z-index: 3 !important;
  }

  .browse {
    transform: translateY(0);
  }

  .drop-button-mob {
    padding-bottom: 4px !important;
  }

  .main_main {
    background: none !important;
    flex: unset !important;
    position: static;
    height: auto !important;
  }

  .link-note {
    margin-bottom: 0;
    margin-top: -30px;
  }

  .bg-img {
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
    z-index: 1 !important;
  }

  .main_footer {
    height: auto;
    position: static !important;
    max-height: unset !important;
    justify-content: flex-start !important;
    background: linear-gradient(to top, #eafcf7, #e2f9f3) !important;
  }

  .f-container-mob {
    position: relative;
    height: 100% !important;
    align-items: flex-end !important;
  }

  .f-menu-container {
    position: unset !important;
    /* height: 80px !important; */
    text-align: center !important;
    align-items: flex-end;
  }

  .f-menu-container-h {
    position: static !important;
  }

  .f-menu {
    position: absolute !important;
    height: auto !important;
    right: 0 !important;
    left: 0 !important;
    /* width: 100% !important; */
    align-items: center !important;
    text-align: center !important;
    z-index: unset !important;
    top: -100%;
  }

  .f-menu > div:first-child {
    display: flex !important;
    justify-content: space-around !important;
    width: 100vw !important;
  }

  .f-menu:last-child {
    white-space: nowrap !important;
  }

  .select {
    margin: 0 !important;
    /* transform: translateY(-25%) !important; */
  }

  .file_list_container {
    max-height: 100px;
  }

  .upload_zone {
    gap: 2px;
    min-height: auto;
  }

  .file-info {
    gap: 2px;
  }

  .up_form_button button {
    font-size: 15px;
    max-width: 100px;
    max-height: 45px;
  }

  .checkbox-wrapper {
    align-items: center !important;
  }

  .checkbox-label {
    width: 100%;
    margin-left: 0 !important;
    text-indent: 0 !important;
    line-height: 1 !important;
    /* align-self: end; */
  }

  .options-grid > .form-group:nth-of-type(1),
  .options-grid > .checkbox-group {
    grid-column: span 2;
  }

  .upload_zone,
  .links,
  .copy_link_note,
  .link-note,
  .main-note {
    max-width: 240px !important;
  }

  .links {
    transform: translateY(0) !important;
  }

  .input-row {
    flex-wrap: wrap;
    margin-top: 0 !important;
    gap: 2px !important;
  }

  /* d-f */
  .pswrd-form-container {
    transform: unset;
  }

  .download-btn span {
    transform: unset;
    padding-bottom: 3px;
  }

  .preview {
    height: auto;
    width: 90%;
  }

  .options-zone {
    padding: 0 !important;
  }

  .options-grid {
    gap: 2px 2px !important;
  }

  .checkbox-label {
    align-self: center !important;
  }

  /* end d-f */
}

/*планшеты*/
@media (min-width: 768px) and (max-width: 1600px) {
  /* .main_header {
        position: relative;
    } */

  footer {
    font-size: 14px;
  }

  .bg-img {
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
  }

  .bg-img img {
    max-width: none !important;
    width: auto !important;
  }

  .tree {
    width: 223px;
    height: 150px;
  }

  /* *,
  *::before,
  *::after {
    box-sizing: border-box;
  } */

  #top {
    display: flex;
  }

  header > div {
    margin: 16px 27px 0 21px;
    align-items: center;
  }

  h1 {
    /* font-size: 26px;
        font-weight: normal;
        text-align: center;
        width: 100%; */
    overflow-wrap: break-word;
  }

  .mobile-break {
    display: unset;
    margin-top: 5px;
  }

  .desct-break {
    display: block;
    margin-top: 5px;
  }

  /* browse */

  .browse_form {
    width: 600px;
    gap: 24px;
  }

  .brows_title_img {
    width: 70%;
  }

  .up_form_pointer {
    width: 62px;
    height: 43px;
    margin-left: -8px;
  }

  .drop_zone {
    /* height: 37px; */
  }

  .drop-button {
    /* font-size: 17px; */
    /* width: 108px; */
  }

  .upload_zone {
    width: 600px;
    max-width: 600px;
    /* padding: 0 8px; */
  }

  .select {
    margin-top: 0;
  }

  @media screen and (max-width: 1200px) {
    .select {
      transform: translateY(10%);
    }
  }

  .progress-container {
    height: 28px;
  }

  .progress-status {
    font-size: 13.5px;
    margin-top: 7px;
  }

  .separator-line {
    display: none;
  }

  .file-label {
    font-size: 21px;
  }

  .filename {
    font-size: 16px;
  }

  .input-row {
    font-size: 13.5px;
    /* margin-top: 8px; */
    gap: 10px;
  }

  .upload-input,
  .file-row {
    /* font-size: 13.5px;
        height: 25px; */
  }

  .input-label {
    width: 25%;
  }

  .email-upload-row {
    margin-top: 6px;
    gap: 14px;
  }

  .upload-column {
    padding: 0;
    gap: 15px;
  }

  .email-input {
    height: 25px;
  }

  .max-upload-size {
    font-size: 7px;
    margin-left: 0;
  }

  /* .next-step {
    margin-top: 0px;
  }

  .next-step-link {
    font-size: 9px;
  } */

  .terms-text {
    font-size: 9px;
    margin: 6px 0 8px 0;
  }

  /* end browse */

  /* note */
  .options-zone,
  .note-zone {
    width: 600px;
    height: 195px;
    min-height: 195px;
  }

  .up_form_info {
    font-size: 12.5px;
    width: 600px;
    align-items: end;
  }

  .up_form_info_hint {
    font-size: 17px;
    width: 24px;
    height: 24px;
  }

  .up_form_button {
    width: 100%;
    margin-top: 14px;
  }

  .up_form_button button {
    /* border-radius: 5px;
        width: 140px;
        height: 45px; */
  }

  /* end note */
  /* options */
  .options-zone {
    padding: 10px;
  }

  .options-grid {
    gap: 16px 21px;
  }

  .form-group {
    gap: 5px;
  }

  .form-label {
    font-size: 11px;
  }

  .custom-select-trigger {
    width: 100%;
    height: 25px;
    font-size: 12.5px;
  }

  .checkbox-wrapper {
    gap: 3px;
  }

  .form-checkbox {
    margin: 0;

    width: 15px;
    height: 15px;
  }

  .form-hint,
  .checkbox-label {
    font-size: 11px;
    line-height: unset;
  }

  .checkbox-label {
    width: 100%;
    margin-left: -15px;
    text-indent: 16px;
    line-height: normal;
    align-self: auto;
  }

  .checkbox-wrapper {
    height: 25px;
  }

  .form-input {
    height: 25px;
    font-size: 12.5px;
  }

  /* end options */
  /* links */
  .links {
    width: 600px;
    gap: 22px;
    transform: translateY(0);
  }

  .link {
    /* gap: 10px; */
    gap: 5px;
  }

  .link_label {
    font-size: 18px;
  }

  .copy_links {
    /* height: 37px; */
  }

  .drop-hint {
    font-size: 20px;
  }

  .copy_links_button {
    max-width: 108px;
    /* height: 23px; */
    height: 29px;
    font-size: 21px;
  }

  /* end links */
  /* link */
  .link_ready {
    font-size: 15px;
  }

  .copy_link_note {
    width: 600px;
    /* height: 37px; */
    /* margin: 6px 0; */
  }

  /* end link */
  /* pasword check */
  .pass {
    max-width: 186px;
  }

  .pass_form {
    max-width: 186px;
    width: 100%;
    height: 29px;
    z-index: 7;
  }

  .pass_form img {
    /* width: 20px; */
    width: 25px;
    margin-right: 10px;
  }

  .pass_form input {
    font-size: 15px;
    width: calc(100% - 10px);
  }

  /* end pasword check*/
  /* destroed */
  .destroyed {
    font-size: 19px;
  }

  /* end */
  .download-btn {
    font-size: 19px;
    width: 211px;
    height: 38px;
  }

  /* .view-btn-container {
    width: 211px;
} */
  .view-btn {
    width: 105.5px;
    /* width: 50%; */
  }

  /* prew */
  /* .preview {
        height: 80%;
        width: 80%;
    } */

  /* end */

  .sorry {
    font-size: 19px;
  }
}

/* Масштабирование */
@media (min-width: 900px) and (max-width: 1500px) and (max-height: 700px) {
  .browse {
    transform: translateY(25%);
  }
}
