*{
    padding: 0px;
    margin: 0px;
    box-sizing: border-box;
}
.main{
    width: 100%;
    display: flex;
    position: relative;
    background-color: rgb(21, 21, 21);
}
/* navigation bar */
.nav{
    width: 6%;
    height: 100vh;
    background-color: rgb(21, 21, 21);
    padding: 30px 10px;
    display: flex;
    flex-direction: column;
    row-gap: 200px;
    position: fixed;
    z-index: 1000;
    transition: width 0.3s ease, z-index 0.3s ease; 
}
.logo{
    width: 80%;
    display: flex;
    justify-content: center;
    transition: all 0.5s ease;
}
.logo img{
    width: 90px;
    height: 60px;
    margin-top: 10px;
    margin-left: 20px;
}
.navbar{
    width: 100%;
    position: absolute;
    top: 20px;
    bottom: 0;
    height: 100%;
    overflow: hidden;
    transition: width 0.2s linear;
    /* box-shadow: 0 20px 35px rgba(0, 0, 0, 0.1); */
    background: linear-gradient(to right, black, rgb(12, 12, 12), transparent);
    left: 0;
}
.mens a{
    position: relative;
    color: rgb(166, 164, 164);
    font-size: 15px;
    text-decoration: none;
    display: table;
    width: 300px;
    padding: 10px;
}
.mens .fa{
    position: relative;
    width: 50px;
    height: 40px;
    color: rgb(166, 164, 164);
    top: 10px;
    font-size: 20px;
    text-align: center;
}
.menu{
    margin-top: 40px;
    margin-left: 25px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    list-style-type: none;
    font-size: 20px;
    cursor: pointer;
} 
.menu-text{
    position: relative;
    top: 12px;
    margin-left: 10px;
    font-size: 20px;
    text-decoration: none;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-transform: capitalize;
    transition: transform 0.5s ease;
}
.mens a:hover{
    background: transparent;
    color: white;
    transform: scale(1.15);
}
.mens .fa:hover{
    background: transparent;
    color: white;
    transform: scale(1.15);
}
.navbar:hover{
    width: 280px;
    transition: all 0.5s ease;
}

/* categories */
.body{
    width: 100%;
    height: 220vh;
    margin-left: 0;
}
.mid{
    width: 100%;
    height: 190vh;
    padding: 20px 0;
    background-color: rgb(21, 21, 21);
}
.channel1{
    margin-top: 20px;
    margin-left: 6%;
    width: 93%;
    height: 18vh;
    padding: 10px;
    display: grid;
    grid-template-columns: auto auto auto auto auto auto;
    grid-column-gap: 10px;
}
.box1{
    position: relative;
    border-radius: 2px;
    overflow: hidden;
    flex: 1;
    cursor: pointer;
}
.box1 img{
    width: 100%;
    height: 100%;
    border-radius: inherit;
    transition: transform 0.3s ease-in-out;
}
.ch-vid{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.box1 video{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
    display: grid;
    z-index: 1;
}
.box1:hover{
    transform: scale(1.10);
}
/* second row */
.midrap1{
    width: 90%;
    margin: auto;
    margin-left: 7%;
    margin-top: 2%;
}
.midrap1 h1{
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 25px;
    color: white;
}
.languages{
    width: 90%;
    margin: auto;
    display: grid;
    grid-template-columns: auto auto auto auto auto auto auto;
    grid-column-gap: 15px;
    margin-left: 7%;
}
.box2{
    border-radius: 10px;
    padding: 0px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
    margin-top: 10%;
}
.box2 img{
    width: 100%;
    height: 100%;
}
.box2:hover{
    transform: scale(1.10);
}

/* third row */
.midrap2{
    width: 90%;
    margin: auto;
    margin-left: 7%;
    margin-top: 2%;
}
.midrap2 h1{
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 25px;
    color: white;
}
.channel{
    width: 90%;
    margin: auto;
    display: grid;
    grid-template-columns: auto auto auto auto auto auto auto;
    grid-column-gap: 15px;
    margin-left: 7%;
}
.box3{
    border-radius: 15px;
    padding: 0px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
    margin-top: 10%;
}
.box3 img{
    width: 100%;
    height: 100%;
}
.box3:hover{
    transform: scale(1.10);
}
/* fourth row */
.midrap3{
    width: 90%;
    margin: auto;
    margin-left: 7%;
    margin-top: 2%;
}
.midrap3 h1{
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 25px;
    color: white;
}
.genres{
    width: 90%;
    margin: auto;
    display: grid;
    grid-template-columns: auto auto auto auto auto auto auto;
    grid-column-gap: 15px;
    margin-left: 7%;
}
.box4{
    border-radius: 10px;
    padding: 0px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
    margin-top: 10%;
}
.box4 img{
    width: 100%;
    height: 100%;
}
.box4:hover{
    transform: scale(1.10);
}

/* fifth row */
.midrap4{
    width: 90%;
    margin: auto;
    margin-left: 7%;
    margin-top: 2%;
}
.midrap4 h1{
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 25px;
    color: white;
}
.sports{
    width: 90%;
    margin: auto;
    display: grid;
    grid-template-columns: auto auto auto auto auto auto auto;
    grid-column-gap: 15px;
    margin-left: 7%;
}
.box5{
    border-radius: 20px;
    padding: 0px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
    margin-top: 10%;
}
.box5 img{
    width: 100%;
    height: 100%;
}
.box5:hover{
    transform: scale(1.10);
}

/* footer */
.footer{
    width: 100%;
    height: 30vh;
    background-color: rgb(21, 21, 21);
}
/* first row */
.footrap{
    width: 90%;
    margin: auto;
    margin-left: 8%;
    display: grid;
    grid-template-columns: auto auto auto auto;
    grid-column-gap: 50px;
}
.cover h1{
    color:white;
    font-size: 20px;
    font-weight: bold;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    cursor: pointer;
}
.cover span{
    width: 100%;
    font-size: 18px;
    border-radius: 30px;
    line-height: 3ch;
    color: gray;
    text-decoration: none;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    cursor: pointer;
}
.cover span a{
    color: gray;
    text-decoration: none;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 18px;
}
.cover span a:hover{
    color: white;
}
.cover2 h1{
    color: white;
    font-size: 20px;
    margin-left: 25%;
    font-weight: bold;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}
.cover2 span{
    width: 100%;
}
.cover2 span a{
    color: white;
    margin-left: 25%;
    font-size: 25px;
    text-decoration: none;
}
.cover2 img{
    width: 40%;
    height: 7vh;
}