body {
  font-family: "sofia-pro", sans-serif;
  background: #F2E7E4;
}

main {
  width: 100%;
  text-align: center;
  margin-bottom: 20px;
}
.cal_navbar {
  width: min(calc(100% - 40px), 600px);
  margin-inline: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-block: 10px;
}
.cal_navbar img {
    max-width: 180px;
    width: 100%;
    height: auto;
}

.cal_navbar span {
  color: #F98755;
  font-size: 21px;
  line-height: 28px;
  font-weight: 900;
  font-style: italic;
  -webkit-text-stroke: 1px #f98755;
  letter-spacing: 0.5px;
}
footer {
  padding: 20px 0;
  background: #fff;
  width: 100%;
  text-align: center;
}
footer ul {
  margin-bottom: 0px;
}
footer a {
  margin-right: 10px;
  text-decoration: none;
  color: #000;
}

.logo {
  display: block;
  margin-inline: auto;
}
.main_nav {
  background: #003366;
  margin-bottom: 20px;
}
div#calculator-wrapper {
  background: #003366;
  border-radius: 22px;
  width: min(calc(100% - 20px), 600px);
}
.calc_content {
  background: #003366;
  font-family: 'sofia-pro', sans-serif;
}
h3 {
  font-family: 'sofia-pro', sans-serif;
  font-size: 20px;
  line-height: 23px;
  max-width: 246px;
  font-weight: 700;
  padding: 0;
  color: #fff;
}
.sel {
  color: #3D3D3D;
}
.sel span {
  font-size: 17px;
  line-height: 19px;
  font-weight: 400;
}
label.checkbox-input {
  font-size: 14px;
  line-height: 19px;
  align-items: flex-start;
  color: #fff;
}
input[type="checkbox"] {left: 0;top: 0;transform: translateY(0);}
label.checkbox-input a {
  color: #fff;
}
#progressBar {
  background: #F98754;
}
input {
  background-size: 24px;
  font-size: 17px;
  font-family: inherit;
  background-size: 24px;
}

.to-label {
  background: #036;
}
.next-btn, #submit-btn {
  background: #026DD9;
  min-height: 64px;
  padding: 0 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: fit-content;
  border-radius: 35px;
  font-size: 22px;
  line-height: 28px;
  padding-bottom: 3px;
  font-weight: 500;
}
#top_title {
  color: #3D3D3D;
  font-size: 20px;
  line-height: 26px;
  font-weight: 400;
  font-size: 20px !important;
}
label span {
  color: #fff;
  opacity: 1;
  font-size: 17px;
  font-weight: 400;
  line-height: 19px;
}
@media (min-height: 868px) {
  .logo {
    max-width: 200px;
    width: 100%;
    padding: 20px 0;
    height: auto;
  }
}

@media (max-height: 867px) {
.logo {
  max-width: 200px !important;
  width: 100%;
  padding-block: 10px;
}
}
@media (max-width: 375px) {
    .cal_navbar span {
      font-size: 18px;
  }
}