.video-wrapper {
  position: relative;
  display: flex;
  justify-content: start;
  /*width: 100vw;*/

  overflow-x: scroll;
  padding-top: 120px;
  padding-bottom: 120px;
  margin: -60px 0;
}

.video-wrapper::-webkit-scrollbar {
  display: none !important;
}

.video-card {
  scroll-snap-align: start;

  display: flex;
  flex-direction: column;
  min-width: 400px;
  width: 400px;
  height: 300px;
  background-color: #ffffff;
  box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.1) !important;
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
  margin: 1.2rem;

  font-size: 16px;
  font-weight: 400;
  color: #515151;
  transition: all 0.3s ease;
  cursor: pointer;
}

.video-card:active {
  cursor: grabbing;
}

.video-card:hover {
  box-shadow: 0px 4px 60px rgba(0, 0, 0, 0.25) !important;
  transform: translateY(-10px);
}

.video-card:first-child {
  margin-left: 0;
}

.video-card:last-child {
  margin-right: 0;
}

.video-card .video-thumb-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  /*height: 230px;*/
  min-height: 230px;
  object-fit: cover;
  
  overflow: hidden;
}

.video-card .video-thumb-wrapper img:first-child {
  width: 100%;
  /*height: 100%;*/
  height: auto;
}

.video-card .video-thumb-wrapper .icon-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-53%, -50%);
  opacity: 0.8;
  transition: opacity 0.3s ease-in-out;
}

.video-card:hover .icon-play {
  opacity: 1;
}

.video-card footer {
  display: flex;
  align-items: center;
  justify-content: space-between;

  height: 100%;

  padding: 0 2.2rem;
}

.video-card footer .video-title {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.video-card footer span:last-child {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
}

/*NAV ARROWS*/
.slide-nav-buttons-videos {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.slide-nav-buttons-videos .button-right-videos {
  cursor: pointer;
}

.button-right-videos svg path {
  transition: all 0.3s ease-in-out;
}

.button-right-videos:hover svg path {
  fill: #d088b1;
}

.button-right-videos:hover svg path + path {
  fill: #fff;
}

.slide-nav-buttons-videos .button-left-videos {
  margin-right: 10px;
  cursor: pointer;
}

.button-left-videos svg {
  transform: rotate(-180deg);
}

.button-left-videos svg path {
  transition: all 0.3s ease-in-out;
}

.button-left-videos:hover svg path {
  fill: #d088b1;
}

.button-left-videos:hover svg path + path {
  fill: #fff;
}

@media (max-width: 767px) {
  .video-wrapper {
    padding: 10rem 2rem 2rem 2rem;
  }
  
  .video-card .video-thumb-wrapper{
      min-height: auto;
      height: 230px;
      overflow: visible;
  }
  
  .video-card .video-thumb-wrapper img:first-child{
      height: 100%;
  }
  
  
}
