@media screen and (min-width: 576px) {
  .about-pic {
    width: 150px;
    height: 150px;
  }
  .section__text h1 {
    font-size: 3rem;
  }
  .title {
    font-size: 2.5rem;
  }
  .skills-grid {
    grid-template-columns: repeat(4, 1fr);
    max-width: 400px;
    gap: 1.5rem;
  }
  .skill-icon {
    width: 45px;
    height: 45px;
  }
  
  .project-title {
    font-size: 1.8rem;
  }
  .project-text {
    font-size: 1.5rem;
  }
}

@media screen and (min-width: 768px) {
  section {
    padding: 3rem 2rem;
  }
  
  #profile {
    flex-direction: row;
  }
  
  .about-pic {
    width: 200px;
    height: 200px;
  }
  .about-main {
    flex-direction: row;
    text-align: left;
    gap: 2rem;
  }
  .codeclan-pic-container {
    flex: 0 0 250px;
  }
  .about-text-container {
    flex: 1;
  }
  
  .section__text {
    text-align: left;
  }
  
  .btn-container {
    justify-content: flex-start;
  }
  #about {
    padding: 4vh 4rem 30px 4rem;
  }

  .section__content {
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    flex-wrap: wrap;
  }
  .section__pic-container {
    flex: 0 0 300px;
    margin-right: 2rem;
  }
  
  .about-text {
    text-align: left;
  }
  .skills-section {
    text-align: left;
  }
  .skills-section h3 {
    text-align: center;
  }
  .skills-grid {
    grid-template-columns: repeat(5, 1fr);
    max-width: none;
    margin: 0;
    gap: 1.5rem;
  }
  
  .skill-icon {
    width: 50px;
    height: 50px;
  }
  br {
    display: none;
  }
}
@media screen and (min-width: 1024px) {
  #desktop-nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 15vh;
  }
  #hamburger-nav {
    display: none;
  }
  .nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    font-size: 1.5rem;
  }
  .nav-links a {
    color: black;
    transition: all 300ms ease;
  }
  .nav-links a:hover {
    color: grey;
    text-decoration: underline;
    text-underline-offset: 1rem;
    text-decoration-color: rgb(181, 181, 181);
  }
  section {
    padding: 4rem 8rem;
    max-width: 1200px;
    margin: 0 auto;
  }
  #profile {
    gap: 5rem;
    padding-top: 4vh;
  }
  
  .about-pic {
    width: 250px;
    height: 250px;
  }
  
  .section__text h1 {
    font-size: 3.5rem;
  }
  .title {
    font-size: 3rem;
  }
  #about {
    padding: 4vh 6rem 30px 6rem;
  }
  .about-content {
    gap: 3rem;
  }
  .codeclan-pic-container {
    flex: 0 0 300px;
  }
  .skills-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 1.5rem;
  }
  .skill-icon {
    width: 55px;
    height: 55px;
  }
  .section__content {
    flex-direction: column;
    gap: 2rem;
  }
  .about-main-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 2rem;
  }
  
  .section__pic-container {
    display: flex;
    justify-content: center;
    margin: 0;
  }

  .skill-icon {
    justify-content: flex-start;
  }
  #projects {
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .project-background {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .project-title {
    font-size: 2.5rem;
  }
  .project-text {
    font-size: 1.5rem;
  }
  footer {
    display:grid;
  }
  .details-text-container {
    width: 70%;
  }
}

@media screen and (min-width: 1200px) {
  #profile {
    padding: 4vh 8rem 30px 8rem;
  }
  .about-pic {
    width: 280px;
    height: 280px;
  }
  
  #about {
    padding: 4vh 8rem 30px 8rem;
  }
  .about-content {
    gap: 1rem;
  }
  .skills-grid {
    gap: 1rem;
  }
  .details-img-container {
    flex: 0 0 700px;
  }
  .project-title {
    font-size: 3rem;
  }
  .project-button-container {
    display: flex;
    flex-direction: column;
  }
  .project-title {
    position: absolute;
  }
  .details-container {
    display: flex;
    flex-direction: row;
  }
  .project-img {
    width:100%;
    height:100%;
  }
  .project-text {
    font-size: 1.5rem;
  }
}