  :root {
    --primary: #191616;
    --accent: #a60000;
    --bg: #f2f2f2;
    --text: #333;
    --font: 'system-ui', sans-serif ;
  }
  
  p {
   
    padding-top: 40px;
  }
  
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  html{
    scroll-behavior: smooth;

  }
  body {
    font-family: var(--font);
    color: var(--text);
    background-color: var(--bg);
    scroll-behavior: smooth;
  }

  .title {
    font: system-ui;


  }

  h1 {
    font-size: 50px;
    padding-bottom: 20px;
    color: #191616;
    
    
  }

  h2 {
    font-size: 35px;
    margin-bottom: 80px;
    color: #191616;
  
  }
  
  .fixed-header {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--primary);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    z-index: 1000;
  }
  
  .main-nav ul {
    display: flex;
    gap: 1rem;
    list-style: none;
  }
  
  .main-nav a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
  }
  
  .main-nav a:hover {
    color: var(--accent);
  }
  
  .burger {
    display: none;
    font-size: 2rem;
    cursor: pointer;
  }
  
  .section {
    min-height: 100vh;
    padding: 6rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: white;
    border-bottom: 1px solid #ccc;
  }
  
  .section:nth-child(even) {
    background: #fafafa;
  }
   /* Project Flex boxes*/

  .container {
     display: flex;
     flex-wrap: wrap;
     gap:30px;
     margin-top: 10px;
     margin-left: 45px;
     align-items: left;
     justify-content: left;
     flex-direction: row;
  }



  .image-container {
    flex: 1 1 400px;
    display: flex;
    gap: 70px;


  }

  .container  .image-container img {
    width: 250px;;
    height: auto;
    border-radius: 10px 
  } 


  .container  .image-container :hover {
    transform: scale(1.1); transition: 0.5s ease-in-out;
    

  }



  .popup {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
}

.popup img{
  position: absolute;
  top: 53%; left: 50%;
  transform: translate(-50%, -50%);
  border: 5px solid #fafafa;
  border-radius: 5px;
  width: 500px;
  object-fit: cover;


}

@media (max-width: 768px){
  .popup img{
    width: 95%;
}

}





.close {
    position: absolute;
    top: 50px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}



.enlargable-image {
    width: 400px;
    height: 300px;

}
   
   
   

.project-text {
  flex: 1 1 300px;
  max-width: 350px;
  font-size: 14px;
  line-height: 16px;
  margin: 0%;

    

}


.projecttext {
  flex: 1 1 300px;
  max-width: 350px;
  font-size: 14px;
  line-height: 16px;
  margin: 0%;

    

}



   
   /*video styles*/


   .project-media{
     flex: 1 1 400px;
     display: flex;
     flex-direction: column;
     align-items: center;
     gap: 5px;

   }

   video{

    max-width: 800px;
    height: auto;
    border-radius: 0px;
    


   }

   .project-flex {
    display: flex;
    align-items: center; /* Aligns the text and video vertically */
    gap: 20px; /* Adds space between them */
}










  
  @media (max-width: 768px) {
    .main-nav {
      display: none;
      position: absolute;
      top: 60px;
      left: 0;
      width: 100%;
      background: var(--primary);
    }
  
    .main-nav ul {
      flex-direction: column;
      padding: 1rem;
    }
  
    .main-nav.active {
      display: block;
    }
  
    .burger {
      display: block;
    }
  }
  