/* Hero section styling*/
.section--blue {
  background-color: var(--color-primary);
}

.section-content {
  display: grid;
  grid-template-columns: 1fr 1fr 20px;
  grid-template-rows: 1fr;
  height: 100vh;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 60px;
  box-sizing: border-box;
  position: relative;
}

.hero-container-left {
  align-self: center;
  display: flex;
  flex-direction: column;
  gap: clamp(40px, 6vw, 80px);
  padding-top: clamp(40px, 10vw, 120px);
}

.txt-hero {
  line-height: clamp(60px, 49px + 3.6vw, 100px);
  display: flex;
  flex-direction: column;
}

.hero-container-left span {
  font-family: var(--font-primary);
  font-size: clamp(32px, 27px + 1.4vw, 48px);
  color: var(--color-txt-primary);
  line-height: 1.5;
  padding-bottom: 16px;
  font-weight: var(--fw-regular);
}

h1 {
  font-family: var(--font-secondary);
  font-size: var(--fs-h1);
  color: var(--color-txt-primary);
  margin-block-start: 0;
  margin-block-end: 0;
  padding-bottom: 16px;
}

.get-in-touch {
  width: 150px;
  border: 1px solid var(--color-txt-primary);
  border-radius: 100px;
  padding: 8px 16px;
  color: var(--color-txt-primary);
  font-size: 18px;
}

.get-in-touch:hover {
  background-color: var(--color-bg-hover);
}

.scroll-down-img {
  position: relative;
  height: 144px;
  width: 144px;
}

.scroll-down-wheel {
  animation: rotateWheel 8s linear infinite;
}

.arrow-down {
  position: absolute;
  top: 39%;
  left: 41%;
  height: 32px;
}

.hero-container-center {
  align-self: end;
  position: relative;
}

.orange-wheel-hero {
  position: absolute;
  right: clamp(60px, 80px, 120px);
  top: 80px;
  height: clamp(100px, 20vw, 300px);
  width: clamp(100px, 20vw, 300px);
}

.author-img {
  height: clamp(350px, 80vh, 800px);
  position: relative;
  display: block;
}

.side-dots {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transition: opacity 0.3s ease;
}

.hero-container-right {
  align-self: center;
  position: absolute;
  right: 24px;
}

/* Laptops media queries */
@media (min-height: 650px) and (max-height: 800px) and (min-width: 1200px) {
  .hero-container-left {
    padding-top: 80px;
  }

  .hero-container-left span {
    font-size: 32px;
  }

  h1 {
    font-size: 64px;
  }

  .orange-wheel-hero {
    height: 200px;
    width: 200px;
    right: 250px;
  }

}

/* Mobile media queries - portrait */
@media(max-width: 850px) {
   .section-content {
    display: flex;
    flex-direction: column;
    height: 100vh;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 0 16px;
  }

  .hero-container-right {
    display: none;
  }

  .hero-container-left {
    padding-top: 100px;
    width: 100%;
  }

  .scroll-down-img {
    position: absolute;
    bottom: 20px;
    left: 20px;
    z-index: 50;
  }

  .hero-container-center {
    align-self: center;
  }

  .author-img {
    height: clamp(250px, 50vh, 800px);
  }

  .orange-wheel-hero {
    left: 150px;
    height: 150px;
    width: 150px;
    top: 20px;
  }

  .scroll-down-wheel {
    border-radius: 50%;
    background-color: var(--color-primary);
  }
}

@media(max-width: 500px) {
  .hero-container-left {
    padding-top: 80px;
  }

 
  .scroll-down-img {
    height: 80px;
    width: 80px;
    left: 10px;
    bottom: 30px;
  }

  .scroll-down-wheel {
    height: 100px;
    width: 100px;
  }

  .arrow-down {
    height: 22px;
    left: 50%;
    top: 50%;
  }

  h1 {
    font-size: 2.2rem;
  }

  .hero-container-left span {
    font-size: 1.5rem;
  }

  
  .orange-wheel-hero {
    left: 130px;
  }
}

/* Height media queries */
/* Iphone 14pro max - potrait*/
@media(min-height: 900px) and (max-height: 1000px) and (max-width: 450px) {
  
  h1 {
    font-size: 3rem;
  }

  .hero-container-left {
    padding-top: 120px;
  }
}

/* Standard phones  - portrait*/
@media(min-height: 661px) and (max-height: 760px) and (max-width: 450px) {
  .orange-wheel-hero {
    left: 100px;
    height: 120px;
    width: 120px;
    top: 40px;
  }
}


/* Very short phones  - portrait*/ 
@media(max-height: 660px) and (max-width: 450px){
  .hero-container-left span {
    font-size: 1.3rem;
    padding-bottom: 8px;
  }

  h1 {
    font-size: 2rem;
    padding-bottom: 8px;
  }

  .orange-wheel-hero {
    left: 100px;
    height: 80px;
    width: 80px;
    top: 40px;
  }

  .get-in-touch {
    font-size: 16px;
    padding: 8px;
  }
}

/* Phones - landscape */
@media(min-width: 480px) and (max-width:950px) and (min-height: 250px) and (max-height:450px) and (orientation: landscape){
  .section-content {
    height: auto !important;
    min-height: auto !important;
    grid-template-columns: 1fr;
  }

  .orange-wheel-hero {
    left: 80px;
    height: 100px;
    width: 100px;
}
  .hero-container-left {
    padding-top: 50px;
  }
}

/* Tablet - portrait & landscape */
/* Small tablets  - landscape*/
@media (min-width: 900px) and (max-width: 1280px)
  and (min-height: 600px) and (max-height: 800px)
  and (orientation: landscape) {
    h1 {
      font-size: 40px;
    }

    .hero-container-left span {
      font-size: 24px;
    }

    .overlay-skills {
      top: -40;
    }

}

/* Large tablets - portrait */
@media (min-width: 835px) and (max-width: 1024px)
  and (min-height: 1181px) and (max-height: 1366px)
  and (orientation: portrait) {
    .section-content {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: space-between;
      width: 100%;
    }

    .hero-container-left {
      align-self: flex-start;
    }

    .hero-container-center {
      align-self: center;
    }

    .hero-container-right {
      display: none;
    }

    .author-img {
      height: 750px;
    }
}



