/* Estilos Globais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

body {
    background-color: #f4f7fc;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden; /* Evita rolagem horizontal */
}

.container {
    display: flex;
    min-height: 100vh;
}

/* Sidebar */
.sidebar {
    width: 250px;
    background-color: #2b3a42;
    color: #fff;
    padding: 20px;
    position: fixed;
    height: 100%;
    top: 0;
    left: 0;
    transition: all 0.3s ease;
    z-index: 1000; /* Garante que a sidebar fique acima do conteúdo */
}

.sidebar a {
    color: #fff;
    display: block;
    padding: 10px;
    margin-bottom: 10px;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.sidebar a:hover {
    background-color: #1d262b;
}

.sidebar h2 {
    color: #fff;
    text-align: center;
    font-size: 22px;
    margin-bottom: 20px;
}

/* Video Container */
.video-container {
    width: calc(100% - 250px); /* Considera a sidebar */
    padding: 0;
    margin-left: 250px; /* Alinha com a sidebar */
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #000;
    height: calc(100vh - 60px); /* Garante que o vídeo ocupe o espaço restante */
}

video {
    width: 100%; /* Define a largura do vídeo como 100% */
    height: 100%; /* Ajusta a altura para 100% */
    object-fit: cover; /* Garante que o vídeo preencha a área sem distorção */
    background-color: #000;
}

/* Footer */
.footer-bar {
    padding: 20px;
    text-align: center;
    background-color: #2b3a42;
    color: #fff;
    position: fixed;
    width: 100%;
    bottom: 0;
    left: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.footer-bar a {
    color: #fff;
    text-decoration: none;
    margin: 0 10px;
    font-size: 14px;
    padding: 10px;
    transition: color 0.3s ease;
}

.footer-bar a:hover {
    color: #c7ecee;
}

/* Responsividade */
@media (max-width: 768px) {
    .sidebar {
        width: 60px;
        overflow: hidden;
    }
    
    .sidebar a {
        text-align: center;
        padding: 10px;
    }

    .video-container {
        width: calc(100% - 60px);
        margin-left: 60px;
    }

    .footer-bar {
        flex-direction: column;
        padding: 10px;
    }

    video {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}
