@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

* {
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: #f9f9f9;
    color: black;
}

header {
    display: flex;
    flex-direction: row;
    max-width: 1440px;
    height: 56px;
    justify-content: space-between;
    padding-left: 24px;
    padding-right: 24px;
    background-color: white;
    align-items: center;
}

input {
    display: flex;
    max-width: 348px;
    height: 40px;
    top: 20px;
    left: 526px;
    border: 1px solid #CCCCCC;
}

.search-bar {
    display: flex;
    padding: 0 16px;
    width: 50%;
    top: 20px;
}

.header-left {
    display: flex;
    gap: 30px;
    align-items: center;
}

.header-right {
    display: flex;
    width: 130px;
    height: 56px;
    gap: 24px;
    align-items: center;
}

.header-right img {
    width: 24px;
    height: 24px;
    align-items: center;
}

.container {
    display: flex;
    max-width: 1300px;
    margin: 0 auto;
    padding: 20px;
    gap: 20px;
}

div {
    box-sizing: border-box;
}

.main-video {
    display: flex;
    flex-direction: column;
    max-width: 952px;
    width: 100%;
    top: 84px;
    left: 100px;
    gap: 16px;
    margin: 0 auto;
}

.thumbnail-image {
    width: 100%;
    height: auto;
}

.channel-infos {
    display: flex;
    align-items: center;
    gap: 22px;
    max-width: 902px;
    height: 42px;
}

.channel-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.buttons {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    gap: 14px;
}

.buttons img {
    height: 24px;
}

.subscribe {
    background-color: #CC0000;
    border: none;
    border-radius: 2px;
    width: 159px;
    height: 40px;
    top: 1px;
    left: 202px;
    text-transform: uppercase;
    color: white;
    font-size: 14px;
    font-weight: 600px;
    border-radius: 2px;
}

.video-title {
    font-size: 20px;
    font-weight: 600;
}

.channel-name {
    font-size: 14px;
    font-weight: 600;
}

.subscribers {
    font-size:14px;
    font-weight: 400;
    color: #515151;
}

strong {
    font-weight: 600;
    font-size: 14px;
}

.description {
    font-size: 14px;
    font-weight: 400;
    color: #515151
}

.sidebar {
    display: flex;
    flex-direction: column;
    max-width: 500px;
    gap: 16px;
    left: 900px;
    top: 84px;
}

.side-video {
    display: flex;
    gap: 12px;
}

.side-video img {
    max-width: 160px;
    max-height: 90px;
    object-fit: cover;
}

.side-infos {
    max-width: 196px;
    height: 89px;
    left: 176px;
}

.side-title {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.video-channel, .side-metadata {
  margin: 6px 0 0 0;
  font-size: 12px; 
  color: #515151;
}

.side-infos h3 {
    font-weight: 600;
    font-size: 14px;
    margin: 0;
}

.side-infos p {
    font-weight: 400;
    font-size: 12px;
    margin: 4px 0 0 0;
}