body {
    font-family: "Rubik", sans-serif;
    align-items: center;
    margin: 0;
    padding: 0;
}

* {
    box-sizing: border-box;
}

.header {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto; 
}

.logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 130px;
    height: 50px;
}

.logo-container div {
    color: #6B6B6B;
    font-size: 10px;
    font-style: italic;
}

.main-content {
    width: 1350px;
    margin: 20px auto;
    margin-bottom: 100px;
}


.main-logo {
    width: 120%;
    position: relative;
    right: 10px;
}

.pages {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 15px;
    position: static;
    margin-top: 5px;
    background-color: #F2F2F2;
        padding: 10px;
    border-radius: 10px;
}

.page-right {
    margin-right: 70px;
}

.page-left {
    margin-left: 70px;
}

.page {
    position: relative;
}

.pages a {
    text-decoration: none;
    color: #373636;
    font-weight: 500;
}



.header-content {
    display: flex;
    flex-direction: column;
    width: 1000px;
}

.top-row {
    display: flex;
    gap: 10px;
    font-size: 10px;
    color: #6B6B6B;
}

.header-tag {
    position: relative;
    right: 10px;
}

.header-info {
    margin-left: auto;
}

.header-info a {
    margin-left: 10px;
    text-decoration: underline;
    color: #707070;
}

.video-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;

}
.main-header {
    font-weight: 500;
    width: 450px;
    margin-top: 20px;
}

.video-list-video {
    display: flex;
    margin-top: 5px;
    background-color: #f3f3f3;
    padding: 5px;
    border-radius: 5px;
    width: 400px;
    margin-right: 20px;
    transition: transform 0.4s ease, filter 0.4s ease;
}

.video-list-video:hover {
    transform: translateY(-4px); 
    filter: brightness(1.025);
}

.video-list-video-thumb {
  width: 140px;
  height: 100px;
  object-fit: fill;
  border-radius: 5px;

}

.video-metadata {
    display: flex;
    flex-direction: column;
    margin-left: 5px;
    height: 100%;
}

.video-list-video-title {
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-size: 15px;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2em;
    max-height: 2.4em; 
}
.video-list-video-description {
    font-size: 9px;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #4d4d4d;
    display: -webkit-box;
    line-clamp: 4;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
}

.video-list-video-upload {
    display: flex;
    font-size: 10px;
    width: 250px;
}

.video-list-misc-metadata {
    color: #4d4d4d;
    flex-direction: column;
    margin-top: auto;
    display: flex;
}

.video-list-video-stats {
    font-size: 10px;
}

.video-list-video-inc {
    font-size: 10px;
    margin-left:auto;
    position: relative;
    right: 10px;
}

.thumbnail-container {
    position: relative;
    display: inline-block;
}

.video-runtime {
    position: absolute;
    bottom: 8px;
    right: 4px;
    white-space: nowrap;
    color: white;
    background-color: black;
    border-radius: 5px;
    font-size: 12px;
    padding: 2px;
    font-weight: 500;
    opacity: 0.8;
}

.site-description {
    text-align:  center;
    font-size: 12px;
    color: #373636;
    position: relative;
    bottom: 20px;
    white-space: pre-line;
}

.main-description {
 margin-bottom: 20px;
 font-size: 12px;
 color: #373636;
 white-space: pre-line;

}

.about-information {
    font-weight: 500;
    font-size: 12px;
    white-space: pre-line;
}

.video-container {
    margin-left: 230px;
    margin-right: 230px;
    margin-top: 40px;
    text-align: center;
    
}

.video-container video {
    width: 700px;
    border-radius: 5px;
}

.watch-video-data {
    margin-top: 5px;
    text-align: left;
}

.watch-video-title {
    font-size: 20px;
    font-weight: 500;
    white-space: pre-line;

}

.watch-video-date {
    float: right;
    font-size: 15px;
    white-space: nowrap;
    color: #707070;
    margin-right: 25px;

}

.watch-video-description {
    white-space: pre-line;
    margin-top: 5px;
    font-size: 15px;
    color: #4d4d4d;
    padding: 5px;
    transition: filter 0.4s ease;
}

.watch-video-description:hover {
    filter: brightness(1.1)
}

.watch-video-header-container {
    width: 890px;

}

.video-metadata-header {
    font-weight: 500;
    margin-top: 20px;
}

.video-metadata-container {
    margin-top: 5px;
    color: #2e2e2e;
    font-weight: 450;
    width: 200px;
}

.video-metadata-viewCount {
    font-size: 20px;
    margin-bottom: 3px;
}

.watch-video-metadata {
    width: 500px;
}

.watch-videouser-data-container {
    display: flex;
    gap: 450px;

}

.user-metadata-channel {
    font-size: 15px;
}

.user-metadata-videoCount {
    margin-top: 5px;
    font-size: 15px;
}

.video-metadata-default {
    font-size: 14px;
}

.watch-video-increment {
    float: right;
    font-size: 15px;
    white-space: nowrap;
    position: relative;
    right: 20px;
}

.info-icon {
    position: absolute;
    top: -5px;
    right: -14px;
    width: 16px;
    height: 16px;
    font-size: 10px;
    text-align: center;
    line-height: 16px;
    cursor: pointer;
}

.info-popup {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s;
    position: absolute;
    top: 20px;
    right: 0;
    padding: 6px;
    width: 250px;
    z-index: 10;
    background-color:#2e2e2e;
    color: white;
    font-size: 10px;
}

.info-popup.active {
    opacity: 1;
    visibility: visible;
}

.video-metadata-captureView {
    position: relative;
    width: 98px;
    font-size: 14px;
    margin-top: 20px;
}

.channel-name {
    font-size: 25px;
    font-weight: 500;
    white-space: pre-line;
}

.channel-date-created {
    font-size: 15px;
    color: #707070;
    position: absolute;
    top: 0;
    right: -120;
}

.profile-container {
    display: flex;
    background-color: #F2F2F2;
    padding: 10px;
    border-radius: 5px;
}

.profile-container img {
    width: 200px;
    border-radius: 5px;
}

.channel-metadata {
    margin-left: 10px;
    position: relative;

}

.channel-channelId {
    font-size: 15px;
    position: relative;
    bottom: 3px;
}

.channel-description {
    font-size: 15px;
    white-space: pre-line;
    width: 1000px;
}

.channel-viewonYouTube {
    position: absolute;
    bottom: 0;
    left: 0;
}

.search-bar {
    display: flex;
}

.search-bar-text {
    margin-right: 10px;

}

.search-options-list {
    text-align: right;
    margin-bottom: 20px;
    display: flex;
}

.search-options-extra {
    margin-top: 10px;
}

.search-options-extra-header {
    font-weight: 600;
    margin-bottom: 5px;
}

.search-option-extra-container {
    font-size: 12px;
    margin-right: 30px;
}

.main-search-container {
    display: flex;
    align-items: flex-start;
    gap: 850px;
    position: relative;
    top: 8px;
    height: 20px;
}

.side-search-text {
    font-weight: 500;
    font-size: 15px;
    margin-right: 10px;
}

.side-search-subtitle {
    position: absolute;
    left: 250px;
    top: 5px;
    font-size: 10px;

}

.comment-list {
    margin-left: auto;
    margin-right: auto;
    width: 1400px;
    text-align: center;
    background-color: #a3a3a3;
}

.comment-list-header {
        background-color: #6e6e6e;
        font-weight: 500;
        font-size: 16px;

}

.comment-list tr:nth-child(even) {
  background-color: #b3b3b3;
}

.comment-list a {
    text-decoration: none;
    color: black;
}