@media screen and (max-width: 1400px) {
  #custom-cursor{
    display: none;
  }

  
  #profile {
    height: 83vh;
    margin-bottom: 6rem;
  }
  #hamburger-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: rgba(50, 50, 50, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    z-index: 1000;
    transition: all 0.3s ease;
    width: 100%;
    border-bottom-left-radius: 1rem;
    border-bottom-right-radius: 1rem;
  }

  .nav-links {
    height: fit-content;
    width: fit-content;
    background: var(--primary-background);
    border: var(--primary-border);
    padding: 1rem;
    border-radius: 0.5rem;
  }

  #contact .nav-links,
  footer .nav-links {
    background-color: var(--primary-background);
    width: fit-content;
    height: fit-content;
    border: none;
    background: none;
    padding: 0;
  }

  #loader {
    transition: all linear 0.9s;
    height: 100vh;
    width: 100vw;
    top: 0;
  }
  .cover {
    padding: 0;
    margin: 0;
    width: 100%;
  }

  .about-containers {
    flex-wrap: wrap;
  }
  #contact,
  #projects {
    height: fit-content;
  }
  #contact #arrow {
    margin: 5rem auto;
  }
  .logo {
    /* border: 2px solid wheat; */
    height: 40px;
    width: 50px;
    filter: invert(1);
  }
  #about h1,
  #experience h1,
  #projects h1 {
    color: black;
  }
  #about,
  #experience,
  #projects h3 {
    color: black;
  }
  #profile .section__pic-container img {
    width: auto;
    justify-content: center;
    align-items: center;
    width: 275px;
    height: 275px;
    display: flex;
    border-bottom-right-radius: 3rem;
    border-top-left-radius: 3rem;
  }

  .wrapper2 {
    height: fit-content;
    border-radius: 4rem;
  }


  .blink-container{
    background: linear-gradient(#fe330a, #f12105);
    /* position: absolute; */
    margin-top: 2rem;
    width: 20vw;
    height: 20vw;
    border-radius: 50%;
    animation-name: blink;
    animation-duration: 2s;
    animation-timing-function: linear;
    animation-delay: 0.7s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    filter: blur(10px);
  }
  @keyframes blink {
    from {
      transform: scale(1); /* Initial size */
      opacity: 1; /* Fully visible */
    }
    to {
      transform: scale(0.7); /* Shrink the size */
      opacity: 1; /* Make it disappear */
    }
  }
}
@media screen and (max-width: 1200px) {

  body::after{
    display: none;
  }

  #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 {
    margin: 0 auto;
    width: 0 1rem;
    height: 46vw;
    justify-content: center;
  }
  #about .section__pic-container {
    margin: 0 auto;
    width: 0 1rem;
    height: 36vw;
    justify-content: center;
  }
  .about-pic {
    margin-bottom: 1rem;
  }
  .about-containers {
    margin-top: 0;
  }
  .right .btn-container {
    width: 250px;
    height: auto;
    margin: auto;
  }
  #profile .section__pic-container img {
    width: auto;
    justify-content: center;
    align-items: center;
    width: 275px;
    height: 275px;
    display: flex;
    border-bottom-right-radius: 3rem;
    border-top-left-radius: 3rem;
  }
  #profile .section__pic-container {
    width: auto;
    height: 36vw;
    justify-content: center;
    margin: 3rem auto;
    margin-bottom: 8rem;
  
  }
  #contact {
    height: auto;
  }

  .notification{
    width: auto;
  }

  #projects .about-containers{
    flex-direction: column;
  }


  #projects .article-container{
    height: auto;
    width: auto;
  }
  
  .nav-links {
    height: auto;
    width: 100%;
    background-color: white;
    flex-direction: column;
    gap: 0rem;
    text-align: center;
    margin-bottom: 3rem;
    margin-top: 2rem;
  }

  footer p{
    margin-top: 5rem;
    margin-bottom: -3rem;
  }


.footer-space{
  display: block;
}


  .nav-links a {
    font-size: 1.5rem;
  }
   
  #profile button{
    font-weight: 200;  
    width: 180px;
    height: 100%;
    font-size: 1rem;
    padding: 0.4rem;
  }


}

@media screen and (max-width: 600px) {
  .notification {
    width: 95vw;
    height: 60px;
    font-size: 1rem;
    padding: 2rem 0.5rem;
  }

  #projects button {
    width: 40%;
      border-bottom-right-radius: 1.2rem;
      border-top-left-radius: 1.2rem;
  }

  .cover {
    padding: 0 1.5rem;
    margin-top: 1.5rem;
  }
  #hamburger-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.3rem;
    
  }
  /* .right{
    margin-bottom: 2rem;
  } */
  #loader {
    transition: all linear 0.9s;
    height: 100vh;
    width: 100vw;
    top: 0;
  }

  .nav-links{
    margin-top: 0rem;
  }

  footer p{
    margin-top: 0rem;
  }
 
  #contact,
  footer {
    height: 30vh;
  }
  #profile {
    height: 75vh;
    margin: 3rem auto;
  }
  article {
    font-size: 1rem;
  }
  footer nav {
    height: fit-content;
    margin-bottom: 0rem;
    margin-top: 0rem;
    color: white;
  }

#contact{
  padding-bottom: 0rem;
}

  .nav-links {
    height: auto;
    background-color: white;
    flex-direction: column;
    gap: 1rem;
    text-align: center;
    margin-bottom: 3rem;
    border: none;
    padding: 1rem;
  }

  .menu-links {
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 1001;
  }


  .menu-links.active {
    padding: 0.5rem;
  }

  .about-containers,
  .contact-info-upper-container,
  .btn-container {
    flex-wrap: wrap;
  }
  .contact-info-container {
    margin: 0;
  }
  .contact-info-container p,
  .nav-links li {
    font-size: 1rem;
  }
  .experience-sub-title {
    font-size: 1.25rem;
  }
    .hamburger-icon {
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      /* height: 20px;
      width: 26px; */
      cursor: pointer;
    
    }

    .hamburger-icon.active span:first-child {
      transform: rotate(45deg) translate(5px, 7px);
    }
    
    .hamburger-icon.active span:nth-child(2) {
      opacity: 0;
    }
    
    .hamburger-icon.active span:last-child {
      transform: rotate(-45deg) translate(5px, -7px);
    }
    

  .logo {
    height: 35px;
    width: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .logo img {
    height: 100%;
    width: 100%;
    object-position: center;
    object-fit: cover;
  }
  .nav-links {
    height: 20vh;
    background-color: white;
    flex-direction: column;
    gap: 1rem;
    text-align: center;
    margin-bottom: 3rem;
  }

  .nav-links a {
    color: rgb(255, 255, 255);
    font-size: 1.5rem;
  }
  #profile .section__pic-container {
    width: auto;
    height: 46vw;
    justify-content: center;
    margin-bottom: 8rem;
  }
  #about .section__pic-container {
    width: auto;
    height: 46vw;
    justify-content: center;
    margin-bottom: 1rem;
  }
  .section__text__p2 {
    font-size: 1.25rem;
  }
  .title {
    font-size: 2rem;
  }
  .text-container {
    text-align: justify;
  }
  .right {
    width: auto;
  }
  .right .btn-container {
    width: 200px;
    margin: auto;
  }
  #profile .section__pic-container img {
    width: auto;
    justify-content: center;
    align-items: center;
    width: 175px;
    height: 175px;
    display: flex;
  }
  #about .about-containers {
    flex-direction: column;
  }
  .wrapper2 {
    width: 100vw;
  }
  .contact-info-container {
    flex-direction: column;
    padding: 2rem;
    gap: 1rem;
  }

  .section__text__p3{
    font-size: 1rem;
  }

  #profile button{
    width: 150px;
    height: 100%;
    font-size: 1rem;
    padding: 0.2rem;
    border-radius: 0.5rem;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 0;
    border-top-right-radius: 0;
    border-bottom-right-radius: 10px;
    border: none;
    font-weight: 200;    
  }

  .details-container{
    border-bottom-right-radius: 2rem;
    border-top-left-radius: 2rem;
  }
}

/* Add this to ensure content doesn't hide behind the fixed navbar */
body {
  padding-top: 30px; /* Same as the height of the navbar */
}
