body{
  margin: 0;
  padding-top: 80px;
  padding-left: 96px;
  padding-right: 24px;
  background-color: rgb(248, 248, 248);
}


.header{

  height: 55px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  position: fixed;
  top: 0px;
  left: 0px;
  right: 0px;
  background-color: white;
  border-bottom: 1px solid rgb(215, 212, 212);
  z-index: 100;
  }
  .notification-icon-container{
  position: relative;
  }
  .notifications-count{
  position: absolute;
  top: -2px;
  right: -4.5px;
  background-color: red;
  color: white;
  font-weight: 500;
  font-family: Roboto,Arial;
  font-size: 11px;
  border-radius: 12px;
  padding: 2px 5px 2px 5px;
  }

  .left-section{
    /* background-color: cyan; */
    /* width: 150px; */
    display: flex;
    align-items: center;
    }
    .hamburger-menu{
    height: 24px;
    margin-left: 24px;
    margin-right: 20px;
    cursor: pointer;
    }
    .youtube-logo{
    height: 20px;
    cursor: pointer;
    }
    
    .middle-section{
    /* background-color: rgb(89, 177, 17); */
    flex: 1;
    margin-left: 70px;
    margin-right: 35px;
    max-width: 500px;
    display: flex;
    align-items: center;
    }
    .search-button{
    height: 40px;
    width: 66px;
    border: 1px solid rgb(214, 205, 205);
    border-left: none;
    margin-right: 10px;
    position: relative;
    cursor: pointer;
    
    }
    .search-button .tooltip, .voice-search-button .tooltip, .upload-icon-container .tooltip, .youtube-apps-icon-container .tooltip, .notification-icon-container .tooltip{
      position: absolute;
      background-color: gray;
      color: white;
      padding: 4px 8px 4px 8px;
      border-radius: 2.5px;
      font-size: 12px;
      bottom: -30px;
      opacity: 0;
      transition: opacity 0.15s;
      pointer-events: none;
      white-space: nowrap;
      font-family: Roboto, Arial;
     
    }
    
    .search-button:hover .tooltip, .voice-search-button:hover .tooltip, .upload-icon-container:hover .tooltip, .youtube-apps-icon-container:hover .tooltip, .notification-icon-container:hover .tooltip{
      opacity: 1;
    }
    .upload-icon-container, .youtube-apps-icon-container, .notification-icon-container{
      display: flex;
      justify-content: center;
      align-items:center;
      position: relative;
    }
    .voice-search-button{
    height: 40px;
    width: 40px;
    border-radius: 20px;
    border: none;
    background-color: rgb(240, 240, 240);
    position:relative ;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    }
    .voice-search-icon{
    height: 24px;
    vertical-align: center;
    }
    .search-bar{
    flex: 1;
    height: 36px;
    padding-left: 10px;
    font-size: 16px;
    border: 1px solid rgb(214, 205, 205);
    border-radius: 2px;
    box-shadow: inset 1px 2px 3px rgba(0, 0, 0, 0.05);
    width: 0; 
    }
    .search-bar::placeholder{
    font-family: Roboto, Arial;
    font-size: 16px;
    }
    .search-icon{
    height: 25px;
    vertical-align: center;
    background-color: rgb(240, 240, 240);
    }
    .right-section{
    /* background-color: rgb(238, 0, 255); */
    width: 180px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-right: 20px;
    flex-shrink: 0;
    }
    .upload-icon{
    height: 24px;
    cursor: pointer;
    }
    .youtube-apps-icon{
    height: 24px;
    cursor: pointer;
    }
    .notifications-icon{
    height: 24px;
    cursor: pointer;
    }
    .channel-pic-icon{
    height: 32px;
    border-radius: 16px;
    cursor: pointer;
    }


.side-bar{
      background-color: white;
      position:fixed ;
      bottom: 0;
      left: 0;
      top: 55px;
      width: 72px;
      z-index: 2000;
      padding-top: 5px;
      
      
      }
      .side-bar img{
      height: 24px;
      margin-bottom: 4px;
      }
      .side-bar-item{
      background-color:white;
      height: 74px;
      margin-bottom: 1px;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      }
      .side-bar-item:hover{
      background-color:rgb(235, 231, 231);
      }
      .side-bar-item div{
      font-family: Roboto, Arial;
      font-size: 10px;
      }
      
      



.video-grid{
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  column-gap: 15px;
  row-gap: 14px;
  font-family: Roboto, Arial;
  margin-right: 30px;

}
@media (max-width: 750px){
  .video-grid{
    grid-template-columns: 1fr 1fr;
  }
  .search-bar{
    border: none;
    box-shadow: none;
  }
  .search-bar::placeholder{
    color: white;
  }
  .video-info-box{
    min-width: 200px;
  }
}

@media (min-width:751px) and (max-width:999px){
  .video-grid{
    grid-template-columns: 1fr 1fr 1fr;
  }
}
@media (min-width: 1000px){
  .video-grid{
    grid-template-columns: 1fr 1fr 1fr 1fr;

  }
}
p{
  font-family: Roboto, Arial;
  margin-top: 0;
  margin-bottom: 0;
}
.thumbnail{
width: 100%;
cursor: pointer;
}

.video-title{
margin-top: 0;
margin-bottom: 10px;
font-size: 14px;
line-height: 15px;
/*  this value is coming from Roboto*/
font-weight: 500;  
cursor: pointer;
}

.channel-pic-box{
vertical-align: top;
position: relative;
height: 36px;
width: 36px;
border-radius: 18px;
object-fit: contain;


}
.profile-tooltips{
position: absolute;
box-shadow: 0px 0px 4px rgb(26, 25, 25);
border-radius: 3px;
width: 200px;
height: 50px;
display: flex;
flex-direction: row ;
align-items: center;
justify-content: center;
top: 50px;
background-color: white;
opacity: 0;
transition: opacity .23s;
pointer-events: none;
z-index: 1;

}
.channel-pic-box:hover  .profile-tooltips{
  opacity: 1;  
}
 .profile-tooltips img{
  width: 40px;
  border-radius: 25px;
  vertical-align: middle;
}
.details-tooltips{
  vertical-align: middle;
  margin-left: 13px;
  font-family: Roboto, Arial;
}
 .details-tooltips p{
  font-weight: bold;
}
.details-tooltips span{
  font-size: 12px;
}
.video-info-grid{
display: grid;
grid-template-columns: 50px 1fr;
}
.video-info-box{

margin-left: 5px;

}

.profile-pic{
width: 36px;
height: 36px;
border-radius: 18px;
cursor: pointer;


}
.thumbnail-bottom-margin{
margin-bottom: 8px;
position: relative;
}
.video-author, .video-stats{
font-size: 12px;
color: rgb(96, 96, 96);
}
.video-author{
margin-bottom: 4px;
}







.video-time{
background-color: black;
color: white;
position: absolute;
bottom: 8px;
right: 5px;
/* Now this proprty is inherited from video-grid section */
/* font-family: Roboto, Arial; */  
font-size: 12px;
font-weight: 500;
padding: 4px 4px 4px 4px;
border-radius: 2px;
}