.work {
  display: grid;
  grid-template-columns: 562px;
  grid-template-rows: 100px 250px 250px 250px;

  grid-template-areas:
    "header header"
    "work-image-1 work-1"
    "work-image-2 work-2"
    "work-image-3 work-3";
}
.work-title {
  grid-area: header;
  padding-left: 40px;
}
.work-1 {
  grid-area: work-1;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;
  height: 200px;
}
.work-2 {
  grid-area: work-2;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;
  height: 200px;
  
}
.work-3 {
  grid-area: work-3;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;
  height: 200px;
}
.work-4 {
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;
  height: 200px;
}
.work-5 {
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;
  height: 200px;
  margin-top: 35px;
}
.work-6 {
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;
  height: 200px;
  margin-top: 35px;
}
.work-7 {
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;
  height: 200px;
  margin-top: 35px;
}
.work-8 {
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;
  height: 200px;
  margin-top: 35px;
}
.work-image-1 {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  height: 200px;
  width: 350px;
  margin-left: 30px;
  border: 2px solid black;
  border-radius: 3px;
}
.image-1-work {
  height: 200px;
  width: 350px;
}
.work-image-2 {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: flex-start;
  height: 200px;
  width: 350px;
  margin-left: 30px;
  border: 2px solid black;
  border-radius: 3px;
}
.image-2-work {
  height: 200px;
  width: 350px;
}
.work-image-3 {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: flex-start;
  height: 200px;
  width: 350px;
  margin-left: 30px;
  border: 2px solid black;
  border-radius: 3px;
}
.image-3-work {
  height: 200px;
  width: 350px;
}
.work-image-4 {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: flex-start;
  height: 200px;
  width: 350px;
  margin-left: 30px;
  border: 2px solid black;
  border-radius: 3px;
}
.image-4-work {
  height: 200px;
  width: 350px;
}

.work-image-5 {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: flex-start;
  height: 200px;
  width: 350px;
  margin-left: 30px;
  border: 2px solid black;
  border-radius: 3px;
  margin-top: 50px;
}
.image-5-work {
  height: 200px;
  width: 350px;
}

.work-image-6 {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: flex-start;
  height: 200px;
  width: 350px;
  margin-left: 30px;
  border: 2px solid black;
  border-radius: 3px;
  margin-top: 50px;
}

.image-6-work {
  height: 200px;
  width: 350px;
}
.work-image-7 {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: flex-start;
  height: 200px;
  width: 350px;
  margin-left: 30px;
  border: 2px solid black;
  border-radius: 3px;
  margin-top: 50px;
}
.image-7-work {
  height: 200px;
  width: 350px;
}
.work-image-8 {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: flex-start;
  height: 200px;
  width: 350px;
  margin-left: 30px;
  border: 2px solid black;
  border-radius: 3px;
  margin-top: 50px;
}
.image-8-work {
  height: 200px;
  width: 350px;
}

h3{
  margin: 10px;
 }
 .h3-title{
  align-self: center;
 }
 .h4-features{
  align-self: center;
 }
button{
  background-color: aquamarine;
  height: 30px;
  border-radius: 10px 10px 10px 10px;
  cursor: pointer;
}
button:hover{
  background-color: rgb(67, 236, 180);
}
.source-code{
  align-self: center;
}
#click{
  padding-top:20px;
  font-size: .6em;
}

@media only screen and (max-width: 768px){
  .work {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: .5fr 2fr 2fr 2fr;
    row-gap: 30px;
  
    grid-template-areas:
      "header header"
      "work-image-1 work-1"
      "work-image-2 work-2"
      "work-image-3 work-3";
  }
  .work-title {
    grid-area: header;
    padding-left: 40px;
  }
  .work-1 {
    grid-area: work-1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    
  }
  .work-2 {
    grid-area: work-2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
   
    
  }
  .work-3 {
    grid-area: work-3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    
  }
  .work-4 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    
  }
  .work-5 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 35px;
  }
  .work-6 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 35px;
  }
  .work-7 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 35px;
  }
  .work-8 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 35px;
  }
  .work-image-1 {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    height: 100px;
    width: 150px;
    margin-left: 30px;
    border: 2px solid black;
    border-radius: 3px;
    align-self: center;
  }
  .image-1-work {
    height: 100px;
    width: 150px;
  }
  .work-image-2 {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
    height: 100px;
    width: 150px;
    margin-left: 30px;
    border: 2px solid black;
    border-radius: 3px;
    align-self: center;
  }
  .image-2-work {
    height: 100px;
    width: 150px;
  }
  .work-image-3 {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
    height: 100px;
    width: 150px;
    margin-left: 30px;
    border: 2px solid black;
    border-radius: 3px;
    align-self: center;
  }
  .image-3-work {
    height: 100px;
    width: 150px;
  }
  .work-image-4 {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
    height: 100px;
    width: 150px;
    margin-left: 30px;
    border: 2px solid black;
    border-radius: 3px;
    align-self: center;
  }
  .image-4-work {
    height: 100px;
    width: 150px;
  }
  
  .work-image-5 {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
    height: 100px;
    width: 150px;
    margin-left: 30px;
    border: 2px solid black;
    border-radius: 3px;
    margin-top: 50px;
    align-self: center;
  }
  .image-5-work {
    height: 100px;
    width: 150px;
  }

  .work-image-6 {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
    height: 100px;
    width: 150px;
    margin-left: 30px;
    border: 2px solid black;
    border-radius: 3px;
    margin-top: 50px;
    align-self: center;
  }
  .image-6-work {
    height: 100px;
    width: 150px;
  }
  .work-image-7 {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
    height: 100px;
    width: 150px;
    margin-left: 30px;
    border: 2px solid black;
    border-radius: 3px;
    margin-top: 50px;
    align-self: center;
  }
  .image-7-work {
    height: 100px;
    width: 150px;
  }
  .work-image-8 {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
    height: 100px;
    width: 150px;
    margin-left: 30px;
    border: 2px solid black;
    border-radius: 3px;
    margin-top: 50px;
    align-self: center;
  }
  .image-8-work {
    height: 100px;
    width: 150px;
  }

   h3{
    margin: 10px;
   }
   p{
    font-size: .5em;
   }
   .h4-features{
    margin-bottom: 10px;
    font-size: .7em;
   }
   .h3-title{
    font-size: .8em;
   }
   button{
    background-color: aquamarine;
    height: 20px;
    border-radius: 10px 10px 10px 10px;
    cursor: pointer;
    font-size: .6em;
  }
  button:hover{
    background-color: rgb(67, 236, 180);
  }
  }