/*
Colors: #121212, #e36a57, #252525, #444, #303030, #404040
Sources:
* https://medium.com/@mateusz.kirmuc/css-grid-repeat-function-basics-e30e3582c24
* https://www.w3schools.com/css/css_grid.asp
* https://www.w3schools.com/css/css3_flexbox.asp
*/
body {
    margin: 0;
    padding: 0;
    background-color: #121212;
    color: #e7e7e7;
    font-family: Arial;
}
.app-name {
    color: #e36a57;
    margin: 0;
}

#navBar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #0b0b0b;
    padding: 15px 40px;
}

.app-name {
    color: #e36a57;
    margin: 0;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.search-input {
    background-color: #252525;
    color: white;
    border: 1px solid #444;
    border-radius: 6px;
    padding: 10px 15px;
    width: 230px;
}

.login-button,
.upload-button {
    text-decoration: none;
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
}

.login-button {
    background-color: #e36a57;
}
.upload-button {
    background-color: #303030;
}

.banner {
    background-color: #242424;
    margin: 30px 40px;
    padding: 50px 35px;
    border-radius: 12px;
}

.banner h1 {
    font-size: 32px;
    margin-bottom: 10px;
}

.banner p {
    color: white;
    font-size: 15px;
}

.videos-section {
    margin: 45px;
}
.videos-section h2 {
    margin-bottom: 20px;
}
#videos-container {
    display: grid;
    grid-template-columns: repeat(4, 250px);
    gap: 25px;
}

.video-card {
    width: 250px;
    box-sizing: border-box;
    background-color: #202020;
    padding: 15px;
    border-radius: 10px;
    cursor: pointer;
}
.video-thumbnail {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
    border-radius: 10px;
}

.video-card h3 {
    margin: 10px 0 5px;
    font-size: 15px;
}
.video-card p {
    color: grey;
    font-size: 13px;
    margin: 0;
}

.video-card:hover .video-thumbnail {
    background-color: #404040;
}
