/* FEATURES — #portfolio */
#portfolio {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 200px 0 100px 0;
  width: 100%;
  max-width: 100%;
  background-image: linear-gradient(rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.02)),
    url(../images/bg_features.png);
  background-size: cover;
  background-position: center;
  position: relative;
}
#portfolio::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 300px;
  background: linear-gradient(
    to bottom,
    #c8c6c0 0%,
    rgba(200, 198, 192, 0.7) 25%,
    rgba(200, 198, 192, 0.35) 55%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 0;
}
.margin-bottom {
  margin-bottom: 100px;
}
#portfolio .features-title {
  color: black;
  font-family: "Noto Sans Display", sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 50px;
  line-height: 68px;
}
#portfolio .feature-card-container {
  display: flex;
  gap: 16px;
  justify-content: center;
}
#portfolio .feature-card-contents {
  width: 400px;
  height: 301.1px;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}
#portfolio .feature-card-contents img {
  width: 100%;
  height: 100%;
}
#portfolio .feature-card-contents:hover .card-contents-discription {
  animation-duration: 0.5s;
  animation-name: cardDiscriptionAnimation;
  animation-fill-mode: forwards;
}
#portfolio .feature-card-contents:hover {
  animation-duration: 0.5s;
  animation-name: slideAnimation;
  animation-fill-mode: forwards;
}
