@media screen and (min-height: 1600px) {
  .about-containers {
    margin-top: 0;
    padding-top: 50px;
    flex-wrap: wrap;
  }
}

@media screen and (max-width: 1400px) {
  #profile {
    min-height: 42rem;
    height: fit-content;
  }
  #contact,
  #projects {
    height: fit-content;
  }
  .section__pic-container {
    width: 275px;
    height: 275px;
    margin: 0 auto 0rem;
    padding-top: 50px;
  }
  .about-containers {
    margin-top: 0;
    flex-wrap: wrap;
  }
}

@media screen and (max-width: 1200px) {
  #desktop-nav {
    display: none;
  }
  #hamburger-nav {
    display: flex;
  }
  #profile,
  .section-container {
    display: block;
  }
  section,
  .section-container {
    height: fit-content;
  }
  section {
    margin: 0;
    padding: 3rem 2rem;
  }
  .section__pic-container {
    width: 275px;
    height: 275px;
    margin: 0 auto 0rem;
    padding-top: 50px;
  }
  .about-containers {
    margin-top: 0;
    flex-wrap: wrap;
  }
  #profile {
    padding: 50px;
    padding-top: 10rem;
    padding-bottom: 1;
  }
  #timer button {
    height: 220px;
    width: 350px;
    border-radius: 40px;
    font-size: 5rem;
  }
  #timer {
    font-size: 7rem;
    height: fit-content;
  }
}

@media screen and (max-width: 1000px) {
  #timer {
    font-size: 7rem;
  }
  #profile {
    padding: 0;
    padding-bottom: 50px;
  }
  #timer {
    font-size: 1rem;
    right: 0;
    border-radius: 20px;
  }
  .timerCD {
    font-size: 2.5rem;
    padding: 30px 40px;
  }
  .logo {
    height: 200px;
  }
  .logobox {
    position: static;
  }
  #profile .section__text {
    flex-direction: column;
    gap: 10rem;
  }
  .icon {
    height: 6rem;
  }
  #about .section__text__p1 {
    padding-top: 40px;
  }
  #projects .experience-details-container .about-containers{
    padding-bottom: 0;
    margin-bottom: 0;
  }
  .email-icon{
    height: 2.5rem;
  }
}

@media screen and (max-width: 947px) {
  #htb {
    height: auto;
  }
}


@media screen and (max-width: 650px) {
  
  #timer {
    font-size: 5rem;
  }
}

@media screen and (max-width: 600px) {
  section {
    overflow: hidden;
    min-height: unset;
  }

  #contact {
    height: 40vh;
  }
  #profile {
    height: fit-content;
    margin-bottom: 0;
  }
  article {
    font-size: 1rem;
  }
  .about-containers,
  .contact-info-upper-container,
  .btn-container {
    flex-wrap: wrap;
  }
  .contact-info-container {
    margin: 0;
  }
  .contact-info-container p,
  .nav-links li a {
    font-size: 1rem;
  }
  .experience-sub-title {
    font-size: 1.25rem;
  }
  .nav-links {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
  .section__pic-container {
    width: auto;
    height: 46vw;
    justify-content: center;
  }
  .section__text__p2 {
    font-size: 1.25rem;
  }
  .title {
    font-size: 2rem;
    padding-bottom: 5rem;
  }
  .text-container {
    text-align: justify;
  }
  .section__text__p1 {
    padding-top: 100px;
  }
  #htb .section__text__p1 {
    text-align: center;
    padding-top: 100px;
  }

  #timer a button {
    height: 180px;
    width: 280px;
    border-radius: 40px;
    font-size: 4rem;
  }

  #profile {
    padding: 0;
    padding-bottom: 4rem;
  }
  #contact {
    height: fit-content;
  }
}

@media screen and (max-width: 400px) {
  .project-img {
    border-radius: 0;
    height: 8rem;
    width: 15rem;
  }
  .timerCD {
    font-size: 2rem;
    padding: 15px 30px;
    width: fit-content;
    border-radius: 25px;
    border: 5px solid rgba(175, 175, 175, 0.712);
  }
  #htb {
    padding-left: 30px;
    padding-right: 30px;
  }
}
