.alldivs{
  display: grid;
  display: inline-block;
  grid-template-columns: 1fr,1fr,1fr;
  column-gap: 20px;
  row-gap: 20px;
  margin-top: 5px;
}
@media(max-width: 700px){
  .alldivs{
    grid-template-columns: 1fr,1fr; 
  }
}
@media(min-width:701px) and (max-width:999){
  .alldivs{
    grid-template-columns: 1fr,1fr,1fr;
  }
}
@media( min-width: 1000px)
{
  .alldivs{
    grid-template-columns: 1fr,1fr,1fr,1fr;
  }
}
/* It works as a if condition statement that if the max width is less than
600px this will happen */

.div1{
  display: inline-block;
  width: 300px;
}
.logoandinfo{
  display: grid;
  grid-template-columns: 48px 1fr;
  width: 350x;
  column-gap: 2px;
}
.logos{
  width: 36px;
  height: 36px;
  margin-top: 12px;
  border-radius: 36px;
}
.thumbnailss{
  width: 100%;
}
.image{
  position: relative;
}
.vid1name{
  font-weight: 500;
  line-height: 20px;
  font-size: 14px;
  margin-top: 12px;
  color: rgb(33, 37, 41);
  text-decoration-style:solid ;
}
.creatorname1,.videostats1{
  color: rgb(96, 96, 96);
  font-size: 12px;
  margin-bottom: 0px;
  height: 18px;
  margin-top: 0px;
  font-weight: 400px;
  line-height: 18px;
  width: 250px;
}
.videotime{
  background-color: black;
  color: white;
  position: absolute;
  bottom: 10px;
  right: 4px;
  font-size: 12px;
  padding: 4px;
  font-weight: 500;
  border-radius: 2px;
}
.viddescr{
  text-decoration: none;
  color: black;
}
.channelname{
  text-decoration: none;
  color: rgb(96, 96, 96);
}