
@import url('https://fonts.googleapis.com/css2?family=BBH+Sans+Bartle&family=Bebas+Neue&family=Bitcount+Prop+Single+Ink:wght@100..900&display=swap');
*,
*:before
*::after{
  box-sizing: border-box;
}

body{
    font-family:'BBH Sans Bartle',sans-serif;
    margin: 0;
    background: #fafafa;
    color: #333;
    line-height: 1.5;
  
  }

/*layout*/

header{
  background:#222;
  color:#fff;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  }
  
  header h1 {
    margin: 0;
    font-size: 1.5rem;
    letter-spacing: 0.2px;
    }
  /* nav links */
  nav a {
      color: #fff;
      text-decoration: none;
      font-weight: 700;
      margin-left: 1.5rem;
      
      }
    nav a:hover {
      text-decoration: underline;
      color: yellow;
      }
      
    /*page container*/
    
    .container,
    .content {
      max-width:960px;
      margin: 0 auto;
      padding: 2rem 1.25rem;
      }
    
    /*grid of projects */
    
    .grid {
      display: grid;
      grid-template-colums: repeat(2,1fr);
      gap:20px;
      max-width:960px;
      margin: 0 auto;
      padding: 2rem 1.25rem;
      
      }
    
  .project {
      position: relative;
      display: block;
      overflow: hidden;
      border-radius:8px;
      
    }
    
    
  .project img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
    }
    
    
    .project:hover img,
    .project:focus img {
        transform: scale(1.05);
        
      }
    
    .caption {
      position:absolute;
      left: 0;
      right: 0;
      bottom: 0;
      background:rgba(0,0,0,0,6);
      color:#fff;
      padding:0.6rem;
      }
    
    /*project detail page*/
    
    .project-images img {
      width:100%;
      height:auto;
      display:block;
      margin:1rem 0;
      border-radius: 8px;
      }
      
    .meta {
      display: flex;
      gap: 10px;
      }
    .chip {
      background-color: #f0f0f0;
      padding:0.3rem 0.6rem;
      border-radius: 999px;
      font-size: 0.85rem;
      }
    
    .about {
      max-width:720px;
      margin:0 auto;
      padding: 2.5rem 1.5rem;
      text-align: center;
      }
      
      @media (max-width:700px){
        .grid {
          grid-template-columns:1fr;
          }
        header {
          flex-direction: column;
          align-items: flex-start;
          gap: 0.5rem;
            }
        nav a{
              margin:0.5rem 1rem 0 0;
              }
              
            }
    
    
    
    
    
    
    
    
    
    
    
    