* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/* Fondo oscuro general */
.logo {width: 400px;   
display: block;       
margin: 30px auto;    
border-radius: 8px;   
box-shadow: 0 0 15px #000; 
}

body {
    background-color: #121212;
    color: #f0f0f0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    padding: 20px;
}

/* Título principal */
.titulo {
    font-size: 3rem;
    color: #e50914;
    margin-bottom: 10px;
    text-align: center;
}


/* Subtítulos */
h3 {
    width: 50px; /* Ancho del 50% del contenedor padre */
    height: 50px;
    color: #cccccc;
    margin-bottom: 15px;
    width: 1250px;
    text-align: center; 
}

h4 {
    width: 100px; /* Ancho del 50% del contenedor padre */
    height: 100px;
    color: #cccccc;
    margin-bottom: 15px;
    width: 1250px;
    text-align: center;
}
/* estilos para la imagen principal */
.img-destacada {
    width: 350px;
    height: auto;
    display: block;
    margin: 0 auto;         
    border-radius: 20px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.4);
    transition: transform 0.10s ease;
  }
  
  .img-destacada:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 24px rgba(229, 9, 20, 0.6);
  }

.imgp {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border-radius: 16px;
  }
  
  .imgp:hover {
    transform: scale(1.05);
    box-shadow: 0 16px 32px rgba(229, 9, 20, 0.5), 0 6px 12px rgba(0, 0, 0, 0.2);
    cursor: pointer;
  }

  .nav-doble {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 60px auto;
  }
  /* estilos para la barra de navegacion */
  .nav-btn {
    background-color: #111;
    color: #fff;
    padding: 15px 30px;
    text-decoration: none;
    font-size: 18px;
    border-radius: 10px;
    transition: background-color 0.3s ease;
  }
  
  .nav-btn:hover {
    background-color: #e50914;
  }
  /* estilos para el sub titulo */
  .intro-terror {
    color: #b30000; 
    font-family: 'Creepster', serif; 
    font-size: 1.2em;
    text-align: center;
    max-width: 600px;
    margin: 20px auto;
    text-shadow: 2px 2px 4px black;
    letter-spacing: 1px;
    line-height: 1.6;
  }


  footer {
    margin-top: 40px;
    text-align: center;
    color: #888;
    font-size: 0.9rem;
    border-top: 1px solid #333;
}

/* Estilos base (mobile first) */
.Cortometrajes {
    margin-top: 40px;
    padding: 20px;
    border-top: 2px solid #7e5353;
    font-family: cursive;
    background-color: #9e8686;
    color: #e50914;
    text-align: center;
    font-size: 20px;
  }
  
  .videos {
    margin-top: 50px;
    color: rgba(204, 142, 28, 0.966);
    font-family: cursive;
    text-align: center;
    background-color: #1a1a1a;
    padding: 20px;
    border-radius: 20px;
    display: flex;
    flex-direction: column; /* para mobile, una columna */
    gap: 30px;
  }
  
  /* Estilos para pantallas grandes (desktop) */
  @media screen and (min-width: 768px) {
    .Cortometrajes {
      font-size: 32px;
      padding: 40px;
    }
  
    .videos {
      flex-direction: row; /* en escritorio, en fila */
      justify-content: center;
      flex-wrap: wrap;
    }
  
    .videos > div {
      width: 30%;
    }
  }
  
  
  .top {
    color: #e50914;
    margin-top: 40px;
    padding: 10px;
    border-top: 2px solid #7e5353;
    font-family: cursive;
    background-color: #121212;
    text-align: center;
  }
  

.pelicula1 {
   text-align: center;
   color: whitesmoke;
}

.imgp { 
    width: 200px; /* Ancho del 50% del contenedor padre */
    height: 200px;
    margin: 10px;
    max-width: 100%;
    border-radius: 20px;
    box-shadow: 0 0 10px rgba(229, 9, 20, 0.5);
}

.titulos { 
color: yellow;
text-align: center;
font-family: cursive;
}