*{
    margin: 0;
    padding: 0;
    font-family: 'poppins', sans-serif;
    box-sizing: border-box;
}
a {
    text-decoration: none;
    color: #5a5a5a; /* sidebar text color #5a5a5a */ 
}
img{
    cursor: pointer;
}
.flex-div{
    display: flex;
    align-items: center;
}
nav{
    padding: 10px 2%;
    justify-content: space-between;
    box-shadow: 0 0 10px rgba(0,0,0, 0.2);
    background: #fff; /* #fff changes header to white*/ 
    position: sticky;
    top: 0;
    z-index: 10;
}
.nav-right img{
    width: 25px;
    margin-right: 25px;
}
.nav-right .user-icon{
    width: 35px;
    border-radius: 50%;
    margin-right: 0;
} 
.nav-left .menu-icon{
    width: 22px;
    margin-right: 25px;
}
.nav-left .logo {
    width: 130px;
}
.nav-middle .mic-iocn {
    width:16px;
}
.nav-middle .search-box{
    border: 1px solid #ccc;
    margin-right: 15px;
    padding: 8px 12px;
    border-radius: 25px;
}
.nav-middle .search-box input{
    width: 400px;
    border: 0;
    outline: 0;
    background: transparent;
}
.nav-middle .search-box img{
    width: 15px;
}
/*--------------sidebar------------*/
.sidebar{
    background: #fff;/* #fff changes sidebar to white*/ 
    width: 15%;
    height: 100vh;
    position: fixed;
    top: 0;
    padding-left: 2%;
    padding-top: 80px;

}
.shortcut-links a img{
    width: 20px;
    margin-right: 20px;
}
.shortcut-links a{
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    width: fit-content;
    flex-wrap: wrap;
}
.shortcut-links a:first-child{
    color: #ed3883;
}
.sidebar hr{
    border: 0;
    height: 1px;
    background: #ccc;
    width: 85%;
}
.subscribed-list h3{
    font-size: 13px;
    margin: 20px 0;
    color: #5a5a5a;
}
.subscribed-list a{
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    width: fit-content;
    flex-wrap: wrap;
}
.subscribed-list a img{
    width: 25px;
    border-radius: 50%;
    margin-right: 20px;
}
.small-sidebar{
    width: 5%;
}
.small-sidebar a p{
    display: none;
}
.small-sidebar h3{
    display:none;
}
.small-sidebar hr{
    width: 50%;
    margin-bottom: 25px;
}

/*----------- main -------------- */

.container {
    background: #f9f9f9; /* #f9f9f9 */
    padding-left: 17%;
    padding-right: 2%;
    padding-top: 20px;
    padding-bottom: 20px;
}
.large-container{
    padding-left:  7%;
}


.banner{
    width: 100%;
}
.banner img{
    width: 100%;
    border-radius: 8px;
}
.list-container{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-column-gap: 16px;
    grid-row-gap: 30px;
    margin-top: 15px;
}
.vid-list .thumbnail{
    width: 100%;
    border-radius: 5px;
}
.vid-list .flex-div{
    align-items: flex-start;
    margin-top: 7px;
}
.vid-list .flex-div img{
    width: 35px;
    margin-right: 10px;
    border-radius: 50%;
}
.vid-info {
    color: #5a5a5a; /* #5a5a5a */
    font-size: 14px;
    position: relative;
}
.vid-info a{
    color: black; /* video title color */
    font-weight: 600;
    display: block;
    margin-bottom: 5px;
    position: relative;
}

@media (max-width: 900px) {
    .menu-icon{
        display: none;
    }
    .sidebar {
        display: none;
    }
    .container, .large-container{
        padding-left: 5%;
        padding-right: 5%;
    }
    .nav-right img{
        display: none;
    }
    .nav-right .user-icon{
        display: block;
        width: 30px;
    }
    .nav-middle .search-box input{
        width: 100px; 
    }
    .nav-middle .mic-iocn{
        display: none;
    }
    .logo{
        width: 90px;
    }
}

/*--------- play video page */
.play-container{
    padding-left: 2%;
}
.row{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.play-video {
    flex-basis: 69%;
}
.right-sidebar{
    flex-basis: 30%;
}
.right-sidebar-title{
    text-align: center;
    padding-top: 15px;
    padding-bottom: 15px;
}
.play-video video{
    width: 100%;
}
.side-video-list{
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}
.side-video-list img{
    width: 80%;
}
.side-video-list .small-thumbnail{
    flex-basis: 100%;
}
.side-video-list .vid-info{
    flex-basis: 50%;
}
.play-video .tags a{
    color: #0000ff;
    font-size: 10;
}
.play-video h3{
    font-weight: 600;
    font-size: 22px;
}
.play-video .play-video-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 10px;
    font-size: 14px;
    color: #5a5a5a;
}
.play-video .play-video-info a img{
    width: 20px;
    margin-right: 8px;
}
.play-video .play-video-info a{
    display: inline-flex;
    align-items: center;
    margin-left: 15px;
}
.play-video hr{
    border: 0;
    height: 1px;
    background: #ccc;
    margin: 10px 0;
}

/* subscription */
.random-class{
    background: #262626; 
}

#square{
    width:1000px;
    height:800px;
    background:#4f4f4f;
    position: relative;
    top: 100px;
    border-radius: 5px; /* makes corners round */
    margin:auto;
}
.subscription-pricing{
    text-align: center;
    padding-top: 50px;
    font-size: 100px;
    color: white;
}
.subscription-description{
    text-align: center;
    padding-top: 60px;
    color: white;
}

.messaging-links a img{
    width: 100px;
    margin-right: 20px;
}
.messsaging-links a{
    display: flex;
    align-items: right;
    margin-bottom: 20px;
    width: fit-content;
    flex-wrap: wrap;
}
.messaging-links a:first-child{
    color: #ed3883;
}


/* profile */
.place-title{
    position: absolute;
    left: 200px;
    top: 90px;
    font-size: 50px;
}
.short-description {
    padding-top: 20px;
    padding-bottom: 20px;
}
.profile-content {
    padding-top: 10px;
    padding-bottom: 20px;
    padding-left: 10px;
    padding-right: 20px;
}
.profile-bullets {
    padding-top: 20px;
    padding-bottom: 20px;
}
.center-subscription-btn{
    position: absolute;
    left: 27vw;
}