/* Fluid responsive */
  html {
    font-size: 1rem;
  }
  @media screen and (min-width: 1801px) {
    html {
      font-size: 1.25rem;
    }
  }
  @media screen and (max-width: 1800px) and (min-width: 992px) {
    html {
      font-size: calc(1.1vw);
    }
  }
  @media screen and (max-width: 991px) and (min-width: 480px) {
    html {
      font-size: calc(0.3rem + 1.5vw);
    }
  }
  @media screen and (max-width: 479px) and (min-width: 320px) {
    html {
      font-size: 5vw;
    }
  }
  body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
  }
  *[tabindex]:focus-visible,
  input[type='file']:focus-visible {
    outline: 0.125rem solid #4d65ff;
    outline-offset: 0.125rem;
  }
  .w-richtext > :not(div):first-child,
  .w-richtext > div:first-child > :first-child {
    margin-top: 0 !important;
  }
  .w-richtext > :last-child,
  .w-richtext > div:last-child > :last-child,
  .w-richtext ol li:last-child,
  .w-richtext ul li:last-child {
    margin-bottom: 0 !important;
  }
  .pointer-events-off {
    pointer-events: none;
  }
  .pointer-events-on {
    pointer-events: auto;
  }
  a,
  .w-input,
  .w-select,
  .w-tab-link,
  .w-nav-link,
  .w-dropdown-btn,
  .w-dropdown-toggle,
  .w-dropdown-link {
    color: inherit;
    text-decoration: inherit;
    font-size: inherit;
  }
  .text-style-1lines,
  .text-style-2lines,
  .text-style-3lines {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
  }
  .text-style-1lines {
    -webkit-line-clamp: 1;
  }
  .text-style-2lines {
    -webkit-line-clamp: 2;
  }
  .text-style-3lines {
    -webkit-line-clamp: 3;
  }
  .display-inlineflex {
    display: inline-flex;
  }
  textarea {
    resize: none;
  }
  textarea::-webkit-scrollbar {
    width: 4px;
  }
  textarea::-webkit-scrollbar-track {
    background: rgba(255, 0, 0, 0);
    border-color: transparent;
  }
  textarea::-webkit-scrollbar-thumb {
    background: rgba(20, 20, 45, 0.3);
    opacity: 0.3;
    border-radius: 41px;
  }
  [scroll-color]::-webkit-scrollbar {
    width: 0.25rem;
    height: 0.25rem;
  }
  [scroll-color]::-webkit-scrollbar-thumb,
  [scroll-color]::-webkit-scrollbar-track {
    border-radius: 1rem;
  }
  [scroll-color='blue']::-webkit-scrollbar-thumb {
    background: #3719ca;
  }
  [scroll-color='blue']::-webkit-scrollbar-track {
    background: #eaeaec;
  }
  [scroll-color='grey-dark']::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
  }
  [scroll-color='grey-dark']::-webkit-scrollbar-track {
    background: transparent;
  }
  [scroll-color='grey-light']::-webkit-scrollbar-thumb {
    background: #b4b4bc;
  }
  [scroll-color='grey-light']::-webkit-scrollbar-track {
    background: transparent;
  }
  [scroll-color='white']::-webkit-scrollbar-thumb {
    background: #fff;
  }
  [scroll-color='white']::-webkit-scrollbar-track {
    background: rgb(255 255 255 / 30%);
  }
  /* Custom styles */
  [scroll-hide]::-webkit-scrollbar {
    width: 0rem;
    height: 0rem;
  }
  [scroll-style-light]::-webkit-scrollbar,
  [scroll-style-dark]::-webkit-scrollbar,
  [scroll-style-grey]::-webkit-scrollbar {
    width: 0.25rem;
    height: 0.25rem;
  }
  [scroll-style-light]::-webkit-scrollbar-thumb,
  [scroll-style-light]::-webkit-scrollbar-track,
  [scroll-style-dark]::-webkit-scrollbar-thumb,
  [scroll-style-dark]::-webkit-scrollbar-track,
  [scroll-style-grey]::-webkit-scrollbar-thumb,
  [scroll-style-grey]::-webkit-scrollbar-track {
    border-radius: 1rem;
  }
  [scroll-style-dark]::-webkit-scrollbar-thumb {
    background: #3719ca;
  }
  [scroll-style-dark]::-webkit-scrollbar-track {
    background: #eaeaec;
  }
  [scroll-style-light]::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
  }
  [scroll-style-light]::-webkit-scrollbar-track {
    background: transparent;
  }
  [scroll-style-grey]::-webkit-scrollbar-thumb {
    background: #b4b4bc;
  }
  [scroll-style-grey]::-webkit-scrollbar-track {
    background: transparent;
  }
  [data-hide-after-before]:before,
  [data-hide-after-before]:after,
  [data-hide-br] br {
    display: none;
  }
  /* Visible */
  .overflow-visible {
    overflow: visible;
  }
  .hide {
    display: none !important;
  }
  @media screen and (min-width: 992px) {
    .hide-desktop {
      display: none !important;
    }
    .opacity-0-desktop {
      opacity: 0 !important;
    }
    [scroll-hide-desktop]::-webkit-scrollbar {
      width: 0rem;
      height: 0rem;
    }
  }
  @media screen and (max-width: 991px) and (min-width: 768px) {
    .hide-tablet-only {
      display: none !important;
    }
    [scroll-hide-tablet-only]::-webkit-scrollbar {
      width: 0rem;
      height: 0rem;
    }
  }
  @media screen and (max-width: 991px) {
    .hide-tablet {
      display: none !important;
    }
  }
  @media screen and (max-width: 767px) {
    .hide-mobile-landscape {
      display: none !important;
    }
  }
  @media screen and (max-width: 767px) and (min-width: 480px) {
    .hide-mobile-landscape-only {
      display: none !important;
    }
  }
  @media screen and (max-width: 479px) {
    .hide-mobile-portrait {
      display: none !important;
    }
  }
  [data-style-checkbox] .w-checkbox span::after {
    content: '';
    position: absolute;
    --size: calc(2.5rem / 2 - 0.25rem);
    width: var(--size);
    height: var(--size);
    border-radius: 50%;
    background-color: var(--grey-medium);
    top: 0.25rem;
    left: 0.25rem;
    transition: all 0.4s;
  }
  [data-style-checkbox] .w-checkbox input:checked ~ span::after {
    left: calc(2.5rem / 2);
    background-color: var(--blue-dark);
  }
  [data-style-checkbox] .w-checkbox.pointer-events-off input:checked ~ span::after {
    background-color: var(--grey-medium);
  }
  /** Cookie **/
  [data-remodal-id='cookie'] [fs-cc='preferences'] {
    display: block !important;
  }
  [data-dropdown-cookie] .dropdown__list {
    max-height: 0rem;
    transition: all 0.4s;
  }
  [data-dropdown-cookie].is--cookie-active .dropdown__list {
    max-height: 7rem;
  }
  /** Parametrs in post card **/
  .post-card__param.is--big .post-card__tag {
    color: var(--blue-dark);
  }
  .post-card__param.is--big .project__flags {
    border-color: rgb(2 2 30 / 40%);
  }
  .post-card__param > div {
    width: auto;
  }
  /** progress in leave modal **/
  .modal-leave__progress-grad {
    animation: spin 5s linear infinite;
  }
  @keyframes moveBackground {
    0% {
      background-position: 0px 0;
    }
    99.9% {
      background-position: 500px 0;
    }
    100% {
      background-position: 0px 0;
    }
  }
  .modal-leave__progress-pattern {
    animation: moveBackground 30s linear infinite;
  }
  @keyframes scaleAnimation {
    0% {
      transform: scale(1);
    }
    50% {
      transform: scale(1.2);
    }
    100% {
      transform: scale(1);
    }
  }
  .modal-leave__progress-icon {
    animation: scaleAnimation 2s ease-in-out infinite;
  }
  /** OTHER **/
  .discuss__bg {
    animation: spin 200s linear infinite;
    display: block;
  }
  @keyframes spin {
    from {
      transform: rotate(0deg);
    }
    to {
      transform: rotate(360deg);
    }
  }
  [data-remodal-id='leave'] .w-richtext strong {
    font-weight: 500;
    color: #3719ca;
  }
  /** services with card WON in hero **/
  .header__secret-dot,
  [data-anim-recdot] {
    animation: recDot 1s infinite;
  }
  @keyframes recDot {
    0%,
    5%,
    95%,
    100% {
      opacity: 0;
    }
    20%,
    80% {
      opacity: 1;
    }
  }

/* Turn off invert colors in some browsers */
  html { color-scheme: light only; }

