* {
  box-sizing: border-box;
}

body {
  font-family: system-ui;
  margin: 0;
}

p {
  font-size: 1.1rem;
  line-height: 150%;
  font-weight: 300;
  margin-top: 0;
  margin-bottom: 0;
  line-clamp: initial;
  -webkit-line-clamp: initial;
  transition-property: -webkit-line-clamp, line-clamp;
  transition-duration: 300;
  transition-timing-function: ease-out;
  overflow: hidden;
}

body {
  background-image: url(imgonee.jpeg);
  background-repeat: no-repeat;
}

.wrapper {
  display: flex;
  height: 100vh;
  justify-content: center;
  align-items: center;
  background: #d9f2ea;
}

.card {
  background: #fff;
  padding: 24px;
  border-radius: 13px;
  position: relative;
  max-width: 380px;
  margin: 0 12px;
  box-shadow: 0 10px 16px 0 #cde4dd;
}

.card .img-warp {
  padding-bottom: 85%;
  background-repeat: no-repeat;
  background-size: cover;
  background-position-y: 30%;
  margin-bottom: 1rem;
  border-radius: 5px;
}

.card img {
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 5px;
}

.card button {
  background: none;
  border: none;
  padding: 0;
  margin-top: 12px;
  color: white;
  transition: opacity .2s ease-out;
  cursor: pointer;
}

.card a {
  display: inline-block;
  font-size: 1.3rem;
  line-height: 1;
  text-decoration-line: none;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 12px;
  color: inherit;
  transition: color .2s ease-out;
}

.card a:hover {
  color: white;
}
