@keyframes float {
    0%,
    100% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(20px, -20px);
    }
}

body,
html {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    height: 100%;
}

.container {
    min-height: 100vh;
    background: linear-gradient(to bottom right, #111, #333);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.background {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.background div {
    position: absolute;
    background-color: rgba(229, 9, 20, 0.2);
    border-radius: 50%;
}

.form-container {
    width: 100%;
    max-width: 32rem;
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

h1 {
    color: white;
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

.netflix-image {
    width: 100%;
    height: 12rem;
    overflow: hidden;
    border-radius: 0.5rem;
    margin-bottom: 2rem;
}

.netflix-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.netflix-image img:hover {
    transform: scale(1.1);
}

.form-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

h2 {
    color: white;
    font-size: 1.5rem;
    text-align: center;
}

/*
input {
    width: auto;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    border: 1px solid #ccc;
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}
*/

input {
    width: auto; /* Ajustar el ancho del input */
    padding: 0.75rem 1rem; /* Padding existente */
    border-radius: 0.5rem; /* Bordes redondeados */
    border: 1px solid #ccc; /* Borde existente */
    background-color: rgba(255, 255, 255, 0.2); /* Color de fondo existente */
    color: white; /* Color del texto existente */
    outline: none; /* Sin contorno al enfocar */
    transition: border-color 0.2s, box-shadow 0.2s; /* Transición existente */

    text-align: center; /* Centrar el texto */
    font-size: 1.2em; /* Aumentar el tamaño de la fuente */
    /* margin: 10px auto; Centrarse en la pantalla */
    display: block; /* Asegurar que el input se considere como bloque */
}

input:focus {
    border-color: #e50914;
    box-shadow: 0 0 0 2px rgba(229, 9, 20, 0.2);
}

button {
    width: 100%;
    padding: 0.75rem 1rem;
    background-color: #e50914;
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s, transform 0.2s;
}

button:hover {
    background-color: #f40612;
    transform: scale(1.02);
}

.search-icon {
    margin-left: 0.5rem;
    transition: transform 0.3s;
}

button:hover .search-icon {
    transform: translateX(4px);
}

.help-text {
    color: #ccc;
    text-align: center;
    font-size: 0.875rem;
    cursor: pointer;
    transition: color 0.2s;
}

.help-text:hover {
    color: #e50914;
}

footer {
    margin-top: 2rem;
    color: #999;
    font-size: 0.875rem;
    text-align: center;
    z-index: 10;
}
