body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(to right, #4a90e2, #a3c2e0);
    color: #ffffff;
}

h1 {
    text-align: center;
    margin-top: 20px;
}

#pdf-container,
#video-container {
    width: 90%;
    max-width: 800px;
    /* Largura máxima para dispositivos grandes */
    height: auto;
    /* Deixe a altura automática */
    margin: 20px auto;
    border-radius: 8px;
    overflow: hidden;
    /* Para arredondar bordas */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

#progress-container {
    width: 90%;
    max-width: 800px;
    background-color: rgba(255, 255, 255, 0.2);
    height: 30px;
    margin: 20px auto;
    border-radius: 5px;
    overflow: hidden;
}

#progress-bar {
    width: 0%;
    height: 100%;
    background-color: #28a745;
    /* Verde */
    transition: width 0.2s ease;
}

canvas,
video {
    width: 100%;
    /* Ajustar para a largura total */
    border-radius: 8px;
}

button,
a {
    display: inline-block;
    padding: 10px 20px;
    margin: 10px auto;
    background-color: #007bff;
    /* Azul */
    color: #ffffff;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-size: 16px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

button:hover,
a:hover {
    background-color: #0056b3;
    /* Azul escuro */
    transform: scale(1.05);
    /* Aumenta ligeiramente no hover */
}




@media (max-width: 600px) {
    h1 {
        font-size: 1.5em;
        /* Tamanho menor em telas pequenas */
    }

    button,
    a {
        font-size: 14px;
        /* Texto menor em dispositivos móveis */
        padding: 8px 16px;
        /* Menos padding em dispositivos móveis */
    }

    #progress-container {
        height: 20px;
        /* Menor em dispositivos móveis */
    }

    #progress-bar {
        height: 100%;
        /* Ajustar a altura */
    }
}