/* RESET BÁSICO */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Montserrat', Verdana, sans-serif;
    background-color: #fff;
    color: #000;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden; 
}

/* VÍDEO DE FONDO */
#bgvid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; 
    z-index: -1;
}

/* CONTENEDOR PRINCIPAL (#peli) */
#peli {
    background-color: rgba(211,211,211,0.9);
    width: 90%;
    max-width: 800px; 
    padding: 3rem 2rem;
    border-radius: 0px; 
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    z-index: 1;
}

#formulari_clave {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* LOGO Y TEXTOS */
.logo {
    max-width: 90%;
    height: auto;
    margin-bottom: 1.5rem;
}

.any {
    font-size: clamp(1.5rem, 4vw, 2.5rem); 
    color: #666666;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.any2 {
    font-size: clamp(2rem, 7vw, 10rem); 
    color: #666666;
    font-weight: 400;
    line-height: 1;
    user-select: none;
    margin-bottom: 1rem;
}

/* BOTONES */
.botones-nav {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    margin-top: 1rem;
}

.botonm {
    display: flex;
    justify-content: center;
    align-items: center;
    color: #000;
    text-decoration: none;
    background: #ff9d1b;
    padding: 1rem 2rem;
    border-radius: 0px;
    width: 100%;
    max-width: 350px;
    font-size: 1.1rem;
    transition: background 0.3s ease, transform 0.2s ease;
}

.botonm:hover {
    background: #fff;
    transform: scale(1.08);
}

p input[type=password],
p input[type=text] 
{
    border:1px solid #ccc;
    color:#666;
      height: 50px;
    margin:3px 0px;
	min-width: 60%;
	font-size: 1.2rem;
padding-left: 20px;
padding-right: 20px;
}


/* MEDIA QUERIES PARA PANTALLAS GRANDES */
@media (min-width: 768px) {
    .botones-nav {
        flex-direction: row;
        justify-content: center;
    }
    
    #peli {
        padding: 4rem;
    }
}