/* Code Generated By Sai Teja SP */

@import url('https://fonts.googleapis.com/css2?family=Bruno+Ace+SC&family=Josefin+Sans:ital@0;1&family=Kalam:wght@300;400&family=Roboto&family=Satisfy&family=Shantell+Sans&family=Tilt+Neon&family=Tourney:ital,wght@0,100;0,200;1,100;1,200&family=Ubuntu&family=Varela+Round&family=Zeyada&display=swap');

body{
	margin: 0;
    padding-top: 100px;
    padding-left: 100px;
    padding-right: 35px;
    padding-bottom: 40px;
    background-color: rgb(248, 248, 248);
}

.header{
    height: 58px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: white;
    /* border-bottom: 1px solid rgb(189, 186, 186); */
    z-index: 100;
}

.left-section{
    display: flex;
    align-items: center;
}

.hamburger{
    height: 24px;
    margin: 0px 20px;
    cursor: pointer;
}

.youtube-logo{
    height: 20px;
    cursor: pointer;
}

.middle-section{
    flex: 1;
    margin-left: 60px;
    max-width:650px;
    display: flex;
    align-items: center;
}

.search-bar{
    flex: 1;
    height: 34px;
    width: 40px;
    font-size: 16px;
    padding-left: 10px;
    border: 1px solid gray;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px; 
}

.search-bar::placeholder{
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    font-size: 16px;
}

.search-btn{
    height: 34px;
    width: 60px;
    border: 1px solid gray;
    background-color: #f8f8f8;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
    cursor: pointer;
    margin-left: -1px;
    margin-right: 8px;
}

.search-btn:hover{
    background-color: rgb(241, 231, 231);
}

.search-btn,
.voice-search-btn,
.notifications-container,
.upload-container,
.apps-container{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.search-btn .tooltips,
.voice-search-btn .tooltips,
.notifications-container .tooltips,
.upload-container .tooltips,
.apps-container .tooltips{
    position: absolute;
    background-color: rgb(114, 107, 107);
    color: white;
    font-size: 12px;
    font-family: 'Roboto', sans-serif;
    padding:  6px 9px;
    border-radius: 4px;
    bottom: -40px;
    opacity: 0;
    pointer-events: none;
    white-space: nowrap;
}

.search-btn:hover .tooltips,
.voice-search-btn:hover .tooltips,
.notifications-container:hover .tooltips,
.upload-container:hover .tooltips,
.apps-container:hover .tooltips {
    opacity: 1;
}

.search-icon{
    height: 24px;
    width: 24px;
}

.voice-search-btn{
    height: 34px;
    width: 40px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    background-color: rgb(245, 245, 245);
}

.voice-search-btn:hover{
    background-color: rgb(241, 231, 231);
}

.voice-search-icon{
    height: 24px;
    width: 24px; 
}

.right-section{
    width: 160px;
    margin-right: 20px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.upload-icon{
    height: 26px;
    cursor: pointer;
}

.youtube-apps-icon{
    height: 26px;
    cursor: pointer;
}

.notifications-container{
    position: relative;
    
}

.notifications-icon{
    height: 26px;
    cursor: pointer;
}

.notifications-count{
    position: absolute;
    top: -2px;
    right: -3px;
    font-size: 11px;
    background-color: red;
    color: white;
    font-family: 'Roboto', sans-serif;
    padding: 2px 5px;
    border-radius: 10px;
}

.profile-pic-icon{
    height: 34px;
    border-radius: 20px;
    cursor: pointer;
}

.color{
    height: 2000px;
}

/* SIDEBAR */

.sidebar{
    position: fixed;
    bottom: 0;
    left: 0;
    top: 55px;
    width: 75px;
    background-color: #f8f8f8;
    border-right: 0px solid rgb(181, 181, 194);
    z-index: 200;
}
.sidebar-link{
    height: 69px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

}
.sidebar-link:hover{
    background-color: rgb(225, 223, 223);
    border-radius: 6px;
}
.sidebar img{
    height: 22px;
}
.sidebar div{
    font-size: 10px;
    font-family: 'Roboto', sans-serif;
    padding-top: 5px;
}

/* Video Preview */
p{
    margin-top: 0;
    margin-bottom: 0;
    font-family: 'Roboto', sans-serif;
}
.video-container{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    column-gap: 15px;
    row-gap: 40px;
}
.thumbnail-sec{
    margin-bottom: 8px;
    position: relative;
}
.thumbnail {
    width: 100%;
    border-radius: 13px;
    cursor: pointer;
    transition: border-radius 0.2s;
}
.thumbnail:hover{
    border-radius: 0;
}
.video-time{
    position: absolute;
    background-color: black;
    color: white;
    font-size: 12px;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    bottom: 8px;
    right: 6px;
    border-radius: 4px;
    padding: 3px;
}
.video-info-grid{
    display: grid;
    grid-template-columns: 50px 1fr;
    cursor: pointer;
}
.channel-picture{
    width: 38px;
    border-radius: 50px;
}
.video-title{
    font-size: 15px;
    font-weight: 600;
    font-family: 'Roboto', sans-serif;
    line-height: 20px;
    margin-bottom: 8px;
}
.channel-name, .video-stats{
    font-size: 12px;
    color: rgb(96, 96, 96);
}
.video-stats{
    margin-top: 4px;
}

/* Shorts section */
.shorts-header-sec{
    display: grid;
    grid-template-columns: 50px 1fr;
    align-items: center;
    align-content: center;
}
.shorts-picture{
    width: 16px;
    margin-top: 4px;
    padding-left: 20px;
    padding-right: 10px;
}
.shorts-head{
    font-size: 20px;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
}
.shorts-container{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    column-gap: 10px;
    margin-top: 30px;
}
.shorts-preview{
    margin-bottom: 30px;
}
.shorts-sec{
    margin-bottom: 10px;
}
.shorts-thumbnail{
    width: 100%;
    border-radius: 15px;
    cursor: pointer;
}
.shorts-info-grid{
    display: grid;
    grid-template-columns: 1fr;
}
.shorts-title{
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    margin-bottom: 10px;
}
.shorts-stats{
    font-size: 12px;
    color: rgb(87, 84, 84);
    margin-top: 4px;
}
.border{
    height: 4px;
    background-color: rgb(231, 230, 230);
    border-radius: 20px;
    border-width: 0;
    width: 100%;
    margin: 40px 0;
}

/* MEDIA QUERIES */

/* For mobiles */
@media (max-width: 426px) {
    .video-container{
        grid-template-columns: 1fr;
    }
    .shorts-container{
        grid-template-columns: 1fr 1fr;
    }
}

/* For Tablets */

@media (min-width: 427px) and (max-width: 768px) {
    .video-container{
        grid-template-columns: 1fr 1fr;
    }
    .shorts-container{
        grid-template-columns: 1fr 1fr 1fr;
    }
}

/* For Laptops */

@media (min-width: 769px) and (max-width: 1023px) {
    .video-container{
        grid-template-columns: 1fr 1fr 1fr;
    }
    .shorts-container{
        grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    }
}

/* For Large devices */

@media (min-width: 1024px){
    .video-container{
        grid-template-columns: 1fr 1fr 1fr;
    }
}

/* Code Generated By Sai Teja SP */










