@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");

@layer root, base, layout, components;

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

  :root {
    --main-color: #f3c316;
    --white: #fff;
    --gray: #c6bfd1;
    --dark-gray: #475569;
    --light-gray: #ece7f3;
    --red: #d84848;
    --black: #0f172a;
    --font-body: "Inter", sans-serif;
    --font-display: "DM Serif Display", sans-serif;
    --body-font-size: 1rem;
  }

  body {
    font-size: var(--body-font-size);
    color: var(--black);
    background-color: var(--white);
    font-family: var(--font-body);
  }

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

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

  a {
    color: var(--black);

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

  h1 {
    font-size: 48px;
    font-weight: 600;
    font-family: var(--font-display);
    line-height: 1.1;
    letter-spacing: 2px;

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

  h2 {
    font-size: 28px;
    font-weight: 600;
    font-family: var(--font-display);
    line-height: 1.1;

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

  h3 {
    font-size: 21px;
    font-weight: 600;
    font-family: var(--font-display);
    line-height: 1.1;

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

  h4 {
    font-size: 18px;
    font-weight: 500;
    font-family: var(--font-display);
    line-height: 1.2;
  }
}

@layer components {
  .btn {
    border: 2px solid var(--main-color);
    color: var(--black);
    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;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);

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

  .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;
    }
  }

  .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 0.5s linear infinite;
    }
  }

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

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

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

  /* 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;
    min-height: 80px;
  }

  .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: 32px;
      display: flex;

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

      img {
        @media screen and (max-width: 1199px) {
          height: 32px;
          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: var(--font-body);
      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: -0.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;
  }

  /* 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: var(--font-body);

      &::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;
    background: var(--light-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: 1.5px solid var(--gray);
      background: var(--white);
      font-family: "Inter", sans-serif !important;
      color: var(--dark-gray);
      
      &::placeholder {
        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(--white);
      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;
        }

        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;
  }

  .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: var(--black);
    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 {
    @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 */
    }
  }

  .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;
    }
  }

  .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 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;
  }

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

  .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: 0.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: 0.2s ease-in-out;

        &:hover {
          transform: scale(0.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-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;
  }

  .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;
    }

    &.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(--main-color);
      padding: 10px 20px 10px 15px;
      border-radius: 30px;
      color: var(--black);
      font-weight: 600;
      width: max-content;
    }

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

    input[type="radio"]:checked + label {
      background-color: var(--main-color);
      color: var(--black);
      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: var(--font-body);
    margin: 30px auto;
    display: block;
    width: 100%;
  }

  option {
    font-family: var(--font-body);
  }

  .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 0.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;
      }
    }

    .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);
  }

  .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;
    }

    img {
      width: 100%;
      object-fit: cover;
      margin: 0px auto 10px;
      border-radius: 15px;
  
      @media (min-width: 768px) {
        height: 450px;
      }
    }
  
    h2, h3 {
      font-weight: 600;
      margin-block: 30px 10px;
    }
  }


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

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

  .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;
  }

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

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

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

  .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;
        }
      }

      .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);
        }
      }

      .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 {
    margin-block: 15px;
  }

  .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 {
    padding-block: 0 50px;
    position: relative;
    isolation: isolate;
    width: 100%;
    box-sizing: border-box;
    color: var(--gray);
    border-bottom: 1.5px solid var(--light-gray);

    h1 {
      color: var(--dark-gray);
      text-align: center;
    }
  }

  .pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
    padding: 20px 0;
    flex-wrap: wrap;

    @media (max-width: 767px) {
      margin-top: 30px;
      gap: 8px;
      padding: 15px 0;
    }

    .pagination-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 10px 16px;
      border: 2px solid var(--main-color);
      border-radius: 6px;
      color: var(--main-color);
      background: transparent;
      font-weight: 600;
      font-size: 14px;
      transition: all 0.3s ease;
      cursor: pointer;
      text-decoration: none;
      white-space: nowrap;

      @media (max-width: 767px) {
        padding: 8px 12px;
        font-size: 12px;
      }

      &:hover {
        background: var(--main-color);
        color: var(--white);
        transform: translateY(-2px);
      }

      &:disabled {
        border-color: var(--gray);
        color: var(--gray);
        cursor: not-allowed;

        &:hover {
          background: transparent;
          transform: none;
        }
      }
    }

    .pagination-numbers {
      display: flex;
      gap: 6px;
      flex-wrap: wrap;
      justify-content: center;

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

      .pagination-number {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 40px;
        height: 40px;
        padding: 0 8px;
        border: 1px solid var(--light-gray);
        border-radius: 6px;
        color: var(--body-color);
        background: transparent;
        font-weight: 500;
        font-size: 14px;
        transition: all 0.3s ease;
        cursor: pointer;
        text-decoration: none;
        line-height: 1;

        @media (max-width: 767px) {
          min-width: 36px;
          height: 36px;
          font-size: 12px;
        }

        &:hover {
          border-color: var(--main-color);
          color: var(--main-color);
          background: rgba(var(--main-color-rgb), 0.1);
        }

        &.active {
          background: var(--main-color);
          color: var(--white);
          border-color: var(--main-color);

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

      a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 40px;
        height: 40px;
        padding: 0 8px;
        border: 1px solid var(--light-gray);
        border-radius: 6px;
        color: var(--body-color);
        background: transparent;
        font-weight: 500;
        font-size: 14px;
        transition: all 0.3s ease;
        cursor: pointer;
        text-decoration: none;
        line-height: 1;

        @media (max-width: 767px) {
          min-width: 36px;
          height: 36px;
          font-size: 12px;
        }

        &:hover {
          border-color: var(--main-color);
          color: var(--main-color);
          background: rgba(var(--main-color-rgb), 0.1);
        }

        /* Active page styling */
        &[style*="background: #007bff"] {
          background: var(--main-color) !important;
          color: var(--white) !important;
          border-color: var(--main-color) !important;

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