body {
  font-family: "Inter", Arial, sans-serif;
}
.main {
  height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr;
  margin: 25px;
}
.message {
  background-color: #00bfff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: whitesmoke;
  text-align: center;
}
p {
  font-weight: 400;
}
.message > h1 {
  color: white;
  font-weight: 900;
}
h1 {
  font-weight: 900;
  font-size: 40px;
  text-align: center;
}
button {
  border-radius: 20px;
  border: none;
  padding: 12px 20px;
  background-color: #00bfff;
  color: white;
  cursor: pointer;
  margin-top: 10px;
  font-weight: 600;
  transition: background-color 0.3s ease;
}
button:hover {
  background-color: #009acd;
}

.but {
  display: flex;
  justify-content: center;
  font-weight: 600;
}
.form-group {
  margin-bottom: 25px;
}
label {
  font-weight: 500;
  margin-bottom: 6px;
  display: block;
}
input {
  height: 25px;
}
select {
  height: 45px;
}

select,
input,
textarea {
  width: 100%;
  border: none;
  color: black;
  padding: 10px;
  border-radius: 8px;
  cursor: pointer;
  background-color: #f1f5f9;
}
option {
  cursor: pointer;
}
input::placeholder,
select::placeholder {
  color: #a0aec0;
}
.form {
  padding: 1.6rem;
}
form {
  margin-left: 50px;
  margin-right: 50px;
}
#btn:disabled {
  background-color: gray;
  cursor: not-allowed;
  opacity: 0.7;
}
#spinner {
  display: none;
  border: 3px solid #f3f3f3;
  border-top: 3px solid #3498db;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  margin-left: 10px;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@media (max-width: 1022px) and (min-width: 768px) {
  .main {
    margin: 15px;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  form {
    margin-left: 30px;
    margin-right: 30px;
  }
  h3 {
    font-size: 20px;
  }
}
@media (max-width: 767px) {
  .main {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    margin: 10px;
  }
  h1 {
    font-size: 28px;
  }
  h3 {
    font-size: 18px;
  }
  form {
    margin-left: 10px;
    margin-right: 10px;
  }
  input,
  select,
  textarea {
    font-size: 14px;
    padding: 8px;
  }
}
