@media screen and (max-width: 1400px) {
  #profile {
    height: 83vh;
    margin-bottom: 6rem;
  }
}

@media screen and (max-width: 1200px) {
  #desktop-nav {
    display: none;
  }
  #hamburger-nav {
    display: flex;
  }
  #experience,
  .experience-details-container {
    margin-top: 2rem;
  }
  section {
    margin: 0 10%;
  }
  .section__pic-container {
    width: 275px;
    height: 275px;
    margin: 0 auto 2rem;
    justify-content: center;
  }
  .about-containers {
    margin-top: 0;
  }
}

@media screen and (max-width: 750px) {
  .hero-title {
    font-size: 35px;
  }
}

/* Media queries - Responsive timeline on screens less than 600px wide */
@media screen and (max-width: 600px) {
  /* Place the timelime to the left */
  .timeline::after {
    left: 31px;
  }

  /* Full-width containers */
  .timeline-container {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
  }

  /* Make sure that all arrows are pointing leftwards */
  .left::before,
  .right::before {
    left: 60px;
    border: medium solid white;
    border-width: 10px 10px 10px 0;
    border-color: transparent white transparent transparent;
  }

  /* Make sure all circles are at the same spot */
  .left::after,
  .right::after {
    left: 15px;
  }

  /* Make all right containers behave like the left ones */
  .right {
    left: 0;
  }

  .gallery {
    column-count: 1;
  }

  .countDown__cont {
    column-count: 2;
    align-items: center;
    font-size: 7px;
  }

  .details-container {
    height: 75vh;
    padding-bottom: 1rem;
  }

  .details-background {
    width: 75%;
    height: 75%;
  }

  .nav-links {
    flex-direction: column;
    align-items: center;
    font-size: 20px;
    gap: 1rem;
  }

  footer p {
    font-size: 12px;
  }
}

@media screen and (max-height: 750px) {
  .details-background {
    height: 90%;
  }

  section {
    padding-top: 90px;
  }
}

@media screen and (max-height: 500px) {
  .details-background {
    gap: 1rem;
  }
}
