@import url('https://fonts.googleapis.com/css?family=Open+Sans&display=swap');
@import url('https://fonts.googleapis.com/css?family=Anton&display=swap');
body {
  padding: 30px 0;
  position: relative;
}


h1{
  font-family: 'Open Sans', cursive;
}








@media screen and (min-width: 900px) {
.gallery {
  width: 70vw !important;
  margin: auto;
  border-radius: 3px;
  overflow: hidden;

}

}


.gallery {
  width: 60vw;
  margin: auto;
  border-radius: 3px;
  overflow: hidden;

}



.img-c {
    width: 200px;
    height: 200px;
    float: left;
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    margin: 10px;
}

.img-w {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  transition: transform ease-in-out 300ms;
}

.img-w img {
  display: none;
}

.img-c {
  transition: width ease 400ms, height ease 350ms,
    left cubic-bezier(0.4, 0, 0.2, 1) 420ms,
    top cubic-bezier(0.4, 0, 0.2, 1) 420ms;
}

.img-c:hover .img-w {
  transform: scale(1.08);
  transition: transform cubic-bezier(0.4, 0, 0.2, 1) 450ms;
}

.img-c.active {
  width: 100% !important;
  height: 100% !important;
  position: absolute;
  z-index: 2;
}

.img-c.postactive {
  position: absolute;
  z-index: 2;
  pointer-events: none;
}

.img-c.active.positioned {
  left: 0 !important;
  top: 0 !important;
  transition-delay: 50ms;
}
