::selection {
  background-color: var(--soft--orange);
  color: hsla(0, 0%, 100%, 0.918);
}

::-webkit-scrollbar {
  width: 15px;
  background-color: inherit;
}

::-webkit-scrollbar-thumb {
  background-color: #6ee7b7;
  border: 0.28rem solid #ffffff;
  border-radius: 100vw;
  cursor: pointer;
}

::-webkit-scrollbar-track {
  background-color: inherit;
  border-radius: 12px;
}

::-webkit-scrollbar-thumb:hover {
  background-color: var(--info);
}

/*============================== Header ==============================*/

header {
  background-image: url("../assets/img/hero_mobile.jpg");
  background-position: center center;
  background-size: cover;
  padding: 1.5em clamp(0.1em, 2vw + .6em, 4em);
}

.nav {
  padding-top: 1.2rem;
  padding-bottom: 3.75rem;
  color: var(--white);
  position: relative;
}

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

.logo {
  width: clamp(6.5rem, 10vw, 12.5rem);
}
/*------ Mobile menu ------*/

.nav .hamburger-icon {
  cursor: pointer;
  border: none;
  background-color: transparent;
}

.nav-links {
  display: block;
  opacity: 0;
  transform: translateY(-20px);
  max-height: 0;
  width: 90%;
  margin: auto;
  margin-top: 3.25rem;
  transition: opacity 0.5s ease, transform 0.5s ease, max-height 0.5s ease;
  position: relative;
}

.nav-links::before {
  content: "";
  display: block;
  position: absolute;
  right: 0;
  top: -25px;
  width: 0;
  height: 0;
  border-bottom: 26px solid var(--white);
  border-left: 26px solid transparent;
}

.nav-links.active {
  opacity: 1;
  transform: translateY(0);
  max-height: 500px;
}

.nav-links ul {
  background-color: var(--white);
  width: 100%;
  left: 50%;
  transform: translateX(-50%);
  padding: 2.8125rem 0;
  text-align: center;
  position: relative;
}

.nav-links a {
  text-decoration: none;
  margin-bottom: 40px;
  display: inline-block;
  color: var(--text-gray);
  transition: all 0.3s ease;
}

.nav-links li a:hover {
  color: var(--green-tree);
}

.nav-links li:last-child a {
  margin-bottom: 0;
}

.nav-links .btn-contact {
  background-color: var(--yellow--min);
  color: var(--very-dark-desaturated-blue);
  font-family: var(--title-font);
  font-weight: 900;
  text-transform: uppercase;
  padding: 12px 32px;
  border-radius: 220px;
}



/*------ Hero ------*/
.hero {
  text-align: center;
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.2em;
}

.hero h1 {
  color: var(--white);
  font-size: var(--fs-4xl);
  text-transform: uppercase;
  letter-spacing: 0.1563rem;
}

.hero a {
  margin-bottom: 134px;
  font-size: 3.25rem;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(20px);
  }
}

/*============================== Main ==============================*/

.section {
  padding: 3.8em clamp(1.5em, 2vw + 1em, 4em);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5em;
}

.image-wrapper img {
  max-width: 100%;
}

.section h2 {
  color: var(--gray-blue);
  font-size: var(--fs-3xl);
  max-width: 20ch;
}

.section .description {
  color: var(--dark-grayish-blue);
  max-width: 50ch;
}

.section .btn-more {
  text-decoration: none;
  font-family: var(--title-font);
  font-weight: 900;
  text-transform: uppercase;
  color: var(--gray-blue);
  position: relative;
  transition: all 0.3s ease;
}

.section .btn-more::after {
  position: absolute;
  content: "";
  display: block;
  width: 120%;
  left: -10%;
  bottom: 0;
  height: 10px;
  background-color: var(--yellow--min);
  border-radius: 20px;
  z-index: -1;
  opacity: 0.4;
  transition: background-color 0.3s ease;
}

.section .btn-more-red::after {
  background-color: var(--soft--orange);
}

.section .btn-more:hover::after {
  opacity: 1;
}

.graphic-design-image-wrapper {
  background-image: url("../assets/img/cherry_mobile.jpg");
}

.photography-image-wrapper {
  background-image: url("../assets/img/tangerine_mobile.jpg");
}

.section-v2 {
  background-size: cover;
  background-position: top center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  min-height: 700px;
}

.section-v2 h2 {
  color: var(--green-tree);
  font-size: var(--fs-2xl);
}

.section-v2 .description {
  color: var(--didark-blue);
  max-width: 50ch;
}

/*------ Testimonials ------*/

.client-testimonials {
  padding-top: 6.125rem;
  text-align: center;
}

.testimonials-wrapper {
  max-width: 1200px;
  margin: 4em auto;
}

.client-testimonials .testimonials-title {
  margin-bottom: 5.125rem;
  text-transform: uppercase;
  font-family: var(--title-font);
  letter-spacing: var(--spacing-2xs);
  font-size: var(--fs-sm);
}

.testimonial {
  padding: 0 24px;
  margin-bottom: 70px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.8rem;
}

.testimonial img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-description {
  color: var(--dark-grayish-blue);
  margin-bottom: 42px;
  max-width: 50ch;
}

.client-infos {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
}

.testimonial-author {
  font-family: var(--title-font);
  color: var(--gray-blue);
  font-size: var(--fs-md);
}

.testimonial-author-title {
  color: rgba(128, 128, 128, 0.621);
  font-size: var(--fs-2xs);
}

.transform-image-wrapper {
  background-image: url("../assets/img/egg_mobile.jpg");
}

.stand-out-image-wrapper {
  background-image: url("../assets/img/glass_mobile.jpg");
}

main > .image-wrapper {
  min-height: 310px;
  background-size: cover;
  background-position: center;
}

/*------ Bottom images ------*/

.bottom-images {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.bottom-images img {
  height: 100%;
  object-fit: cover;
}

.bottom-milkbottles-image {
  background-image: url("../assets/img/milk_mobile.jpg");
}

.bottom-orange-image {
  background-image: url("../assets/img/orange_mobile.jpg");
}

.bottom-cone-image {
  background-image: url("../assets/img/cone_mobile.jpg");
}

.bottom-cubes-image {
  background-image: url("../assets/img/sugar_mobile.jpg");
}

.bottom-images > .image-wrapper {
  background-size: cover;
  background-position: center;
  min-height: 188px;
}

/*============================== Main ==============================*/

.footer {
  padding: 2.8em clamp(2em, 2vw + 1em, 4em);
  min-height: 300px;
  color: var(--dark-blue);
  background-color: #90d4c6;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.footer-nav {
  display: flex;
  gap: 3.5em;
}

.footer img {
  display: block;
  margin: 0 auto 50px;
}

.footer ul li a {
  color: #458d7e;
  font-size: var(--fs-sm);
}

.footer ul li a:hover {
  color: var(--white);
}

.social-icons {
  text-align: center;
  display: flex;
  justify-content: center;
  gap: 2.5rem;
}

.social-icons a svg path {
  transition: fill 0.3s ease-in-out;
}

.social-icons a:hover svg path {
  fill: var(--green-tree);
}

/*============================== Media queries ==============================*/

/*------ Desktop navigation ------*/

.desktop-links {
  display: none;
}

@media screen and (min-width: 51.875em) {
  .nav .hamburger-icon {
    display: none;
  }

  .desktop-links {
    display: block;
  }

  .desktop-links a {
    text-decoration: none;
    color: white;
    display: inline-block;
    margin-right: 55px;
  }

  .desktop-links a:last-child {
    margin-right: 0;
  }

  .desktop-links .btn-contact {
    background-color: var(--white);
    color: var(--gray-blue);
    font-family: var(--title-font);
    font-weight: 900;
    text-transform: uppercase;
    padding: 12px 32px;
    border-radius: 40px;
  }

  .btn-contact {
    transition: all 0.3s ease;
  }
  .btn-contact:hover {
    background-color: rgba(255, 255, 255, 0.4);
    color: var(--white);
  }

  /*------ Hero ------*/

  header {
    background-image: url("../assets/img/hero_desktop.jpg");
  }

  /*------ Main ------*/

  main {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
  }

  .section {
    text-align: left;
    align-items: flex-start;
  }

  .section-v2 {
    text-align: center;
    align-items: center;
  }

  .image-wrapper img {
    height: 100%;
  }

  .transform-your-brand-section {
    grid-column: 1 / 3;
    grid-row: 1 / 2;
  }

  .transform-image-wrapper {
    grid-column: 3 / 5;
    grid-row: 1 / 2;
  }

  .stand-out-image-wrapper {
    grid-column: 1 / 3;
  }

  .stand-out-section {
    grid-column: 3 / 5;
  }

  .graphic-design-image-wrapper {
    grid-column: 1 / 3;
  }

  .photography-image-wrapper {
    grid-column: 3 / 5;
  }

  .client-testimonials {
    grid-column: 1 / 5;
  }

  .bottom-images {
    grid-column: 1 / 5;
  }

  .testimonials-wrapper {
    display: flex;
    justify-content: space-between;
  }

  /*------  images ------*/

  .bottom-images {
    grid-template-columns: repeat(4, 1fr);
  }

  .bottom-images > .image-wrapper {
    min-height: 450px;
  }

  .bottom-milkbottles-image {
    background-image: url("../assets/img/milk_desktop.jpg");
  }

  .bottom-orange-image {
    background-image: url("../assets/img/orange_desktop.jpg");
  }

  .bottom-cone-image {
    background-image: url("../assets/img/cone_dekstop.jpg");
  }

  .bottom-cubes-image {
    background-image: url("../assets/img/sugar_desktop.jpg");
  }

  .transform-image-wrapper {
    background-image: url("../assets/img/egg_dekstop.jpg");
  }

  .stand-out-image-wrapper {
    background-image: url("../assets/img/glass_desktop.jpg");
  }

  .graphic-design-image-wrapper {
    background-image: url("../assets/img/sherry_desktop.jpg");
  }

  .photography-image-wrapper {
    background-image: url("../assets/img/tangerine_desktop.jpg");
  }
}
