/*Downloaded from https://www.codeseek.co/thomasvaeth/instafetchjs-example-EgwRWo */
body {
  display: flex;
  align-items: center;
  justify-content: center;
}

* {
  box-sizing: border-box;
}

body {
  width: 100%;
  height: 100%;
  min-height: 100vh;
  padding: 2em;
  font-family: "Playfair Display", serif;
  font-size: 100%;
  line-height: 1.8;
  color: #000;
  background-color: #e6e6e6;
}
@media (min-width: 20em) {
  body {
    font-size: 102.5%;
  }
}
@media (min-width: 30em) {
  body {
    font-size: 105%;
  }
}
@media (min-width: 54em) {
  body {
    font-size: 107.5%;
  }
}
@media (min-width: 64em) {
  body {
    font-size: 110%;
  }
}
@media (min-width: 76.5em) {
  body {
    font-size: 115%;
  }
}
@media (min-width: 114em) {
  body {
    font-size: 125%;
  }
}

#instafetch a {
  position: relative;
  display: block;
  border: 1px solid transparent;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
  background-color: #fff;
  background-clip: padding-box;
  text-decoration: none;
  cursor: pointer;
  -webkit-transform: translate3d(0, 0, 0);
          transform: translate3d(0, 0, 0);
  transition: all 1s ease;
}
#instafetch a:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-clip: padding-box;
  box-shadow: 0 2px 50px rgba(0, 0, 0, 0.25);
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}
#instafetch a:hover {
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0px 0px 47px rgba(0, 0, 0, 0.1);
  -webkit-transform: translate3d(0, -0.5em, 0);
          transform: translate3d(0, -0.5em, 0);
  transition: all 1s ease;
}
#instafetch a:hover:after {
  opacity: 1;
}
#instafetch figure {
  margin: 0;
  padding: 0.5em;
}
@media (min-width: 30em) {
  #instafetch figure {
    padding: 1em;
  }
}
#instafetch img {
  display: block;
  height: 640px;
  width: 640px;
  max-width: 100%;
}
#instafetch div {
  padding: 0.5em 0 1em;
  color: #000;
  background: #fff;
}
@media (min-width: 30em) {
  #instafetch div {
    padding: 1em 0 2em;
  }
}
#instafetch p {
  padding: 0;
  font-size: 1.25em;
  text-align: center;
}
