* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}
body {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  /* background: #231f20; */
}

.card {
  min-width: calc(100% / 3.5);
  max-width: calc(100% / 3.1);
  width: 100%;
  aspect-ratio: 3 / 2;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  transition: transform 0.5s;
}

.card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.7));
  opacity: 0;
  transition: opacity 0.5s;
}

.card:hover::after {
  opacity: 1;
}

.card-content {
  position: absolute;
  bottom: 2vh;
  left: 2vh;
  color: #fff;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.5s;
}

.card:hover .card-content {
  opacity: 1;
}

.card-title {
  font-size: 2vh;
  margin: 0;
}

.card-text {
  margin: 5px 0 0;
}

.hidden-el {
  opacity: 0;
}

section {
  margin-top: 2rem;
}

.container {
  max-width: 1100px !important;
}
