body {
  background-image: url(./img/background.avif);
  background-repeat: no-repeat;
  background-size: cover;
  margin: 0;
  padding: 0;
}
.cards-container {
  padding: 15px;
}
.card {
  position: relative;
  width: 100%;
  min-height: 170px;
  aspect-ratio: 16/9;
  background-color: rgba(133, 133, 133, 0.3);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  perspective: 1000px;
  box-shadow: 0 0 0 5px #ffffff80;
  transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card svg {
  width: 48px;
  fill: #333;
  transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card__image {
  width: 85%;
  height: 85%;
  object-fit: contain;
}

.card:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 16px rgba(255, 255, 255, 0.2);
}

.card__content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 20px;
  box-sizing: border-box;
  background-color: rgba(47, 47, 47, 0.65);
  transform: rotateX(-90deg);
  transform-origin: bottom;
  transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.card:hover .card__content {
  transform: rotateX(0deg);
}

.card__title {
  margin: 0;
  font-size: 24px;
  color: #FFFFFF;
  font-weight: 700;
  text-align: center;
}

.card:hover svg {
  scale: 0;
}

.card__description {
  margin: 10px 0 10px;
  font-size: 16px;
  color: #FFFFFF;
  line-height: 1.4;
}

.card__button {
  padding: 6px 20px;
  border-radius: 8px;
  background: #f77070;
  border: none;
  color: #FFFFFF;
  cursor: pointer;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  margin-top: 15px;
}

.secondary {
  background: transparent;
  color: #777;
  border: 1px solid #777;
}
