/* home navigation */
@media only screen and (min-width: 768px) {
  .side-menu {
    ul li a {
      color: #fff;
    }

    .start_project {
      border-color: #fff;
    }
  }

  .header.scrolled {
    .side-menu {
      ul li a {
        color: #000;
      }

      .start_project {
        border-color: #000;
      }
    }
  }
}

/* home logo */

.logo {
  & img.dark {
    opacity: 0;
  }

  & img.light {
    opacity: 1;
  }
}

/*  */

.hero-banner {
  position: relative;
}

/*  */
.hero-content {
  transform: translateX(100px);
  opacity: 0;
  transition:
    transform 0.8s ease,
    opacity 0.8s ease;
}

.image-slide.active .hero-content {
  transform: translateX(0);
  opacity: 1;
}

/*  */

.hero-content {
  position: absolute;
  right: 4rem;
  z-index: 2;
  top: 25%;

  h1 {
    font-size: clamp(3.4rem, 5.8vw, 6rem);
    font-weight: 600;
    letter-spacing: -5px;
    line-height: 0.9;
  }

  button {
    background-color: var(--primary-color);
    border: 0;
    color: #fff;
    margin-top: 1rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: 0.3s all;

    & a {
      display: inline-block;
      padding: 0.8rem 2rem;
    }

    &:hover {
      background-color: #fff;
      color: #000;
    }
  }
}

@media only screen and (min-width: 768px) and (max-width: 992px) {
  .hero-content {
    top: 20%;
    right: 2rem;

    h1 {
      letter-spacing: -4px;
    }
  }
}

@media only screen and (max-width: 767px) {
  .header .hamburger {
    span {
      background: #fff;
    }

    &.active span {
      background: #000;
    }
  }

  .header.scrolled {
    .hamburger span {
      background: #000;
    }
  }

  .hero-content {
    right: 1rem;
    text-align: right;
    top: 20%;

    h1 {
      letter-spacing: -3px;
    }

    & button {
      & a {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
      }
    }
  }
}
