body {
  font-family: Arial, sans-serif;
  box-sizing: border-box;
  background: #f0f0f0;
  padding: 4%;
}

main {
  max-width: 600px;
  margin: 0 auto;
  min-height: 50vh;
  background: white;
  border-radius: 10px;
  padding: 4%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

section {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pregunta {
  width: 100%;
  text-align: center;
  margin-bottom: 1.5em;
  z-index: 1;
}

input {
  margin-bottom: .75em;
  padding: .75em;
  border: 1px solid #ccc;
  border-radius: 8px;
  width: 80%;
  font-size: 1.1em;
  z-index: 1;
  position: relative;
}

button {
  font-weight: bold;
  color: white;
  background-color: #6200ea;
  border: none;
  padding: 0.75em 1.5em;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #4500b5;
}

.ball8 {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: black;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 1.5em auto;
  position: relative;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  z-index: 0;
}

.ball8-circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: white;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.2em;
  color: black;
  position: relative;
  text-align: center;
  overflow: hidden;
  padding: 10px;
  box-sizing: border-box;
}

.respuesta {
  font-family: 'Courier New', Courier, monospace;
  font-size: 1em;
  color: black;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 100%;
  padding: 10px;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.respuesta span {
  color: red;
  font-weight: bold;
  font-size: 1.2em;
}

h1 {
  text-align: center;
  color: #6200ea;
  margin-bottom: 1.5em;
}

.disclaimer {
  margin-top: 10vh;
  font-size: .8em;
  color: grey;
  text-align: center;
}
