.video {
  padding: 0 4rem;
  margin-bottom: 12rem;
}

.container-video {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: 70% 30%;
  gap: 4rem;
}
.left-video {
  height: 500px;
}
.left-video iframe {
  width: 100%;
  height: 100%;
}

.right-social-icons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.right-social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4.4rem;
  height: 4.4rem;
  border-radius: 50%;
  border: 1px solid var(--color-white);
  color: var(--color-white);
}

.right-social-icons a i {
  font-size: 2rem;
}

/* -----cards---- */
.cards {
  background: #161616;
  border-radius: 10px;
  /* max-width: 32.5rem;
  width: 100%; */
  display: inline-block;
  position: relative;
}

.cards::after {
  content: "";
  border-bottom: 0.4px solid #76c04e;
  border-image: linear-gradient(
      to right,
      rgba(118, 192, 78, 0) 0%,
      #76c04e 48.46%,
      rgba(118, 192, 78, 0) 100%
    )
    1;
  border-image-slice: 1;
  border-image-repeat: stretch;
  border-image-outset: 0;
  width: 0%;
  position: absolute;
  left: 0;
  bottom: 0;
}

.cards:hover.cards::after {
  width: 100%;
}

.cards .cards__image {
  width: 100%;
  height: 227px;
  display: inline-block;
  margin-bottom: 0.5rem;
  position: relative;
}
.cards__play {
  position: absolute;
  left: 50%;
  top: 50%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(15px);
  /* Note: backdrop-filter has minimal browser support */
  width: 4.5rem;
  height: 4.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.cards__play i {
  color: #fff;
}

.card__body {
  padding: 2rem 1.5rem 3.5rem;
}
.cards .cards__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 5px 5px 0px 0px;
}
.cards .cards__title {
  color: var(--color-white);
  letter-spacing: 0.5px;
  margin-bottom: 1.5rem;
  font-weight: 600;
  font-size: 2rem;
  line-height: 2.8rem;
}

.cards .cards__description {
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: var(--color-white);
  margin-bottom: 1.5rem;
}

.media__items {
  overflow: hidden;
}

/* ghbjmk */
.media__boxes {
  padding: 0 4rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(32rem, 1fr));
  /*place-items: center;*/
  gap: 2rem;
  margin: 2rem 0 9rem 0;
}

@media screen and (min-width: 1800px) {
  .container-video {
    grid-template-columns: 50% 30%;
  }

  .left-video {
    height: 700px;
  }
}

@media screen and (max-width: 1440px) {
  .media__boxes {
    grid-template-columns: repeat(auto-fill, minmax(28rem, 1fr));
  }
}

@media screen and (max-width: 768px) {
  .video {
    padding: 0 1rem;
    margin-bottom: 9rem;
  }

  .container-video {
    grid-template-columns: 1fr;
  }

  .right-social-icons {
    display: flex;
    flex-direction: row;
    gap: 1rem;
  }

  .media {
    padding: 0 1rem;
    /* margin-bottom: 9rem; */
  }

  .media__boxes {
    padding: 0 1rem;
  }
  
  .left-video {
    height: 250px;
    }
}

@media screen and (max-width: 480px) {
    
    
}
