/* Geral */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    color: #f4f4f4;
    background-color: #1f1f3d;
    line-height: 1.6;
}

a {
    color: #ffd700;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

header {
    position: relative;
    width: 100%;
    height: 400px; /* Ajuste o tamanho do header conforme necessário */
    overflow: hidden;
}

header .header-gif {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Faz com que a imagem cubra o espaço sem distorcer */
}

header .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Filtro semitransparente para o texto se destacar */
    display: flex;
    justify-content: center;
    align-items: center;
}

header h1 {
    color: white;
    font-size: 3rem; /* Ajuste o tamanho da fonte conforme necessário */
    text-align: center;
}


/* Navegação */
nav ul {
    display: flex;
    justify-content: center;
    padding: 10px 0;
    background-color: #333;
    margin: 0;
    list-style: none;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    font-weight: bold;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #e63946;
}

/* Seções */
section {
    padding: 40px 20px;
    max-width: 1200px;
    margin: auto;
}

section h2, section h3 , h2{
    text-align: center;
    margin-bottom: 20px;
    color: #ffd700;
}

/* Sinopse */
#sinopse .car {
    background-color: #2a2a2a;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

/* Galeria */
.container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.card {
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    text-align: center;
}

.card:hover {
    transform: scale(1.05);
}

.card img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.card p {
    padding: 15px;
    font-size: 0.9rem;
}

/* Poderes */
.gif {
    display: block;
    margin: 0 auto 20px;
    max-width: 100%;
    border-radius: 10px;
    width: 700px;
}

/* Trailer */
.video {
    display: flex;
    justify-content: center;
    margin: 40px 0;
}

.video iframe {
    border-radius: 10px;
    border: 3px solid #ffd700;
}

/* Rodapé */
footer {
    background-color: #333;
    color: #f4f4f4;
    text-align: center;
    padding: 15px 0;
    font-size: 0.9rem;
}

footer p {
    margin: 0;
}

.car{
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    text-align: center;
}

.car:hover {
    transform: scale(1.05);
}

.car img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.car p {
    padding: 15px;
    font-size: 0.9rem;
}


.carda {
    background-color: rgba(0, 0, 0, 0.7);
    border-radius:15px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    text-align: center;
}

.carda:hover {
    transform: scale(1.05);
}

.carda img {
    width: 100%;
    height: 100px;
    object-fit: cover;
}

.carda p {
    padding: 15px;
    font-size: 0.9rem;
}