body,
input,
label,
h2,
.cuota,
p,
span {
  font-family: 'Red Hat Display', sans-serif;
}

html, body {
  margin: 0;
  padding: 0;
  width: 100vw;
  box-sizing: border-box;
  font-size: 1rem;
  background: transparent;
  color: #0f1e25;
}

.calculadora-era {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 3rem;
  box-sizing: border-box;
}

.grupo {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.grupo label {
  font-weight: 600;
  font-size: 1.1rem;
}

.grupo input[type='text'] {
  font-size: 1.5rem;
  font-weight: 400;
  color: #0f1e25;
  background: transparent;
  border: none;
  outline: none;
  text-align: left;
  padding: 0;
  max-width: 100%;
  max-height: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.grupo input[type='range'] {
  width: 100%;
  accent-color: #0f1e25;
  max-width: 100%;
  max-height: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.resultado {
  grid-column: 1 / -1;
  margin-top: 3rem;
  border-top: 10px solid #c8102e;
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1rem;
  max-width: 100%;
  max-height: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.resultado h2 {
  font-size: 1.2rem;
  font-weight: 400;
  margin: 0;
}

.resultado .cuota {
  font-size: 2.5rem;
  font-weight: 700;
  max-width: 100%;
  max-height: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .calculadora-era {
    padding: 1rem;
    margin: 0 auto;
    grid-template-columns: 1fr;
  }

  .grupo label {
    font-size: 1rem;
  }

  .grupo input[type='text'] {
    font-size: 1.3rem;
  }

  .resultado {
    margin-top: 1rem;
    padding-top: 1rem;
    flex-direction: column;
    align-items: flex-start;
  }

  .resultado h2 {
    font-size: 0.9rem;
  }

  .resultado .cuota {
    font-size: 2rem;
  }
}

