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

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  background: #0f0f0f;
  display: grid;
  grid-template-columns: 6vw auto;
  font-family: "Roboto", sans-serif;
}

/* Left Icon Section  */
.left-icon-section {
  background: #0f0f0f;
  display: flex;
  flex-direction: column;
  padding: 18px 10px;
  height: 100vh;
  position: fixed;
  z-index: 1;
}
.icon {
  margin-bottom: 35px;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 10px;
  cursor: pointer;
}
.icon a {
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.icon a img {
  margin-bottom: 8px;
}
.icon img {
  width: 18px;
}
.mobile-upload{
    display: none;
}

/* Navbar  */
nav {
  background: #0f0f0f;
  width: 94vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-height: 60px;
  position: fixed;
  left: 6vw;
  z-index: 2;
}

.logo {
  color: #fff;
  font-size: 25px;
  display: flex;
  align-items: center;
  justify-content: left;
}
.logo img {
  width: 28px;
}
.logo sup {
  font-size: 10px;
  color: #aaaaaa;
  margin-top: -15px;
}
.search-bar {
  display: flex;
  justify-content: center;
  align-items: center;
}
.search {
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: 40px;
  border-radius: 25px;
  border: 0.5px solid #424141;
}
.search input {
  width: 550px;
  background: transparent;
  padding: 10px 5px;
  font-size: 16px;
  color: #fff;
  padding-left: 20px;
  border: none;
}
.search button {
  background: #222222;
  width: 60px;
  height: 100%;
  padding: 10px 5px;
  margin-top: 35px;
  border: none;
  border-top-right-radius: 25px;
  border-bottom-right-radius: 25px;
}
.search-bar .mic {
  background: #181818;
  padding: 10px;
  margin-left: 6px;
  border-radius: 50%;
  margin-top: 33px;
}
.account-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 40px;
}
.account-icon img {
  margin: 0 15px;
  width: 22px;
}
.icon-mobile-search{
    display: none;
}
.user {
  margin-right: 30px;
}
.user img {
  width: 35px !important;
  border-radius: 50%;
}

/* Text Crousal  */
#text-crousal {
  color: #fff;
  display: flex;
  align-items: center;
  position: absolute;
  width: 90vw;
  top: 55px;
  left: 100px;
  overflow-x: scroll;
  overflow-y: hidden;
}

#text-crousal p {
  display: flex;
  background: #181818;
  padding: 8px 15px;
  margin-right: 14px;
  border-radius: 10px;
  font-size: 14px;
}
#text-crousal p:first-child {
  background: #fff;
  color: #000;
}

/* Video Section  */
#video-section {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  color: #fff;
  padding-left: 20px;
  position: absolute;
  left: 100px;
  top: 140px;
}
#video-section h2 {
  font-size: 16px;
  font-weight: 400;
  line-height: 22px;
  margin-bottom: 5px;
}
#video-section p {
  margin-left: 50px;
  font-size: 14px;
  color: #aaaaaa;
}
#video-section iframe {
  width: 350px;
  height: 200px;
  border: none;
  border-radius: 15px;
}
.youtubeDetails {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-right: 50px;
}
.youtubeDetails img {
  width: 40px !important;
  border-radius: 50%;
  margin-right: 10px;
}
.views-date {
  margin-top: 5px;
  margin-bottom: 40px;
}

/* Responsive Code here */
@media (max-width: 900px) {
  nav {
    width: 100vw;
    left: 0;
  }
  .logo {
    margin-left: 20px;
  }
  #video-section {
    grid-template-columns: 1fr;
  }
  .left-icon-section {
    display: none;
  }

.left-icon-section {
    width: 100vw;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    bottom: 0;
    padding: 8px 30px;
    height: auto;
    margin: 0;
  }
  .icon {
    margin-bottom: 0;
    font-size: 10px;
  }
  .icon a {
    font-size: 10px;
  }

  .icon img {
    width: 20px;
  }
  .icon-mobile-hamburger{
    display: none;
  }
  .search-bar {
    display: none;
  }
  .account-icon {
    margin-top: 10px;
  }
  #text-crousal {
    left: 15px;
  }
  #text-crousal p {
    font-size: 12px;
  }
  #video-section {
    padding-left: 0;
    left: 0;
  }
  #video-section iframe {
    width: 100%;
    height: 250px;
    border-radius: 0;
  }
  .youtubeDetails {
    margin-right: 30px;
    margin-left: 20px;
  }
  .youtubeDetails img {
    margin-right: 10px;
  }
  #video-section p {
    margin-left: 70px;
  }
  .icon-mobile-search{
    display: block;
  }
  .icon-mobile-upload{
    display: none;
  }
  .mobile-upload{
    display: block;
  }
  .mobile-upload img {
    width: 45px;
    border-radius: 50%;
    padding: 10px;
    background: #222222;
  }
}
