@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700;900&display=swap');
* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    font-family: 'Roboto', sans-serif;
    scroll-behavior: smooth;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: none;
}

::-webkit-scrollbar-thumb {
    background: transparent;
    border-radius: 5px;
}

.sidebar:hover::-webkit-scrollbar-thumb {
    background: #717171;
}

::-webkit-scrollbar-thumb:hover {
    background: #888;
}

h1 {
    font-size: 1.5rem;
    color: white;
}

h4 {
    text-transform: uppercase;
    margin-left: 20px;
    font-size: .9rem;
    color: #aaa;
}

i {
    font-size: 1.5rem;
    color: #fff;
}

p,a {
    font-size: 0.9rem;
}

hr {
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin: 12px 0;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #202020;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px 50px;
    padding-right: 80px;
}

.headerchip {
    margin: 0px 0px;
    background-color:white;
    padding: 7px 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    white-space: nowrap;
    cursor: pointer;
    color: #fff;
    transition: .5s;

}

.footer {
    position:fixed;
    bottom: 28;
    left: 0;
    width: 100%;
    background-color: #202020;
    display: flex;
    align-items: center;
    justify-content: space-between;

}

.footer1 {
    position:fixed;
    bottom: 0px;
    left: 0;
    width: 100%;
    background-color: #202020;
    display: flex;
    align-items: center;
    justify-content: space-between;

}
.logo-img {
    position: relative;
    height: 50px;
    width: 50px;
}

#logo-txt {
    letter-spacing: 1px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
}

.search-container {
    display: flex;
    align-items: center;
    flex: 0 1 685px;
    margin-left: 40px;
}

.search-container form {
    position: relative;
    width: 100%;
}

.search-container input {
    height: 40px;
    display: flex;
    align-items: center;
    width: 100%;
    background-color: #121212;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px;
    color: #fff;
    font-size: 1rem;
}

.search-container .search {
    min-width: 60px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    background-color: #313131;
    outline: none;
    border: none;
}

.search-container .mic {
    height: 40px;
    min-width: 40px;
    border-radius: 50%;
    outline: none;
    border: none;
    margin-left: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #181818;
}

img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
}


.chip {
    margin: 1px 0px;
    background-color: #4D4D4D;
    padding: 3px 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    white-space: nowrap;
    cursor: pointer;
    color: #fff;
    transition: .5s;
}

.chip:hover {
    background-color: #4D4D4D;
}


/* video container startrs here  */

body{
    background-color: #181818;
    display:flex;
    flex-wrap: wrap;
    
    
}

.video-box{
    background-color: #181818;
    position: relative;
    height:720px;
    width: 1280px;
    top: 65px;
    left: 5px;
    
}

.video-content{
    background-color: #181818;
    position: relative;
    height: 105px;
    width: 835px;
    top:200px;
    left: 58px;
}

.video-ad{
    margin-left: 20px;
    position:relative;
    height:720px;
    width: 605px;
    background-color: #181818;
    top: 120px;
}


.title {
    margin-left: 10px;
    font-size: 1.5rem;
    color:white;
}




/* responsive starts here */

@media (max-width:1200px) {
    .sidebar {
        width: 70px;
        overflow-x: hidden;
    }
    .content {
        width: calc(100vw - 70px);
    }
    .more {
        display: none;
    }
}

@media (max-width:1050px) {
    .video-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width:820px) {
    .video-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width:600px) {
    .video-container {
        grid-template-columns: 1fr;
    }
    .search-container,
    .ri-grid-fill {
        display: none;
    }
    .video-container {
        grid-gap: 10px;
        padding: 10px 10px;
    }
    .header {
        padding-right: 10px;
    }
    .video-content:hover {
        transform: none;
        position: relative;
        box-shadow: none;
        background-color: #181818;
    }
    .video-content-cover:hover {
        transform: none;
    }
    .video-content-cover:nth-child(4n+1):hover {
        transform: none;
    }
    .video-content-cover:nth-child(4n+4):hover {
        transform: none;
    }
    .video-content:hover .video-details {
        background-color: #181818;
        padding: 0px;
        padding-top: 12px;
    }
    .video-content:hover .channel-logo {
        min-width: 35px;
        height: 35px;
    }
    .video-content:hover .title {
        font-size: .9rem;
    }
    .video-content:hover .channel-name {
        font-size: .8rem;
    }
    .video-content:hover .views-upload {
        font-size: .8rem;
    }
    .video-content:hover .hidden-content {
        display: none;
    }
}


