/**********************/
/* Footer media query */
/*     over 368px     */
/**********************/
@media (min-width: 23em) {
  /* hero section */
  .hero__btn-container {
    width: 100%;

    flex-direction: row;
  }
}

/**********************/
/*     over 320px     */
/**********************/
@media only screen and (min-width: 20em) {
}

/**********************/
/*     over 480px     */
/**********************/
@media only screen and (min-width: 30em) {
}

/**********************/
/*     over 640px     */
/**********************/
@media only screen and (min-width: 40em) {
  /* Header */
  .header__container {
    max-width: calc((600 / 16) * 1rem);
    margin: 0 auto;

    flex-direction: row;
    justify-content: space-between;
  }

  .header__nav {
    font-size: calc((20 / 16) * 1rem);
    background-color: transparent;
  }

  /* Main */
  .main {
    min-height: calc(100vh - calc((271 / 16) * 1rem));
  }

  /* showcase-hero section */
  .showcase-hero__section {
    padding: calc((40 / 16) * 1rem) calc((10 / 16) * 1rem);
  }

  .showcase-hero__container {
    text-align: left;
    max-width: calc((600 / 16) * 1rem);
    margin: 0 auto;
    padding: 0 calc((50 / 16) * 1rem);

    flex-direction: row;
    justify-content: space-between;
  }

  .showcase-hero__title {
    font-size: calc((44 / 16) * 1rem);
  }

  .showcase-hero__subtitle {
    font-size: calc((18 / 16) * 1rem);
  }

  .showcase-hero__image-container {
    flex-basis: 50%;
  }

  /* Footer */
  .footer__container {
    padding: calc((10 / 16) * 1rem) calc((20 / 16) * 1rem);
    max-width: calc((600 / 16) * 1rem);

    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .footer__copyright {
    text-align: left;
    order: 1;
  }

  .footer__nav {
    order: 2;
  }

  .footer__social {
    order: 3;
  }
}

/**********************/
/*     over 800px     */
/**********************/
@media only screen and (min-width: 50em) {
  /* Header */
  .header__container {
    max-width: calc((800 / 16) * 1rem);
  }

  /* showcase-hero section */
  .showcase-hero__container {
    max-width: calc((800 / 16) * 1rem);
  }

  /* showcase section */
  .showcase__container {
    max-width: calc((1000 / 16) * 1rem);

    grid-template-columns: calc((300 / 16) * 1rem) 1fr;
    align-items: start;
    row-gap: 0;
    column-gap: calc((50 / 16) * 1rem);
  }

  /* Footer */
  .footer__container {
    max-width: calc((800 / 16) * 1rem);
  }
}

/***********************/
/*     over 960px     */
/***********************/
@media only screen and (min-width: 60em) {
  /* hero section */
  .hero__section {
    padding-top: calc((50 / 16) * 1rem);
  }

  .hero__container {
    max-width: calc((800 / 16) * 1rem);

    display: grid;
    grid-template-columns: 1fr calc((400 / 16) * 1rem);
    gap: calc((100 / 16) * 1rem);
  }

  .hero__text {
    animation: slideInFromLeft 0.75s ease-out;

    align-items: flex-start;
  }

  .hero__text h2 {
    margin-bottom: calc((20 / 16) * 1rem);
  }

  .hero__form {
    animation: slideInFromRight 0.75s ease-out;
  }

  .hero__section::after {
    top: 100%;
  }

  /* features section */
  .features__section {
    margin: calc((100 / 16) * 1rem) 0;
  }

  .features__container {
    max-width: calc((800 / 16) * 1rem);

    flex-direction: row;
    justify-content: space-between;
  }

  .features__title {
    max-width: calc((800 / 16) * 1rem);
  }

  /* contact section */
  .contact__section {
    flex-direction: row;
    gap: calc((140 / 16) * 1rem);
  }

  .contact__text {
    margin: 0;

    gap: calc((20 / 16) * 1rem);
  }

  .contact__form {
    margin: 0;
  }

  /* process section */
  .process__container {
    max-width: calc((800 / 16) * 1rem);

    grid-template-columns: repeat(3, 1fr);
    row-gap: 0;
    column-gap: calc((30 / 16) * 1rem);
  }

  .step__image--design {
    content: url(../img/steps/design.webp);
  }

  .step__image--develop {
    content: url(../img/steps/develop.webp);
  }

  .step__image--deploy {
    content: url(../img/steps/deploy.webp);
  }
}

/***********************/
/*     over 1200px     */
/***********************/
@media only screen and (min-width: 75em) {
  /* Header */
  .header__container {
    max-width: calc((1200 / 16) * 1rem);
  }

  /* hero section */
  .hero__container {
    max-width: calc((1000 / 16) * 1rem);
  }

  .hero__text {
    justify-self: start;
  }

  /* features section */
  .features__container {
    max-width: calc((1000 / 16) * 1rem);

    flex-direction: row;
    justify-content: space-between;
  }

  /* contact section */
  .contact__section {
    gap: calc((200 / 16) * 1rem);
  }

  /* process section */
  .process__container {
    max-width: calc((1000 / 16) * 1rem);
  }

  /* showcase-hero section */
  .showcase-hero__container {
    max-width: calc((1000 / 16) * 1rem);
  }

  /* Footer */
  .footer__container {
    max-width: calc((1200 / 16) * 1rem);
  }
}
