@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
  margin : 0;
  padding: 0;
  box-sizing: border-box;
}
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #fff;
}

::-webkit-scrollbar-thumb {
  background: rgb(122, 123, 126);
  border-radius: 12px;
  -webkit-border-radius: 12px;
  -moz-border-radius: 12px;
  -ms-border-radius: 12px;
  -o-border-radius: 12px;
}
html {
  font-size: 10px;
}

body {
  font-family: "Roboto","Arial",sans-serif;
}

/* Start Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 15px;
  height: 56px;
}
header .left-section {
  display: flex;
  align-items: center;
  cursor: pointer;
}
header img {
  width: 46%;
  padding-left: 16px;
}
header .center-section {
  display: flex;
  align-items: center;
  margin-left: -9%;
}
header .center-section form {
  width: 628px;
  display: flex;
  height: 40px;
}
header .center-section input {
  width: 100%;
  border-radius: 2px 0 0 2px;
  -webkit-border-radius: 2px 0 0 2px;
  -moz-border-radius: 2px 0 0 2px;
  -ms-border-radius: 2px 0 0 2px;
  -o-border-radius: 2px 0 0 2px;
  padding: 12px;
  font-size: 1.6rem;
  border: 1px solid #d3d3d3;
  border-right: none;
}
header .center-section button {
  width: 64px;
  border: 1px solid #d3d3d3;
  border-radius: 0 2px 2px 0;
  -webkit-border-radius: 0 2px 2px 0;
  -moz-border-radius: 0 2px 2px 0;
  -ms-border-radius: 0 2px 2px 0;
  -o-border-radius: 0 2px 2px 0;
  padding-top: 4px;
  background-color: #f8f8f8; 
  cursor: pointer;
  border-color: #c6c6c6 ;
}
header .center-section button:hover {
  background-color: #f0f0f0;
}
header .center-section form + i {
  border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
  background-color: #f9f9f9;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 10px;
  cursor: pointer;
}
header .right-section a {
  text-decoration: none;
  color: black;
  padding: 12px;
}
/* End Header */

/* Start Content Area */
.container {
  height: calc(100vh - 56px);
  display: flex;
  background-color: #f9f9f9;
}
/* Start Aside Content Area */
aside {
  background-color: #fff;
  width: 280px;
  height: 100%;
  overflow-y: auto;
}
aside nav {
  width: 100%;
  display: flex;
  margin: 15px 0;
  padding-right: 15px;
  flex-direction: column;
}
aside nav a {
  display: flex;
  align-items: center;
  padding: 10px 16px;
  text-decoration: none;
  color: black;
}
aside nav a:first-child {
  background-color: #e5e5e5;
}
aside nav a:first-child:hover {
  background-color: #ddd;
}
aside nav a:hover {
  background-color: #eee;
}

aside nav span {
  font-size: 1.4rem;
  margin-left: 25px;
  line-height: 2em;
  font-weight: 400;
}
aside nav a:first-child span {
  font-weight: 600;
}

hr {
  height: 1px;
  background-color: #e5e5e5;
  margin: 10px 0;
  border: none;
}
nav h3 {
  color: #6a6a6a;
  padding: 10px 16px;
  font-size: 1.4rem;
  font-weight: 600;
}
nav a img {
  width: 25px;
  border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
}
/* End Aside Content Area */

/* Start Main Content Area */
main {
  width: 100%;
  height: 100%;
  overflow-y: auto;
  padding: 35px 15px;
  border-top: 1px solid #ddd;
}
.videos-content {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-around;
}
.video {
  width: 330px;
  margin-bottom: 40px;
  cursor: pointer;
  transition: 1s;
  -webkit-transition: 1s;
  -moz-transition: 1s;
  -ms-transition: 1s;
  -o-transition: 1s;
}
.video .thum{
  width: 100%;
  height: 187px;
  margin-bottom: 12px;
}
.video:hover {
  transform: scale(1.1);
  -webkit-transform: scale(1.1);
  -moz-transform: scale(1.1);
  -ms-transform: scale(1.1);
  -o-transform: scale(1.1);
}
.details {
  display: flex;
}
.details .creator {
  height: 40px;
  width: 40px;
  margin-right: 12px;
  border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
}
.title {
  display: flex;
  flex-direction: column;
}
.title a {
  text-decoration: none;
}
.title a:first-child {
  color: rgb(3, 3, 3);
  font-size: 1.6rem;
  max-width: 278px;
  font-weight: 500;
  line-height: 2.2rem;
  margin-bottom: 4px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical ;
}
.title:last-child,
.title a:nth-child(2) {
  color: rgb(96, 96, 96);
  line-height: 2.2rem;
  font-weight: 400;
  font-size: 1.2rem;
}
.title a:nth-child(2) {
  transition: 1s;
  -webkit-transition: 1s;
  -moz-transition: 1s;
  -ms-transition: 1s;
  -o-transition: 1s;
}
.title a:nth-child(2):hover {
  color: black;
}
/* End Main Content Area */




@media (min-width: 360px) and (max-width:500px) {
  ::-webkit-scrollbar {
    width: 6px;
  } 
  header {
    display: flex;
    align-items: center;
  }
  header .left-section {
    display: flex;
    justify-content: flex-start;
    width: 120px;
  }
  header img {
    width: 95%;
    padding-left: 1px;
  }
  header .center-section form {
    width: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  header .center-section form input {
    display: none;
  }
  header .center-section button {
    width: 40px;
    height: 40px;
  }
  header .center-section form + i {
    width: 25px;
    height: 25px;
    margin-left: 2px;
  }
  header .center-section {
    display: flex;
    justify-content: center;
    margin-left: 0;
  }
  header .right-section i {
    margin-left: -15px;
    font-size: 25px;
  }
  header .right-section a:nth-child(1),
  header .right-section a:nth-child(2){
    display: none;
  }
  
  
  
  /*Start Aside*/
  aside {
    width: 80px;
    transition: .5s;
    -webkit-transition: .5s;
    -moz-transition: .5s;
    -ms-transition: .5s;
    -o-transition: .5s;
  }
  aside nav {
    padding-right: 5px ;
  }

  aside span {
    display: none;
  }
  aside:hover {
    width: 350px;
  }
  aside:hover span {
    display: block;
  }
  h3 {
    display: none;
  }
  aside:hover h3 {
    display: block;
  }
  aside nav span {
    font-size: 1.2rem;
    margin-left: 25px;
    line-height: 2em;
    font-weight: 500;
  }
  /*End Aside*/
  
  
  /*Start Main*/
  .video {
    width: 250px;
  }
  .details .creator {
    width: 30px;
    height: 30px;
  } 
  /*End Main*/
}


@media (min-width: 361px) and (max-width:400px) {
  .video {
    width: 280px;
  }
}
@media (min-width: 401px) and (max-width:450px) {
  .video {
    width: 350px;
  }
}
@media (min-width: 451px) and (max-width:500px) {

  .video {
    width: 370px;
  }
  .video .thum {
    height: 250px;
  }
}

/******************************/
@media (min-width: 501px) and (max-width:800px) { 
  header img {
    width: 50%;
    padding-left: 1px;
  }
  header .center-section form {
    width: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  header .center-section form input {
    display: none;
  }
  header .right-section a:nth-child(2){
    display: none;
  }
  header .right-section i {
    margin-left: -10px;
    
  }
  aside {
    width: 80px;
    transition: .5s;
    -webkit-transition: .5s;
    -moz-transition: .5s;
    -ms-transition: .5s;
    -o-transition: .5s;
  }
  aside nav {
    padding-right: 5px ;
  }

  aside span {
    display: none;
  }
  aside:hover {
    width: 350px;
  }
  aside:hover span {
    display: block;
  }
  h3 {
    display: none;
  }
  aside:hover h3 {
    display: block;
  }
  aside nav span {
    font-size: 1.2rem;
    margin-left: 25px;
    line-height: 2em;
    font-weight: 500;
  }
}

@media (min-width: 551px) and (max-width:800px) {
  header .right-section a:nth-child(2){
    display: inline-block;
  }
  header .right-section i {
    margin-left: -15px;
    
  }
  
}

@media (min-width: 551px) and (max-width:650px) {
  .video {
    width: 210px;
  }
  .video .thum {
    height: 150px;
  }
}
@media (min-width: 615px) and (max-width:650px) {
  .video {
    width: 230px;
  }
  .video .thum {
    height: 150px;
  }
}
@media (min-width: 651px) and (max-width:770px) {
  .video {
    width: 250px;
  }
  .video .thum {
    height: 150px;
  }
}
@media (min-width: 680px) and (max-width:770px) {
  .video {
    width: 270px;
  }
  .video .thum {
    height: 150px;
  }
}

  @media (min-width: 801px) and (max-width:909px) {
  header img {
    width: 50%;
    padding-left: 1px;
  }
  header .center-section form {
    width: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  header .center-section form input {
    display: block;
  }
  header .center-section button {
    width: 45px;
    height: 43px;
  }
  header .center-section form + i {
    width: 25px;
    height: 25px;
    margin-left: 10px;
  }
  
  .video {
    width: 290px;
  }
  .video .thum {
    height: 150px;
  }
}
@media (min-width: 826px) and (max-width:899px) {
  .video {
    width: 270px;
  }
  .video .thum {
    height:180px;
  }
}
@media (min-width: 910px) and (max-width:950px) {
  header .center-section form {
    width: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  header .center-section button {
    width: 45px;
    height: 43px;
  }
  .video {
    width: 300px;
  }
  .video .thum {
    height: 200px;
  }
}

@media (min-width: 950px) and (max-width:1000px) { 
  header img {
    width: 50%;
    padding-left: 1px;
  }
  header .center-section form {
    width: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  header .center-section form input {
    display: block;
  }
  header .center-section button {
    width: 45px;
    height: 43px;
  }
  header .center-section form + i {
    width: 25px;
    height: 25px;
    margin-left: 10px;
  }
  
  .video {
    width: 290px;
  }
  .video .thum {
    height: 150px;
  }
}
@media (min-width: 1001px) and (max-width:1094px) {
  header .center-section form {
    width: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  header .center-section button {
    width: 45px;
    height: 43px;
  }
}
@media (min-width: 1060px) and (max-width:1109px) { 
  .video {
    width: 350px;
  }
  .video .thum {
    height: 250px;
  }
}
