body {
    margin: 0;
    padding-top: 80px;
    padding-left: 90px;
    height: 2000px;
    background-color: rgb(239, 236, 236);
}



p {
    font-family: Roboto, Arial;
    font-size: 14px;
    margin-top: 0;
    margin-bottom: 0;
}

.header {
    height: 55px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    position: fixed;
    top: 0px;
    right: 0px;
    left: 0px;
    height: 55px;
    background-color: white;
    border-bottom-color: rgb(231, 229, 229);
    border-bottom-width: 1px solid;
    border-bottom-style: solid;
    z-index: 100;

}

.left-section {
    background-color: white;
    width: 150px;
    align-items: center;
    display: flex;
}

.hamburger {
    width: 20px;
    height: 20px;
    background-color: white;
    margin-left: 15px;
    margin-top: 0px;
    margin-bottom: 5px;
    cursor: pointer;
}

.youtube-logo {
    width: 80px;
    height: 30px;
    margin-left: 20px;
    margin-top: 20;
    background-color: white;
    border-radius: 10px;
    margin-bottom: 5px;
    cursor: pointer;
}

.middle-section {
    background-color: white;
    display: flex;
    flex: 1;
    margin-left: 50px;
    margin-right: 20px;
    max-width: 500px;
}

.search-bar {
    width: 0;
    flex: 1;
    height: 30px;
    padding-left: 10px;
    font-size: 16px;
    border-width: none;
    margin-top: 10px;
}

.search-button {
    height: 36px;
    width: 50px;
    background-color: rgb(240, 240, 240);
    border-width: 1px;
    border-style: solid;
    border-color: rgb(192, 192, 192);
    margin-right: 10px;
    margin-left: -1px;
    margin-top: 10px;
    cursor: pointer;
    position: relative;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 15px;
    padding-right: 15px;

}

.tooltip {
    position: absolute;
    background-color: grey;
    color: white;
    padding-top: 4px;
    padding-bottom: 4px;
    padding-left: 8px;
    padding-right: 8px;
    border-radius: 3px;
    font-size: 12px;
    bottom: -30px;
    opacity: 0;
}

.tooltip:hover {
    opacity: 1;
    color: black;
}

.voice-button {
    margin-top: 15px;
    border: 1px solid black;
    margin-left: 15px;
    background-color: white;
    height: 30px;
    width: 30px;
    border-radius: 100px;
    margin-left: 10px;
    cursor: pointer;
    padding-top: 5px;
}

.right-section {
    background-color: white;
    width: 250px;
    display: flex;
    justify-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}

.right1,
.right2,
.right3 {
    width: 30px;
    height: 30px;
    margin-top: 15px;
    margin-left: 10px;
    margin-bottom: 5px;
    cursor: pointer;
}

.right4 {
    width: 30px;
    height: 30px;
    margin-left: 20px;
    margin-right: 10px;
    margin-top: 15px;
    cursor: pointer;
    margin-bottom: 5px;
    flex-shrink: 0;
}

.notification-counter {
    position: relative;
}

.notification-count {
    position: absolute;
    top: 13px;
    right: 0;
    background-color: rgb(194, 17, 17);
    color: white;
    border-radius: 150px;
    font-size: 15px;
    padding-right: 5px;
    padding-left: 5px;
}

.thumbnail {
    width: 100%;
}

.search-bar {
    display: block;
}

.side-bar {
    background-color: white;
    top: 55px;
    left: 0;
    bottom: 0px;
    width: 65px;
    position: fixed;
}

.side-bar-1 {
    width: 30px;
    height: 30px;
    background-color: white;
    margin-top: 20px;
    margin-left: 20px;
    margin-bottom: 13px;
    cursor: pointer;
}

.side-bar-2 {
    background-color: white;
    margin-top: 0px;
    font-size: 10px;
    margin-left: 20px;
    margin-bottom: 0px;
    cursor: pointer;
}

.side-bar-3 {
    background-color: white;
    margin-top: 0px;
    font-size: 10px;
    margin-left: 0px;
    margin-bottom: 0px;
    margin-right: 10px;
    cursor: pointer;
}

.video-title {
    font-size: 14px;
    margin-top: 0px;
    margin-bottom: 12px;
}

.video-author,
.video-stats {
    font-size: 11px;
    color: rgb(96, 96, 96);
}

.video-author {
    margin-bottom: 5px;
}

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

.channel-pic {
    display: inline-block;
    width: 50px;
    vertical-align: top;
    cursor: pointer;

}

.channel-info {
    display: inline-block;
    width: 200px;
}

.profile-pic {
    width: 40px;
    border-radius: 50px;
    vertical-align: top;

}

.thumbnail-row {
    margin-bottom: 10px;
    position: relative;
    cursor: pointer;
}

.video-time {
    background-color: black;
    color: white;
    position: absolute;
    bottom: 10px;
    right: 8px;
    font-family: Roboto, Arial;
    font-size: 12px;
    font-weight: 500;
    padding: 2px;
    padding-left: 4px;
    padding-right: 4px;
    border-radius: 2px;
}

.video-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    column-gap: 16px;
    row-gap: 40px;

}


@media(max-width:1000px) {
    .video-grid {
        grid-template-columns: 1fr 1fr;
    }
}


@media(max-width:500px) {
    .video-grid {
        grid-template-columns: 1fr;
    }
}