@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
 
}

body {
  font-family: 'Roboto', sans-serif;
 
}


.material-icons {
  color: rgb(96, 96, 96);
}
.header__icons >.sear{
  display: none;
}
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
  padding: 15px;
  border-bottom: 2px solid #FFC72C ;
}

.header__left {
  display: flex;
  align-items: center;
}

.header__left img {
  width: 60px;
  margin-left: 0.5rem;
}

.header i {
  padding: 0 7px;
  cursor: pointer;
}

.header__search form {
  border: 2px solid #FFC72C;
  height: 35px;
  margin: 0;
  padding: 0;
  display: flex;
}

.header__search input {
  width: 500px;
  padding: 10px;
  margin: 0;
  border-radius: 50;
  border: 2px solid #FFC72C;
  height: 100%;
}

.header__search button {
  padding: 5 !important;
  margin: 0 !important;
  height: 100%;
  border: none !important;
  border-radius:0  !important;
 
}
a{
  text-decoration: none !important;
}

.mainBody {
  height: calc(100vh - 70px);
  display: flex;
  overflow: hidden;
}
hr{
  border: 1px solid #FFC72C;
}

.sidebar {
  height: 100%;
  width: 230px;
  background-color: white;
  overflow-y: scroll;


}
#checkbox{
  display: none;
}
.sidebar__categories {
  width: 100%;
  display: flex;
  flex-direction: column;
  margin-bottom: 15px;
  margin-top: 15px;
}


.sidebar__category {
  display: flex;
  align-items: center;
  padding: 12px 25px;
  
}


.sidebar__category span {
  margin-left: 15px;
}

.sidebar__category:hover {
  background: #FFC72C;
  cursor: pointer;

}
span:hover{
  color: white;
}

.sidebar::-webkit-scrollbar {
  display: none;
}

.videos {
  background-color: #f9f9f9;
  width: 100%;
  height: 100%;
  padding: 15px 15px;
  border-top: 1px solid #ddd;
  overflow-y: scroll;
}

.videos__container {
  display: flex;

  flex-direction: row;
  justify-content: space-around;
  flex-wrap: wrap;
}

.video {
  width: 310px;
  margin-left: 5px;
  margin-right: 5px;
  margin-bottom: 30px;
}

.video__thumbnail {
  width: 100%;
  height: 170px;

}

.video__thumbnail video {
  object-fit: cover;
  height: 100%;
  width: 100%;
  border-radius: 10px;
  box-shadow: 2px 2px  gray;
  transition: transform 0.8s ease-in-out;
}
.video__thumbnail video:hover{
  cursor: pointer;
  transform: scale(1.1);
  border: 3px solid #FFC72C;
  box-shadow:none ;
}

.author img {
  object-fit: cover;
  border-radius: 50%;
  height: 40px;
  width: 40px;
  margin-right: 10px;
  
}

.video__details {
  display: flex;
  margin-top: 10px;
}

.title {
  display: flex;
  flex-direction: column;
}

.title h3 {
  color: rgb(3, 3, 3);
  line-height: 18px;
  font-size: 14px;
  margin-bottom: 6px;
}

.title a,
span {
  text-decoration: none;
  color: rgb(96, 96, 96);
  font-size: 14px;
}

h1 {
  font-size: 20px !important;
  margin-bottom: 10px;
  color: rgb(3, 3, 3);
}

.butt{
  display: inline-block;
 
 padding: 10px !important;
 margin-left: 5px !important;
 
}
button{
  border-radius: 5px !important;
  border: 0px !important;
  background-color: #e5e5e5;
  padding: 7px !important;
 margin-bottom: 20px !important;
  font-weight: bold !important;
}
button:hover{
  background-color: #FFC72C;
  cursor: pointer;
  color: white;
 
}

@media (max-width: 425px) {
  .header__search {
    display: none;
  }

  .header__icons .material-icons {
    display: none;
  }

  .header__icons .display-this {
    display: inline;
  }
  .sidebar {
    display: none;
  }
  .butt{
    display: none;
  }
}

@media (max-width: 768px) {
  .header__search {
    display: none;
  }

  .sidebar {
    display: none;
  }
  .butt{
    display: none;
  }

  .show-sidebar {
    display: inline;
    position: fixed;
    top: 4.4rem;
    height: auto;
  }
}

@media (max-width: 941px) {
  .header__search input {
    width: 300px;
  }
}


