body, html {
    height: 100%;
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    /* scroll-behavior: smooth; */
    padding: 0;
    /* min-height: 100vh; */
}


.html-inicio, .body-inicio {
    background: linear-gradient(rgba(5, 7, 12, 0.5), rgba(5, 7, 12, 0.5)),
    url(../assets/fondoInicio.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}



.html-about, .body-about {
    background: linear-gradient(rgba(5, 7, 12, 0.75), rgba(5, 7, 12, 0.75)), 
    url(../assets/fondo-sobreProyecto.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

.html-historia, .body-historia {
    background: linear-gradient(rgba(5, 7, 12, 0.75), rgba(5, 7, 12, 0.75)),
    url(../assets/HISTORY-Fondo2.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

.html-recomendadas, .body-recomendadas {
    background: linear-gradient(rgba(5, 7, 12, 0.5), rgba(5, 7, 12, 0.5)), 
    url(../assets/fondo-recomendadas.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

.html-createMovies, .body-createMovies {
    background: linear-gradient(rgba(5, 7, 12, 0.5), rgba(5, 7, 12, 0.5)),
    url(../assets/HEADER-Fondo3.jpg);
    background-repeat: repeat;
    background-size: cover;
    background-attachment: fixed;
}

.html-inicio-sesion, .body-inicio-sesion {
    background: linear-gradient(rgba(5, 7, 12, 0.5), rgba(5, 7, 12, 0.5)),
    url(../assets/HEADER-Fondo3.jpg);
    background-repeat: repeat;
    background-size: cover;
    background-attachment: fixed;
}

.html-registrarse, .body-registrarse {
    background: linear-gradient(rgba(5, 7, 12, 0.5), rgba(5, 7, 12, 0.5)),
    url(../assets/HEADER-Fondo3.jpg);
    background-repeat: repeat;
    background-size: cover;
    background-attachment: fixed;
}

/* ////////////////////////////////////////////// */
            /* FORMULARIOS */
/* FORMULARIOS DE AGREGAR MAS PELICULAS */ 

.coneteiner-form-create{
    display: flex;
    justify-content: center;
    margin-top: 50px;
} 

.form {
    background-color: #ffffff9a;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 600px;
}

.title {
    font-size: 28px;
    font-weight: 600;
    letter-spacing: -1px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 30px;
    color: #000000;
}


.title::before {
    width: 18px;
    height: 18px;
}

.title::after {
    width: 18px;
    height: 18px;
    animation: pulse 1s linear infinite;
}

.title::before,
.title::after {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    border-radius: 50%;
    left: 0px;
    background-color: #ff0000;
}


.signin {
    text-align: center;
}

.signin a:hover {
    text-decoration: underline royalblue;
}

.signin a {
    color: #00bfff;
}

.flex {
    display: flex;
    justify-content: space-between;
    width: 100%;
    gap: 6px;
}

.form label {
    position: relative;
    width: 100%;
}

.form label .input {
    background-color: #333;
    color: #fff;
    width: 100%;
    padding: 20px 05px 05px 10px;
    outline: 0;
    border: 1px solid rgba(105, 105, 105, 0.397);
    border-radius: 10px;
}

.form label .input + span {
    color: rgba(255, 255, 255, 0.5);
    position: absolute;
    left: 10px;
    top: 0px;
    font-size: 0.9em;
    cursor: text;
    transition: 0.3s ease;
}

.form label .input:placeholder-shown + span {
    top: 12.5px;
    font-size: 0.9em;
}

.form label .input:focus + span,
.form label .input:valid + span {
    color: #ff0000;
    top: 0px;
    font-size: 0.9em;
    font-weight: 800;
}

.input {
    width: 100%;
    font-size: medium;
    
}

.submit {
    border: none;
    outline: none;
    padding: 10px;
    border-radius: 10px;
    color: #fff;
    font-size: 16px;
    transform: .3s ease;
    background-color: #16ae56;
    width: 45%;
}

.submitClear {
    border: none;
    outline: none;
    padding: 10px;
    border-radius: 10px;
    color: #fff;
    font-size: 16px;
    transform: .3s ease;
    background-color: #ff0000;
    width: 45%;
}

.submit:hover {
    background-color: #6200ff;
}
.submitClear:hover {
    background-color: #6200ff;
}
@keyframes pulse {
    from {
        transform: scale(0.9);
        opacity: 1;
    }

to {
        transform: scale(1.8);
        opacity: 0;
    }
}

.buttons {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 1em;
}
/* -- FORMULARIOS DE AGREGAR MAS PELICULAS --> */


.conteiner-form {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80vh;
    margin-top: 30px
}

form {
    background-color: #ffffff9a;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
}

h2 {
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: bold;
}

.form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 7px;
}

.btn-submit {
    margin-bottom: 3px;
    width: 100%;
    padding: 10px;
    border: none;
    background-color: #ff0000;
    color: #fff;
    cursor: pointer;
    border-radius: 7px;
}

.btn-reset {
    margin-top: 3px;
    width: 100%;
    padding: 10px;
    border: none;
    background-color: #ff0000;
    color: #fff;
    cursor: pointer;
    border-radius: 3px;
}

.btn-submit:hover {
    background-color: #6200ff;
}

@media screen and (min-width: 768px) {
    form {
        max-width: 500px;
    }
}


    .botones-header {
        display: flex;
        flex-direction: row;
        gap: 1em;
    }
    
    .boton-inicio {
        text-decoration: none;
        background-color: #4711113c;
        border: none;
        border-radius: 5px;
        cursor: pointer;
    }
    
    .boton-inicio:hover {
        background-color: #333;
        color: #000000;
    }
    .boton {
        text-decoration: none;
        background-color: #4711113c;
        border: none;
        border-radius: 5px;
        cursor: pointer;
    }
    
    .boton:hover {
        background-color: #333;
        color: #000000;
    }

    a {
        color: #000000; /* Color rojo para los enlaces */
    }

    /* Mantén los estilos anteriores */

/* Estilos específicos para dispositivos móviles */
@media screen and (max-width: 768px) {
    .topnav {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .nav-links {
        display: none;
    }
    .boton-menu {
        display: block;
    }
    .boton-menu span {
        display: block;
        width: 25px;
        height: 3px;
        background-color: #333;
        margin: 5px;
        transition: transform 0.4s ease-in-out;
    }
    .boton-menu.open span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    .boton-menu.open span:nth-child(2) {
        opacity: 0;
    }
    .boton-menu.open span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
}

/* Estilos específicos para dispositivos de escritorio */
@media screen and (min-width: 769px) {
    .boton-menu {
        display: none;
    }
    .nav-links {
        display: flex;
    }
}

    

.container {
    width: 90%;
    display: flex;
    margin: auto;
    justify-content: space-between;
    align-items: center;
}

.navbar-toggler:focus, .navbar-toggler:active {
    outline: none;
    background-color: transparent; /* Puedes ajustar esto según tus necesidades */
    border-color: transparent; /* Puedes ajustar esto según tus necesidades */
}

.contenedor-imagen-fondo-header {
    text-align: center;
    position: relative;
    display: inline-block;
    width: 100%;
    height: 100%;
}

.contenedor-imagen-fondo-header img {
    display: block;
}

.texto-sobre-imagen {
    position: absolute;
    top: 5%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 24px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.906);
    max-width: 90%; /* Ajusta el ancho máximo según sea necesario */
    min-width: 45%;
    text-align: center; /* Para centrar el texto horizontalmente */
    padding: 5px; /* Añade un poco de espacio alrededor del texto */
    box-sizing: border-box; /* Para incluir el relleno en el ancho total */
    overflow: hidden; /* Evita que el texto se desborde si es demasiado largo */
    max-height: calc(50% - 20px); /* Restringe la altura máxima para mantener espacio por encima */
    animation: flotar 3s infinite; /* Añade la animación de flotar */
}

@keyframes flotar {
    0% {
        transform: translateY(-10px);
    }
    50% {
        transform: translateY(70px);
    }
    100% {
        transform: translateY(-10px);
    }
}

.contenedor-imagen-fondo-header img{
    width: 100%;
    height: 100%;
    vertical-align: top;
    object-fit: cover;
    object-position: 0px bottom;;
}


.menuheader {
    position: sticky;
    top: 0;
    background-color: rgba(255, 0, 0, 0.87);
    z-index: 999;
}

.menuheader ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}



.menuheader ul li a {
    text-decoration: none;
    color: #000;
    padding: 15px;
    transition: all 0.3s ease-in-out;
}

/* .menuheader ul li {
    margin: 0 0;
} */

.menuheader a {
    display: inline-block;
    text-align: center;
    color: rgb(0, 0, 0);
    padding: 20px;
    transition: all 0.3s ease-out 0s;
}

a {
    text-decoration: none;
    outline: none;
}

.tabmenu {
    display: flex;
    margin: 0;
    transition: background-color 0.3s, color 0.3s;
    float: left;
    color: #f2f2f2;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
}

.tabmenu:hover {
    background-color:  #363636cc;
    cursor: pointer;
    margin: 0;
}

.tabmenu:hover a {
    color: rgb(255, 0, 0);
}

@media (max-width: 48rem) {
    .nav-item {
        width: 100%;
        justify-content: center;
    }
}


.active {
    /* background-color: #a80000cc; */
    color: white;
    font-weight: bold;
}

.topnav a {
    text-decoration: none;
    color: white;
    display: inline-block;
    position: sticky;
    z-index: 1;
}

.navbar {
    position: sticky;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding: .5rem 1rem;
}

/* .spinner {
    background-image: linear-gradient(rgb(186, 66, 255) 35%,rgb(0, 225, 255));
    width: 50px;
    height: 50px;
    animation: spinning82341 1.7s linear infinite;
    text-align: center;
    border-radius: 50px;
    filter: blur(1px);
    box-shadow: 0px -5px 20px 0px rgb(186, 66, 255), 0px 5px 20px 0px rgb(0, 225, 255);
  }
  
  .spinner1 {
    background-color: rgb(36, 36, 36);
    width: 50px;
    height: 50px;
    border-radius: 50px;
    filter: blur(10px);
  }
  
  @keyframes spinning82341 {
    to {
      transform: rotate(360deg);
    }
  } */

/* Estilos para el formulario */




.contenedor-peliculas {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: auto;
    height: 100%;
}

.pelicula {
    width: calc(33.33% - 33.33%);
    margin: 10px;
    transition: transform 0.3s ease;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

/* Agrega este estilo cuando el mouse entra en la tarjeta */
.pelicula:hover {
    transform: scale(1.05); /* Puedes ajustar el valor según lo desees */
    box-shadow: 0px 8px 16px rgba(255, 0, 0, 0.446);
}

.contenedor-peliculas h1 {
    display: flex;
    justify-content: center;
}

.peliculas {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 1em 0;
}

@media screen and (max-width: 768px) {
    .pelicula {
        width: calc(50% - 20px); /* 2 columnas en tabletas */
    }
}

@media screen and (max-width: 480px) {
    .pelicula {
        width: calc(100% - 20px); /* 1 columna en teléfonos */
    }
}




.peliculas .pelicula {
    width: 100%;
    display: flex;
    justify-content: center;
    width: 330px;
    height: 525px;
    border-radius: 8px;
    margin: 20px;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.356);
    flex-direction: column;
}

.peliculas .pelicula img {
    margin: auto;
    width: 300px;
    height: 350px;
}

.peliculas .pelicula .informacion-pelicula {
    display: flex;
}

.peliculas .pelicula .informacion-pelicula p {
    flex: 1;
    margin-right: 0.5em;
}

.peliculas .pelicula button {
    border: 0.5em;
    border-radius: 5px;
    padding: 10px 25px;
    color: rgb(0, 0, 0);
    text-align: center;
    cursor: pointer;
    margin: 0.5em;
}

.peliculas .pelicula button:hover {
    background-color:  #363636cc;
    color: rgb(255, 0, 0);
}

button {
    cursor: pointer;
}

.contenedorinformacion {
    text-align: center;
    position: relative;
    width: 100%;
    padding: 1em;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.textos-tarjetas {
    color: antiquewhite;
    margin: auto;
}

.titulo-informacion {
    color: beige;
    padding-top: 2em;
    padding-bottom: 2em;
}

.titulo-recomendadas {
    color: beige;
    padding-top: 2em;
}

.texto-historia {
    color: bisque;
}

li {
    color: bisque;
}

.texto-informacion {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 90%;
}

.lista-caracterisiticas {
    list-style-type: circle;  
    margin-left: 20px;        
    padding-left: 0;          
}
.lista-caracterisiticas li {
    margin-bottom: 10px;      
}

/* NEW INDEX */

.html-newIndex, .body-newIndex {
    height: 100%;
    margin: 0;
    background-color: #2b2a2a;
}

.container-newIndex {
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 5em;
}

.profile-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    height: 100%;
    width: 100%;
    padding: 5em;
}

.div-newIndex {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%
}

.title-newIndex {
    font-size: 4em;
    margin-bottom: 1.5rem;
    font-weight: bold;
}

.title-newIndex .span-newIndex1 {
    color: rgb(234, 234, 234);
    margin: 0;
    padding: 0;
}

.title-newIndex .span-newIndex2 {
    color: rgb(255, 0, 0);
    margin: 0;
    padding: 0;
}

.text-newIndex {
    font-size: 1.25rem;
    color: rgb(255, 255, 255);
    margin-bottom: 2rem;
}

.new-btn {
    font-size: 1.2rem;
    padding: 0.8rem 1.5rem;
    border: none;
    outline: none;
    border-radius: 0.4rem;
    cursor: pointer;
    text-transform: uppercase;
    background-color: rgb(14, 14, 26);
    color: rgb(234, 234, 234);
    font-weight: 700;
    transition: 0.6s;
    box-shadow: 0px 0px 60px #1f4c65;
    -webkit-box-reflect: below 10px linear-gradient(to bottom, rgba(0,0,0,0.0), rgba(0,0,0,0.4));
    margin-top: 20px;
}

/* Media query para dispositivos con un ancho máximo de 768px (tabletas y dispositivos móviles) */
@media (max-width: 768px) {
    .title-newIndex {
        font-size: 3em; /* Reduje el tamaño del título para dispositivos más pequeños */
    }
}

/* Media query para dispositivos con un ancho máximo de 480px (dispositivos móviles) */
@media (max-width: 480px) {
    .title-newIndex {
        font-size: 2.5em; /* Reduje aún más el tamaño del título para dispositivos móviles */
    }
}

.new-btn:active {
    scale: 0.92;
}

.new-btn:hover {
    background: rgb(2,29,78);
    background: linear-gradient(270deg, rgba(2, 29, 78, 0.681) 0%, rgba(31, 215, 232, 0.873) 60%);
    color: rgb(4, 4, 38);
}

.tooltip-container {
    position: relative;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 17px;
    border-radius: 10px;
  }
  
  .tooltip {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    padding: 10px;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s;
    border-radius: 15px;
    box-shadow: inset 5px 5px 5px rgba(0, 0, 0, 0.2),
      inset -5px -5px 15px rgba(255, 255, 255, 0.1),
      5px 5px 15px rgba(0, 0, 0, 0.3), -5px -5px 15px rgba(255, 255, 255, 0.1);
  }
  
  .profile {
    background: #2a2b2f;
    border-radius: 10px 15px;
    padding: 10px;
    border: 1px solid rgba(11, 63, 95, 1);
  }
  
  .tooltip-container:hover .tooltip {
    top: -150px;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  
  .icon {
    text-decoration: none;
    color: #fff;
    display: block;
    position: relative;
  }
  .layer {
    width: 55px;
    height: 55px;
    transition: transform 0.3s;
  }
  .icon:hover .layer {
    transform: rotate(-35deg) skew(20deg);
  }
  .layer span {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    border: 1px solid #fff;
    border-radius: 5px;
    transition: all 0.3s;
  }
  
  .layer span,
  .text {
    color: #1da1f2;
    border-color: #1da1f2;
  }
  
  .icon:hover.layer span {
    box-shadow: -1px 1px 3px #1da1f2;
  }
  .icon .text {
    position: absolute;
    left: 50%;
    bottom: -5px;
    opacity: 0;
    font-weight: 500;
    transform: translateX(-50%);
    transition: bottom 0.3s ease, opacity 0.3s ease;
  }
  .icon:hover .text {
    bottom: -35px;
    opacity: 1;
  }
  
  .icon:hover .layer span:nth-child(1) {
    opacity: 0.2;
  }
  .icon:hover .layer span:nth-child(2) {
    opacity: 0.4;
    transform: translate(5px, -5px);
  }
  .icon:hover .layer span:nth-child(3) {
    opacity: 0.6;
    transform: translate(10px, -10px);
  }
  .icon:hover .layer span:nth-child(4) {
    opacity: 0.8;
    transform: translate(15px, -15px);
  }
  .icon:hover .layer span:nth-child(5) {
    opacity: 1;
    transform: translate(20px, -20px);
  }
  
  .layer span.fab {
    font-size: 30px;
    line-height: 64px;
    text-align: center;
    fill: #1da1f2;
    background: #000;
  }
  .user {
    display: flex;
    gap: 10px;
  }
  .img-In {
    width: 70px;
    height: 70px; 
    background-image: url("../assets/miFoto.jpeg");
    background-size: cover;
    background-position: center;
    font-size: 25px;
    font-weight: 700;
    border: 1px solid #1da1f2;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .name {
    font-size: 17px;
    font-weight: 700;
    color: #1da1f2;
  }
  .details {
    display: flex;
    flex-direction: column;
    gap: 0;
    color: #fff;
  }
  .about {
    color: #ccc;
    padding-top: 5px;
  }


/* FOOTER */
footer {
    width: 100%;
}

.contenedorContactos {
    background-color: rgb(255, 0, 0);
    height: 60px;
    margin: 0;
    margin-top: 8em;
    margin-bottom: 0;
    padding: 1em 3em;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}


.derechos {
    font-size: 15px;
    text-align: justify center;
    align-items: center;
    /* text-align: 2em; */
    color: rgb(0, 0, 0);
    display: flex;
    flex-direction: row;
}

.cardContactos {
    margin: 0.4em;
}

.listaContactos {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-direction: row;
    justify-content: center;
    margin: 0;
    padding: 0;
}


.cardContactos i{
    transition: transform 0.3s ease-in-out;
    color: white;
}

.cardContactos:hover i{
    transform: scale(1.3);

}

.cardContactos:hover i.fa-brands.fa-github.fa-xl {
    color: var(--github-color);
}

.cardContactos:hover i.fa-brands.fa-whatsapp.fa-xl {
    color: var(--whatsapp-color);
}

.cardContactos:hover i.fa-brands.fa-linkedin-in.fa-xl {
    color: var(--linkedin-color);
}

:root {
    --github-color: #181717;
    --whatsapp-color: #25D366; 
    --linkedin-color: #0077;
}
