/* style.css */

body {
  font-family: Helvetica;
  color: #1a1a1a;
}

p {
  width: 100%;
  max-width: 500px;
  line-height: 140%;
  margin-bottom: 30px;
}
.container {
  width: 80%;
  margin: 0 auto;
  padding-top: 50px;
}

a {
  color: #ff5000;
}

input[type="number"] {
  caret-color: #ff5000;
  display: flex;
  height: 54px;
  padding-left: 12px;
  padding-right: 12px;
  border-radius: 12px;
  border: 1px solid #c9c9cf;
  font-size: 16px;

  font-style: normal;
  font-weight: 400;
  line-height: 150%;
  letter-spacing: 0.107px;
  margin-bottom: 20px;
}

input[type="number"]::placeholder {
  opacity: 0.5;
}

input[type="number"]:focus {
  outline: none;
  border: 1px solid white;
  box-shadow: 0 0 0 3px #ff5000;
}

input[type="number"].is-invalid {
  border-color: #ff5000;
}

.field-hint {
  color: #ff5000;
  font-size: 12px;
  line-height: 150%;
  margin-top: -14px;
  margin-bottom: 20px;
}

label {
  color: #1a1a1a;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  line-height: 250%;
  letter-spacing: 0.12px;
}

.segmented-control label {
  flex: 1;
  text-align: center;
  padding: 8px;
  cursor: pointer;
  background-color: #f0f0f0;
}

.segmented-control input[type="radio"]:checked + label {
  background-color: #cccccc;
}

#unit label {
  font-size: 16px;
}

button {
  margin-top: 20px;
  display: inline-block;
  padding: 15px 60px;
  background: #ff5000;
  color: #ffffff;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 150%;
  letter-spacing: 0.12px;
  width: 195px;
}

#result {
  margin-top: 30px;
  margin-bottom: 50px;
  line-height: 150%;
}

#result h3 {
  margin-bottom: 10px;
}



.segmented-control {
  display: flex;
  width: 190px;
  border: 1px solid #cccccc;
  border-radius: 5px;
  overflow: hidden;
}

.segmented-control input[type="radio"] {
  display: none;
}

.howtoimg {
  width: 100%;
  max-width: 700px;
}
