p {
  margin-top: 0;
  margin-bottom: 0;
}
body {
  margin: 0;
  font-family: Roboto, Arial, Helvetica, sans-serif;
  padding: 80px 24px 0 130px;
}
.header {
  height: 70px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: white;

  z-index: 1;
}
.left_section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-left: 15px;
}

.hamburger-menu {
  height: 28px;
  margin-left: 15px;
  margin-right: 24px;
  padding: 8px;
  border-radius: 20px;
  color: black;
}
.youtube-logo {
  height: 26px;
}
.middle_section {
  flex: 1;
  justify-content: space-between;
  align-items: center;
  margin-left: 70px;
  margin-right: 35px;
  max-width: 850px;
  display: flex;
}
.search_bar {
  flex: 1;
  height: 42px;
  padding-left: 18px;
  font-size: 16px;
  border: 1px solid rgb(192, 192, 192);
  border-radius: 25px 0 0 25px;
  box-shadow: inset 1px 2px 2px rgb(0, 0, 0, 0.05);
  width: 0;
}
.search_bar::placeholder {
  font-size: 16px;
  color: rgb(73, 72, 72);
}
.search_button {
  height: 46px;
  width: 66px;
  background-color: rgb(240, 240, 240);
  border: 1px solid rgb(171, 169, 169);
  margin-left: -1px;
  margin-right: 20px;
  border-radius: 0 25px 25px 0;
  cursor: pointer;
  padding: 15px 35px 15px 35px;
}
.search_button,
.voice_search_button,
.notification_icon_container {
  align-items: center;
  display: flex;
  justify-content: center;
  position: relative;
}

.search_icon {
  height: 30px;
}
.search_button .tooltip,
.voice_search_button .tooltip,
.notification_icon_container .tooltip {
  font-family: Roboto, Arial, Helvetica, sans-serif;
  position: absolute;
  background-color: rgb(116, 114, 114);
  color: white;
  padding: 4px 8px 4px 8px;
  border-radius: 2px;
  font-size: 13px;
  bottom: -30px;
  opacity: 0;
  transition: 0.15s;
  pointer-events: none;
  white-space: nowrap;
}
.search_button:hover .tooltip,
.voice_search_button:hover .tooltip,
.notification_icon_container:hover .tooltip {
  opacity: 1;
}
.voice_search_button {
  height: 42px;
  width: 45px;
  border-radius: 35px;
  border: none;
  background-color: rgb(233, 231, 231);
  cursor: pointer;
  padding: 15px;
}
.voice_search_icon {
  height: 29px;
}
.right_section {
  width: 220px;
  display: flex;
  align-items: center;
  margin-right: 40px;
  flex-shrink: 0;
  cursor: pointer;
}

.create_container {
  font-size: 16px;
  padding: 12px 16px;
  border-radius: 25px;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
}
.plus {
  font-size: 30px;
  line-height: 1px;
  color: rgb(103, 103, 103);
}
.bold_create {
  font-weight: bold;
  font-size: 17px;
}
.notifications_icon {
  height: 32px;
}
.notification_icon_container {
  position: relative;
  margin-right: 20px;
  margin-left: 15px;
  border-radius: 50px;
  margin-left: 25px;
  margin-right: 30px;
  padding: 2px;
}
.notification_count {
  position: absolute;
  top: -1px;
  right: -1px;
  background-color: rgb(196, 7, 7);
  color: white;
  font-size: 10px;
  border-radius: 10px;
  padding: 2px 5px;
}
.current_user_pic {
  height: 32px;
  border-radius: 16px;
}

.search_button:hover,
.voice_search_button:hover,
.create_container:hover,
.notification_icon_container:hover,
.hamburger-menu:hover {
  background-color: rgb(216, 213, 213);
}
.categories {
  display: flex;
  gap: 19px;
  font-weight: bold;
  padding-bottom: 35px;
  padding-top: 5px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  position: relative;
}
.categories ::-webkit-scrollbar {
  display: none;
}
.categories button {
  padding: 10px 15px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 10px;
  border: none;
  background-color: #f2f2f2;
  white-space: nowrap;
  cursor: pointer;
  flex-shrink: 0;
}
.categories button:first-child {
  background-color: black;
  color: white;
}
.sidebar {
  position: fixed;
  left: 0;
  bottom: 0;
  top: 80px;
  background-color: white;
  width: 120px;
  z-index: 2;
  padding-top: 5px;
  font-size: 45px;
}
.sidebar_link {
  height: 74px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  cursor: pointer;
  width: 100px;
}
.sidebar_link:hover {
  background-color: rgb(237, 233, 233);
}
.sidebar_link img {
  height: 32px;
  margin-bottom: 4px;
}
.sidebar_link div {
  font-size: 10px;
}
.video_grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  column-gap: 20px;
  row-gap: 40px;
}
@media (max-width: 900px) {
  .video_grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 901) and (max-width: 1399) {
  .video_grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}
@media (min-width: 1400px) {
  .video_grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.thumbnail_row {
  margin-bottom: 8px;
  position: relative;
}
.thumbnail_image {
  width: 100%;
  border-radius: 12px;
}
.video_time {
  background-color: black;
  color: white;
  position: absolute;
  bottom: 10px;
  right: 5px;
  font-size: 12px;
  font-weight: 500;
  padding: 6px 4px;
  border-radius: 2px;
}

.video_info_grid {
  display: grid;
  grid-template-columns: 50px 1fr;
}

.profile_pic {
  width: 36px;
  border-radius: 50px;
}

.video_title {
  font-weight: 500;
  margin-top: 0;
  font-size: 14px;
  line-height: 20px;
  margin-bottom: 12px;
}
.video_author,
.video_status {
  font-size: 12px;
  color: rgb(82, 75, 75);
}
.video_author {
  margin-bottom: 4px;
}
