/* Things Learned
  1. clip-path: circle(50% at 50% 50%); 
     clip-path: polygon(0% 20%, 60% 20%, 60% 0%, 100% 50%, 60% 100%, 60% 80%, 0% 80%);

  can be used on img or div, etc
*/

/******************
  CLIPPING IMAGES
*******************/
body {
  margin: 0;
  background-image: linear-gradient(to right, #868f96 0%, #596164 100%);
  height: 100%;
  padding: 1em;
}
h2 {
  font-family: sans-serif;
  text-align: center;
  background: lightgreen;
  padding: 0.5em 1em;
  width: 40vw;
  margin: 1em auto;
  border-radius: 5px;
}
main {
  max-width: 800px;
  margin: 0 auto;
}
.container {
  display: flex;
  justify-content: space-around;
}
.box {
  width: 25vw;
  margin: 1em;
}
.box img {
  width: 100%;
}
.box1 img {
  clip-path: circle(50% at 50% 50%);
}
.box2 img {
  clip-path: polygon(0% 0%, 100% 0%, 100% 75%, 75% 75%, 75% 100%, 50% 75%, 0% 75%);
}
.box3 img {
  clip-path: polygon(20% 0%, 0% 20%, 30% 50%, 0% 80%, 20% 100%, 50% 70%, 80% 100%, 100% 80%, 70% 50%, 100% 20%, 80% 0%, 50% 30%);
}
  /* Christ Cross
  clip-path: polygon(10% 25%, 35% 25%, 35% 0%, 65% 0%, 65% 25%, 90% 25%, 90% 50%, 65% 50%, 65% 100%, 35% 100%, 35% 50%, 10% 50%);
  */
  /* Right Arrow
  clip-path: polygon(0% 20%, 60% 20%, 60% 0%, 100% 50%, 60% 100%, 60% 80%, 0% 80%);
  */

@media (max-width:600px) {
  .container {
    flex-direction: column;
    align-items: center;
  }
  .box {
    width: 30%;
    order: 10;
  }
  .box3 {
    order: 1;
  }
  h2 {
    width: 80vw;
  }
}

/********************
  IMAGE MANIPULATION
*********************/
.photoshop img {
  transition: all 0.5s ease;
  -webkit-transition: all 0.5s ease;
  margin: 0.5em;
}
.photoshop img:hover {
  cursor: pointer;
}
.gray {
  filter: grayscale(1);
}
.gray:hover { 
  filter: grayscale(0)
}
.blur {
  filter: blur(2px);
}
.blur:hover {
  filter: blur(0);
}
.sepia {
  filter: sepia(1);
}
.sepia:hover {
  filter: sepia(0)
}