p{
    font-family: Roboto,Arial;
}
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: 0;
    left: 0;
    right: 0;
    border-bottom-style: solid;
    border-bottom-width: 1px;
    border-bottom-color: rgb(229,229,229);
    background-color: white;
    z-index: 100;
}
.left-section{
    display: flex;
    align-items: center;
}
.middle-section{
    flex:1;
    display: flex;
    margin-left: 70px;
    margin-right: 35px;
    max-width: 500px;
    align-items: center;
}
.search-button{
    height: 40px;
    width: 60px;
    background-color: rgb(240,240,240);
    border-width: 1px;
    border-style: solid;
    border-style: solid;
    border-color: rgb(192,192,192);
    margin-left: -1;
    margin-right: 10px;
}
.search-button,.voice-search-button,.upload-icon-container,.youtube-apps-icon-container,.notifications-icon-container{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}
.voice-search-button{
    height: 40px;
    width: 40px;
    border-radius: 20px;
    border: none;
    background-color: rgb(250,250,250);

}
.voice-earch-icon{
    height: 24px;
}
.right-section{
    width: 180px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-right: 20px;
    flex-shrink: 0;
}
.sidebar-link{
    height: 74px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}
.sidebar-link img{
    height: 24px;
    margin-bottom: 4px ;
}
.sidebar-link:hover{
    background-color: rgb(235,235,235);
}
.sidebar-link div{
    font-family: Roboto,Arial;
    font-size: 10px;
}
.upload-icon{
    height: 24px;
}
.youtube-apps-icon{
    height: 24px;
}
.notifications-icon{
    height: 24px;
}
.notifications-icon-container{
    position: relative;
}
.notifications-count{
    position: absolute;
    background-color: rgb(200, 0, 0);
    top: -2px;
    right: -5px;
    font-family: Roboto,Arial;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 10px;
}
.current-user-picture{
    border-radius: 16px;
    height: 32px;
}
.hamburger-menu{
    height: 24px;
    margin-left: 24px;
    margin-right: 24px;

}
.youtube-logo{
    height: 20px;
}

.search-bar{
    flex:1;
    height: 36px;
    padding-left: 10px;
    font-size: 16px;
    border-width: 1px;
    border-style: solid;
    border-color: rgb(192,192,192);
    border-radius: 2px;
    box-shadow: inset 1px 2px 3px rgba(0,0, 0, 0.05);
    width: 0;
}
.search-button:hover .tooltip,.voice-search-button:hover .tooltip,.upload-icon-container:hover .tooltip,.youtube-apps-icon-container:hover .tooltip,.notifications-icon-container:hover .tooltip{
    opacity: 1;

}
.search-button .tooltip,.voice-search-button .tooltip,.upload-icon-container .tooltip,.youtube-apps-icon-container .tooltip,.notifications-icon-container .tooltip{
    position: absolute;
    font-family: Roboto,Arial;
    background-color: gray;
    color: white;
    padding: 4px 8px;
    border-radius: 2px;
    font-size: 12px;
    bottom: -30px;
    opacity: 0;
    transition: opacity 0.15s;
    pointer-events: none;
    white-space: nowrap;
}
.search-icon{
    height: 25px;
    padding-top: 5px;
}
.search-bar::placeholder{
    font-family: Roboto,Arial;
    font-size: 16px;
}
.thumbnail{
    width: 100%;
}
.video-preview{
    cursor: pointer;
}
.video-title{
    margin-top: 0;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    margin-bottom: 10px;
}
.video-time{
    background-color: black;
    color: white;
    position: absolute;
    bottom: 8px;
    right: 5px;
    font-family: Roboto,Arial;
    font-size: 12px;
    font-weight: 500;
    padding: 4px;
    border-radius: 2px;
}

.profile-picture{
    width: 36px;
    border-radius: 50px;
}
.thumbnail-row{
    margin-bottom: 8px;
    position: relative;
}
.video-info-grid{
    display: grid;
    grid-template-columns: 50px 1fr;
}
.video-grid{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}
@media(min-width:1000px) and (max-width:1199px){
    .video-grid{
        grid-template-columns: 1fr 1fr ;
    }
}
@media(min-width:751px) and (max-width:999px){
    .video-grid{
        grid-template-columns: 1fr ;
    }
}
@media(min-width:1200px){
    .video-grid{
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }
}
