/* Medium screens (tablets, 992px and down) */
@media (max-width: 992px) {
    :root {
      --heading-large: 8rem;
      --heading-medium: 2.5rem;
      --heading-small: 1.3rem;
      --spacing-large: 1.5rem;
    }
    
    .about-content {
      flex-direction: column;
    }
  
    .about-left {
      width: 100%;
      padding-right: var(--spacing-medium);
      margin-bottom: var(--spacing-large);
    }

    .about-left ul {
        flex-direction: row;
        gap: 10px;
        flex-wrap: wrap;
    }
  
    .about-right {
      width: 100%;
    }
    
    .project {
      flex-direction: column;
    }
    
    .project-left {
      width: 100%;
      align-items: flex-start;
      position: relative;
      top: 0;
      padding-bottom: 0;
    }
    
    .project-right {
      width: 100%;
    }
    
    .project-right img {
      width: 90%;
    }
  
    #navbar {
      margin-top: 20px;
    }

    .all-icons-together {
        display: flex;
    }

    .stack-column {
        display: none;
    }

    .project-left h3 {
        align-self: flex-start;
    }
    
    .image-set img {
      width: 200px;
      height: 200px;
    }

    .text-set {
      padding-inline: 10px;
    }

    .alignLeft {
      padding-left: 1rem;
    }

    .alignRight {
      padding-right: 1rem;
    }

    .about-left {
      margin-bottom: 0;

      li {
        margin: 0;
        margin-bottom: 1vw;
      }
    }

    .about-right {
      padding-top: var(--spacing-medium);
    }

    .about-project {
      margin-top: 1rem;
    }
  }









  
  /* Tablets and smaller laptops (768px and down) */
  @media (max-width: 768px) {
    :root {
      --heading-large: 6rem;
      --heading-medium: 2rem;
      --heading-small: 1.2rem;
      --base-font-size: 15px;
    }
    
    #navbar {
      padding: 0.8rem 1rem;
    }
  
    #navbar a {
      font-size: 1.2rem;
      padding: 0.4rem 0.8rem;
    }
  
    .middle-anchors {
      gap: 0.4rem;
    }
    
    .nav-content {
      width: 100%;
      flex-direction: column-reverse;
      text-align: center;
    }
  
    .nav-left h3 {
      margin-top: 10px;
      font-size: 1.5rem;
      word-break: break-word;
    }
  
    .nav-right img.face {
      width: 90%;
      height: auto;
      max-width: 280px;
    }
  
    .grandiose {
      display: none;
    }
    
    .tech-stack-icons {
      grid-template-columns: repeat(2, 1fr);
      padding: 10px 0;
      gap: 1.5rem;
    }
  
    .about-right h3 {
      font-size: 1.3rem;
    }
  
    .stack-column h3 {
      font-size: 1.1rem;
    }
  
    .tech-stack-icons i {
      font-size: 3rem;
    }
    
    .about-left a {
      font-size: 1.5rem;
    }
  
    
    .about-left ul {
        flex-direction: row;
        gap: 10px;
        flex-wrap: wrap;
    }
  
    #navbar {
      margin-top: 30px;
    }

    .all-icons-together {
        display: flex;
    }

    .stack-column {
        display: none;
    }

    .project-left h3 {
        align-self: flex-start;
    }

    .outline {
        color: #000;
        text-shadow:
          -1px -1px 0 white,
          1px -1px 0 white,
          -1px 1px 0 white,
          1px 1px 0 white;
    }

      .image-set img {
        width: 200px;
        height: 200px;
        opacity: 1;
      }

      .text-set {
        padding-inline: 10px;
      }
  
      .alignLeft {
        padding-left: 1rem;
      }
  
      .alignRight {
        padding-right: 1rem;
      }

      .about-left {
        margin-bottom: 0;
  
        li {
          margin: 0;
          margin-bottom: 1vw;
        }
      }
  
      .about-right {
        padding-top: var(--spacing-medium);
      }

      .about-project {
        margin-top: 1rem;
      }

      #title {
        padding-top: 10px;
      }

      .hide-navbar-btn {
        display: block;
      }
  
      .middle-anchors {
        display: none;
      }
  }
  







  /* Small devices (480px and down) */
  @media (max-width: 480px) {
    :root {
      --heading-large: 4rem;
      --heading-medium: 1.8rem;
      --heading-small: 1.1rem;
      --base-font-size: 14px;
      --spacing-medium: 0.8rem;
      --spacing-large: 1.2rem;
    }
    
    h1 {
      font-size: clamp(1rem, 8vw, var(--heading-large));
    }
    
    .tech-stack-icons {
      grid-template-columns: 1fr;
    }
  
    .nav-left h3 {
      font-size: 1.2rem;
    }
  
    .nav-right {
      align-items: center;
    }
  
    .nav-right img.face {
      width: 70%;
      max-width: 250px;
    }

    .about-right {
        width: 100%;
      }
    
    .about-left a {
      font-size: 1.3rem;
    }
  
    .about-left li {
      padding: 0.8rem;
      margin-bottom: 1.5rem;
    }
    
    .about-right h3 {
      font-size: 1.1rem;
    }
    
    .highlight::after {
      height: 0.6rem;
    }
    
    #navbar a {
      font-size: 1rem;
      padding: 0.3rem 0.6rem;
    }
  
    .about-left ul {
      flex-direction: row;
      flex-wrap: wrap;
    }

    .all-icons-together {
        display: flex;
    }

    .stack-column {
        display: none;
    }

    .project-left h3 {
        align-self: flex-start;
    }

    .outline {
        color: #000;
        text-shadow:
          -1px -1px 0 white,
          1px -1px 0 white,
          -1px 1px 0 white,
          1px 1px 0 white;
    }

    .hide-navbar-btn {
      display: block;
    }

    .middle-anchors {
      display: none;
    }

    .image-set img {
      width: 150px;
      height: 150px;
      opacity: 1;
    }

    .text-set {
      padding-inline: 10px;
    }

    .alignLeft {
      padding-left: 1rem;
    }

    .alignRight {
      padding-right: 1rem;
    }

    .about-left {
      margin-bottom: 0;

      li {
        margin: 0;
        margin-bottom: 1vw;
      }
    }

    .about-right {
      padding-top: var(--spacing-medium);
    }

    .about-project {
      margin-top: 1rem;
    }

    #title {
      padding-top: 10px;
    }
  }
  






  /* Extra small devices (350px and down) */
  @media (max-width: 350px) {
    :root {
      --heading-large: 3rem;
      --heading-medium: 1.5rem;
      --heading-small: 1rem;
      --base-font-size: 13px;
    }
    
    #navbar {
      flex-direction: column;
      align-items: center;
      gap: 0.5rem;
    }
    
    .middle-anchors {
      margin: 0.5rem 0;
    }

    .about-right {
        width: 100%;
      }
    
    .about-left li {
      padding: 0.6rem;
      margin-bottom: 1rem;
    }
    
    .tech-stack-icons i {
      font-size: 2.5rem;
    }
  
    .about-left ul {
      flex-direction: row;
      flex-wrap: wrap;
    }

    .all-icons-together {
        display: flex;
    }

    .stack-column {
        display: none;
    }

    .project-left h3 {
        align-self: flex-start;
    }

    .outline {
        color: #000;
        text-shadow:
          -1px -1px 0 white,
          1px -1px 0 white,
          -1px 1px 0 white,
          1px 1px 0 white;
      }
    
    .hide-navbar-btn {
      display: block;
    }

    .middle-anchors {
      display: none;
    }

    .image-set img {
      width: 120px;
      height: 120px;
      opacity: 1;
    }

    .text-set {
      padding-inline: 10px;
    }

    .alignLeft {
      padding-left: 1rem;
    }

    .alignRight {
      padding-right: 1rem;
    }

    .about-left {
      margin-bottom: 0;

      li {
        margin: 0;
        margin-bottom: 1vw;
      }
    }

    .about-right {
      padding-top: var(--spacing-medium);
    }

    .about-project {
      margin-top: 1rem;
    }

    #title {
      padding-top: 10px;
    }

    .hide-navbar-btn {
      display: block;
    }

    .middle-anchors {
      display: none;
    }
  }