*{
    padding: 0;
    margin: 0;
    /* background-color: #181818; */
}
html{
    font-size: 10px;
}

/* Header styles */
.header{
    background-color: #202020;
    width: 100%;
    height: 5.1rem;
    display: flex;
    color: #fff;
    justify-content: space-evenly;
    align-items: center;
}
.menubar-youtube{
    width: 15%;
    display: flex;
    justify-content: space-evenly;
    padding:0px;
    align-items: center;
    margin:10px;
}
.menubar-youtube i{
    font-size: 2rem;
}
.search-bar{
    width: 30%;
    display: flex;
}
::placeholder{
    color: #676767;
}
.search-bar input[type=text] {
    width: 100%;
    padding: .5rem;
    background-color: #181818;
    border: 1px solid #121212;
  }
.search-bar .search-icon{
    height: 2.5rem;
    width: 5rem;
    background-color: #313131;
}
.search-bar i{
    position: relative;
    top: 7px;
    left: 20px;
    font-size: 1.2rem;
    color: #6b6b6b00;
}
.icons{
    width: 15%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}
.side-bar button{
    color:white;
    background-color: #969696;
    border-radius: 10px;
    padding: 10px;
}
.icons i{
    font-size: 1.5rem;
}
.icons img{
    width: 3rem;
    border-radius: 100%;
}
/* Header ends */

/* Side bar styles */
.side-bar-main{
    display: flex;
    background-color: #4a4a4a;
    height:auto;
}
.youtube-logo-name{
width:50px;
}
.youtube-logo-name img{
    width:50px;
}
.side-bar{
    width: 20%;
    position: absolute;
    height: auto;
    color: #fff;
    display: flex;
    flex-direction: column;
	/* overflow-y: scroll; */
}
.side-bar ul li{
    list-style: none;
    font-size: 1.5rem;
    padding: .7rem 2rem;
    color:gray;
}

.side-bar ul li i{
    font-size: 2rem;
    width: 4rem;
    color:gray;
}
.side-bar ul{
    padding: 1rem 0;
}
.side-bar hr{
    border-color: #343434;
}
.side-bar .subscription{
    color: #ffffff;
    text-transform: uppercase;
    padding: 2rem 2rem;
    padding-bottom: 1rem;
}
.side-bar .channels img{
    width: 100%;
    border-radius: 100%;
}
.side-bar .channels{
    padding-top: 0;
}
.side-bar .channels li{
    display: flex;
    flex-direction: row;
    align-items: center;
}
.side-bar .channel-image{
    width: 12%;
}
.side-bar .channels li h3{
    font-size: 1.2rem;
    width: 83%;
    color:gray;
    margin-left: 2rem;
}
.side-bar .channels li i{
    font-size: .5rem;
    width: 5%;
    color: #3ea6ff;
}
/* Side-bar ends */

/* Main content styles */
.main-content{
    width:80%;
    margin-left: 20%;
    background-color: #181818;
}
.main-content .container{
    width: 95%;
    margin: 0 auto;
    padding-top: 3rem;
}
.main-content .container h3{
    font-size: 2rem;
    color: #fff;
}

.main-content .container .recommended{
    padding-bottom: 1.5rem;
}
.main-content .container .videos{
    display: grid;
    grid-gap: 15px;
    grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
    grid-row-gap: 4rem;
    
}

.main-content .container .videos img{
    width: 100%;
}
.main-content .container .videos .video-time{
    float: right;
    width: 45px;
    height: 13px;
    background-color: #181818;

}
.main-content .container .videos .video-time p{
    color: white;
    font-size: 1.2rem;
    text-align: center;
}
.main-content .container .videos .owner-icon img{
    width: 30px;
    border-radius: 100%;
}
.main-content .container .videos .icon-description{
    display: flex;
    color: #fff;
    padding-top: 1rem;
}
.main-content .container .videos .icon-description .owner-description{
    margin-left: 1rem;
}
.main-content .container .videos .icon-description .owner-description .owner-title{
    font-size: 1.5rem;
    padding-bottom: 1rem;
}
.main-content .container .videos .icon-description .owner-description .owner-name{
    font-size: 1.3rem;
    color: #aaaaa5;
}
.main-content .container .videos .icon-description .owner-description .views-date{
    font-size: 1.3rem;
    color: #aaaaa5;
}
/* this is the foooter section  */
.footer1{
    background-color: black;
    margin-top: 30px;
    background-color: black;
    width:100%;
    height:auto;
    margin-top:60px;
    color:rgb(131, 131, 131);
    display:flex;
    align-items:center;
    flex-direction:row;
    justify-content:center;
    padding-bottom:20px;
    font-family:'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif
  }

  .footer1 a{
    color:white;
    text-decoration:none;
  }
  .footer1 .tab{
    /* border:1px solid white; */
    margin-top:30px;
  }
  .footer1 .tab th{ 
    color:white;
    padding-top:10px;
  }
  .footer1 .tab td{
    padding:20px;
  }
  .footer1 .tab td:hover{
    border:1px solid rgb(255, 162, 0);
  }
  .footer1 .navbar-brand{
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    font-size: 30px;
    color:white;
  }
  .footer1 .a2{
    margin:10px;
    padding:5px;
    color:white;
    font-size:30px;
    background-color:black ;
    transition:all 0.2s;
    }
  @media only screen and (max-width:900px){
    .footer1 ul{margin:auto;
      flex-direction:column;
      text-align:center;
    }
    .footer1{
    flex-direction:column;
  }
  }

@media  screen and (max-width:700px){
    .header{
        position: static;

    }
    .search-bar{
        width:auto;
        margin:10px;
    }
    .icons{
        display: none;
        margin:5px;
    }
    .side-bar{
        width:100%;
    }
    main .main-content{
        width:100%;
    }
    .main-content{
        position: relative;
        top:800px;
        width:100%;
        margin:0px;
    }
}
    @media screen and (max-width:400px){
        .video-1,.video-2,.video-3,.video-4,.video-5,.video-6,.video-7,.video-8{
            width:90%;
        }
    }
/*This is for the light Mode of the website */

