body {
    font-family: "Open Sans", sans-serif;
    margin: 0;
    padding: 0;
    background-color: #181818;
    color: #ffffff;
}

header {
    background-color: #202020;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
}

.logo h1 {
    font-size: 24px;
    margin: 0;
}

main {
    padding: 20px;
}

p {
    margin-top: 5px;
    font-size: 14px;
    color: #999999;
}

a {
    color: white;
    text-decoration: none;
    font-size: 24px;
}

a:hover {
    color: white;
}

#videoGrid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

@media (max-width: 600px) {
    #videoGrid {
        grid-template-columns: repeat(1, 1fr);
    }
}

@media (min-width: 601px) and (max-width: 960px) {
    #videoGrid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.videoItem {
    background-color: #202020;
    padding: 15px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s;
    cursor: pointer;
}

.videoItem:hover {
    transform: translateY(-5px);
}

.thumbnail {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 0;
    padding-bottom: 40%;
}

.thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

h3 {
    margin-top: 10px;
    font-size: 16px;
}

p {
    margin-top: 5px;
    font-size: 14px;
    color: #999999;
}

.playIcon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.videoItem:hover .playIcon {
    opacity: 1;
}

img.emoji {
    height: 1em;
    width: 1em;
    margin: 0 .05em 0 .1em;
    vertical-align: -0.1em;
}
