@media screen and (max-width: 600px) {

  body {
  overflow-x: hidden;
}
    #contact, footer {
        height: 40vh;
    }

    #profile {
    display: flex;
    flex-direction: row; 
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding: 1rem;
    margin-bottom: 2rem;
    }

    article {
        font-size: 1rem;
    }

    footer nav {
        height: fit-content;
        margin-bottom: 2rem;
    }

    .contact-info-upper-container {
    flex-wrap: wrap; 
    display: flex;
    justify-content: center;
    border-radius: 2rem;
    border: orange 0.1rem solid;
    border-color: orange;
    background: none;
    margin: 2rem -9rem;
    padding: 0.5rem;
    }

    .btn-container {
    flex-wrap: wrap;
    justify-content: center;
  }

    .contact-info-container {
        margin: 0;
    }

    .contact-info-container p, .nav-links li a {
        font-size: 1rem;
    }

    .experience-sub-title {
        font-size: 1.25rem;
    }

    .logo {
        font-size: 1.5rem;
        text-align: center;
        width: 100%;
        margin-top: 5rem;
    }

    .nav-links {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .section__pic-container {
        width: 200px;
        height: auto;
        margin: 0;
    }

    .title {
        font-size: 1.8rem;
    }

    .text-container {
        text-align: center;
        padding: 1rem;
        font-style: italic;
    }

    .details-container {
    flex: 1 1 100%;
    min-width: 0;
    box-sizing: border-box;
    margin: 1rem auto;
    width: 90%;
    text-align: center;
}

    article h3 {
    font-size: 1rem;
}

    .about-containers {
    flex-direction: row;
    align-items: center;
}

.section__pic-container img {
    width: 250px;
    height: auto;
    border-radius: 2rem;
}

.section__text {
    text-align: center;
    padding: 0 1rem;
    margin: 0;
    margin-bottom: 6rem;
}

.section__text__p2 {
    font-size: 1rem;
    word-wrap: break-word;
    margin-bottom: 0.5rem;
}

.section__text__p1 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

#about {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about-containers {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 2rem;
}

#about .section__pic-container {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1.5rem;
  margin-top: 2.5rem;
  margin: 1.5rem auto;
}

.about-pic {
  width: 250px;
  height: fit-content;
  max-width: 250px;
}

#about .text-container p {
  padding: 0 1rem;
  word-wrap: break-word;
  text-align: center;
}

#about .text-container {
  text-align: center;
  padding: 0 1rem;
}

.section-container {
  flex-direction: row;
  align-items: center;
  gap: 1.5rem;
}

#about .title {
font-size: 1.8rem;
  white-space: normal; 
  text-align: center;
  margin: 0rem auto;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}


#about .title::after {
  content: "";
}


.about-two-column {
    margin-top: 3rem; 
}

 #socials-container {
    justify-content: center;
    flex-wrap: wrap;
  }

  #desktop-nav {
  display: none;
}

#hamburger-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
}

.hamburger-menu {
  position: absolute;
  top: 1rem;
  right: 1rem;
}

.menu-links {
  background-color: transparent;
  position: absolute;
  right: -3rem;
  top: 1.5rem;
  width: 140px;
  border-radius: 0.75rem;
  z-index: 1000;
  padding: 0.3rem 0;
  box-shadow: none;
  
}

.menu-links a {
  font-size: 0.9rem;
  padding: 0.3rem 0.5rem;
}

.menu-links li {
  margin: 0.2rem 0;
}

#experience .about-containers {
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

#experience .details-container {
  width: 220px;
  height: 250px;
  border-radius: 2rem;
  border: 2px solid orange;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: none;
  margin: 1rem;
  padding: 1rem;
  text-align: center;
  box-sizing: border-box;
}

#experience .details-container h2 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

#experience article {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
}

#experience article h3 {
  font-size: 0.9rem;
  text-align: center;
}

#experience .icon {
  width: 20px;
  height: 20px;

}

#experience .title {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: auto;
}

.project-img {
    border-radius: 1.5rem;
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.project-title {
    margin: 1rem;
    color: black;
}

.project-btn {
    color: lightblue;
    border-color: orange;
}

.details-container.color-container {
  margin: 0 auto 2.5rem auto; /* centers and gives vertical space */
  width: 90%;
  max-width: 400px;
  min-width: 280px;
  padding: 1.5rem;
  border: 2px solid orange;
  border-radius: 2rem;
  box-sizing: border-box;
}

.article-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1rem;
}

.btn-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

#projects {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 1rem;
}





}


 @media screen and (min-width: 601px) and (max-width: 1200px) {
  body {
    overflow-x: hidden;
  }

  section {
    margin: 0 3rem;
    padding: 0 1rem;
    box-sizing: border-box;
  }

  .section-container {
    flex-direction: column;
    gap: 2rem;
    align-items: center;
  }

  .section__pic-container {
    width: 250px;
    height: auto;
    margin: 0 auto;
  }

  .about-containers {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }

  .details-container {
    width: 90%;
    max-width: 600px;
  }

  .experience-details-container {
    padding: 1rem;
  }

  .article-container {
    flex-direction: column;
    align-items: flex-start;
  }

}


@media screen and (min-width: 1400px) {
    .about-containers {
      grid-template-columns: repeat(3, 1fr); /* 2 projects per row */
      flex-wrap: wrap;
    }
  }



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