.element {
  width: 100%;
  border-radius: 20px;
  background-color: rgba(239, 239, 239, 0.66);
  overflow: hidden;
  transform: translate(0, 0);
  transition: transform 0.3s ease-in-out;
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  cursor: pointer;
  position: relative;
  text-decoration: none;
  color: #000000;
}

.element .element__image {
  width: auto;
    height: auto;
    max-width: 100%;
}

@media screen and (min-width: 950px) {
  .element:hover {
    transform: translate(0, -2px);
    box-shadow: 0 0 15px #a6a6a6;
    background-color: rgb(255, 255, 255);
  }
  .element:hover .element__details {
    visibility: visible;
    opacity: 1;
  }
}

