@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap");
/*importacão arquivos css para ficar mais organizado*/
:root {
    --preto: #000000;
    --azul: #1852a5;
    --branco: #ffffff;
    --laranja: #f05423;
    --cinza_escuro: #31313c;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

html {
    font-size: 65.5%;
    overflow-x: hidden;
    scroll-behavior: smooth;
}


section {
    min-height: 100vh;
    padding: 10rem 9% 2rem;
}

/* Container geral */
.videos-section {
    padding: 40px 20px;
    background-color: #f9f9f9;
    font-family: "Poppins", sans-serif;
}

    .videos-section .container {
        max-width: 1200px;
        margin: 0 auto;
    }

    /* Título */
    .videos-section .title {
        font-size: 2rem;
        margin-bottom: 30px;
        color: #333;
        text-align: center;
    }

/* Filtro */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

    .filter-bar input,
    .filter-bar select {
        padding: 10px 15px;
        font-size: 1.5rem;
        border: 1px solid #ccc;
        border-radius: 10px;
        min-width: 250px;
    }

/* Grid de vídeos */
.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

/* Card de vídeo */
.video-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    padding: 15px;
    transition: transform 0.3s;
}

    .video-card:hover {
        transform: translateY(-5px);
    }

    .video-card iframe {
        width: 100%;
        height: 180px;
        border-radius: 10px;
    }

    .video-card h3 {
        font-size: 1.3rem;
        margin-top: 15px;
        margin-bottom: 8px;
        color: #222;
    }

    /* Categoria */
    .video-card .badge {
        display: inline-block;
        padding: 4px 10px;
        font-size: 1.2rem;
        background-color: #0d6efd;
        color: white;
        border-radius: 20px;
    }

.video-footer {
    background-color: #222;
    color: #eee;
    padding: 30px 20px;
    font-size: 0.95rem;
    text-align: center;
    margin-top: 60px;
}

.btn-clear {
    padding: 8px 16px;
    background-color: #fff;
    color: #333;
    border: 1px solid #ccc;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

    .btn-clear:hover {
        background-color: #f0f0f0;
        border-color: #999;
    }


.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background-color: #fff;
    color: #333;
    border: 1px solid #ccc;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

    .btn-back:hover {
        background-color: #f0f0f0;
        border-color: #999;
        text-decoration: none;
    }

