@charset "UTF-8";

header#cabecalho-principal {
    border-bottom: 0px solid rgb(210, 210, 210);
    padding: 10px;
    justify-content: space-between;
    position: relative;
}

header#cabecalho-principal > h1, header#cabecalho-principal > form, header#cabecalho-principal > div    {
    display: block;
}

header#cabecalho-principal > h1#o-que-esta-a-acontecer {
    display: block;
    position: absolute;
    top: 110%;
    left: 54%;
    transform: translate(-50%, -50%);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

main#whats-happening {
    height: 100vh;

    z-index: 0;
}


main#whats-happening > section#todos-videos {
    width: 50vw;
    height: 90vh; /* Garante que o contêiner ocupa a tela inteira */
    margin-top: 150px;
    overflow-y: auto; /* Habilita a rolagem vertical */
    scroll-snap-type: y mandatory; /* Faz os vídeos travarem na tela */
    border-radius: 20px;
    /*border: 2px solid red;*/

    display: flex;
    flex-flow: column nowrap;
    justify-content: flex-start;
    align-items: center;

    z-index: 0;
}

main#whats-happening > section#todos-videos > div.video-individual {
    width: 100%;
    height: 90%; /* Cada vídeo ocupa 100% da tela */
    margin-top: 20px;
    margin-bottom: 20px;
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    justify-content: center;
    scroll-snap-align: start; /* Faz cada vídeo começar do topo */
    /*border: 2px solid green;*/
    border-radius: 20px;
    /*position: relative;*/
    aspect-ratio: 9/16;
    background-color: transparent;
    position: relative;
    z-index: 0
}

main#whats-happening > section#todos-videos > div.video-individual > iframe {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Faz o vídeo cobrir toda a tela */
    user-select: none;
    touch-action: pan-y;
    /*transform: scale(0.78);*/
    border-radius: 20px;;
}

main#whats-happening > section#todos-videos > div.video-individual > nav {
    position: absolute;
    top: 80%;
    left: 93%;
    
    z-index: 100;
}

main#whats-happening > section#todos-videos > div.video-individual > nav > ul > li {
    color: var(--cor4);
}

main#whats-happening > section#todos-videos > div.video-individual > nav > ul > li > a {
    color: var(--cor4);
}

main#whats-happening > section#todos-videos > div.video-individual > div#info {
    position: absolute;
    top: 88%;
    left: 7%;
}

main#whats-happening > section#todos-videos > div.video-individual > div#info  > h1 {
    margin-bottom: 20px;
}

footer {
    background-color: var(--cor5);
    opacity: 1;
}

footer > a {
    color: var(--cor4);
}