.body{
    background-color:rgb(15,15,15);
    user-select: none;
    margin-top: 120px;
    margin-left: 240px;
    padding-bottom:60px;
}
.header{
    z-index: 100;
    background-color: rgb(15, 15, 15);
    display: flex;
    justify-content: space-between;
    position: fixed;
    top:0;
    left:0;
    right:0;
    height:55px; 
}
.header-left{
    display: flex;
}
.header-menu{
    padding: 8px;
    width:23px;
    height:23px;
    margin:10px 10px 0px 15px;
    cursor: pointer;
    border-radius: 50px;
}
.header-menu:hover{
    background-color: rgb(35,35,35);
}
.header-logo{
    width:122px;
    height: 28px;
    margin: 12px 0px 10px 0px;
    cursor: pointer;
}
.header-middle{
    flex:1;
    max-width:700px;
}
.middle-search{
    flex: 1;
    display: flex;
    margin-left: 50px;
}
.search-button{
    width: 18px;
    padding: 10px 22px 12px 22px;
    margin-top: 8px;
    border: 0px;
    border-style: solid;
    border-radius: 0px 20px 20px 0px;
    box-shadow: inset 0px 0px 1px 1px rgb(255,255,255,0.08);
    background-color: rgb(35,35,35);
    cursor: pointer;
}
.search-form{
    background-color: transparent;
    padding: 0px;
    border: 0px;
}
.search-bar{
    font-size: 17px;
    font-family: sans-serif;
    font-weight: 500;
    z-index: 100;
    color: rgb(255, 255, 255);
    padding: 0px 0px 0px 20px;
    background-color: rgb(17,17,17);
    flex: 1;
    margin-right:-1px;
    border:0px;
    border-style: solid;
    height:40px;
    border-radius: 20px 0px 0px 20px;
    margin-top: 8px;
    box-shadow: inset 0px 0px 1px 1px rgba(255,255,255,0.12); 
}
.search-bar:focus{
    outline-style:solid;
    box-shadow: inset 0px 0px 0px 1px rgb(0, 110, 195);
}
.microphone{
    width:25px;
    height: 25px;
    margin-top: 10px;
    margin-left: 10px;
    padding: 6px 6px 6px 6px;
    border:0px;
    border-style: solid;
    border-radius: 20px;
    background-color: rgb(30,30,30);
    cursor: pointer;
}
.micrelative{
    position: relative;
}
.micabsolute{
    position: absolute;
    background-color: rgb(80, 80, 80) ;
    color:rgb(241, 241, 241);
    padding: 10px;
    border-radius: 8px;
    bottom:-53px;
    right:-35px;
    opacity: 0;
    transition: opacity 0.15s;
    pointer-events: none;
}
.micrelative:hover .micabsolute{
    opacity: 1;
}
.header-right{
    display: flex;
    width:200px;
    justify-content: space-around;
    background-color: rgb(15, 15, 15);
}
.create-div{
    position: relative;
    margin: 8px 10px 10px 10px ;
}
.create{
    width:24px;
    padding: 8px;
    height: 24px;
    border-radius: 18px;
    cursor: pointer;

}
.create:hover{
    background-color: rgb(35,35,35);
}
.createabsolute{
    position: absolute;
    background-color: rgb(80, 80, 80) ;
    color:rgb(241, 241, 241);
    padding: 10px;
    border-radius: 8px;
    bottom:-60px;
    right:-18px;
    opacity: 0;
    transition: opacity 0.15s;
    pointer-events: none;
}
.create-div:hover .createabsolute{
    opacity: 1;
}
.bell-div{
    margin: 8px 10px 10px 10px;
}
.bell{
    position: relative;
    width:24px;
    padding: 8px;
    background-color: rgb(15, 15, 15);
    border-radius: 24px;
    cursor: pointer;
}
.bell:hover{
    background-color: rgb(35,35,35);
}
.bellabsolute{
    position: absolute;
    background-color: rgb(80, 80, 80) ;
    color:rgb(241, 241, 241);
    padding: 10px;
    border-radius: 8px;
    bottom:-50px;
    right:30px;
    opacity: 0;
    transition: opacity 0.15s;
    pointer-events: none;
}
.bell-div:hover .bellabsolute{
    opacity: 1;
}
.user-div{
    margin:8px 10px 10px 10px;
}
.user{
    position: relative;
    width:24px;
    padding: 8px;
    border-radius: 24px;
    cursor: pointer;
}
.user:hover{
    background-color: rgb(35,35,35);
}
.horizontal-scroll{
    padding-right: 15px;
    padding-top: 10px;
    padding-left: 1px;
    margin-left: 235px;
    background-color: rgb(15,15,15);
    position: fixed;
    top:55px;
    left:0;
    right:0;
    overflow:scroll;
    white-space:nowrap;
}
.horizontal-scroll p{
    margin: 3px 5px 0px 5px;
    border-radius: 10px;
    background-color: rgb(35,35,35);
    display: inline-block;
    color: white;
    font-weight:500;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    text-align: center;
    padding: 8px 13px 8px 13px;
    cursor: pointer;
    transition:background-color 0.25s, color 0.25s;   
}
.horizontal-scroll p:active{
    background-color:white ;
    color:gray
}
.side-bar{
    z-index: 80;
    background-color: rgb(15,15,15);
    position: fixed;
    top:65px;
    left:0;
    bottom: 0;
    width: 230px;
    overflow:scroll;
    white-space:nowrap;
}
.side-button{
    margin-left: 12px;
    width: 200px;
    background-color:rgb(15,15,15);
    border: 0px;
    border-radius: 12px;
    display: flex;
    padding: 4px;
    transition: background-color 0.15s;
}
.side-button:hover{
    background-color: rgb(40,40,40);
    cursor: pointer;
}
.side-button:active{
    background-color: rgb(70,70,70);
}
.side-img{
    width: 30px;
    margin-left: 5px;
}
.side-text{
    color: rgb(255, 255, 255);
    margin: 8px 0px 7px 22px;
}
.bottom-bar{
    background-color: rgb(0, 0, 0);
    position: fixed;
    height: 55px;
    left:0;
    bottom: 0;
    right: 0;
    opacity: 0;
}
.videos-container{
    align-items: baseline;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr ;
    column-gap: 8px;
    row-gap: 30px;  
}
@media (max-width:1230px) {
    .videos-container{
        grid-template-columns: 1fr 1fr 1fr;
    }  
}
@media (max-width:980px) {
    .videos-container{
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width:725px) {
    .videos-container{
        grid-template-columns:1fr;
    }
}
@media (max-width:500px)  {
    .videos-container{
        margin-left: 8px;
        margin-right: 8px;
        grid-template-columns: 1fr;
        margin-top: 30px;
    }
    .body{
        margin: 0px;
        padding-left: 0px;
        padding-top:70px ;
    }
    .header{
        height:60px;
    }
    .side-bar{
        width:0px;
        opacity: 0;
    }
    .bottom-bar{
        opacity: 1;
        display: flex;
        box-shadow: 0px 0px 1px 1px rgb(40, 40, 40);
        justify-content: space-between;
        background-color: rgb(15,15,15);
    }
    .home2{
        width:38px;
        display: inline-block;
    }
    .bottom-bar-text{
        color: white;
        margin-top:-3px;
        font-size: 10px;
    }
    .home2:hover{
        cursor: pointer;
    }
    .home2-button2{
        background-color: rgb(15, 15, 15);
        border:0px;
        margin: 3px 0px 0px 18px;
        padding: 0px;
    }
    .shorts2{
        width: 38px;
        margin: 4px 0px 0px 0px ;
        background-color: transparent;
    }
    .shorts2-button2{
        padding: 0px;
        background-color: transparent;
        border: 0px;
    }
    .shorts2:hover{
        cursor: pointer;
    }
    .add2{
        padding:6px;
        width:30px;
        border-radius: 20px;
        margin-top: 8px;
    }
    .subscription2{
        width:36px;
        margin: 4px 0px 0px 0px ;
    }
    .subscription2:hover{
        cursor: pointer;
    }
    .library2{
        width:36px;
        margin: 4px 20px 0px 0px ;
    }
    .library2:hover{
        cursor: pointer;
    }
    .header-left{
        width:150px;
    }
    .header-menu{
        width:0px;
        margin: 0px;
    }
    .header-middle{ 
        opacity: 1;
        z-index: 0; 
      width:0px;
    }
    .search-bar{
        opacity: 0;
        width:0px;
        height: 0px;
        padding: 0px;
        margin: 0px;
        
    }
    .middle-search{
        margin: 0px;
    }
    .search-button{
        z-index: 100;
        border: 0px;
        height: 24px;
        width:24px;
        padding: 10px;
        margin-top: 11px;
        margin-bottom: 1px;
        margin-left: 1px;
        margin-right: 1 px;
        border-radius: 20px;
        background-color:transparent;
        box-shadow: 0px 0px 0px black;
    }
    .microphone{
        padding: 0px;
        opacity: 0;
        width: 0px;
        margin: 0px;
        background-color: rgb(20, 20, 20);
    }
    .header-right{
        width: 100px;
    }
    .create{
        padding: 0px;
        opacity:0;
        width: 0px;
        margin: 0px;
    }
    .bell-div{
        margin:0px;
        padding:0px
    }
    .bell{
        margin-top: 10px;
        padding: 10px;
    }
    .user-div{
        margin:0px;
    }
    .user{
        padding:10px;
        margin-top:10px;
        margin-right:20px
    }
    .create-div{
        flex:0;
    }
    .home{
        width:0px;
    }
    .shorts{
        width:0px;
    }
    .subscriptions{
        width: 0px;
    }
    .history1{
        width: 0px;
        padding: 0px;
    }
    .music{
        width: 0px;
    }
    .live{
        width: 0px;
    }
    .horizontal-scroll{
        margin-left: 11px;
        margin-right: 11px;
        padding-left: 0px;
        padding-top:2px;
        padding-bottom:0px;
    }
    .home-button{
        width: 0px;
    }
    .shorts-button{
        width:0px;
    }
    .subscriptions-button{
        width: 0px;
        padding: 0px;
    }
    .history1-button{
        width: 0px;
        padding: 0px;
    }
    .side-p{
        font-size: 0px;
    }
    .side-line{
        height: 0px;
    }
    .music-button{
        width: 0px;
        padding: 0px;
    }
    .videos-container{
        row-gap: 0px;
    }
}
.video-card{
    display: grid;
    margin:0px;
    border-radius: 20px;
    padding:8px;
    transition: background-color 0.15s;
}
.video-card:active{
    background-color: rgb(50,50,50);
}
.thumbnail-img{
    width: 100%;
    border-radius: 15px;
}
.descriptions{
    display: grid;
    grid-template-columns: 50px 1fr ;
    margin-top: 8px;
}
.profile-img{
    width: 40px;
    border-radius: 20px;
}
.video-title{
    color: rgb(218, 218, 218);
    font-family:Roboto;
    font-size:0.8rem ;
    margin: 0px;
}
.channel-name{
    color: rgb(175, 175, 175);
    font-family:Arial,Roboto;
    font-size: 12px;
    margin: 8px 0px 4px 0px;
}
.channel-name:hover{
    color: rgb(175, 175, 175);
}
.video-views{
    color: rgb(175, 175, 175);
    font-family:Arial,Roboto;
    font-size: 12px;
    margin:0px;
}
.horizontal-scroll::-webkit-scrollbar{
    width:0px;
    height: 10px;
    background-color: rgb(15, 15, 15);
}
.side-bar::-webkit-scrollbar{
    width: 8px;
    height: 0px;
}
.side-bar::-webkit-scrollbar-track{
    background-color:transparent;
}
.side-bar::-webkit-scrollbar-thumb{
    background-color: rgb(83, 83, 83);
    border-radius: 20px;
}
.body::-webkit-scrollbar{
    width: 10px;
}
.body::-webkit-scrollbar-track{
    background-color: rgb(24, 24, 24);
}
.body::-webkit-scrollbar-thumb{
    background-color: rgb(83, 83, 83);
    border-radius: 20px;
}
