.academia {
  width: 100%;
  height: 100%;
  margin: 10px 0 10px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(rgba(232, 219, 167, 0.9)),
    url(../img/academia.png);
}

.pupin {
  position: relative;
  border-radius: 5px;
  max-height: 100%;
  max-width: 100%;
  text-align: center;
}

.pupin img {
  box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.7);
  object-fit: cover;
  border-radius: 5px;
  max-width: 100%;
}

.grey-link {
  background-color: rgba(51, 51, 51, 0.8);
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  display: none;
  border-radius: 5px;
  animation: appear 1s;
}

.link {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.link a {
  color: #fff;
}

.pupin:hover > .grey-link {
  display: block;
}

@keyframes appear {
  from {
    display: none;
    opacity: 0;
  }
  to {
    display: block;
    opacity: 1;
  }
}

.text {
  padding: 10px 0 10px 0;
  margin: 10px 0 10px 0;
}
