/* Estilos generales */
body {
  font-family: "Quicksand", sans-serif;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  margin: 2% 15% 5% 15%;
  line-height: 1.5;
}

body h1 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 2% 15% 5% 15%;
  font-weight: 800;
  text-align: center;
  color: #6159E6;
  background-color: #f1f0ff;
  padding: 50px;
  font-size: 40px;
  border-radius: 30px;
}

body h3 {
  margin: 2% 15% 0 15%;
  font-size: 30px;
  font-weight: 600;
}

body p {
  margin: 2% 15% 5% 15%;
  justify-content: center;
  text-align: justify;
  font-size: 18px;
}

body ul {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  
}

/* Estilo para la sección de radar */
.form_radar {
  display: inline-block;

}

.form_radar .container {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.form_radar form {
  display: flex;
  flex-direction: column;
  max-width: 300px;
  align-items: flex-start;
}

.form_radar form div {
  width: 100%;
}

.form_radar form div input {
  border: 0.2px solid #EAECEB;
  border-radius: 10px;
  margin: 10px 0;
  padding: 10px;
  text-align: center;
  font-family: "Quicksand", sans-serif;
  font-size: 15px;
  width: 100%;
}

.lado_izquierdo {
  flex-grow: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

#grafica {
  width: 800px;
  height: 800px;
  margin: 20px;
}

/* Estilo para los botones */
.botones {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  width: 100%;
}

.botones button {
  margin: 0 10px;
  padding: 10px 20px;
  font-size: 16px;
  border-radius: 10px;
  background-color: #6159E6;
  color: #fff;
  border: none;
  cursor: pointer;
}


/* Alineación de los inputs y el canvas en la sección form_radar */
.form_radar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin: 0 auto;
  max-width: 1200px;
}

.form_radar form {
  display: flex;
  flex-direction: column;
  width: 50%;
  align-items: stretch;
}

.form_radar form div {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.form_radar form div input[type="text"],
.form_radar form div input[type="number"] {
  flex: 1;
  margin: 5px;
  padding: 10px;
  font-size: 12px;
}

#polarChart {
  width: 100%;
  height: auto;
  max-width: 700px;
  max-height: 700px;
  margin: 0 auto;
}

#grafica {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50%;
}
