html, body {
    height: 100%;
    background: #181818;
}

* {
    box-sizing: border-box;
}

.header {
    width: 100%;
    background-color: #1c1c1c;
    height: 56px;
    position: fixed;
    grid-area: header;
    display: flex;
    padding: 0 16px;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .1);
    z-index: 2;
}

.logo {
    width: 56px;
    margin-right: 24px;
}

.menu-icon {
    padding: 8px;
    margin-right: 16px;
}

.search {
    flex: 1;
    display: flex;
    align-items: center;
}

.search__input {
    border: solid 1px #303030;
    box-sizing: content-box;
    width: 100%;
    max-width: 482px;
    height: 24px;
    padding: 2px 6px;
    background: #030303;
}

.search__button {
    box-sizing: content-box;
    width: 51px;
    height: 26px;
    vertical-align: middle;
    padding: 1px 6px;
    background: #303030;
    border: solid 1px #303030;
}

.search__button__icon {
    width: 20px;
    height: 20px;
}

.user-info {
    width: 156px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.user-info__icon-profile {
    border-radius: 50%;
    height: 100%;
}

.main {
    background-color: #181818;
    grid-area: main;
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    justify-content: center;
}

.video-section {
    margin-top: 56px;
    background-color: #181818;
    width: 100%;
    max-width: 850px;
    padding: 15px;
}

.video-list {
    padding: 10px 0;
    border-bottom: 1px solid #717171;
    display: flex;
    flex-wrap: wrap;
}

.card {
    width: 25%;
    padding: 5px 2px;
    margin-bottom: 24px;
    position: relative;
}

.card__video {
    width: 100%;
}

.card__title {
    margin: 0;
    font-size: 14px;
    color: white;
    padding: 10px 8px 0 0;
}

.card__views {
    display: inline-block;
    width: 100%;
    font-size: 13px;
    font-weight: 500;
    color: #8f8f8f;
}

.card__published-date {
    width: 100%;
    display: inline-block;
    font-size: 13px;
    font-weight: 500;
    color: #8f8f8f;
}

.card__timestamp {
    position: absolute;
    right: 10px;
    top: 90px;
    font-size: 13px;
    font-weight: 500;
    color: white;
    background: #000000C0;
    padding: 3px;
    border-radius: 3px;
}