@media screen and (max-width: 1200px) {
  #desktop-nav {
    display: none;
  }
  #hamburger-nav {
    display: flex;
    justify-content: space-between;
    margin: 0 60px;
  }
}

/* Tablet screen */
@media screen and (max-width: 860px) {
  #about .section-container,
  #section-5 .section-container,
  #section-2 .section-container {
    flex-direction: column;
  }
  .page-title {
    padding: 1vh 1rem 0;
  }
  .content-details-container img {
    max-width: 350px;
  }
  .content-details-container .img-typog {
    max-width: 250px;
  }
}

@media screen and (min-width: 481px) {
  padding: 0 160px;
}

/* Mobile screen */
@media screen and (max-width: 480px) {
  #profile,
  .about-containers,
  #section-3 .section-container,
  #section-4 .section-container,
  #section-6 .section-container,
  #section-7 .section-container,
  #section-8 .section-container {
    flex-direction: column;
  }

  .section__pic-container.fade {
    max-height: 400px;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to top, transparent 10%, white 30%);
    mask-image: linear-gradient(to top, transparent 10%, white 30%);
  }

  .nav-links-footer {
    font-size: 18px;
  }
  #hamburger-nav {
    margin: 0 40px;
  }
  .no-text-center-mobile {
    text-align: unset !important;
  }

  section {
    padding-left: 40px;
    padding-right: 40px;
  }

  #profile .section__pic_container {
    width: auto;
    height: auto;
  }

  #profile {
    row-gap: 30px;
  }

  #profile img {
    max-width: 300px;
    margin: 0 auto;
  }
  .about-details-container .title,
  .about-details-container .section__text__p1 {
    text-align: center;
  }

  .logo span {
    line-height: 1;
  }
  .contact-info-container p {
    font-size: 14px;
  }
}
