.bodyRegistro { background-color: #e4e4df; width: 100%; margin: 0 auto; padding: 1%; } h1.titRegistro { text-align: center; text-transform: capitalize; font-size: 40px; margin-top: 11%; font-style: Jockey One; color: #000000; padding: 10px; } .bodyRegistro h4{ font-size: 20px; margin-top: 1.5%; font-style: Jockey One; color: #000000; padding: 10px; } .formRegistro { margin-top: 20px; padding: 10px; display: flex; flex-wrap: wrap; flex-direction: row; justify-content: space-evenly; /* Permite que los elementos se envuelvan si no caben en una sola línea */ } .campo { width: 28%; /* Ancho de cada campo (menos el espacio entre ellos) */ margin-left: 0%; margin-right: 0%; margin-top: 1.5%; display: flex; flex-direction: column; /* Cambiar la dirección del flujo a vertical */ overflow: hidden; /* Oculta cualquier contenido que se desborde del área del input */ } #campoTelefono{ margin-left: 10%; } #campoTelefonoCasa{ margin-right: 10%; } #campoCorreo{ margin-left: 9%; } #campoContraseña{ margin-right: 9%; } .campo label { padding-left: 2%; font-size: 25px; } .campo input[type="text"], .campo input[type="number"], .campo select, .campo input[type="password"], .campo input[type="date"], .campo input[type="email"] { background-color: #D5EEBB; width: 100%; /* Ocupar todo el ancho disponible */ padding: 5px; border-radius: 5px; border: 1px solid #ccc; box-sizing: border-box; font-size: 16px; transition: border-color 0.3s ease; margin-top: 0px; /* Espacio entre el label y el input */ } .btnenviar{ text-align: center; /* Centra horizontalmente el contenido */ } .boton { text-align: center; background-color: #474941; color: #D5EEBB; border: none; font-size: larger; padding: 15px 30px; cursor: pointer; border-radius: 20px; margin-top: 1%; font-weight: bold; /* Hace que el texto esté en negrita */ } .boton:hover { background-color: #55574f; }