*{
    box-sizing:border-box;
  }
  body {
      margin: 0;
      font-family: Arial, sans-serif;
      background-color: #121212;
      color: #fff;
  
  } 
  
  
  header {
      display: flex;
      align-items: center;
      justify-content: space-around;
      /* padding: 10px 20px; */
      background-color: red;
      border-bottom: 2px solid red;
  }
  
  .logo {
      max-width:20%; 
   height:auto ;
  
  }
  
  .logo img {
      max-width: 80px;
      height: auto;
  }
  
  .title {
      flex: 1;
      text-align: right;
      font-size: 1.5em;
      color: #e50914;
  }
  .webprojects{
      content:center ;
  }
  
  
  nav {
      display: flex;
      justify-content:end ;
      
      color: #000;
  }
  nav a{
      margin:5px ;
      color: #fff;
      text-decoration: none;
  }
  nav :hover{
    border:6px solid black;
     background-color: #000;
     height: auto;
     width:auto ;
  }
  main {
      display: flex;
      justify-content: center;
      align-items: center;
      flex-direction: column;
      font-family: sans-serif;
    }
    
    .grid-container {
     
      columns: 3 ;
      column-gap: 2em;
      width: 90%;
      margin: 0 auto;
      column-width:100px; /* this width refers to how small the column will be allowd to go before the column wraps */
    /*   column-rule: 1px solid lightblue; */
    }
    .about-container{
      display: flex;
      width:50%;
      margin: 0 auto;
      align-items:center ;
    }
    
    /* generic card for image */
    .grid-card {
    /*   width: 350px; */
      margin: 0px 20px 20px 0px;
      width: 100%;
      border: 1px solid red;
      padding: 2px;
      padding: 5px;
      box-shadow: 5px 5px 5px rgba(255, 1, 1, 0);
      border-radius: 5px;
      transition: all .25s ease-in-out;
      break-inside: avoid;
      &:hover img{
        filter:grayscale(0);
      }
      &:hover{
        border:1px solid black;
      }
    /*   the above properties were added like shorthand */
    }
    
    img {
      width: 100%;
      filter: grayscale(1);
      border-radius: 5px;
    }
    p {
      margin: 5px 0;
      padding: 0;
      text-align: center;
      font-style: italic;
    }
    
  
  footer {
      text-align: center;
      padding: 10px;
      background-color: red;
      color: #fff;
      border-top: 2px solid bl;
  }
  
  /* Responsive Styles */
  @media screen and  (max-width: 570px) {
      header {
          flex-direction: column;
          text-align: center;
      }
  
      .title {
          margin-top: 10px;
          text-align: center;
      }
  
      nav ul {
          display: flex;
          justify-content: center;
      }
  
      nav ul li {
          margin: 0 10px;
      }
      .about-container{
        display: flex;
        flex-direction:column;
        margin: 0 auto;
        align-items:center ;
      }
   main{
        display: flex;
        flex-direction: column;
      }
      .grid-container {
     
        columns: 1 ;
        width: 90%;
        margin: 0 auto;
        column-width:100px; /* this width refers to how small the column will be allowd to go before the column wraps */
      /*   column-rule: 1px solid lightblue; */
      }
  }
  @media screen and  (max-width: 750px) {
    header {
        flex-direction: column;
        text-align: center;
    }

    .title {
        margin-top: 10px;
        text-align: center;
    }

    nav ul {
        display: flex;
        justify-content: center;
    }

    nav ul li {
        margin: 0 10px;
    }
    .about-container{
      display: flex;
      flex-direction:column;
      margin: 0 auto;
      align-items:center ;
    }
 main{
      display: flex;
      flex-direction: column;
    }
    .grid-container {
   
      columns: 1 ;
      width: 90%;
      margin: 0 auto;
      column-width:100px; /* this width refers to how small the column will be allowd to go before the column wraps */
    /*   column-rule: 1px solid lightblue; */
    }
}
