body {
    font-family: 'Quicksand', sans-serif;
    color: white;
    background: rgb(39, 1, 1);
    margin: 0;
    padding-bottom: 35px;
}

/* seilá, que tal colocar uma borda branca e sombra branca no frame do video? */
iframe {
    margin: 20px auto;
    display: block;
    border: 3px solid #ffffff;
    border-radius: 5px;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.479);
}

/* eu gosto de efeitos de sombras :D */
.section1 {
    background: rgb(88, 5, 5);
    box-shadow: inset 0 15px 20px -10px rgba(0, 0, 0, 0.445);
    padding-top: 5px;
    padding-bottom: 15px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* dar uma corrigida no frame de video né */
.video-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

/* corrigindo o titulo do lado do video */
.video-title {
    padding-top: 50px;
    padding-left: 50px;
    font-size: 35px;
    max-width: 500px;
    text-shadow: 0px 0px 5px rgba(255, 255, 255, 0.397);
}

/* as palavras clicavei que te leva para outra pagina fica azul e com linha embaixo, isso aqui dexa bunito :D */
.clicar {
    color: #fff;
    text-decoration: none;
    transition: color 0.2s ease;
}

/* isso aqui e os próximos h3 deixa mais binito */
h3 {
    margin: 0;
    padding: 10px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    border-bottom: 1px solid #ccc;
}

h3 a {
    text-decoration: none;
    color: #000;
    font-size: 25px;
}

h3 a:hover {
    color: #007BFF;
}

/* com essa classe reduz a distancia dos parágrafos */
.espaco-reduzido {
    padding-left: 60px;
    line-height: 0.3;
}

/* essa é a parte que fala sobre o autor da serie */
.container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 250px;
    padding: 15px;
    background: black;
}

.foto-antiga {
    max-width: 20%;
    height: auto;
    border: 3px solid #ffffff;
    border-radius: 5px;
}

.foto-antiga2 {
    max-width: 30%;
    height: auto;
    border: 3px solid #ffffff;
    border-radius: 5px;
}

.container2 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 150px;
    padding: 15px;
    background: black;
}

.texto-sobre {
    font-size: 20px;
    max-width: 600px;
}

/* Estilo para o título clicável */
.titulo {
    cursor: pointer;
    font-size: 35px;
    font-weight: bold;
    color: #ffffff;
    transition: color 0.2s ease;
    padding-top: 20px;
    padding-bottom: 10px;
    padding-left: 50px;
}

.titulo:hover {
    color: #007BFF;
}

.conteudo {
    display: none;
}

/* Exibe o conteúdo quando a classe 'visivel' é adicionada */
.conteudo.visivel {
    display: block;
}

.titulo-simples {
    font-size: 35px;
    padding-left: 50px;
    color: #ffffff;
    font-weight: bold;
    padding-top: 20px;
    padding-bottom: 10px;
}

.fundo {
    background: #000;
    padding: 15px;
}

.texto-sobre2 {
    background: black;
    font-size: 20px;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 110px;
}

.organizar-videos {
    display: flex;
    flex-wrap: wrap; /* Permite a quebra de linha para o layout em múltiplas linhas */
    gap: 20px;
    padding-left: 25px;
    padding-right: 25px;
    padding-top: 30px;
    justify-content: space-around;
    align-items: center;
}

.videos-container {
    position: relative;
    border: 2px solid #ffffff;
    border-radius: 5px;
    overflow: hidden; /* Garantir que a sombra não saia da borda */
    width: calc(25% - 20px); /* Ajusta a largura para que 4 vídeos caibam em uma linha, considerando o espaçamento */
    aspect-ratio: 16 / 9; /* Mantém a proporção original de 16:9 */
    transition: box-shadow 0.3s ease; /* Transição para a sombra externa */
}

.videos {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ajusta a imagem para cobrir o contêiner sem distorcer */
    display: block;
    transition: opacity 0.3s ease;
}

.videos-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    box-shadow: inset 0 20px 30px -10px rgba(0, 0, 0, 0);
    transition: box-shadow 0.3s ease;
}

.videos-container:hover::after {
    box-shadow: inset 0 130px 130px -10px rgba(0, 0, 0, 0.904); /* Sombra interna no topo */
}

.videos-container:hover {
    box-shadow: 0 0px 20px rgba(255, 255, 255, 0.411); /* Sombra externa */
}

.text-overlay {
    position: absolute;
    top: 10px; /* Ajusta o texto para a parte superior */
    left: 10px; /* Ajuste conforme necessário */
    right: 10px; /* Ajuste conforme necessário */
    color: #ffffff; /* Cor do texto */
    text-shadow: 0px 0px 5px rgba(255, 255, 255, 0.26);
    padding: 5px;
    border-radius: 3px;
    font-size: 16px; /* Tamanho da fonte do texto */
    font-weight: bold; /* Texto em negrito */
    opacity: 0; /* Inicialmente invisível */
    transition: opacity 0.3s ease; /* Transição suave */
    text-align: center; /* Alinha o texto ao centro */
    z-index: 1; /* Garante que o texto fique sobre outros elementos */
}

.videos-container:hover .text-overlay {
    opacity: 1; /* Torna o texto visível quando o mouse está sobre o contêiner */
}

/* Nova classe para o texto na parte inferior */
.text-overlay,
.text-overlay-bottom {
    position: absolute;
    left: 10px; /* Ajuste conforme necessário */
    right: 10px; /* Ajuste conforme necessário */
    color: #ffffff; /* Cor do texto */
    text-shadow: 0px 0px 5px rgba(255, 255, 255, 0.26);
    padding: 5px;
    padding-bottom: 10px;
    border-radius: 3px;
    font-size: 16px; /* Tamanho da fonte do texto */
    font-weight: bold; /* Texto em negrito */
    opacity: 0; /* Inicialmente invisível */
    transition: opacity 0.3s ease; /* Transição suave */
    text-align: center; /* Alinha o texto ao centro */
    z-index: 1; /* Garante que o texto fique sobre outros elementos */
}

.text-overlay {
    top: 10px; /* Ajusta o texto para a parte superior */
}

.text-overlay-bottom {
    bottom: 0; /* Alinha o texto na parte inferior */
    background-color: rgba(0, 0, 0, 0.5); /* Fundo semi-transparente para melhor legibilidade */
}

.videos-container:hover .text-overlay,
.videos-container:hover .text-overlay-bottom {
    opacity: 1; /* Torna o texto visível quando o mouse está sobre o contêiner */
}




 .fundo-bom{
    background: rgb(88, 5, 5);    
    box-shadow: inset 0 15px 25px -10px rgba(0, 0, 0, 0.541);
 }





