.navigation {
    display: flex;
    justify-content: center; 
    align-items: center; 
    padding: 1rem;
    height: 100%;
  }

  
  .introduction{
    position: relative;
  }


  .dot{
    margin-top: 1.6rem;
    margin-left: 0.2rem;
    height: 0.5rem;
    width: 0.5rem;
    background-color: rgb(26, 159, 259);
    border-radius: 50%;
    position: absolute;
  }

  .scroll_circle{
    height: 7rem;
    width:auto;
    right:2rem;
    bottom:2rem;
    position:fixed;
    animation: rotateText 15s linear infinite;
  }

  @keyframes rotateText{
    0%{
      transform: rotate(-360deg);
    }
  }

  .navigation ul {
    list-style-type: none; 
    padding: 0; 
    margin: 0;
    display: flex; 
    flex-direction: column; /* Stacks items vertically */
    justify-content: center; /* Centers items vertically within the <ul> */
    align-items: center; 
    width: 66%; 
  }
  
  .navigation li {
    display: flex;
    width: 100%; 
    border-bottom: 2px solid white; 
    padding: 0.5rem 0; 
    justify-content: center;
  }
  
  .navigation li:last-child {
    margin-bottom: 0;
  }

  .navigation a{
    font-weight: 800;
    font-size: 2rem;
  }
  a.nav-link, a.work-link {
    text-decoration: none;
    color: white;
  
  }

  .main-content{
    padding-top: 10rem;
    padding-left:6rem;
    padding-right:6rem;
    padding-bottom:0rem;
    margin:0;
    gap: 0rem;
    align-items: center;
    height: 100%;
  }
  


  .case-studies{
    padding-top:8rem;
    padding-bottom: 6rem;
    padding-left:2rem;
    padding-right:2rem;
  }



  .inner-border{
    
    border-bottom: 0.125rem solid white;
    grid-column:1 / -1;
  }

  .project-card{
    outline: 0.125rem solid white;
    padding-top: 100%;
    position: relative;
  }


  .project-card img{
    position: absolute;
    height: 100%;
    width: auto;
    right:0;
    top:0;
    
  }

  .project-card:hover img {
    display: block;
  }

  .project-card:hover p{
    color: white;
  }

  .project-card:hover h4{
    color: white;
  }



 
  .card-title{
    position: absolute;
    left:1rem;
    top:1rem;
    margin:0;
  }

  .project-year{
    display: none;
    position: absolute;
    right:1rem;
    top:1rem;
    margin:0;
  }

  @media (min-width:78rem) {
    .project-year{
      display: block;
    }
  }

  .role{
    display: none;
    position: absolute;
    left:1rem;
    bottom:1rem;
    margin:0;
  }
  
  @media (min-width:56rem){
    .role{
      display: block;
    }
  }


  .role p{
    margin:0;
  }



  @media(min-width:40rem){

    .case-studies{
      padding-top: 8rem;
      padding-left: 4rem;
      padding-right:4rem;
    }

    .project-card img{
      display: none;
    }
    .main-content{
      padding-top: 4rem;
      gap: 0rem;
      }
  
  
    }

 

  .introduction{
    grid-column: span 2;
  }

  
  #line-2{
    padding-left: 2rem;
  }

  #line-3{
    padding-left: 4rem;
  }
 

  footer {
    background-color: rgb(20, 20, 20); /* Dark background */
    color: white;
    padding: 2rem 0;
    font-size: 1rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    max-width: 800px;
    margin: auto;
    padding: 1rem;
}




