html body {
    background: #70808d;
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://dttdaayzcgcvisqfwemi.supabase.co/storage/v1/object/public/Certificador/fondo.png');
    background-size: 65%;
    background-position: center;
    opacity: 0.5; 
    z-index: -1; /* Asegura que esté detrás del contenido */
    
}
body {
    display: flex;
    justify-content: center; /* centra horizontalmente */
    align-items: center;     /* centra verticalmente */
    min-height: 100vh;       /* ocupa toda la altura de la pantalla */
    margin: 0;
    padding: 15px;           /* un poco de aire en pantallas chicas */
}

.certificados {
    padding: 15px 40px 30px 40px;
    border-radius: 20px;
    background-color: #70808d;
    opacity: 0.9;
    text-align: center; 
    max-width: 500px;        /* no se hace gigante en pantallas grandes */
    width: 100%;             /* ocupa todo el ancho disponible en móviles */
    box-sizing: border-box;  /* padding no desborda el ancho */
}

.certificados .single {
   padding: 30px 40px;            /* espacio interno */
   border-radius: 20px;           /* bordes redondeados */
   display: inline-block;         /* se ajusta al contenido */
   margin: auto;  

}

.certificados .single h2 {
    font-size: 22px;
    color: #eaf1f7;
    text-transform: uppercase;
    margin-bottom: 40px;
}

.certificados .single .form-control {
    height: 50px;
    background: rgba(255, 255, 255, 0.6);
    border-color: transparent;
    border-radius: 20px 0 0 20px;
}

.certificados .single .form-control:focus {
    box-shadow: none;
    border-color: #243c4f;
}

.certificados .single .btn {
    min-height: 50px;
    border-radius: 0 20px 20px 0;
    background: #243c4f;
    color: #fff;
}

.certificados .single .btn {
    min-height: 50px;
    border-radius: 0 20px 20px 0;
    background: #243c4f;
    color: #fff;
    transition: background 0.3s ease;
}

.certificados .single .btn:hover {
    background: #1a2736; /* Un color más oscuro al pasar el ratón */
}

