* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  transition: background 1s, opacity 0.7s;
}
body {
  background-color: #e1e1e1;
  overflow: hidden;
}
.container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}
.card {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 450px;
  width: 250px;
  border-radius: 20px;
  background: url("/1.jpg") no-repeat;
  background-size: cover;
  box-shadow: 0 70px 60px -60px #000;
}
.border {
  position: relative;
  height: 430px;
  width: 220px;
  background-color: transparent;
  border-radius: 20px;
  opacity: 0;
}
.border:hover {
  opacity: 0.6;
  border: 3px solid #fff;
}
.icons {
  position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  color: #fff;
  height: 160px;
  width: 50px;
  top: 230px;
  font-size: 2rem;
  cursor: pointer;
}
.card h2 {
  font-family: sans-serif;
  color: rgb(175, 158, 158);
  margin: 20px;
}
.card ion-icon:hover {
  opacity: 0.5;
}
.card:hover {
  background: url("/1.jpg") top center no-repeat;
  background-size: 500px;
}
