@media screen and (max-width: 1400px) {
  #profile {
    height: 100vh;
  }
  .about-containers {
    flex-wrap: wrap;
  }
  #contact,
  #projects {
    height: fit-content;
  }
}

@media screen and (max-width: 1200px) {
  #profile{
    display: block;
  }
  .arrow {
    display: none;
  }
  section{
    height: fit-content;
  }
  section {
    padding-top: 10rem;
  }
  #profile {
    padding-top: 15vh;
  }
  .profile-pic-container {
    width: 275px;
    height: 275px;
    margin: 0 auto 2rem;
    padding-top: 2rem;
    justify-content: center;
  }
  .profile-text p, .profile-text h1 {
    text-align: center;
  }
  .profile-description {
    text-align: center;
    width: 50%;
    padding-left: 25%;
  }
  .socials-container {
    justify-content: center;
  }
  .about-containers {
    margin-top: 0;
  }
  .content {
    font-size: 12px;
    margin-left: 8px;
    margin-right: 8px;
  }
}

@media screen and (max-width: 750px) {
  .menu-links a {
    font-size: 16px;
    padding-bottom: 10px;
  }
  .profile-description {
    width: 80%;
    padding-left: 10%;
  }
  .pretitle-profile {
    font-size: 33px;
  }
  .title-profile {
    font-size: 70px;
    padding-top: 1.8vh;
    padding-bottom: 1.8vh;
  }
  #profile {
    padding-top: 13vh;
    padding-bottom: 3vh;
    padding-left: 5vh;
    padding-right: 5vh;
  }
  article {
    font-size: 1rem;
  }
  .about-containers,
  .btn-container {
    flex-wrap: wrap;
  }
  .contact-info-container a {
    font-size: 20px;
  }
  footer a {
    font-size: 16px;
  }
  .experience-sub-title {
    font-size: 1.25rem;
  }
  .logo {
    font-size: 1.5rem;
  }
  .profile-pic-container {
    width: auto;
    justify-content: center;
  }
  .section__text__p2 {
    font-size: 1.25rem;
  }
  .title {
    font-size: 50px;
  }
  .text-container {
    text-align: justify;
  }
  .about-subject {
    float: none;
    padding-bottom: 1.5vh;
  }
  .about-details {
    margin-left: 0%;
  }
  .about-details-text {
    font-size: 15px;
  }
  .content {
    font-size: 10px;
  }
  .skill-category {
    width: 49%; /* Full width for smaller screens */
  }
  .skill-header h2, .skill-list p {
    font-size: 14px; /* Adjust font size for smaller screens */
  }
}

@media screen and (max-width: 700px) {
  #profile {
    padding-top: 13vh;
    padding-bottom: 3vh;
    height: auto;
  }
  .profile-description {
    font-size: 19px;
  }
  .nav-links {
    display: none;
  }
  #hamburger-nav {
    display: flex;
  }
  .content {
    margin-left: 2px;
    margin-right: 2px;
  }
}

@media screen and (max-width: 600px) {
  .date {
    font-size: 14px;
    width: 50px;
    padding-left: 18%;
  }
  .timeline::before {
    top: 56.5px;
  }
  .timeline::after {
    top: 52.5px;
  }
}

@media screen and (max-width: 563px) {
  .profile-description {
    height: 125px;
  }
  .content {
    margin-left: 2px;
    margin-right: 2px;
  }
  .date {
    padding-left: 12%;
  }
}

@media screen and (max-width: 450px) {
  .date {
    width: auto;
    padding-left: 0;
  }
}

@media screen and (max-width: 405px) {
  .profile-description {
    height: auto;
  }
}