/** @format */
html, body {
  overflow-x: hidden;
}

section:nth-of-type(even) {
  background-color: #f7f7f7;
}

section#home {
  width: 100%;
  height: auto;
  margin-top: 60px;
  position: relative;
  overflow: hidden;
  z-index: 0;
}

#home .video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

#home .video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(165, 162, 162, 0.5); /* Tinted overlay */
  z-index: -1;
}

#home .container {
  position: relative;
  z-index: 1;
}

section#home .container {
  width: 100%;
  height: 100%;
  display: flex;

  gap: 120px;
}

#home .middle-content {
  flex-grow: 1;
  gap: 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#home .middle-content h1.title {
  font-size: 4rem;
  font-weight: 500;
  margin-bottom: 60px;
}

#home .middle-content p {
  font-size: 1.25rem;
}

#section2 .main-content-two {
  align-items: flex-start;
  justify-content: flex-start;
}

#section2 .item-container-top,
#section2 .item-container-bottom {
  display: flex;
  column-gap: 16px;
}

#section2 .item-container-bottom {
  margin-top: 16px;
}

.product-card-container {
  /* padding: 0 40px; */
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 32px;
}

.product-card {
  display: flex;
  column-gap: 16px;
}

.product-card > * {
  flex: 1;
}

.product-card .card-img {
  border-top-left-radius: 24px;
  border-bottom-right-radius: 24px;
  overflow: hidden;
}

.product-card .card-text {
  position: relative;
  padding: 24px;
  z-index: 0;
  border-radius: 4px;
}

.product-card .card-text::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;

  border: 1px solid var(--secondary-color);
  mask-image: radial-gradient(circle at top left, transparent 0%, black 40%);
  -webkit-mask-image: radial-gradient(
    circle at top left,
    transparent 0%,
    black 40%
  );

  mask-composite: intersect;
  -webkit-mask-composite: destination-in;
  border-radius: 4px;
}

.product-card .card-text ul {
  padding-left: 16px;
}
.product-card .card-text ul li {
  margin-top: 8px;
  font-size: 0.875rem;
}

.product-card .title {
  color: var(--secondary-color);
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1;
}

@media (min-width: 61rem) {
  section#home {
    height: calc(100vh - 120px);
    margin-top: 120px;
  }

  #home .middle-content {
    margin-left: 140px;
    max-width: 700px;
    flex-grow: 1;
    gap: 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .product-card-container {
    grid-template-columns: repeat(2, 1fr);
  }
}
