@import url("https://fonts.googleapis.com/css2?family=DM+Mono:wght@500&family=DM+Sans:wght@400;500;700&display=swap");
body {
  font-family: "DM sans", sans-serif;
  margin: 0;
  padding: 0;
  height: 100vh;
  background: linear-gradient(90deg, #3c1053, #ad5389);
}
h1 {
  text-align: center;
  color: #fff;
  margin: 3rem;
}
form {
  display: flex; /* Use flexbox */
  flex-wrap: wrap; /* Wrap the form elements to the next line if needed */
  justify-content: space-between; /* Align items with space between them */
  width: 300px;
  margin: 0 auto;
  background-color: rgba(51, 50, 50, 0.5);
  width: 60%;
  max-width: 400px;
  padding: 45px 30px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

label {
  display: block;
  margin-bottom: 10px;
  color: #fff;
  flex-basis: 100%; /* Make each label span the full width */
}

input[type="number"] {
  width: 100%;
  padding: 5px;
  margin-bottom: 30px;
  border-radius: 5px;
  border: none;
  box-sizing: border-box;
}
input[type="number"]:focus,
select:focus {
  outline: none;
}

input[type="submit"],
input[type="reset"] {
  background-color: #c51065;
  color: white;
  border: none;
  border-radius: 5px;
  padding: 10px;
  cursor: pointer;
  width: 48%; /* Adjust the width to allocate space for both buttons */
}

input[type="submit"]:hover,
input[type="reset"]:hover {
  background-color: #a30d53;
}
p.result {
  margin-top: 30px;
  font-weight: bold;
  font-size: 1.2rem;
  font-weight: bold;
  text-align: center;
  color: #fff;
}

.fork,
.fork-icon {
  color: #fff;
  text-decoration: none;
  font-family: "DM Mono", monospace;
  font-weight: 500;
  position: absolute;
  right: 2rem;
  top: 3.6rem;
  font-size: 1.1rem;
}

@media (max-width: 768px) {
  .fork {
    visibility: hidden;
  }
}
@media (min-width: 768px) {
  .fork-icon {
    visibility: hidden;
  }
}
