@media screen and (max-width: 1400px) {
  #profile {
    height: 83vh;
    margin-bottom: 6rem;
  }
  .about-containers {
    flex-wrap: wrap;
  }
  #contact,
  #projects {
    height: fit-content;
  }
  #experience,
  .experience-details-container {
    margin-top: 2rem;
  }
}

@media screen and (max-width: 1200px) {
  #desktop-nav {
    display: none;
  }
  #hamburger-nav {
    display: flex;
  }

  #experience,
  .experience-details-container {
    margin-top: 2rem;
  }

  #profile,
  .section-container {
    display: block;
  }
  .arrow {
    display: none;
  }
  section,
  .section-container {
    height: fit-content;
  }
  section {
    margin: 0 5%;
  }
  .section__pic-container {
    width: 275px;
    height: 275px;
    margin: 0 auto 2rem;
  }
  .about-containers {
    margin-top: 10;
    margin-bottom: 10;
  }
  .new-projects-section-div {
    width: 100%;
  }
}

@media screen and (max-width: 600px) {
  #contact,
  footer {
    height: fit-content;
  }
  #profile {
    height: 83vh;
    margin-bottom: 0;
  }
  article {
    font-size: 1rem;
  }
  footer nav {
    height: fit-content;
    margin-bottom: 2rem;
  }
  .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;
  }
  .logo {
    font-size: 1.5rem;
  }
  .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;
  }
  .text-container {
    text-align: justify;
  }
}

/* old media queries */

@media screen and (max-width: 1920px) {
  html {
    font-size: 60%;
  }
}

@media screen and (max-width: 1400px) {
  html {
    font-size: 60%;
  }
}

@media screen and (max-width: 1200px) {
  html {
    font-size: 60%;
  }

  .projects-section-div,
  .skills-section,
  .text-content {
    width: 90%;
  }

  .about-section {
    width: 80%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .logo:hover {
    transform: translateY(200px);
    transition-duration: 1s;
  }
}

@media screen and (max-width: 1150px) {
  html {
    font-size: 60%;
  }
}

@media screen and (max-width: 998px) {
  #hamburger-button,
  .hamburger {
    background-color: transparent;
  }

  .mobile-navbar-tabs-ul a,
  .mobiletogglemenu {
    text-decoration: none;
  }

  .activeThismobiletab,
  .mobile-navbar-tabs-ul a {
    color: var(--color-white);
  }

  html {
    font-size: 55%;
  }

  .blob,
  .cursor-inner,
  .cursor-outer,
  .navbar-tabs-ul {
    display: none;
  }

  .stopscrolling {
    overflow: hidden;
  }

  .hamburger {
    position: fixed;
    top: 0;
    width: 100vw;
    height: 115px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    z-index: 9998;
  }

  .activeThismobiletab:before,
  .burger-bar,
  .hamburger-animation1,
  .hamburger-animation2,
  .hamburger-animation3 {
    background-color: var(--color-white);
  }

  .hamburgerbase {
    width: 80%;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 20px;
  }

  #hamburger-button {
    font-size: 3rem;
    font-weight: 800;
    width: 4.5rem;
    height: 3.5rem;
    border: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
  }

  #burger-bar1,
  #burger-bar2,
  #burger-bar3 {
    height: 3px;
    border-radius: 0;
    transition-duration: 0.3s;
  }

  #burger-bar1,
  #burger-bar3 {
    width: 60%;
  }

  #burger-bar2 {
    width: 100%;
  }

  .hamburger-animation1 {
    transform: rotate(45deg) scaleX(1.7);
    transition-duration: 0.3s;
    transform-origin: left;
  }

  .hamburger-animation2 {
    transform: scaleX(0);
  }

  .hamburger-animation3 {
    transform: rotateZ(-45deg) scaleX(1.7);
    transform-origin: left;
    transition-duration: 0.3s;
  }

  .mobiletogglemenu {
    background-color: transparent;
    z-index: 9990;
    height: 100%;
    width: 100%;
    position: fixed;
    top: 0;
    right: 0;
    list-style: none;
    font-size: 2rem;
    cursor: pointer;
    display: flex;
    transform: translate(1000px);
    transition-duration: 1s;
  }

  .show-toggle-menu {
    transform: translate(0);
    transition-duration: 0.6s;
  }

  .mobile-navbar-tabs-ul {
    background-color: var(--color-dark-mode);
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 70px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.176);
  }

  .mobile-navbar-tabs-li {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 600;
    position: relative;
    cursor: pointer;
    font-family: fira code;
    height: 30px;
    width: fit-content;
  }

  .about-info,
  .dp,
  .info-dp-section {
    width: 100%;
    display: flex;
  }

  .info-dp-section {
    flex-direction: column;
    margin-top: 30px;
    gap: 30px;
  }

  .about-info {
    flex-direction: column;
  }

  .dp {
    align-items: center;
    justify-content: center;
  }

  .activeThismobiletab:before {
    content: "";
    position: absolute;
    height: 10px;
    width: 10px;
    left: -20px;
    border-radius: 50%;
  }

  .projects-section-div {
    width: 80%;
  }

  .project-box {
    flex-direction: column;
    height: 800px;
  }

  .experience-box {
    height: fit-content;
    width: fit-content;
  }

  .image-div,
  .info-div {
    width: 100%;
    height: 50%;
  }

  .image-div {
    padding: 0 0 0 80px;
  }
}

@media screen and (max-width: 768px) {
  html {
    font-size: 50%;
  }

  .text-content {
    padding-left: 0;
    width: 80%;
  }

  #hello-friend {
    height: 100px;
    font-size: 3.5rem;
  }

  #name,
  #work {
    font-size: 5.5rem;
  }

  #info-para,
  .language-name {
    width: 100%;
  }

  .contact-btn-div {
    height: 140px;
    display: flex;
    flex-direction: column-reverse;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 20px;
  }

  .setting-container {
    margin-left: 0;
  }

  .dp::after,
  .dp::before {
    display: none;
  }

  .logo {
    width: 18%;
  }

  .logo:hover {
    transform: translateY(200px);
    transition-duration: 1s;
  }

  .projects-section-div {
    width: 80%;
  }

  .project-boxes-div {
    padding: 40px 0;
  }
}

@media screen and (max-width: 500px) {
  html {
    font-size: 45%;
  }

  .hamburgerbase,
  .navbar {
    height: 70px;
  }

  #hamburger {
    margin-right: 20px;
    height: 115px;
    align-items: flex-end;
  }

  #hello-friend,
  .two-words article {
    font-size: 2.5rem;
  }

  .hey {
    left: 70px;
  }

  .logo:hover {
    transform: translateY(200px);
    transition-duration: 1s;
  }

  .landing-page-container {
    height: 85vh;
  }

  .text-content {
    justify-content: flex-start;
  }

  .project-box {
    height: 550px;
  }

  .info-div {
    height: 60%;
  }

  .image-div {
    height: 40%;
    padding-left: 50px;
  }

  .image-div img {
    border-top-left-radius: 10px;
  }

  .tech-stack-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .tech-stack-box {
    width: 100%;
    height: calc(76vw / 2);
  }
}

@media screen and (max-width: 430px) {
  html {
    font-size: 45%;
  }

  .about-section,
  .education-section,
  .projects-section-div,
  .skills-section {
    width: 80%;
  }

  .info-div {
    padding: 0 30px;
  }

  .two-words article {
    font-size: 2.2rem;
  }
}

@media screen and (max-width: 375px) {
  html {
    font-size: 42%;
  }

  .dp img {
    width: 200px;
  }

  .two-words {
    height: 50px;
  }

  .two-words article {
    font-size: 2rem;
  }

  .footer-bottom article {
    font-size: 1.3rem;
  }

  .logos {
    gap: 20px;
  }
}

@media screen and (max-width: 300px) {
  html {
    font-size: 42%;
  }

  .language-name article {
    text-align: center;
  }

  .two-words {
    align-items: flex-end;
    height: 50px;
  }

  .two-words article {
    font-size: 1.5rem;
  }

  .footer-bottom article {
    font-size: 1rem;
  }

  .social-media-container a {
    width: 50px;
    height: 50px;
  }

  .logos {
    gap: 20px;
  }
}

@media only screen and (max-width: 1300px) and (max-height: 730px) {
  .landing-page-container {
    height: fit-content;
    margin-top: 20px;
  }
}
