*{
	margin: 0;
	padding: 0;
	font-family: 'poppins', sans-serif;
	box-sizing: border-box;
	
}
a{
	text-decoration: none;
	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;
	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-icon{
	width: 22px;
	margin-right: 17px;
}

.nav-middle .mic-icon{
	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;
	width: 10%;
	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: #ed3833;
}

.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;
	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(330px, 1fr));
	grid-column-gap: 1px;
	grid-row-gap: 30px;
	margin-top: 15px;
	Overflow-x:scroll /* add horizontal bar option in html*/
	/*Overflow-y:scroll add vertical bar option in html*/
}

.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: 200px;
	border-radius: 50%;
}

.vid-info{
	color: #5a5a5a;
	font-size: 13px;
	width: 200px;
}

.vid-info a{
	color: #000;
	font-weight: 600;
	display: block;
	margin-bottom: 5px;
}

@media(max-width: 900px){
	.menu-icon{
		display: none;
	}
	.sidebar{
		display: none;
	}
	.container, .large-container{
		padding-left: 5%;
		padding-right:5%;
		max-width: auto; /* Ensures image doesn't exceed parent's width */
        height: auto;
	}
	.nav-right img{
		display: none;
	}
	.nav-right .user-icon{
		display: block;
		width: 30px;
	}
	.nav-middle .search-box input{
		width: 100px;
	}
	.nav-middle .mic-icon{
		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%;
}

.play-video video1{
	width: 100%;
}

.side-video-list{
	display: flex;
	justify-content: space-between;
	margin-bottom: 8px;
}

.side-video-list img{
	width: 100%;
}

.side-video-list .small-thumbnail{
	flex-basis: 49%;
}

.side-video-list .vid-info{
	flex-basis: 49%;
}

.play-video .tags a{
	color:#0000ff;
	font-size: 13px;
}

.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;
	align-items: center;
	margin-left: 15px;
}

.play-video hr{
	border: 0;
	height: 1px;
	background: #ccc;
	margin: 10px 0;
}

.plublisher{
	display: flex;
	align-items:center ;
	margin-top: 20px;
}

.plublisher div{
	flex: 1;
	line-height: 18px;
}

.plublisher img{
	width: 40px;
	border-radius: 50%;
	margin-right: 15px;
}

.plublisher div p{
	color: #000;
	font-weight: 600;
	font-size: 18px;
}

.plublisher div span{
	font-size: 13px;
	color: #5a5a5a;
}

.plublisher button{
	background: red;
	color: #fff;
	padding: 8px 30px;
	border: 0;
	outline: 0;
	border-radius: 4px;
	cursor: pointer;
}

.vid-description{
	padding-left: 55px;
	margin: 15px 0;
}

.vid-description p{
	font-size: 14px;
	margin-bottom: 5px;
	color: #5a5a5a;
}

.vid-description h4{
	font-size: 14px;
	color: #5a5a5a;
	margin-top: 15px;
}

/*--------------For Tabs----------------*/
/* Style the tab */
.tab {
	overflow: hidden;
	border: 1px solid #ccc;
	background-color: #f1f1f1;
  }
  
  /* Style the buttons that are used to open the tab content */
  .tab button {
	background-color: inherit;
	float: left;
	border: none;
	outline: none;
	cursor: pointer;
	padding: 14px 16px;
	transition: 0.3s;
  }
  
  /* Change background color of buttons on hover */
  .tab button:hover {
	background-color: #ddd;
  }
  
  /* Create an active/current tablink class */
  .tab button.active {
	background-color: #ccc;
  }
  
  /* Style the tab content */
  .tabcontent {
	display: none;
	padding: 6px 12px;
	border: 1px solid #ccc;
	border-top: none;
  }

  /*For tab comments */
  .tabcontent input{
	border: 0;
	outline: 0;
	border-bottom: 1px solid #ccc;
	width: 15.5%;
	padding-top: 10px;
	background: transparent;
}

.user {
	overflow:hidden;
	border: 1px solid #ccc;
	background-color: #f1f1f1;
	width: 15%;
	display:table;
}

.vid-description button {
	background: red;
	color: #fff;
	padding: 8px 30px;
	border: 0;
	outline: 0;
	border-radius: 4px;
	cursor: pointer;

}
/*Start of Floating form*/
/* Button used to open the contact form - fixed at the bottom of the page */
.open-button {
	background-color: #555;
	color: white;
	padding: 16px 20px;
	border: none;
	cursor: pointer;
	opacity: 0.8;
	position: fixed;
	bottom: 23px;
	right: 28px;
	width: 280px;
  }

  /* The popup form - hidden by default */
.form-popup {
	display: none;
	position: fixed;
	bottom: 0;
	right: 15px;
	border: 3px solid #f1f1f1;
	z-index: 9;
  }
  
  /* Add styles to the form container */
.form-container {
	max-width: 300px;
	padding: 10px;
	background-color: white;
  }

  /* Full-width input fields */
.form-container input[type=text], .form-container input[type=password], .form-container input[type=radio]{
	width: 100%;
	padding: 15px;
	margin: 5px 0 22px 0;
	border: none;
	background: #f1f1f1;
  }

  /* When the inputs get focus, do something */
.form-container input[type=text]:focus, .form-container input[type=password]:focus {
	background-color: #ddd;
	outline: none;
  }

  /* Set a style for the submit/login button */
.form-container .btn {
	background-color: #04AA6D;
	color: white;
	padding: 16px 20px;
	border: none;
	cursor: pointer;
	width: 100%;
	margin-bottom:10px;
	opacity: 0.8;
  }

  /* Add a red background color to the cancel button */
.form-container .cancel {
	background-color: red;
  }
  
  /* Add some hover effects to buttons */
  .form-container .btn:hover, .open-button:hover {
	opacity: 1;
  }

  /*For rows and column*/
  .column {
	float: left;
	width: 50%;
  }
  /* Clear floats after the columns */
  .row:after {
	content: "";
	display: table;
	clear: both;
  }

  /* The Modal (background) */
.modal {
	display: none; /* Hidden by default */
	position: fixed; /* Stay in place */
	z-index: 1; /* Sit on top */
	left: 0;
	top: 0;
	width: 100%; /* Full width */
	height: 100%; /* Full height */
	overflow: auto; /* Enable scroll if needed */
	background-color: rgb(0,0,0); /* Fallback color */
	background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
	padding-top: 60px;
  }
  
  /* Modal Content/Box */
  .modal-content {
	background-color: #fefefe;
	margin: 5px auto; /* 15% from the top and centered */
	border: 1px solid #888;
	width: 80%; /* Could be more or less, depending on screen size */
  }
  
  /* The Close Button */
  .close {
	/* Position it in the top right corner outside of the modal */
	position: absolute;
	right: 25px;
	top: 0;
	color: #000;
	font-size: 35px;
	font-weight: bold;
  }
  
  /* Close button on hover */
  .close:hover,
  .close:focus {
	color: red;
	cursor: pointer;
  }
  
  /* Add Zoom Animation */
  .animate {
	-webkit-animation: animatezoom 0.6s;
	animation: animatezoom 0.6s
  }
  
  @-webkit-keyframes animatezoom {
	from {-webkit-transform: scale(0)}
	to {-webkit-transform: scale(1)}
  }
  
  @keyframes animatezoom {
	from {transform: scale(0)}
	to {transform: scale(1)}
  }
  