.thumbnail-1 {
  width: 100%;
  cursor: pointer;
}

.video-title {
  margin-top: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  margin-bottom: 10px;
  cursor: pointer;
}

.video-direct-link {
  text-decoration: none; 
  color: black;
}

.video-info-grid {
  display: grid;
  grid-template-columns: 50px 1fr;
}

.profile-picture {
  width: 35px;
  border-radius: 50px;
  cursor: pointer;
}

.channel-picture {
  display: inline-block;
  position: relative;
}

.channel-picture-tooltip {
  display: none;
  position: absolute;
  top: 60%;
  left: 0;
  background-color: white;
  box-shadow:  2px 2px 10px rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  padding: 10px;
  width: 180px;

  opacity: 0;
  transition: opacity 0.8s;
}

.tooltip-profile-picture {
  width: 23%;
  border-radius: 50px;
  cursor: pointer;
}

.channel-picture:hover .channel-picture-tooltip {
  display: flex;
  flex-direction: row;
  align-items: center ;
  gap: 7px;
  opacity: 1;
}


.tooltip-text {
  display: flex;
  flex-direction: column;
}

.tooltip-name {
  font-weight: bold;
  font-family: Roboto, Arial;
  font-size: 13px;
  margin-bottom: 2px;
}

.tooltip-subscribers {
  font-family: Roboto, Arial;
  font-size: 11px;
  color: rgb(82, 81, 81);
}


.thumbnail-row {
  margin-bottom: 6px;
  position: relative;
}

.video-author,
.video-stats {
  font-size: 12px;
  color: rgb(96, 96, 96);
}

.video-author {
  margin-bottom: 6px;
  cursor: pointer;
}

.video-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  column-gap: 16px;
  row-gap: 40px;
}

/*The CSS responsive implementation  used for small/large screens*/
/*when the screen width is at least <=750px*/
@media (max-width: 800px) {
  .video-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/*The CSS responsive implementation  used for small/large screens*/
/*when the screen width is at least 751px and at most 999px*/
/* video grid will be 3 columns */
@media (min-width: 801px) and (max-width: 199px) {
  .video-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

/* The CSS responsive implementation  used for small/large screens */
/* when the screen width is at least 1000px above */
/* video grid will be 4 columns */
@media (min-width: 1100px) {
  .video-grid {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }
  .video-title {
    font-size: 16px;
    line-height: 24px;
  }
  .video-author,
  .video-stats {
    font-size: 14px;
  }
}

/* Media query for screens smaller than 1200px */
/* When the screen is <1200px, the videogrid  from left have padding of 5px*/
@media (max-width: 1200px) {
  .video-grid {
    padding-left: 5px;
  }
}

/* Media query for screens wider than 1200.1px */
/* When the screen is >1200px, the videogrid  from left have padding of 147px*/
@media (min-width: 1200.1px) {
  .video-grid {
    padding-left: 147px;
  }
}

.video-time {
  font-size: 12px;
  font-weight: 500px;
  padding: 4px;
  border-radius: 2px;
  background-color: black;
  color: white;
  position: absolute;
  bottom: 8px;
  right: 5px;
}