/* Estilos generales */
* {
  box-sizing: border-box;
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
}

body {
  background-image: url('../img/cidete24.jpg');

  background-repeat: no-repeat;
  background-size: cover;
}

h1 {
  font-size: 2rem;
  text-align: center;
  margin: 2rem 0;
}
h2 {

  text-align: center;
  margin: 2rem 0;
}

/* Estilos para el contenedor principal */
.main-container {
  max-width: 600px;
  margin: 0 auto;
  background-color: rgb(255, 255, 255);
  padding: 2rem;
  border-radius:20px;
  box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.40);
}

/* Estilos para los campos del formulario */
form {
  display: flex;
  flex-wrap: wrap;
}

label {
  display: block;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  width: 100%;
  color: #6b6b6b;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select {
  font-size: 1.2rem;
  padding: 0.5rem;
  border-radius: 5px;
  border: 1px solid #ccc;
  width: 100%;
  margin-bottom: 1rem;
  background-color: #f7f7f7;
  color: #6b6b6b;
}
input::placeholder {
  color: rgba(0, 0, 0, 0.295);
  font-size: 0.8em;
  font-style: italic;
}

select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: url('data:image/svg+xml;utf8,<svg fill="#6b6b6b" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M7.41 8.59L12 13.17l4.59-4.58L18 10l-6 6-6-6 1.41-1.41z"/></svg>') no-repeat right 0.75rem center;
  background-size: 12px;
  padding-right: 2rem;
}

input[type="radio"] {
  margin-right: 0.5rem;
}

.btn {
  background-color: #554cfc;
  color: #ffffff;
  padding: 0.75rem 2rem;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
  margin-top: 1rem;
  transition: background-color 0.3s ease-in-out;
}

.btn:hover {
  background-color: #3029ad;
}

/* Estilos para los mensajes de error */
.error {
  color: #d93025;
  margin-bottom: 1rem;
}

/* Estilos para la etiqueta "requerido" */
label[for]:after {
  content: " *";
  color: #d93025;
}

/* Estilos para dispositivos móviles */
@media (max-width: 768px) {
  form > * {
    flex-basis: 100%;
  }

  
}
