*, ::after, ::before {
    box-sizing: border-box;
    font-family: Roboto, Arial;
}

body {
    margin: 0;
}

.secVideos {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 3rem 1.9rem;
    padding: 3rem 0;
    margin: 0 1.5rem;
    border: 4px solid #ccc;
}

.secVideos:first-child {
    border-top: none;
}

.videoContainer {
    display: flex;
    flex-direction: column;
}
.videoContainer img {
    width: 560px;
}

.thumbnail {
    position: relative;
    display: flex;
}

.thumbnail::before {
    content: attr(data-duration);
    position: absolute;
    background-color: #06060685;
    color: #f6f6f6;
    right: 15px;
    bottom: 5px;
    padding: .1em .3em;
    border-radius: .2em;
    font-size: .9rem;
}
.thumbnailImg {
    width: 100%;
    height: 315px;
    min-width: 250px;
    min-height: 150px;
    background-color: #f6f6f6;
}

.videoBottom {
    display: flex;
    align-items: flex-start;
    margin-top: 1rem;
}

img.channelIcon {
    margin-right: .75rem;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    background-color: #f6f6f6;
}

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

.videoTitle {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: .5rem;
    text-decoration: none;
    color: #060606;
}

.videoChannelName {
    text-decoration: none;
    margin-bottom: .3rem;
    transition: color 150ms;
}

.videoChannelName:hover {
    color: #060606;
}

.videoChannelName,
.videoMetadata {
    color: #555;
}

.videos {
    background-color: #f9f9f9;
}

.categories {
    padding: 1rem 2rem;
    border-top: 1px solid #999;
    border-bottom: 1px solid #999;
}

.secCategory {
    display: flex;
    overflow: hidden;
}
.category {
    margin-right: 1rem;
    word-wrap: none;
    white-space: nowrap;
    border: 1px solid #ccc;
    border-radius: 900px;
    background-color: #f6f6f6;
    padding: .5rem 1rem;
    font-size: inherit;
    cursor: pointer;
    transition: background-color 150ms;
}
.category:hover {
    background-color: #ddd;
}
.category.active {
    background-color: #606060;
    color: #f6f6f6;
    border-color: #eee;
}
.category:last-child {
    margin-right: 0;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
}
.youtubeLogo {
    height: 60px;
}
.searchBar {
    display: flex;
    flex-grow: 1;
    margin: 0 2rem 0 4rem;
}
.searchInput {
   width: 100%; 
   font-size: inherit;
   padding: .4rem;
   border: 1px solid #777;
   border-top-left-radius: 0;
   border-top-right-radius: 0;
}
.searchBtn {
    display: flex;
    align-items: center;
    padding: 0 1.25rem;
    border: 1px solid #777;
    background-color: #f6f6f6;
    border-left: none;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    cursor: pointer;
}
.searchBtn:hover {
    background-color: #f9f9f9;
}

.menuIcons {
    display: grid;
    grid-template-columns: repeat(4, auto);
    align-items: center;
    gap: 1.5rem;
}

.menuChannelIcon {
    border-radius: 50%;
    width: 50px;
    height: 50px;
    background-color: #f6f6f6;
}