@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;700&family=Roboto:wght@300;400;700&display=swap');

body {
    font-family: 'Inter', sans-serif;
    background-color: #181818;
    color: #fff;
    margin: 0;
    padding: 0;
}

.container {
    width: 60%;
    margin: 30px auto;
    padding: 20px;
}

header {
    text-align: center;
    margin-bottom: 20px;
}

header h1 {
    font-size: 26px;
    font-weight: 700;
    color: #f1f1f1;
}

.video-container video {
    width: 100%;
    border-radius: 5px;
    outline: none;
    background: #000; /* Ensures a smooth transition from the thumbnail */
}


video {
    width: 100%;
    border-radius: 5px;
    outline: none;
}

.video-info {
    margin-top: 20px;
    padding: 15px;
    background: #222;
    border-radius: 10px;
}

.video-info span.views {
    font-size: 16px;
    color: #aaa;
    display: block;
    margin-bottom: 10px;
}

.video-info h3 {
    font-size: 18px;
    margin-top: 10px;
    font-weight: 700;
}

.video-info p {
    font-size: 16px;
    line-height: 1.6;
    color: #ddd;
}

.video-container {
    display: flex;
    justify-content: center;
    background: #000;
    border-radius: 10px;
    padding: 10px;
}

video {
    width: 100%;
    border-radius: 5px;
    outline: none;
}

.chapters {
    margin-top: 15px;
    text-align: center;
}

.chapters button {
    background: #ff0000;
    color: white;
    border: none;
    padding: 10px 15px;
    margin: 5px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: 0.3s ease;
}

.chapters button:hover {
    background: #e60000;
}

@media (max-width: 768px) {
    .container {
        width: 90%;
    }
}
