@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

* {
  margin: 0;
  padding: 0;
  text-decoration: none;
  list-style: none;
}

:root {
  --main-color: #19C98C;
  --white: #fff;
  --gray: #c6bfd1;
  --dark-gray: #475569;
  --light-gray: #ECE7F3;
  --red: #d84848;
  --black: #0F172A;
}

html {
  scroll-behavior: smooth;

  @media (min-width: 768px) {
    height: 100%;
  }
}

body {
  font-size: 1rem;
  color: var(--black);
  background-color: var(--white);
  font-family: "Inter", sans-serif;
  position: relative;
  line-height: 1.4;

  @media (min-width: 768px) {
    font-size: 0.9rem;
    overflow-x: hidden;
    height: 100%;
  }
}

* {
  box-sizing: border-box;
}

main {
  @media (min-width: 768px) {
    flex: 100%;
  }
}

.main-container {
  @media (min-width: 768px) {
    position: relative;
  }

  @media (min-width: 1200px) {
    display: flex;
    flex-direction: column;
  }
}

a {
  font-weight: 500;
  color: var(--black);

  &:hover {
    color: var(--main-color);
    cursor: pointer;
  }
}

h1 {
  font-size: 48px;
  font-weight: 600;
  font-family: 'DM Serif Display', sans-serif;
  line-height: 1.1;
  letter-spacing: 2px;

  @media (max-width: 767px) {
    font-size: 30px;
  }
}

h2 {
  font-size: 28px;
  font-weight: 600;
  font-family: 'DM Serif Display', sans-serif;
  line-height: 1.1;

  @media (max-width: 767px) {
    font-size: 24px;
  }
}

h3 {
  font-size: 21px;
  font-weight: 600;
  font-family: 'DM Serif Display', sans-serif;
  line-height: 1.1;

  @media (max-width: 767px) {
    font-size: 20px;
  }
}

h4 {
  font-size: 18px;
  font-weight: 500;
  font-family: 'DM Serif Display', sans-serif;
  line-height: 1.2;
}

.content {
  position: relative;
  width: 100%;
}

.container {
  margin: 0 auto;
  width: 100%;
  max-width: 1440px;
  padding-inline: 20px;

  &.md {
    max-width: 1280px;
  }

  &.sm {
    max-width: 1080px;
  }
}

.intro {
  text-align: left;
  margin-block: 20px;

  @media (max-width: 480px) {
    text-align: center;
  }

  h1 {
    font-size: clamp(24px, 4vw, 32px);
    line-height: 1.2;
    font-weight: 700;

    span {
      color: var(--main-color);
    }
  }
}

.section {
  margin: 60px 0 !important;

  @media screen and (max-width: 767px) {
    margin: 40px 0 !important;
  }
}

.w-100 {
  width: 100%;
  min-width: 0;
}

.d-flex {
  display: flex;
}

.mobile-column {
  @media screen and (max-width: 991px) {
    flex-direction: column;
  }
}

.xs-mobile-column {
  @media screen and (max-width: 413px) {
    flex-direction: column;
  }
}

.flex-column {
  flex-direction: column;
}

.flex-wrap {
  @media screen and (max-width: 991px) {
    flex-wrap: wrap;
  }
}

.border-radius {
  border-radius: 30px;
}

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

.align-end {
  align-items: flex-end;
}

.align-start {
  align-items: flex-start;
}

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

.justify-center {
  justify-content: center;
}

.space-between {
  justify-content: space-between;
}

.space-around {
  justify-content: space-around;
}

.gap-10 {
  gap: 10px;
}

.gap-20 {
  gap: 20px;
}

.gap-30 {
  gap: 30px;
}

.gap-50 {
  gap: 50px;
}

.gap-100 {
  gap: 100px;
}

.m-auto {
  margin-inline: auto !important;
}

.pt-0 {
  padding-top: 0 !important;
}

.pb-0 {
  padding-bottom: 0 !important;
}

.pt-3 {
  padding-top: 3rem !important;
}

.mb-0 {
  margin-bottom: 0 !important;
}

.mb-1 {
  margin-bottom: 1rem !important;
}

.mb-2 {
  margin-bottom: 2rem !important;
}

.mb-3 {
  margin-bottom: 3rem !important;
}

.mt-1 {
  margin-top: 1rem !important;
}

.mt-2 {
  margin-top: 2rem !important;
}

.mt-3 {
  margin-top: 3rem !important;
}

.text-gray {
  color: var(--gray);
}

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

.text-right {
  text-align: right;
}

.text-left {
  text-align: left;
}

.label {
  border: 2px solid var(--gray);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.15);
  display: block;
  width: auto;
  max-width: fit-content;
  padding: 5px 12px;
  margin-bottom: 15px;


  span {
    color: var(--main-color);
    padding-right: 8px;
    margin-bottom: 15px;
    animation: fickeringDot .5s linear infinite;
  }
}

@keyframes fickeringDot {
  0% {
    opacity: 0;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.25);
  }

  100% {
    opacity: 0;
    transform: scale(1);
  }
}

.btn {
  border: 2px solid var(--main-color);
  color: var(--white) !important;
  background: var(--main-color);
  border-radius: 50px;
  width: 100%;
  max-width: fit-content;
  font-size: 18px;
  gap: 10px;
  padding: 12px 30px;
  line-height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  transition: all 0.2s ease-in-out;
  cursor: pointer;
  min-width: 180px;
  text-align: center;

  &:hover {
    transform: translateY(-3px);
  }

  &.secondary {
    color: var(--dark-gray);
    background: transparent;
    border-color: var(--gray);
    color: var(--main-color);
  }
}

.btn-icon {
  background: transparent;
  border: 2px solid var(--gray);
  transition: all 0.2s ease-in-out;
  cursor: pointer;
  padding: 6px 15px;
  border-radius: 20px;
  width: max-content;
  color: var(--main-color);
  text-transform: uppercase;
  font-size: 15px;
  font-weight: 600;

  &:hover {
    transform: translateY(-3px);
  }

  img {
    box-shadow: none !important;
    width: 20px !important;
    height: 20px !important;
  }
}



/* Topbar */

.main-menu {
  display: block;
  /* width: calc(100% - 40px); */
  width: 100%;
  background: var(--black);
  padding: 20px;
  box-sizing: content-box;
  position: fixed;
  left: 50%;
  transform: translate(-50%);
  top: 0;
  z-index: 999;
  box-sizing: border-box;
}

.top-bar {
  background: var(--black);
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
  width: 100%;
  margin: 0 auto;

  .nav-logo {
    height: 40px;
    display: flex;

    @media screen and (max-width: 1199px) {
      height: 40px;
      max-width: 42px;
      overflow: hidden;
    }

    img {
      @media screen and (max-width: 1199px) {
        height: 40px;
        width: auto;
      }
    }
  }

  .login-area {
    display: flex;
    align-items: center;
    gap: 20px;
  }

  /* Glavni container */
  .lang {
    position: relative;
    display: inline-block;
  }

  /* Link koji otvara dropdown */
  .lang>a {
    color: var(--white);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: color 0.3s ease;
    padding: 6px 10px 5px;
    align-items: center;
    font-size: 16px;
    font-weight: 500;
    font-family: "Inter", sans-serif;
    border: 2px solid #4d526d;
    border-radius: 30px;
  }

  .lang>a:hover {
    color: var(--main-color);
  }

  /* Strelica */
  .lang>a .lang-caret {
    display: inline-block;
    transition: transform 0.15s ease;
    /* brza rotacija */
    transform: rotate(0deg);
    /* početno udesno */
    font-size: 1rem;
    line-height: 16px;
    margin-top: -2px;
  }

  /* Dropdown box inicijalno sakriven */
  .lang .lang-select {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #fff;
    border: 2px solid var(--gray);
    border-top-color: var(--white);
    border-radius: 0 0 5px 5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    min-width: 80px;
    z-index: 999;
    overflow: hidden;
  }

  /* Linkovi unutar dropdowna */
  .lang .lang-select a {
    display: block;
    padding: 10px 20px;
    color: var(--dark-gray);
    text-align: center;
    text-decoration: none;
    transition:
      background 0.2s ease,
      color 0.2s ease;
  }

  .lang .lang-select a:hover {
    background-color: var(--main-color);
    color: #fff;
  }

  /* Hover efekt: otvara dropdown i rotira strelicu */
  .lang:hover .lang-select,
  .lang .lang-select.show {
    display: block;
  }

  .lang:hover>a .lang-caret {
    transform: rotate(90deg);
  }

  nav {
    color: var(--dark-gray);
    position: relative;
    padding-right: 20px;
  }

  .hamburger {
    display: none;
    cursor: pointer;
    font-size: 24px;
    color: var(--white);
    width: 20px;

    @media (max-width: 1199px) {
      display: block;
    }
  }

  #closeMenu {
    display: none;
    height: 30px;
    width: 30px;
    font-weight: 900;
    font-size: 20px;
    line-height: 20px;
    position: fixed;
    right: 20px;
    top: 10px;
    text-align: center;
    border: 2px solid var(--dark-gray);
    padding: 4px;
    border-radius: 30px;
    z-index: 9999;
  }

  .show {
    display: flex;
  }

  .none {
    display: none;
  }

  ul.menu {
    display: flex;
    list-style: none;
    gap: 30px;
    flex-wrap: wrap;

    @media (min-width: 1200px) and (max-width: 1439px) {
      gap: 20px;
    }

    @media (max-width: 1199px) {
      display: none;
      flex-direction: column;
      width: 100%;
    }

    &.show {
      @media (max-width: 1199px) {
        display: block;
        position: fixed;
        width: 100%;
        left: 0;
        padding-block: 10px 20px;
        top: 70px;
        background: var(--dark-gray);
        overflow: auto;
        z-index: 998;

        .dropdown {
          border-left: none;
          border-right: none;

          li a {
            text-align: left;
          }
        }
      }
    }

    li.menu-item {
      position: relative;

      @media (max-width: 1199px) {
        width: 100%;
      }

      >a {
        color: var(--white);
        text-decoration: none;
        padding: 10px 0;
        display: inline-flex;
        align-items: center;
        font-size: 15px;
        font-weight: 500;
        letter-spacing: -.5px;
        text-transform: uppercase;
        position: relative;
        transition: color 0.3s ease;

        @media (min-width: 1200px) and (max-width: 1439px) {
          letter-spacing: -1px;
        }

        @media (max-width: 1199px) {
          padding: 10px 20px;
          width: 100%;
          justify-content: space-between;
        }

        &::after {
          content: "❯";
          margin-left: 10px;
          font-size: 1rem;
          line-height: 16px;
          font-weight: 800;
          display: inline-block;
          transform: rotate(0deg);
          transition: transform 0.3s ease;
          margin-top: -2px;
        }

        /* Hover rotacija samo za desktop */
        @media (min-width: 1200px) {
          &:hover::after {
            transform: rotate(90deg);
          }
        }

        /* Na mobilnom – rotira se samo kad ima .open */
        &.open::after {
          transform: rotate(90deg);
        }
      }

      ul.dropdown {
        display: none;
        position: absolute;
        background: var(--white);
        list-style: none;
        top: 100%;
        right: 0;
        min-width: 170px;
        z-index: 1000;
        text-align: right;
        padding: 5px 0;

        @media (max-width: 1199px) {
          position: static;
          display: none;
          background: transparent;

          &.show {
            display: block;
          }
        }

        li a {
          display: block;
          padding: 8px 15px;
          text-decoration: none;
          transition: all 0.2s ease-in-out;
          font-size: 16px;
          font-weight: 400;
          text-align: left;
          color: var(--dark-gray);

          @media (max-width: 1199px) {
            color: var(--white);
          }

          &:hover {
            background: var(--main-color);
            color: var(--white);
          }

          @media (max-width: 1199px) {
            padding: 6px 15px 6px 30px;
          }

          @media (max-width: 380px) {
            font-size: 14px;
          }
        }
      }
    }
  }

  ul.menu li.menu-item:not(:has(.dropdown))>a::after {
    content: none;
  }

  @media (min-width: 768px) {
    ul.menu li.menu-item:hover>ul.dropdown {
      display: block;
    }
  }
}

/* Header */

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 99;
}

.page-content {
  margin-top: 80px;
  padding-block: 30px;
}

.button-slider-container {
  width: 100%;
  margin: auto;
}

.slider-controls {
  text-align: center;
  border: 2px solid var(--gray);
  padding: 6px;
  border-radius: 40px;
  min-width: 93px;

  @media screen and (max-width: 480px) {
    margin-left: auto;
  }

  .nav-btn {
    font-size: 15px;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: transform 0.1s ease-in-out;
    max-height: 38px;
    color: var(--main-color);
    border: 2px solid var(--main-color);
    background: transparent;
    height: 36px;
    width: 36px;
    border-radius: 36px;

    &:first-of-type {
      padding-right: 5px;
    }

    &:last-of-type {
      padding-left: 5px;
    }

    &:hover {
      transform: scale(0.9);
    }
  }
}


.nav-link {
  color: var(--main-color);
  border: 2px solid var(--gray);
  padding: 5px 15px 7px;
  text-transform: uppercase;
  border-radius: 36px;
  display: flex;
  gap: 10px;
  align-items: center;
}

.button-track {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 20px;
}

.button-track::-webkit-scrollbar {
  display: none;
}

.slide-button {
  width: 100%;
  /* min-width: 280px; */
  /* background-color: var(--white); */
  cursor: pointer;
  overflow: hidden;

  @media screen and (max-width: 767px) {
    min-width: 60%;
  }

  .pic-container {
    width: 100%;
    border-radius: 15px;
    overflow: hidden;

    img {
      width: 100%;
      height: auto;
      min-height: 240px;
      max-height: 240px;
      object-fit: cover;
      display: block;
    }
  }

  .slider-title {
    text-align: left;
    font-size: 15px;
    line-height: 1.3rem;
    font-weight: 500;
    padding: 0;
    margin: 10px 0 30px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  &.slide-article {
    padding-bottom: 10px;
    border-bottom: 1px solid var(--gray);

    img {
      border-radius: 15px;
      width: 100%;
      height: 220px;
    }
  }

  .btn {
    background: transparent;
    border: 2px solid var(--gray);
    color: var(--main-color) !important;
    padding: 6px 15px;
    font-size: 15px;
    text-transform: uppercase;
    border-radius: 20px;
    min-width: 0;
  }
}

.pic-container {
  position: relative;
  z-index: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 15px;
  overflow: hidden;

  img {
    transition: all 0.2s ease-in-out;
    filter: brightness(0.8);

    &:hover {
      transform: scale(1.1);
    }
  }
}



/* hero */

.hero {
  background: url(../images/default/hero-bck.jpg) center no-repeat;
  background-size: cover;
  padding: 6rem 20px 2rem;
}

.hero-subpage {
  padding-block: 3rem;
  gap: 50px;
  margin-bottom: 50px;
  background: url(../images/default/hero-bck.jpg) center no-repeat;
  background-size: cover;

  @media (max-width: 767px) {
    gap: 30px;
  }

  .text-container {
    width: 100%;
    text-align: center;
    padding-block: 30px 50px;

    @media (max-width: 991px) {
      width: 100%;
      max-width: none;
    }

    h1 {
      font-size: 42px;
      font-weight: 300;
      line-height: 1.3;
      margin-bottom: 10px;
      font-family: 'DM Serif Display', sans-serif;

      @media (max-width: 767px) {
        font-size: 30px;
      }
    }
  }

  .label {
    display: flex;
    padding: 5px 20px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: var(--white);
    max-width: fit-content;
  }

  .btn {
    border: none;
    border-radius: 30px;
    background: var(--main-color);
    color: var(--white);
    text-align: center;
    font-size: 24px;
    box-sizing: content-box;
    max-width: 170px;
    height: 40px;
    position: relative;
    padding: 6px 5px;
    text-align: center;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;

    img {
      position: absolute;
      top: 50%;
      right: 12px;
      width: 24px;
      height: 24px;
      display: block;
      transform: translateY(-50%);
    }
  }
}

/* Banners */
.banner {
  width: 100%;
  padding-block: 6rem;
  position: relative;
  transition: 0.5 ease-in;
  overflow: hidden;
  background: var(--dark-gray);
  justify-content: space-between;
  background: url(../images/default/hero-bck.jpg) center no-repeat;
  background-size: cover;

  h2 {
    font-size: 42px;
    font-weight: 200;

    @media screen and (max-width: 1199px) {
      font-size: 30px;
    }

    span {
      color: var(--main-color);
    }
  }
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;

  @media screen and (max-width: 1199px) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  @media screen and (max-width: 767px) {
    grid-template-columns: 1fr;
  }
}

.feature-box {
  min-width: 0;
  border-radius: 30px;
  overflow: hidden;
  background: var(--white);
}

.feature-box--image img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;

  @media screen and (max-width: 767px) {
    display: none;
  }
}

.feature-box--text {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  border: 2px solid var(--light-gray);
  background: #ece7f366;

  h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--black);
  }

  p {
    color: var(--dark-gray);
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .btn {
    font-size: 0.85rem;
    min-width: 0;
  }
}

.arrow-down {
  box-sizing: border-box;
  position: relative;
  top: 1px;
  display: block;
  transform: scale(var(--ggs, 1));
  width: 22px;
  height: 22px;
  border: 2px solid transparent;
  border-radius: 100px;

  &::after {
    content: "";
    display: block;
    box-sizing: border-box;
    position: absolute;
    width: 10px;
    height: 10px;
    border-bottom: 2px solid;
    border-right: 2px solid;
    transform: rotate(138deg);
    left: 4px;
    top: 2px;
  }
}


/* Modal */

.main-container-login {
  display: none;
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 1001;
  content: "";
  background: rgb(0 0 0 / 90%);
  position: fixed;
  width: 100%;
  height: 100vh;
  top: 0;
}

.login-popup {
  display: none;
  position: fixed;
  margin: auto;
  width: 95%;
  max-width: 800px;
  min-height: 300px;
  box-sizing: border-box;
  top: 50%;
  transform: translateY(-50%);
  right: 0;
  left: 0;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  text-align: left;
  border-radius: 15px;
  background: var(--black);
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.15);

  @media screen and (max-width: 767px) {
    flex-direction: column;
  }

  h3 {
    font-size: 1.5rem;
    margin-top: 20px;
    margin-bottom: 10px;
    color: var(--white);
  }

  .logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50%;
    min-height: 300px;
    height: -webkit-fill-available;
    background: url(../images/popup-bck.svg) no-repeat center;
    background-size: cover;

    @media screen and (max-width: 767px) {
      min-height: 80px;
      width: 100%;
    }
  }

  .logo {
    img {
      max-width: 180px;
      margin: 15px 8px;
    }
  }

  .btn {
    border: none;
    border-radius: 8px;
    width: 100%;
    max-width: 220px;
    height: 50px;
    color: #fff;
    font-family: "DM Serif Display", sans-serif;
    font-size: 16px;
  }

  .btn-login {
    cursor: pointer;
    background: var(--main-color);
    background: linear-gradient(80deg,
        rgba(47, 196, 238, 1) 0,
        rgba(186, 123, 213, 1) 79%);
    padding: 12px;
  }

  .formcontent {
    width: 50%;
    padding: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;

    @media screen and (max-width: 767px) {
      width: 100%;
    }
  }

  input {
    display: block;
    margin: 20px auto 10px;
    border-radius: 5px;
    padding: 10px 0;
    width: 100%;
    text-align: center;
    outline: 0;
    border: 1px solid #4b4b4f;
  }

  input[type="checkbox"] {
    display: none;
  }

  .login-check {
    background: var(--gray);
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
  }

  input,
  textarea {
    display: block;
    margin: 20px auto 10px;
    border-radius: 5px;
    padding: 10px 20px;
    width: 100%;
    text-align: center;
    outline: 0;
    border: 1px solid var(--gray);
    background: var(--black);
    color: var(--white);
    font-family: "Inter", sans-serif;

    &::placeholder {
      color: var(--gray);
    }
  }

  textarea {
    min-height: 122px;
    max-height: 122px;
  }

  .login-check-wrap {
    display: flex;
    align-items: center;
    justify-content: left;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border-radius: 5px;
    text-align: left;
    margin-top: 10px;
    padding-top: 3px;
    color: #797979;
    font-size: 14px;
  }

  .login-check::after {
    left: 9px;
    top: 4px;
    width: 5px;
    height: 10px;
    border: solid var(--main-color);
    border-top-width: medium;
    border-right-width: medium;
    border-bottom-width: medium;
    border-left-width: medium;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
    content: "";
    position: absolute;
    display: none;
  }

  input[type="checkbox"]:checked~.login-check::after {
    display: block;
  }

  .btn-login {
    cursor: pointer;
    background: var(--main-color);
    padding: 12px;
    border-radius: 8px;
    width: 100%;
    max-width: none;
    margin: 15px auto;
    box-shadow: none;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    -ms-border-radius: 8px;
    -o-border-radius: 8px;
  }
}

.contact-popup {
  display: flex;
  flex-direction: row;
  gap: 50px;
  border: 2px solid var(--dark-gray);
  border-radius: 20px;
  padding: 30px;

  @media (max-width: 991px) {
    flex-direction: column;
    padding: 30px 20px;
  }

  .form {
    flex: 1;

    @media (max-width: 991px) {
      width: 100%;
    }
  }

  input {
    display: block;
    margin: 20px auto 10px;
    border-radius: 5px;
    padding: 10px 0;
    width: 100%;
    text-align: left;
    outline: 0;
    border: 1px solid #4b4b4f;
  }

  input[type="checkbox"] {
    display: none;
  }

  .login-check {
    background: var(--main-color);
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
  }

  input,
  textarea {
    display: block;
    margin: 20px auto 10px;
    border-radius: 20px;
    padding: 15px;
    width: 100%;
    text-align: left;
    outline: 0;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.04);
    font-family: "Inter", sans-serif !important;
    color: var(--gray);
  }

  textarea {
    min-height: 122px;
    max-height: 122px;
  }

  input[type="checkbox"]:checked~.login-check::after {
    display: block;
  }

  .btn-login {
    cursor: pointer;
    color: var(--white);
    background: var(--main-color);
    padding: 15px;
    border: 0px;
    border-radius: 25px;
    width: 100%;
    max-width: none;
    margin: 0px auto;
    box-shadow: none;
    height: auto;
    text-transform: uppercase;
  }

  .tab button {
    padding: 14px 0;
  }

  .tabcontent {
    padding: 0;
  }

  #Sign-up {
    @media (min-width: 768px) {
      display: flex;
      gap: 5rem;

      div {
        flex: 3;
      }
    }
  }

  #Sign-up .form {
    @media (min-width: 768px) {
      flex: 4;
      margin-top: 20px;
    }
  }
}

.contact-info {
  flex: 1;
  margin-top: 4rem;

  @media (max-width: 991px) {
    margin-top: 0;
  }

  .info-box {
    flex: 1;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    padding: 40px 30px;
    border-radius: 20px;
    margin: 30px 0;
    background: var(--dark-gray);
    position: relative;

    @media (max-width: 991px) {
      margin: 20px 0;
    }

    @media (max-width: 767px) {
      flex-direction: column;
      align-items: center;
      justify-content: center;
    }

    &:last-child {
      margin: 0px;
    }

    .info-text {
      width: 100%;
      display: flex;
      flex-direction: column;

      @media (max-width: 767px) {
        text-align: center;
      }

      h3 {
        font-weight: 600;
        font-size: 24px;
      }

      .big-text {
        font-size: 28px;
        line-height: 1.25;
      }

      p {
        font-size: 18px;
        line-height: 1.25;
        margin: 10px 0 0;
        max-width: calc(100% - 180px);

        @media (max-width: 767px) {
          max-width: 100%;
        }
      }
    }

    img {
      width: 100%;
      max-width: 190px;
      position: absolute;
      bottom: 0;
      right: 10px;

      @media (max-width: 767px) {
        position: relative;
        display: block;
        margin: 20px auto 0;
      }
    }
  }
}

#Sign-up {
  display: block;
}

.remember {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.forgot {
  color: #797979;
}

.close,
.close-login {
  cursor: pointer;
  box-sizing: border-box;
  position: absolute;
  top: 12px;
  right: 12px;
  display: block;
  transform: scale(var(--ggs, 1));
  width: 22px;
  height: 22px;
  border: 2px solid transparent;
  border-radius: 40px;
}

.close {
  @media (min-width: 1200px) {
    display: none;
  }
}

.close-login:after,
.close-login:before,
.close::after,
.close::before {
  content: "";
  display: block;
  box-sizing: border-box;
  position: absolute;
  width: 16px;
  height: 2px;
  background: currentColor;
  transform: rotate(45deg);
  border-radius: 5px;
  top: 8px;
  left: 1px;
}

.close-login:after,
.close::after {
  transform: rotate(-45deg);
}

#loginError,
#signupError {
  color: red;
  text-align: center;
  display: revert;
  border: 1px solid red;
  padding: 5px 10px;
  border-radius: 5px;
}

#loginCorrect,
#signupCorrect {
  color: green;
  text-align: center;
  display: revert;
  border: 1px solid green;
  padding: 5px 10px;
  border-radius: 5px;
}

.btn-login {
  cursor: pointer;
  background: 0 0;
  border-radius: 100%;
  min-width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #4d526d;
  padding: 0;

  img {
    max-width: 15px;
  }
}

.color-btn {
  background: var(--main-color);
  text-transform: uppercase;
  cursor: pointer;
  display: block;
  outline: 0;
  border: 0;
  padding: 0 32px;
  color: #fff;
  height: 48px;
  font-size: 18px;
  font-weight: 600;
  transform: translateY(2px);
  transition: transform 0.15s ease;
}

.intro {
  .logo {
    display: none;

    @media (min-width: 1200px) {
      display: block;
    }

    img {
      margin: 20px auto 0;
    }
  }
}


li.have-children ul li a:after {
  display: none;
}

li.have-children ul {
  padding: 0;
}

li.have-children ul li a {
  padding: 0 0 10px 75px;
  text-transform: none;
}

li.have-children ul li a:hover {
  color: var(--dark-gray);
  background-color: var(--gray);
  padding: 0 0 10px 75px;
}

li,
li.have-children {
  position: relative;
}




/* Tabs */

.tab {
  overflow: hidden;
}

.tab button {
  background-color: inherit;
  float: left;
  border: none;
  outline: 0;
  cursor: pointer;
  padding: 14px 16px;
  font-size: 17px;
  font-family: "DM Serif Display", sans-serif;
}

.tab button:hover {
  border-bottom: 2px solid var(--main-color);
}

.tab button.active {
  border-bottom: 2px solid var(--main-color);
}

.tabcontent {
  display: none;
  padding: 6px 20px;
  border-top: none;
}




/* Slider */


.slider-wrapper {
  @media (min-width: 768px) {
    overflow-x: auto;
    flex: 1;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
  }
}

.slider {
  @media (min-width: 768px) {
    gap: 10px;
    /* nema razmaka */
  }
}

.slide {
  @media (min-width: 768px) {
    flex: 0 0 100%;
    scroll-snap-align: start;
    position: relative;
    border: none;
    min-width: 100%;
    margin: 0;
    /* bez margine */
  }
}

.slider-dots {
  @media (min-width: 768px) {
    display: flex;
  }
}

.swiper-slide img {
  @media (min-width: 992px) {
    height: 100%;
  }
}

.myApps .swiper-pagination-bullets {
  @media (min-width: 992px) {
    display: none !important;
  }
}


.swiper-container {
  width: 100%;
  height: 100%;
}

.swiper-slide {
  margin: 10px 0;
}

.Slider .swiper-slide {
  position: relative;
  text-align: center;
  font-size: 18px;
  margin: 0;
  background: #fff;
  height: 275px !important;
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;

  @media (min-width: 768px) {
    height: 365px !important;
  }
}

.swiper-slide .slider-img {
  width: 100%;
  max-width: 165px;
  height: auto;
  margin: 8px 0;
}

.Slider .swiper-slide::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: #1a1a1a;
  background: linear-gradient(80deg,
      rgba(26, 26, 26, 1) 0,
      rgba(26, 26, 26, 0) 85%);
}

.swiper-slide .caption {
  position: absolute;
  left: 5%;
  color: var(--white);
  z-index: 9;
  text-align: left;
}

.swiper-slide .caption h2 {
  font-size: 1.9em;
  text-transform: uppercase;
  line-height: 42px;
  max-width: 320px;

  @media (min-width: 768px) {
    max-width: 100%;
  }
}

.swiper-slide .caption p {
  font-size: 1em;
  line-height: 1.5em;
  max-width: 350px;

  @media (min-width: 768px) {
    max-width: 100%;
  }
}

.swiper-slide .caption span {
  font-size: 0.8em;
}

.swiper-slide .caption .color-btn {
  margin: 12px 0 25px;
}

.swiper-slide h3 {
  overflow: hidden;
  text-overflow: ellipsis;
  word-wrap: break-word;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  font-size: 14px;
  line-height: 1.2;
  padding-right: 10px;
}

.myApps .swiper-slide {
  text-align: center;
  font-size: 18px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
}

.myApps .swiper-wrapper {
  padding-bottom: 35px;
}

.single-page {
  display: flex;
  flex-direction: row;
  gap: 50px;

  @media (max-width: 991px) {
    flex-direction: column;
  }
}

.app-content {
  @media (max-width: 991px) {
    width: 100%;
  }

  article {
    p {
      margin: 15px 0;
    }
  }
}

.single-app {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  flex-direction: row;
  gap: 20px;
  margin-bottom: 50px;

  @media (max-width: 767px) {
    flex-direction: column;
  }

  .app-description {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: column;
    margin-bottom: 50px;

    @media (max-width: 991px) {
      margin-bottom: 0px;
    }

    @media (max-width: 767px) {
      width: 100%;
      max-width: 420px;

      margin: 0 auto;
    }

    h1 {
      font-size: 1.6rem;
    }

    .single-description {
      color: var(--dark-gray);
      font-size: 15px;
      font-style: normal;
      font-weight: 400;
      line-height: 1.5;
    }
  }

  a {
    width: 100%;
  }

  .color-btn {
    font-size: 1.2em;

    @media (max-width: 767px) {
      width: 100%;
      max-width: 420px;
    }
  }

  img {
    max-width: 180px;
    height: 180px;
    object-fit: cover;
    margin-right: 15px;
    border-radius: 20px;

    @media (min-width: 768px) and (max-width: 1199px) {
      max-width: 180px;
    }

    @media (max-width: 767px) {
      width: 100%;
      max-width: 420px;

      margin: 0 auto;
    }
  }
}

.more-like-this {
  width: 100%;
  max-width: 320px;
  margin: 0;
  border: 2px solid var(--light-gray);
  background: #ece7f366;
  border-radius: 20px;
  padding: 20px;
  height: fit-content;

  @media (max-width: 991px) {
    max-width: 100%;
  }
}

.items-list {
  display: flex;
  flex-direction: column;
  gap: 20px;

  .list-item {
    display: flex;
    flex-direction: row;
    width: 100%;
    gap: 10px;

    a {
      width: 100%;
      display: flex;
      gap: 10px;
      transition: .2s ease-in-out;

      &:last-child {
        border: 0px;
      }

      &:hover {
        color: var(--dark-gray);
        transform: scale(0.95);
      }
    }

    .icon-app {
      width: 100%;
      min-width: 85px;
      max-width: 85px;
      border-radius: 10px;
      height: 85px;
      transition: transform 0.3s ease;

      @media (max-width: 991px) {
        width: 140px;
      }

      @media (max-width: 767px) {
        width: 100px;
      }
    }

    .text {
      display: flex;
      flex-direction: column;
      width: 100%;
      justify-content: center;

      .top-box {
        display: flex;
        flex-direction: column;
        gap: 10px;
      }

      h3 {
        font-size: 16px;
        line-height: 20px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
      }

      .description {
        font-size: 12px;
        line-height: 14px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        /* number of rows */
        -webkit-box-orient: vertical;
        overflow: hidden;
      }
    }
  }
}

.app-list {
  overflow-y: auto;
  height: 100%;
  max-height: 540px;
  scrollbar-width: none;
  /* Firefox */

  &::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Edge */
  }

  .app-list-item {
    a {
      display: flex;
      align-items: center;
      gap: 12px;
      transition: .2s ease-in-out;

      &:hover {
        transform: scale(.95);
      }

      img {
        width: 80px;
        height: 80px;
        border-radius: 10px;
      }

      h3 {
        font-size: 15px;
        font-weight: 600;
        line-height: 1.2;
        margin-bottom: 5px;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        /* broj redova */
        -webkit-box-orient: vertical;
        overflow: hidden;
        color: var(--dark-gray) !important;
      }
    }
  }

}

.article-content {
  width: 70%;

  @media (max-width: 991px) {
    width: 100%;
  }
}

.article-list {
  display: flex;
  flex-direction: column;
  gap: 30px;

  .article-item {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 10px;
    border-bottom: 0px solid var(--gray);
    padding-bottom: 0px;

    @media (min-width: 768px) and (max-width: 991px) {
      flex-direction: row;
      align-items: center;
    }

    &:hover {
      color: var(--dark-gray);

      img {
        transform: scale(0.98);
      }
    }

    &:last-child {
      border: 0px;
    }

    h3 {
      font-size: 14px;
      line-height: 18px;
      margin: 5px 0;
    }

    p {
      font-size: 13px;
      line-height: 16px;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      /* broj redova */
      -webkit-box-orient: vertical;
      overflow: hidden;
    }

    img {
      width: 100%;
      max-height: 150px;
      object-fit: cover;
      border-radius: 10px;
      border: 0px;
      transition: transform 0.3s ease;

      @media (min-width: 768px) and (max-width: 991px) {
        max-width: 150px;
        height: 150px;
      }
    }
  }
}

.mfp-counter,
.mfp-title {
  display: none;
}

.back {
  display: flex;
  align-items: center;
  color: var(--main-color);
  cursor: pointer;
  margin-top: 5px;
  margin-bottom: 30px;
  width: fit-content;
}

.swiper-slide a {
  flex-direction: column-reverse;
  display: flex;
}

.myContent .swiper-slide img {
  display: block;
  width: 178px;
  height: 178px;
  object-fit: cover;
}

.myApps .swiper-pagination-bullet {
  border-radius: 0;
}

.myApps .swiper-pagination-bullet-active {
  background: var(--main-color);
  border-radius: 0;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  overflow-x: scroll;
  -ms-overflow-style: none;
  scrollbar-width: none;

  @media (min-width: 768px) {
    justify-content: center;
  }

  .myFilters .swiper-slide {
    @media (min-width: 768px) {
      max-width: 115px;
    }
  }

  &.exclusive {
    gap: 10px;
    overflow: visible;
    margin: 50px auto;

    @media (max-width: 767px) {
      flex-direction: column;
      gap: 30px;
    }

    >a {
      flex: 1;
      display: flex;
      align-items: flex-end;
      padding: 20px;
      position: relative;
      border-radius: 15px;
      min-height: 150px;
      transition: all 0.2s ease-out;

      @media (min-width: 768px) and (max-width: 1199px) {
        min-height: 120px;
      }

      &.active {
        background: var(--white) !important;
        border: 2px solid var(--main-color);
        transform: none !important;
        cursor: default;

        label {
          text-shadow: none;
          color: var(--main-color);
        }
      }

      &:hover {
        transform: scale(1.05);
      }

      label {
        padding: 0;
        border: none;
        color: var(--white);
        text-shadow: 0 3px 0 #00000040;
        text-transform: uppercase;
        margin: 0;
        font-size: 1rem;
        position: relative;
        z-index: 1;
      }

      img {
        position: absolute;
        right: 0;
        bottom: 10px;
        z-index: 0;

        @media (min-width: 768px) and (max-width: 1199px) {
          width: 120px;
          height: 120px;
          right: -10px;
        }
      }
    }
  }

  @media (max-width: 767px) {
    flex-wrap: nowrap;
  }

  &::-webkit-scrollbar {
    display: none;
  }

  input {
    display: none;
  }

  label {
    display: block;
    transition: all 0.5s ease;
    margin: 5px;
    background: 0;
    border: 1px solid var(--dark-gray);
    padding: 10px 20px 10px 15px;
    border-radius: 30px;
    color: var(--main-color);
    font-weight: 600;
    width: max-content;
  }

  label:hover {
    transform: scale(1.1);
  }

  input[type="radio"]:checked+label {
    background-color: var(--main-color);
    color: var(--white);
    border-color: var(--main-color);
  }
}

.selector {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: 0 0;
  border: 1px solid #9a9a9a;
  padding: 10px;
  border-radius: 8px;
  color: #9a9a9a;
  font-size: 0.8rem;
  font-family: "Inter", sans-serif;
  margin: 30px auto;
  display: block;
  width: 100%;
}

option {
  font-family: "Inter", sans-serif;
}

.app-description {
  h1 {
    font-size: 30px;
    font-weight: 600;
    line-height: 1.2;
  }

  ul {
    margin-block: 15px;

    li {
      margin-block: 10px;
    }
  }

  p {
    margin-block: 15px;
  }
}

.screenshoots .myTips .swiper-slide {
  width: 138px !important;

  @media (min-width: 768px) {
    width: 100%;
  }
}

.myTips {
  .swiper-slide {
    @media (min-width: 768px) {
      width: 100%;
    }
  }

  h3 {
    @media (min-width: 768px) {
      width: 100%;
    }
  }

  .swiper-wrapper {
    padding-bottom: 0;
  }

  .swiper-slide img {
    display: block;
    height: 220px;
    object-fit: cover;
    border-radius: 15px;
  }
}

.mySelection {
  margin: 20px 0;

  .selection-wrap {
    display: flex;
    justify-content: space-between;
    margin: 20px 0;
    flex-wrap: wrap;
  }

  .app-selection {
    a {
      display: flex;
      flex-direction: row;
      transform: scale(1);
      transition: transform .2s ease-in-out;
      gap: 10px;
      align-items: center;

      &:hover {
        transform: scale(1.05);
        color: inherit !important;
      }
    }

    .app-img {
      width: 110px;
      max-width: 110px;
      min-width: 110px;
      height: 110px;
      object-fit: cover;
      border-radius: 5px;
    }

    .small-text {
      font-size: 12px;
      line-height: 15px;
      font-weight: 250;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }
  }

  .title-box {
    width: 100%;
  }

  .app-description {
    color: var(--dark-gray);
    font-size: 13px;
    line-height: 16px;
    align-items: center;
    margin: 0px;

    p {
      color: var(--dark-gray) !important;

      span {
        color: var(--dark-gray) !important;
      }
    }

    h3 {
      font-size: 16px;
      color: var(--black);
      font-weight: 600;
      line-height: 18px;
      text-align: left;
      min-width: 80px;
      width: 80%;
      text-overflow: ellipsis;
      overflow: hidden;
      overflow-wrap: break-word;
      word-break: break-word;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }
  }

  .app-selection {
    margin-bottom: 0px;
    padding-bottom: 0;
    width: calc((100% - 3 * 40px) / 4);

    @media (max-width: 1199px) {
      width: calc((100% - 2 * 20px) / 3);
    }

    @media (max-width: 767px) {
      width: calc((100% - 1 * 20px) / 2);
    }

    @media (max-width: 480px) {
      width: 100%;
    }
  }

  .btn-selection {
    background: transparent;
    font-weight: 800;
    margin: 15px 0 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    font-size: 0.9em;
    border: 2px solid var(--dark-gray);
    padding: 6px 12px;
    border-radius: 20px;

    >span {
      color: var(--main-color);
    }
  }

  .selection-container:nth-child(3) {
    display: none;
  }

  .selection-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    max-width: 100%;
    gap: 60px 40px;

    @media (min-width: 768px) and (max-width: 1199px) {
      gap: 60px 20px;
    }
  }
}

.stars {
  line-height: 12px;
  padding-bottom: 4px;

  span {
    line-height: 12px;
    color: #ffc700;
  }
}

.myBooks .swiper-slide .stars {
  margin-top: 12px;
  justify-content: space-between;
}

.myBooks .swiper-slide .stars div,
.myGames.myGames .swiper-slide-content .stars div,
.mySelection .app-description .stars div {
  color: #ffc700;
  margin-top: 2px;
}

.myGames .swiper-slide-content {
  display: flex;
  gap: 20px;
}

.myGames .swiper-slide img.icon-app {
  width: 100px;
  height: 100px;
  min-width: 100px;
  border-radius: 5px;
}

.myBooks .swiper-slide .stars .btn-selection,
.myGames.myGames .swiper-slide-content .stars .btn-selection {
  border: none;
  background: var(--main-color);
  cursor: pointer;
  color: var(--white);
  border-radius: 8px;
  text-align: center;
  padding: 4px 20px;
  font-size: 1rem;
  justify-content: space-between;
  font-weight: 700;
}

.myBooks .four div span:last-child,
.myGames .four div span:last-child,
.mySelection .app-description .four span:last-child {
  color: #f4d1568f;
}

.mySelection .app-description .three span:last-child,
.mySelection .app-description .three span:nth-child(4) {
  color: #f4d1568f;
}

.app-selection a:hover .btn-selection {
  color: var(--main-color);
  background: var(--main-color);
  border: 2px solid var(--main-color);

  >span {
    color: var(--white);
  }
}

.audios .mySelection .btn-selection {
  color: var(--main-color);
}

.single-audio {
  flex-wrap: wrap;

  @media (min-width: 768px) {
    flex-wrap: nowrap;
  }
}

.single-audio .app-description {
  margin: 15px 0;

  @media (min-width: 768px) {
    margin: 15px;
  }
}

.myGames .swiper-slide {
  padding-bottom: 5px;

  .text {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;

    p:empty {
      display: none;
    }

    @media (min-width: 768px) and (max-width: 1199px) {
      max-width: calc(100% - 100px);
      width: 100%;
    }
  }
}

.myGames h3 {
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font-size: 14px;
  line-height: 18px;
  text-align: left;
  width: 100%;
  font-weight: 500;
  padding: 0;
  margin: 0;
  min-height: 36px;

  @media (min-width: 768px) and (max-width: 1199px) {
    max-width: 100%;
  }
}

.custom-wrap p,
.myGames p {
  color: var(--gray);
  font-size: 12px;
  line-height: 16px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-overflow: ellipsis;
  word-wrap: break-word;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  margin: 10px 0;
  height: 32px;
}

.myGames p {
  @media (min-width: 768px) {
    display: -webkit-box;
  }
}

.myGames .swiper-pagination-bullets,
.myTips .swiper-pagination-bullets {
  display: none !important;
}

.myBooks .swiper-slide {
  box-shadow: none;
}

.myBooks .swiper-slide a {
  flex-direction: row-reverse;
  align-items: center;
}

.myBooks .swiper-slide img {
  height: 215px;
  width: 142px;
  object-fit: cover;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.myBooks .swiper-slide a>div {
  margin: 0 5px;
  font-size: 14px;
}

.title-section {
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1;

  a {
    @media (max-width: 480px) {
      display: flex;
      flex-direction: column;
      gap: 5px;
    }

    span {
      gap: 5px;
      color: var(--main-color);

      img {
        width: 20px;
      }

      @media (max-width: 480px) {
        position: relative;
        text-align: center;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
      }
    }
  }

  h2 {
    font-size: 24px;
    letter-spacing: 2px;
    text-transform: uppercase;
  }

  h3 {
    font-size: 1.2em;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
  }

  i {
    margin-right: 10px;

    &.arrow-down {
      position: relative;
      right: 0;
      top: -1px;
      transform: rotate(180deg);
    }
  }

  span {
    display: flex;
    position: absolute;
    right: 0;
    top: 5px;
    color: var(--white);
    /*007*/

    &:hover {
      color: var(--main-color);
    }
  }
}

video {
  width: 100%;
  height: auto;
  margin: 0;
}

.audios .mySelection .selection-wrap {
  max-width: 750px;
}

.audios .mySelection .app-description {
  margin: auto 20px;
  width: 298px;
  display: block;
}

.audios .mySelection .btn-selection {
  margin: 0;
}

article {
  @media (min-width: 768px) {
    max-width: 1200px;
  }
}

article img {
  width: 100%;
  object-fit: cover;
  margin: 0px auto 10px;
  border-radius: 15px;

  @media (min-width: 768px) {
    height: 450px;
  }
}

article h2,
article h3 {
  margin: 40px 0 15px;
  font-weight: 500;
}

article h2:first-child {
  font-size: 1.5rem;
  line-height: 1.2;
  font-weight: 600;
}

.section.videos,
section.articles {
  margin: 40px 0;
}

#Sign-in {
  display: block !important;
}

.custom-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;

  @media (min-width: 768px) {
    justify-content: left;
  }

  @media (max-width: 1199px) {
    gap: 20px;
  }

  .custom-wrap {
    border-radius: 0;
    background: none;
    box-shadow: none;
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 100%;

    @media (min-width: 1200px) {
      width: calc((100% - (3 * 40px)) / 4);
    }

    @media (min-width: 768px) and (max-width: 1199px) {
      width: calc((100% - (2 * 20px)) / 3);
    }

    @media (max-width: 767px) {
      width: calc((100% - (1 * 20px)) / 2);
    }

    @media (max-width: 480px) {
      width: 100%;
    }

    h3 {
      font-weight: 500;
      align-items: center;
      justify-content: center;
      overflow: hidden;
      text-overflow: ellipsis;
      word-wrap: break-word;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      padding: 0;
      font-size: 14px;
      line-height: 1.1;
      margin: 10px 0;
      text-align: left;
    }

    .pic-container {
      img {
        width: 100%;
        height: 218px;
        object-fit: cover;
        border-radius: 15px;
      }

      &::before {
        position: absolute;
        top: 50%;
        left: 50%;
        z-index: 1;
        transform: translate(-50%, -50%);
      }

      &.icon-video {
        &::before {
          content: url(../images/icons/icon-play.svg);
        }
      }

      &.icon-audio {
        &::before {
          content: url(../images/icons/icon-sound.svg);
        }
      }

      &.icon-article {
        &::before {
          content: url(../images/icons/icon-article.svg);
        }
      }

      &.icon-book {
        &::before {
          content: url(../images/icons/icon-book.svg);
        }
      }
    }

    p {
      display: block;
      text-align: left;
      padding: 0;
      display: -webkit-box;
      -webkit-line-clamp: 3;
      font-weight: 400;
    }
  }
}


/* Card */

.card-columns {
  -webkit-column-count: 2;
  -moz-column-count: 2;
  column-count: 2;
  -webkit-column-gap: 1.25rem;
  -moz-column-gap: 1.25rem;
  column-gap: 1.25rem;
  orphans: 1;
  widows: 1;

  @media (min-width: 768px) {
    -webkit-column-count: 3;
    -moz-column-count: 3;
    column-count: 3;
  }
}

.card {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  min-width: 0;
  word-wrap: break-word;
  background-color: #fff;
  background-clip: border-box;
  border-radius: 0.25rem;

  &.large {
    border-radius: 30px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
    padding: 60px;
    gap: 50px;
  }
}

.mask {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-attachment: fixed;
}

.card-img,
.card-img-top {
  border-top-left-radius: calc(0.25rem - 1px);
  border-top-right-radius: calc(0.25rem - 1px);
}

.card-img,
.card-img-bottom,
.card-img-top {
  width: 100%;
}

.page-hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 50px;

  @media (max-width: 767px) {
    flex-direction: column;
    gap: 10px;
  }

  .page-hero-content {
    width: 35%;
    padding-right: 80px;

    h1 {
      color: var(--main-color);
    }

    @media (min-width: 768px) and (max-width: 1199px) {
      width: 50%;
      padding-right: 40px;
    }

    @media (max-width: 767px) {
      width: 100%;
      padding: 0;
    }

    .hero-text {
      font-size: 4rem;
      line-height: 1.1;
      font-weight: 200;

      @media (min-width: 1200px) and (max-width: 1359px) {
        font-size: 3.25rem;
      }

      @media (max-width: 1199px) {
        font-size: 2.5rem;
      }
    }
  }

  .page-hero-video {
    height: 480px;
    flex: 1;
    width: 100%;
    position: relative;
    overflow: hidden;
    /* hides video overflow */
    display: flex;
    padding: 30px;
    align-items: flex-start;
    border-radius: 15px;
    justify-content: flex-end;

    @media (min-width: 768px) and (max-width: 1199px) {
      max-height: 360px;
    }

    @media (max-width: 767px) {
      min-height: 280px;
      padding: 20px;
    }

    .bg-video {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      object-fit: cover;
      z-index: 0;
      border-radius: 15px;
      height: 100%;
      filter: brightness(0.6);
    }

    .slider-content {
      gap: 15px;
      position: relative;
      z-index: 1;

      @media (min-width: 768px) and (max-width: 1199px) {
        display: none;
      }

      h3 {
        margin-bottom: 15px;
      }
    }
  }
}

.error-page {
  height: 60dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;

  .btn {
    border: none;
    border-radius: 30px;
    background: var(--main-color);
    color: var(--white);
    text-align: center;
    font-size: 24px;
    box-sizing: content-box;
    max-width: 280px;
    height: 40px;
    position: relative;
    padding: 6px 5px;
    text-align: center;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

.h-captcha {
  max-width: 100%;
  overflow: auto;
}

footer {
  background: var(--black);
  padding-block: 4rem;

  .footer-wrap {
    text-align: left;

    @media (min-width: 992px) {
      margin-bottom: 0;
    }

    .logo {
      margin: 0 0 20px;

      img {
        max-width: 50px;
      }
    }

    .moira-logo img {
      height: 30px;
    }

    .footer-info {
      max-width: 640px;
      width: 100%;

      @media screen and (max-width: 991px) {
        max-width: 100%;
      }

      >p {
        color: var(--gray);
        font-size: 14px;
        max-width: 480px;
      }
    }

    .footer-links {
      display: flex;
      flex-direction: column;
      gap: 20px;
      max-width: 180px;
      width: 100%;

      a {
        color: var(--white);
      }
    }

    .footer-pages {
      @media screen and (max-width: 991px) {
        margin-inline: auto;
      }
    }

    .copyright {
      color: var(--gray);
      font-size: 14px;

      @media screen and (max-width: 991px) {
        text-align: center;
      }
    }
  }
}

.terms {
  display: flex;
  justify-content: center;
  margin-top: 10px;

  @media (min-width: 768px) {
    margin-top: 10px;
  }
}

.terms a {
  color: var(--dark-gray);
  padding: 0 8px;
}

.terms a:hover,
li.have-children ul li a:hover {
  color: var(--main-color);
}

.terms-page {
  margin: 50px auto;
}

.terms-page p {
  line-height: 25px;
}

.terms-page h4 {
  margin: 15px 0;
}

#button-error {
  background: var(--main-color);
  color: var(--white);
  width: auto;
  padding: 5px 30px;
  border-radius: 30px;
}

.page-title {
  color: var(--white);
  padding-block: 0 50px;
  position: relative;
  isolation: isolate;
  width: 100%;
  box-sizing: border-box;
  color: var(--gray);
  border-bottom: 1.5px solid #202f4e;

  h1 {
    text-align: center;
  }
}

.contact-form {

  input,
  textarea {
    padding: 12px 15px;
    border: 1px solid var(--gray);
    background: var(--gray);
    border-radius: 24px;
  }

  textarea {
    min-height: 120px;
  }
}
/**/