* {
  box-sizing: border-box;
}



.card {
  background-size: cover;
  width: 80vw;
  height: 110%;
  border-radius: 5px;
  position: relative;
  box-shadow: -20px 30px 116px 0 rgba(92, 15, 15, 0.54);
  overflow: hidden;
  z-index: 4;
}

@media (min-width: 991px) {
  .card {
    width: 70vw;
  }
}

.card:hover .image-JN  {
  opacity: 0.3;
}

.card:hover .image-GL  {
  opacity: 0.3;
}

.card:hover .text {
  opacity: 1;
}

.image-JN {
  opacity: 1;
  transition: .5s ease;
  margin-top: -30px;
}

.image-GL {
  opacity: 1;
  transition: .5s ease;
  margin-top: 5px;
}

.text {
  width: 100%;
  transition: .5s ease;
  -webkit-transition: .5s ease;
  -moz-transition: .5s ease;
  -o-transition: .5s ease;
  opacity: 0;
  position: relative;
  text-align: center;
}

@media (hover: none) {
  .card .text {
    opacity: 0.8;
  }
}

.card__year {
  font-family: "Oswald", sans-serif;
  text-align: center;
  color: #fff;
  font-size: 110px;
  line-height: 110px;
  padding: 20px 0;
  font-weight: 100;
  position: relative;
  z-index: 2;
}

.card__circle {
  z-index: 2;
}

.shadowed {
  -webkit-filter: drop-shadow(0px 4px 5px rgba(0, 0, 0, 0.7));
  -ms-filter: "progid:DXImageTransform.Microsoft.Dropshadow(OffX=12, OffY=12, Color='#444')";
  filter: "progid:DXImageTransform.Microsoft.Dropshadow(OffX=12, OffY=12, Color='#444')";
}

.card__circle {
  right: 68px;
  bottom: 34px;
  width: 130px;
  height: 130px;
}

.card {
  transition: transform 0.4s;
}



/*LEVITATE*/
@keyframes float {
  0% {
    box-shadow: 0 5px 15px 0px rgba(0,0,0,0.6);
    transform: translatey(0px);
  }
  50% {
    box-shadow: 0 25px 15px 0px rgba(0,0,0,0.2);
    transform: translatey(-20px);
  }
  100% {
    box-shadow: 0 5px 15px 0px rgba(0,0,0,0.6);
    transform: translatey(0px);
  }
}
.levitate {
  width: 6em;
  height: 6em;
  box-sizing: border-box;
  border: 5px white solid;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 5px 15px 0px rgba(0,0,0,0.6);
  transform: translatey(0px);
  animation: float 6s ease-in-out infinite;
}
