* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}
body {
  background-color: #050f38;
}

.logo-img img {
  width: 4em;
  height: 4em;
  margin-right: 1em;
  font-size: 1.2em;
}

.logo-img {
  display: flex;
  justify-content: center;
  align-items: center;
}

.container {
  width: min(60%, 28.12em);
  position: absolute;
  transform: translate(-50%, -50%);
  top: 50%;
  left: 50%;
}
.container * {
  border: none;
  outline: none;
}
.input-wrapper {
  background-color: #ffffff;
  padding: 1.87em 1.5em;
  border-radius: 0.5em;
  box-shadow: 0 0.93em 1.25em rgba(0, 0, 0, 0.3);
  margin-bottom: 3.12em;
  display: grid;
  grid-template-columns: 9fr 3fr;
  gap: 1em;
}
input,
button {
  font-weight: 500;
  border-radius: 0.31em;
}
input {
  background-color: #eeeeff;
  color: #080808;
  padding: 1.2em 1.25em;
  font-size: 0.87em;
}
button {
  color: #050f38;
  background-color: #e9db18;
}
.output-wrapper {
  width: 100%;
  display: flex;
  justify-content: space-between;
}
.output-wrapper div {
  height: 6.25em;
  width: 6.25em;
  background-color: #ffffff;
  border-radius: 0.31em;
  color: #080808;
  display: grid;
  place-items: center;
  padding: 1.25em 0;
  box-shadow: 0 0.93em 1.25em rgba(0, 0, 0, 0.3);
}
span {
  font-size: 1.87em;
  font-weight: 500;
}
p {
  font-size: 0.87em;
  color: #ffffff;
  font-weight: 400;
  align-items: center;
}

/* Media queries para dispositivos móveis */
@media only screen and (max-width: 600px) {
  /* Ajusta o container para ocupar mais a largura da tela e posicionamento relativo */
  .container {
    width: 90%;
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    margin: 1em auto;
  }
  
  /* Ajusta o layout do input-wrapper para uma coluna única */
  .input-wrapper {
    grid-template-columns: 1fr;
    gap: 0.5em;
    padding: 1.5em;
  }
  
  /* Reduz os tamanhos dos inputs e botões para telas menores */
  input,
  button {
    padding: 0.8em 1em;
    font-size: 0.9em;
  }
  
  /* Redimensiona a logo para se adequar a telas menores */
  .logo-img img {
    width: 3em;
    height: 3em;
  }
  
  /* Ajusta o layout dos elementos de saída para empilhar verticalmente */
  .output-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 1em;
  }
  
  .output-wrapper div {
    width: 80%;
    height: auto;
    padding: 1em;
  }

  h1 {
    white-space: nowrap;
    /* Você pode ajustar o tamanho da fonte se ainda estiver muito grande */
    font-size: 1.5em; /* ajuste conforme necessário */
    color: #ffffff;
  }
  
  /* Ou, se o elemento tiver a classe "titulo" */
  .titulo {
    white-space: nowrap;
    font-size: 1.5em; /* ajuste conforme necessário */
  
}
}