/*Comment*/
p{
    font-family: Roboto, Arial;
    margin-top: 0px;
    margin-bottom: 0px;
}

.search-button,
.voice-search-button,
.upload-icon-container,
.youtube-apps-container,
.notifications-icon-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

body{
    margin: 0;
    padding-top: 80px;
    padding-left: 96px;
    padding-right: 24px;
    height: 2000px;
    background-color: rgb(0, 0, 0, 0);
}

.header{
    height: 55px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: white;
    border-bottom-width: 1px ;
    border-bottom-style: solid;
    border-bottom-color: rgb(240, 240, 240);
    z-index: 100;
    background-color: rgb(255, 255, 255);
}

.hamburger-menu{
    height: 24px;
    margin-left: 15px;
    margin-right: 24px;
    background-color: rgb(255, 255, 255);
    padding: 8px;
    border-radius: 20px;
    cursor: pointer;
}
.hamburger-menu:hover{
    background-color: rgb(207, 207, 207);

}
.youtube-logo{
    height: 20px;
    margin-left: -5px;
}
.NG{
    color: rgb(30, 30, 30);
    font-size: 10px;
    margin-left: 3px;
    margin-top: -22px;
}

.left-section{
    display: flex;
    flex-direction: row;
    align-items: center;
}

.search-button{
    height: 40px;
    width: 66px;
    background-color: rgb(248, 248, 248);
    border-style: solid;
    border-width: 1px;
    border-color: rgb(211, 211, 211);
    margin-left: -1px;
    margin-right: 10px;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
}
.search-button .tooltip, 
.voice-search-button .tooltip,
.upload-icon-container .tooltip,
.youtube-apps-container .tooltip,
.notifications-icon-container .tooltip{
    font-family: Roboto, Arial;
    position: absolute;
    background-color: gray;
    color: white;
    padding-top: 4px;
    padding-bottom: 4px;
    padding-left: 8px;
    padding-right: 8px;
    border-radius: 2px;
    font-size: 12px;
    bottom: -3  0px;
    opacity: 0;
    transition: opacity 0.15s;
    pointer-events: none;
    white-space: nowrap;
}
.search-button:hover .tooltip, 
.voice-search-button:hover .tooltip,
.upload-icon-container:hover .tooltip,
.youtube-apps-container:hover .tooltip,
.notifications-icon-container:hover .tooltip{
    opacity: 1;
}

.search-icon{
    height: 25px;
}
.voice-search-button{
    height: 40px;
    width: 40px;
    border-radius: 20px;
    border: none;
    background-color: rgb(240, 240, 240);
} 
.voice-search-icon{
    height: 24px;
}

.middle-section{
    display: flex;
    flex-direction: row;
    align-items: center;
    flex: 1;
    margin-left: 70px;
    margin-right: 35px;
    max-width: 500px;
}


.right-section{
    width: 180px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin-right: 20px;
    flex-shrink: 0;
}
.right-button{
    display: flex;
    flex-direction: row;
    padding-left: 15px;
    padding-right: 13px;
    padding-top: -2px;
    padding-bottom: -2px;
    background-color: rgb(240, 240, 240);
    color: rgb(15, 15, 15);
    border-radius: 40px;
    align-items: center;
    justify-content: center;
}
.plus{
    font-size: 33px;
    margin-right: 8px;
    font-weight: lighter;
}
.create{
    font-size: 14px;
    font-family: Roboto, Arial;
    font-weight: bold;
}
.upload-icon{
    height: 24px;
    filter: invert(1);
}
.youtube-apps-icon{
    height: 24px;
    filter: invert(1);
}
.notifications-icon{
    height: 24px;
}
.notifications-icon-container{
    position: relative;
}
.notifications-count{
    position: absolute;
    top: -2px;
    right: -5px;
    background-color: rgb(201, 0, 0);
    color: white;
    font-family: Roboto, Arial;
    font-size: 11px;
    padding-left: 5px;
    padding-right: 5px;
    padding-top: 2px;
    padding-bottom: 2px;
    border-radius: 10px;
}

.current-user-picture{
    height: 32px;
    border-radius: 16px;
}

.thumbnail{
    width: 100%;
}
.search-bar{
    font-size: 16px;
    flex: 1;
    height: 36px;
    padding-left: 20px;
    border-width: 1px;
    border-style: solid;
    border-color: rgb(211, 211, 211);
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    box-shadow: inset 1px 2px 3px rgba(0, 0, 0, 0.05);
    width: 0;
    background-color: rgb(0, 0, 0, 0);
}


.search-bar::placeholder{
    font-family: Roboto, Arial;
    font-size: 16px;
}
.video-title{
    margin-top: 0px;
    font-size: 14px;
    font-weight: bold;
    line-height: 20px;
    margin-bottom: 12px;
    color: rgb(15, 15, 15);

}
.video-info-grid{
    display: grid;
    grid-template-columns: 50px 1fr;
}

.profile-picture{
    width: 75%;
    border-radius: 50px;
}
.thumbnail-row{
    margin-bottom: 12px;
    position: relative;
}
.video-author,
.video-stats{
    font-size: 14px;
    color: rgb(96, 96, 96);
    font-weight: 400;
}
.video-author{
    margin-bottom: 4px;
}
.video-grid{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    column-gap: 16px;
    row-gap: 40px;
}

@media (max-width: 750px) {
    .video-grid{
        grid-template-columns: 1fr 1fr;
    }
}
@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;
    }
}

@media (min-width:1000px) {
    .video-title{
        font-size: 16px;
        line-height: 24px;
    }
}
@media (min-width: 1000px) {
    .video-author,
    .video-stats{
        font-size: 14px;
    }
}


.sidebar{
    position: fixed;
    left: 0;
    bottom: 0;
    top: 55px;
    background-color: rgb(255,255,255);
    width: 72px;
    z-index: 200;
    padding-top: 5px;
    color: black;

}
.sidebar-link{
    height: 74px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}
.sidebar-link:hover{
    background-color: rgb(235, 235, 235);
}
.sidebar-link img{
    height: 24px;
    margin-bottom: 4px;
}
.sidebar-link div{
    font-family: Roboto, Arial;
    font-size: 10px;
}

.video-time{
    background-color: rgb(15, 15, 15, 0.7);
    color: white;
    position: absolute;
    bottom: 8px;
    right: 5px;
    font-family: Roboto, Arial;
    font-size: 12px;
    font-weight: 500px;
    padding-left: 4px;
    padding-right: 4px;
    padding-top: 4px;
    padding-bottom: 4px;
    border-radius: 2px;
}

.ad{
    position: absolute;
    bottom: 8px;
    right: 5px;
}
.ad-image{
    width: 35px;
}
.video-info-grid2{
    display: grid;
    grid-template-columns: 1fr;
}
.b{
    font-weight: bold;
    color: white;
}


.youtube-shorts-header{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin-top: 50px;
}
.youtube-shorts-left{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}
.ysl-image{
    height: 45px;
}
.ysl-text{
    color: rgb(0, 0, 0);
    font-size: 20px;
    font-weight: bold;
}
.dots{
    height: 20px;
}
.shorts-video{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    margin-top: 20px;
}
.shorts-video-image{
    height: 520px;
    width: 290px;
    border-radius: 8px;
}
.shorts-video-title{
    color: rgb(15, 15, 15);
    line-height: 20px;
}
.shorts-video-stats{
    color: rgb(96, 96, 96);
    font-size: 12px;
    line-height: 30px;
}

/* MEDIA QUERIES: Make YouTube Shorts Responsive */
@media (max-width: 900px) {
  .shorts-video {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    justify-items: center;
  }

  .shorts-video-image {
    height: 320px;
    width: 180px;
  }
}

@media (max-width: 600px) {
  .shorts-video {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    justify-items: center;
  }

  .shorts-video-image {
    height: 280px;
    width: 170px;
  }

  .ysl-text {
    font-size: 18px;
  }

  .shorts-video-title {
    font-size: 14px;
    color: rgb(0, 0, 0);
    max-width: 200px;
  }

  .shorts-video-stats {
    font-size: 11px;
  }
}
