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

:root {
  --primary-color: #f5f5f5;
  --dark-color: #666666;
  --max-width: 1100;
}

body {
  font-family: "Roboto", sans-serif;
  color: #333;
  line-height: 1.5;
  background-color: #f5f5f5;
}

a {
  text-decoration: none;
  color: #333;
}

/* Utility */
.container {
  background-color: var(--primary-color);
  height: 100vh;
}

.content {
  display: grid;
  grid-template: auto 1fr / 3fr 1fr;
  grid-column-gap: 1.5rem;
  padding: 4.8rem 6rem 1rem;
}

/* main {
  margin: 0 2.4rem 3rem 0;
} */

@media only screen and (max-width: 1200px) {
  .content {
    padding: 4.5rem 1.5rem 0;
    grid-template: auto 1fr / 2fr 1fr;
  }
}

@media only screen and (max-width: 1020px) {
  main {
    margin-bottom: 0.5rem;
  }

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

/* aside */

aside {
  grid-column: 2;
  grid-row: 1 / span 2;
}

/* Button */
.button {
  border: none;
  background-color: #fff;
  cursor: pointer;
}

/* Header */
.main-header {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  height: 3.4rem;
  background-color: #fff;
  z-index: 69;
}

.menu-logo {
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo {
  height: 18px;
  object-fit: contain;
  margin-left: 1rem;
}

/* Search bar */
.search-bar {
  width: 700px;
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-input {
  width: 100%;
  height: 32px;
  padding: 0.4rem;
  margin-left: 4rem;
  font-size: inherit;
  background-color: rgba(255, 255, 255, 0.55);
  border: 1px solid #ccc;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.btn-search {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 1.25rem;
  min-width: 65px;
  height: 32px;
  border: 1px solid #ccc;
  background-color: #f8f8f8;
  margin-right: 2.5rem;
  border-left: none;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.btn-search:hover {
  background-color: #f0f0f0;
}

.btn-mic {
  margin-left: -2rem;
}

@media only screen and (max-width: 768px) {
  .search-bar {
    flex-direction: row-reverse;
    margin: 0;
    margin-left: 3.5rem;
    width: 0;
    max-width: 0;
  }
  .search-input {
    display: none;
  }

  .btn-search {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    margin-right: 1.5rem;
    border: none;
    background: none;
  }

  .btn-search:hover {
    background: none;
  }
  .btn-mic {
    margin: 0;
  }
}

/* Menu Link */
.menu-link {
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu-link button,
.menu-link a {
  margin-left: 1rem;
}

.btn-notification {
  position: relative;
}

.btn-notification span {
  position: absolute;
  top: -5px;
  right: -7px;
  font-size: 10px;
  cursor: pointer;
  background: #cc181e;
  color: #fff;
  height: 18px;
  width: 18px;
  text-align: center;
  border-radius: 50%;
  line-height: 18px;
}

.profile img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
}

/* Videos Styles */
.player {
  position: relative;
  padding-bottom: 56.25%;
  padding-top: 25px;
  height: 0;
}

.player iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* videos info */
.video-info {
  padding: 0.9rem 0;
}

.video-info h2 {
  font-size: 1.2rem;
  font-weight: 300;
  color: #000;
}

.video-info-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.7rem;
  border-bottom: 1px solid #ccc;
}

.video-info-title div {
  display: flex;
  flex-direction: row;
}

.video-info-title div a {
  padding: 0 0.2rem;
  text-transform: uppercase;
  color: #606060;
}

.video-info-item div:nth-child(1),
.video-info-item div:nth-child(2) {
  border-bottom: 3px solid #aaa;
}

.video-info-sub {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  border-bottom: 1px solid #ccc;
}

.video-info-sub > div {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: center;
}

.video-textInfo div:not(:last-child) {
  margin-bottom: 1rem;
}

.video-info-sub img {
  margin-right: 0.9rem;
}

.video-info-sub h3 {
  font-size: 0.9rem;
  font-weight: 300;
  color: #222;
}

.video-info-sub h4 {
  font-size: 0.7rem;
  color: #a0a0a0;
  font-weight: bold;
}

/* Buttons */

.btn {
  display: inline-block;
  padding: 10px 16px;
  border: none;
  border-radius: 16px;
  cursor: pointer;
  font-size: 0.79rem;
  font-weight: 300;
  line-height: 1.3;
  overflow: hidden;
}

.btn-primary:hover {
  background-color: #bb0f15;
}

.btn-primary {
  background-color: #cc181e;
  color: #fff;
  text-transform: uppercase;
  border-radius: 2px;
}

.btn-link {
  padding: 10px 0;
  text-transform: uppercase;
  border-radius: 2px;
}

.btn-dark {
  background-color: #030303;
  color: #fff;
  border-radius: 15px;
  padding: 5px 10px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  transition: all 0.2s;
}
.btn-dark:hover {
  background-color: #707070;
}

.btn-light {
  background-color: #eee;
  color: #030303;
  padding: 5px 10px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  transition: all 0.2s;
}
.btn-light:hover {
  background-color: #ddd;
}
/* Comments */

.comments-title {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 1rem;
}
.comments-title a:first-child {
  margin-right: 1.5rem;
}
.comments-title a:last-child {
  margin-left: 0.5rem;
  text-transform: uppercase;
}

.profile-comment,
.profile-comment img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
}

.comments-search {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-bottom: 2.5rem;
}

.comments-search input[type="text"] {
  flex: 1;
  margin-left: 1rem;
  border: none;
  background: transparent;
  border-bottom: 1px solid #ccc;
  padding: 0.4rem;
  outline: none;
  transition: all 0.3s;
}

.comments-search input[type="text"]:hover {
  border-bottom: 2px solid #222;
}

.comment-info {
  margin-bottom: 1.5rem;
}

.cl-space {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.comments-content {
  display: flex;
}

.icon-vertical-dots {
  visibility: hidden;
  transition: all 0.3s;
}

.comment-info:hover .icon-vertical-dots {
  visibility: visible;
}

.comment-info .profile-comment {
  margin-right: 1.5rem;
}

.comment-info h3 {
  font-size: 0.77rem;
  font-weight: 600;
  color: #000;
}
.comment-info h3 span {
  color: #606060;
  font-weight: 100;
}

.comment-info p {
  font-size: 0.88rem;
  margin-bottom: 1.2rem;
}

.icon-item {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.icon-item div,
.icon-item a {
  padding-right: 1rem;
  text-transform: uppercase;
  color: #606060;
}

.icon-item div a {
  padding-right: 0.5rem;
}

/* Sidebar */
.category {
  margin-bottom: 1rem;
}
.category button {
  margin-right: 0.6rem;
}

.category a i {
  font-size: 0.59rem;
  color: #606060;
}

/* Sidebar content */
.video-size img {
  width: 150px;
  height: 95px;
  object-fit: cover;
  border-radius: 2px;
}

.side-video-content {
  display: flex;
  flex-direction: row;
  padding: 0 5px;
  margin-bottom: 0.2rem;
}

.side-video-content div:first-child {
  margin-right: 1rem;
}

.side-video-content h3 {
  font-size: 0.85rem;
  font-weight: 500;
}
.side-video-content h3 a {
  color: #030303;
}

.side-video-content a {
  font-size: 0.75rem;
  color: #606060;
}

.side-info {
  margin-bottom: -4px;
}
