body {
  font-family: sans-serif;
  background-color: #0f3858;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}
@font-face {
  font-family: "RoadRadio";
  src: url("../fonts/roadradio.eot"); /* IE 9 Compatibility Mode */
  src: url("../fonts/roadradio.eot?#iefix") format("embedded-opentype"),
    /* IE < 9 */ url("../fonts/roadradio.woff2") format("woff2"),
    /* Super Modern Browsers */ url("../fonts/roadradio.woff") format("woff"),
    /* Firefox >= 3.6, any other modern browser */ url("../fonts/roadradio.ttf")
      format("truetype"),
    /* Safari, Android, iOS */ url("../fonts/roadradio.svg#roadradio")
      format("svg"); /* Chrome < 4, Legacy iOS */
}

.container {
  background-color: #d4d9d2;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  padding: 20px;
  width: 80%; /* Adjust for smaller screens */
  max-width: 600px; /* Limit width on larger screens */
  margin: 20px;
}

 h1 {
  text-align: center;
  color: #333;
  font-family: "RoadRadio", sans-serif; /* Применяем шрифт RoadRadio */
}



.form-group {
  margin-bottom: 15px;
}

label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
  color: #555;
}

input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-sizing: border-box; /* Important for width */
}

button {
  background-color: #22605f;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  width: 100%;
  font-size: 16px;
}

button:hover {
  background-color: #0056b3;
}

#result {
  margin-top: 20px;
  padding: 15px;
  background-color: #e9ecef;
  border-radius: 4px;
  font-weight: bold;
  color: #333;
  text-align: left;
}

/* Media query for smaller screens */
@media (max-width: 600px) {
  .container {
    width: 95%; /* Take up more width on small screens */
    margin: 10px;
  }

  button {
    font-size: 14px;
  }
}
