/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
  /* NAVIGATION */
  .desktop-navigation {
    display: none;
  }

  #mobile-navigation {
    display: none;
  }

  #hamburger-icon {
    display: block;
  }

  #close-icon {
    display: none;
  }
}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {
  /* HOME */
  .home__title {
    font-size: 40px;
  }

  .picture {
    width: 70%;
  }
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
  /* SECTIONS GLOBAL */
  .section__header {
    font-size: 34px;
  }

  /*SECTION*/
  section {
    padding-left: 10%;
    padding-right: 10%;
  }

  /* HOME */
  #home {
    min-height: 100vh;
    padding-top: 14vh;
    align-items: center;
    justify-content: space-between;
    display: flex;
    flex-direction: row;
  }

  .home__title {
    font-size: 50px;
  }

  .home__download {
    font-size: 13px;
    padding: 10px;
  }

  .home__summary-h1 {
    font-size: 34px;
  }

  .home__summary-h3 {
    font-size: 14px;
  }

  .picture {
    align-self: flex-end;
    width: 60%;
  }

  .skills__item img {
    height: 44px;
    padding: 10px;
  }

  .projects__cards-container {
    gap: 40px;
  }

  #contact {
    flex-direction: row;
  }

  .companies-container {
    width: 100%;
    gap: 20px;
  }
  
}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {

  /* SECTIONS GLOBAL */
  .section__p {
    font-size: 28px;
  }

  .section__header {
    font-size: 40px;
  }

  /* NAVIGATION */
  .desktop-navigation {
    display: flex;
  }

  #hamburger-icon {
    display: none;
  }

  /* HOME */
  .home__title {
    font-size: 50px;
  }

  .home__download {
    font-size: 14px;
    padding: 10px;
  }

  .home__summary {
    gap: 40px;
  }

  .home__summary-item {
    gap: 20px;
  }

  .home__summary-h1 {
    font-size: 38px;
  }

  .home__summary-h3 {
    font-size: 18px;
  }

  .picture {
    width: 60%;
  }

  /* SKILLS */
  .skills__item img {
    height: 46px;
  }

  .companies {
    gap: 30px;
    margin-top: 20px;
  }

  .companies-container {
    width: 100%;
    gap: 20px;
  }

  .card {
    flex-direction: row;
    text-align: justify;
    gap: 30px;
  }

  .card img {
    width: 65%;
  }
}

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {
  .home__title {
    font-size: 54px;
  }

  .home__summary {
    gap: 60px;
  }

  .home__summary-item {
    gap: 24px;
  }

  .home__summary-h1 {
    font-size: 44px;
  }

  .picture {
    width: 50%;
  }

  .skills__item img {
    height: 54px;
  }

  .companies-container {
    width: 100%;
    gap: 20px;
  }
}