@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;600&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body, html {
  width: 100%;
  height: 100%;
}

.container {
  background-image: url(./img/b2ap3_large_Stilo-logo\ \(1\).jpg);
  background-size: cover;
  background-position: center;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quadrado {
  background-color: #353333;
  opacity: 0.9;
  width: 90%;
  max-width: 600px;
  padding: 20px;
  border-radius: 15px;
  border: solid 2px #91ff00;
  box-shadow: 0 0 20px #91ff00;
  text-align: center;
}

h1 {
  color: #7fff00;
  font-size: 36px;
  margin-bottom: 20px;
  font-weight: 700;
}

input {
  width: 80%;
  padding: 10px;
  border: 2px solid #7fff00;
  border-radius: 8px;
  background-color: dimgrey;
  color: #91ff00;
  font-size: 20px;
  text-align: center;
  outline: none;
  margin-bottom: 20px;
}

input::placeholder {
  color: #91ff00;
}

.botoes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-bottom: 20px;
}

button {
  background-color: #91ff00;
  color: #353333;
  border: none;
  padding: 10px 20px;
  border-radius: 12px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 0 8px #91ff00, 0 0 15px #91ff00;
}

button:hover {
  background-color: #aaff00;
  box-shadow: 0 0 12px #91ff00, 0 0 25px #91ff00;
  transform: scale(1.05);
}

#resultado {
  font-size: 26px;
  font-weight: bold;
  color: #91ff00;
  padding: 10px;
  min-height: 40px;
}

h3 {
  color: #91ff00;
  margin-top: 20px;
  font-size: 22px;
}

.linha {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 10px;
}

.linha span {
  padding: 6px 10px;
  background: #222;
  border-radius: 5px;
  color: #91ff00;
  font-size: 16px;
  border: 1px solid #91ff00;
}


@media (max-width: 600px) {
  .quadrado {
    width: 90%;
    padding: 20px;
  }

  h1 {
    font-size: 28px;
  }

  input {
    width: 90%;
    font-size: 18px;
  }

  button {
    width: 90%;
    font-size: 16px;
  }

  #resultado {
    font-size: 22px;
  }
}
