@import url('https://fonts.googleapis.com/css2?family=Francois+One&display=swap');

* {
  margin: 0;
  padding: 0;
}

body {
  overflow-x: hidden;
  background-color: #F7F6E7;
}

h1 {
  font-family: 'Francois One', sans-serif;
  text-align: center;
  color: #5B44FB;
  padding: 50px 40px;
  font-size: 36px;
}

.container {
  overflow-x: hidden;
  height: auto;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.container>p {
  color: #5B44FB;
  font-size: 20px;
  font-family: 'Francois One', sans-serif;
  margin-bottom: 50px;
  text-align: center;
}

.boxFormulario {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #CCCCCC;
  height: auto;
  margin: 0 0 50px 0;
  width: 600px;
  border: none;
  border-radius: 5px;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

.boxFormulario h2 {
  font-family: 'Francois One', sans-serif;
  text-align: center;
  font-size: 34px;
  color: #5B44FB;
  margin-bottom: 15px;
}

.boxFormulario span {
  font-family: 'Francois One', sans-serif;
  font-size: 26px;
  margin-bottom: 20px;
  color: #3c3c3c;
}

.formulario {
  width: 50%;
  height: auto;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
  padding: 25px 0;
}

.formulario>input {
  height: 40px;
  text-align: center;
  width: 100%;
  border: none;
  border-radius: 5px;
  font-family: 'Francois One', sans-serif;
  font-size: 18px;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

/* Propriedade que altera o bg dos inputs */
#letraMaiuscula,
#letraMinuscula,
#numeros,
#caracteresEspeciais {
  accent-color: #5B44FB;
}

#inputNumero {
  text-align: center;
  padding: 5px 0;
}

/* Botão para voltar para a home - Calcuke Aki */
.btnIndex,
.btnVoltar {
  height: 60px;
  width: 230px;
  font-size: 24px;
  border: none;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 5px;
  background-color: #5B44FB;
  color: #fff;
  transition: 1s;
  cursor: pointer;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  margin: 10px 0 50px 0;
  text-decoration: none;
  text-align: center;
}

.btnCopiar {
  height: 40px;
  width: auto;
  font-size: 24px;
  border: none;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 5px;
  background-color: #5B44FB;
  color: #fff;
  transition: 1s;
  cursor: pointer;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  margin: 25px 0;
  text-decoration: none;
  text-align: center;
  padding: 0 20px;
}

.btnIndex {
  margin-top: 50px;
  width: 230px !important;
}

.btnIndex:hover,
.btnVoltar:hover,
.btnCopiar:hover {
  border: 2.5px #3c3c3c solid;
  background-color: transparent;
  border-radius: 5px;
  transition: 1s;
  color: #3c3c3c;
}


.inputs {
  width: 600px;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  flex-wrap: wrap;
  margin: 0 0 50px 0;
  padding: 25px 0;
  gap: 50px;
  background-color: #CCCCCC;
  border-radius: 5px;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  text-align: center;
}

.inputs>label {
  font-size: 22px;
}

.inputs>div>.inputNumero {
  width: 50px;
  margin: 20px 0;
}

.boxNumero {
  display: flex;
  justify-content: center;
  flex-direction: column-reverse;
  align-items: center;
  gap: 10px;
}

input[type="checkbox"] {
  height: 30px;
  width: 30px;
}

input[type="range"] {
  -webkit-appearance: none;
  color: #5B44FB;
  width: 200px;
  height: 20px;
  border-radius: 10px;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  background-color: #5B44FB;
  width: 20px;
  border-radius: 10px;
  height: 20px;
}

.inputsResponsive {
  display: flex;
  flex-direction: column-reverse;
  justify-content: center;
  align-items: center;
  gap: 5px;
  min-width: 150px;
  padding: 0 50px;
  flex: 1 0 150px;
}

.inputsResponsive:nth-child(5) {
  flex: 1 0 600px;
  flex-wrap: wrap;
}

/* Estilo para Smartphone */
@media only screen and (max-width: 768px) {

  .container {
    justify-content: flex-start;
    height: auto;
  }

  h1 {
    padding: 40px 0;
  }

  .boxFormulario {
    width: 90%;
    height: 300px;
    padding: 30px 0 30px 0;
  }

  .formulario {
    width: 90%;
  }

  .boxFormulario h2 {
    font-size: 24px;
    width: 90%;
  }

  .boxFormulario .btnVoltar {
    width: 80%;
  }

  .boxFormulario label {
    font-size: 18px;
    width: 100%;
  }

  .boxFormulario input {
    width: 90%;
  }

  .boxFormulario {
    height: auto;
    width: 600px;
  }

  .boxResultado {
    padding: 15px;
    width: 85%;
    font-size: 18px;
  }

  .btnIndex {
    width: 230px
  }

  .inputs {
    width: 600px !important;
    height: auto;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin: 50px auto;
    height: auto;
    flex-direction: row;
    gap: 20px;
    flex: 1 0 100px;
  }

  .inputsResponsive {
    min-width: 100px !important;
    max-width: 50px !important;
    height: auto;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
  }

  .inputsResponsive:nth-child(5) {
    padding: 0 200px;
  }

  .inputsResponsive .boxNumero {
    width: 100%;
    margin: auto;
    justify-content: center;
    align-items: center;
    clear: both;
  }

}

@media only screen and (max-width: 425px) {

  .inputs {
    width: 90% !important;
    flex-wrap: wrap;
  }

  .inputsResponsive {
    max-width: 50px !important;
    min-width: 50px !important;
    padding: 0 40px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    align-content: center;
  }

  .boxFormulario {
    width: 300px;
  }

  .btnIndex {
    width: 300px;
  }

}