@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600&display=swap');

:root {
  --bg-color: #fcf6ff;
  --text-color: #2b2d42;
  --highlight-color: #0075FF;
  --border: #bebebe;
}

* {
  margin: 0;
  padding: 0;
  font-size: 62.5%;
  outline: none;
  font-family: 'Montserrat';
  font-weight: 600;
  color: var(--text-color);
  background-color: var(--bg-color);
}

button {
  border: 0;
  padding-left: 1rem;
}

i {
  font-size: 1.5rem;
}

i:hover {
  cursor: pointer;
  color: var(--highlight-color);
}

.main {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form {
  height: 500px;
  width: 90%;
  max-width: 600px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  box-shadow: rgba(0, 0, 0, 0.2) 0px 12px 28px 0px, rgba(0, 0, 0, 0.1) 0px 2px 4px 0px, rgba(255, 255, 255, 0.05) 0px 0px 0px 1px inset;
}

.form h1 {
  font-size: 2rem;
}

.form p {
  width: 70%;
  text-align: center;
  font-size: 0.9rem;
  color: #2b2d4274;
}

.password {
  display: flex;
  border: 1px solid var(--border);
  padding: 1rem;
  margin: 0 1rem;
}

.password:hover {
  border: 1px solid var(--highlight-color);
}

.password input {
  font-size: 1.2rem;
  border: none;
  width: 100%
}

.popup {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: var(--bg-color);
  padding: 2rem;
  border: 1px solid #ccc;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  z-index: 1000;
}

.popup_content p {
  margin: auto;
}

.close {
  position: absolute;
  top: 5px;
  right: 10px;
  font-size: 2rem;
  cursor: pointer;
}

.toolbar {
  display: flex;
  flex-direction: column;
  text-align: center;
  gap: 2rem;
  font-size: 2rem;
}

.input_number {
  border: 1px solid var(--border);
  padding: 1rem;
  width: 40px;
  margin: auto;
}

.input_number:hover {
  border: 1px solid var(--highlight-color);
}

.input_range {
  cursor: pointer;
}

@media (min-width: 600px) {

  i {
    font-size: 2rem;
  }

  .form h1 {
    font-size: 3rem;
  }

  .form p {
    font-size: 1.3rem;
  }

  .password {
    padding: 2rem;
  }

  .password input {
    font-size: 2.2rem;
    font-weight: 400;
  }

  .toolbar {
    font-size: 2.5rem;
  }

}