* {
  margin: 0;
  padding: 0;
}

body {
  background-image: linear-gradient(
    to bottom,
    #6566cb,
    #6968ce,
    #6c69d1,
    #706bd3,
    #746cd6,
    #6f70d6,
    #6a74d6,
    #6677d6,
    #5b7cd1,
    #5480ca,
    #5283c3,
    #5486ba
  );
  height: 100vh;
  width: 100vw;
  font-family: "MarselisPro";
}

.container {
  height: 90vh;
  width: 45vw;
  margin: auto;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

#form {
  display: flex;
  flex-direction: column;
}

.labelContainer {
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin-bottom: 4%;
}

.potencial-box {
  background: #fff;
  border-radius: 5px 5px 0 0;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.divPotencial {
  display: flex;
  justify-content: space-between;
}

.potencialLabel {
  background-color: #373066;
  color: #fff;
  padding: 8px;
  text-align: center;
  border-radius: 5px 5px 0 0;
}

.potencialLabel span {
  text-align: center;
  font-size: 13px;
  margin: auto;
}

.divCalc {
  background-color: white;
  height: 40px;
  border-radius: 0 0 5px 5px;
}

.displayResult {
  padding: 16px 8px;
  font-size: 1.8em;
}

.demo {
  color: white;
  text-align: center;
  font-size: 15px;
  letter-spacing: 1px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

button {
  margin-top: 20px;
  border-radius: 100px;
  border: none;
  background-color: #373066;
  letter-spacing: 1.5px;
  color: white;
  cursor: pointer;
  transition: 0.3s;
  font-size: 22px;
  padding: 20px 30px;
  font-family: "MarselisPro";
}

button:hover {
  background-color: #2c2558;
}

a {
  text-decoration: none;
  color: white;
}

label {
  width: 45%;

  color: white;
}

input {
  width: 45%;
  border: none;
  border-radius: 10px;
  padding: 12px 12px;
  color: black;
}

#horas_dia {
  background-color: white;
  width: 49%;
  border: none;
  border-radius: 10px;
  padding: 12px 15px;
  color: black;
}

header {
  padding: 15px;
  text-align: center;
  margin-bottom: 20px;
  color: white;
  letter-spacing: 2px;
}

@media (max-width: 720px) {
  .container {
    height: 100vh;
    width: 90vw;
    margin: auto;
  }

  #form {
    width: 100%;
    flex-wrap: wrap;
  }

  .labelContainer {
    flex-wrap: wrap;
  }

  .labelContainer label {
    width: 90%;
    margin-bottom: 10px;
    text-align: center;
    font-size: 18px;
  }

  input {
    width: 60%;
  }

  #horas_dia {
    width: 65%;
  }

  header {
    margin-bottom: 10px;
  }

  .potencialLabel {
    padding: 4px;
    font-size: 0.8em;
  }

  .displayResult {
    padding: 9px 8px;
    font-size: 1.2em;
  }

  .demo {
    margin-top: 20px;
  }

  button {
    padding: 10px 15px;
    font-size: 16px;
  }
}

@media (max-width: 1025px) {
  .container {
    height: 100vh;
    width: 90vw;
    margin: auto;
    justify-content: flex-start;
  }

  #form {
    margin-top: 25px;
    flex-wrap: wrap;
  }

  .labelContainer {
    flex-wrap: wrap;
  }

  .labelContainer label {
    font-size: 18px;
    width: 90%;
    text-align: center;
    margin-bottom: 10px;
  }
  input {
    width: 45%;
  }
  #horas_dia {
    width: 47%;
  }

  header {
    margin-bottom: 15px;
  }

  .demo {
    font-size: 18px;
  }

  .divPotencial {
    margin-bottom: 20px;
  }

  button {
    font-size: 20px;
    padding: 18px 25px;
  }
}
