@import url('https://fonts.googleapis.com/css2?family=Barlow:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,300;1,400;1,500;1,600;1,700;1,800&display=swap');
html {
  height: 100%;
  width: 100%;
}

::selection {
  background: #EE4E34; /* WebKit/Blink Browsers */
}
::-moz-selection {
  background: #EE4E34; /* Gecko Browsers */
}

body {
  font-family: 'Barlow', Arial, sans-serif;
  font-weight: 400;
  font-style: normal;
  background-color: #FCEDDA;
  color: #020100;
  margin: 0;
  padding: 0;
}

a, a:active, a:visited {
  color: #235789;
  text-decoration: underline;
}

a:hover {
  color:#EE4E34;
}

.container {
  font-size: 1.25em; 
  width: 90%;
  margin: 0 auto 2em auto;
  max-width: 1000px;
}

header {
  border-bottom: 2px solid #EE4E34;
  margin: 2em auto;
  width: 80%
}

ul {
  list-style: none;
  padding-left: 0;
}

li {
  padding: .5em 0;
}

header p {
  margin:0 0 .5em 0;
  text-align: center;
  font-style: italic;
}

.form-container {
  margin:auto;
  padding: 1em;
  border-radius: .5em;
  border: 2px solid #235789;
  opacity: 1;
  max-width: 600px;
  margin-bottom: 2em;
}

form {
  margin: auto;
  width: 100%;
  display: flex;
  flex-direction: column; 
  align-items: left; 
}

input {
  border-radius: 5px;
}

legend {
  font-weight: 600;
}

/* Add this to your style.css file */
fieldset.field {
  border: none;
  padding: 0;
  margin: auto;
  display: block;
  margin-bottom: .75em;
  width: 40%;
}

fieldset.field legend {
  width: auto;
  padding-right: 10px;
  padding-bottom: 5px;
}
fieldset.field input[type="radio"] {
  vertical-align: middle;
  margin-right: 2px;
  /* Aligns the radio button with the text */
}
fieldset.field label {
  display: inline-block;
  margin-right: 10px; /* Adjust spacing between each label as needed */
  vertical-align: middle; /* Aligns the label text with the radio button */
}
/* To align the first label with legend */
fieldset.field label:first-of-type {
  margin-top: -2px; /* You may need to adjust this value */
}

fieldset.field input[type="text"] {
  width: 95%;
}

fieldset.field input[type="submit"] {
  background-color: #235789;
  color:  #FCEDDA;
  padding: .25em;
  width: 100%;
}

.content {
  width: 80%;
  padding-bottom: 3em;
  margin: auto;
}

h1 {
  font-family: 'Barlow', Arial, sans-serif;
  font-size: 2em; 
  font-weight: 800; 
  text-align: center;
  padding-bottom: 10px;
  width: 85%;
  margin: auto;
}

h2 {
  text-align: center;
  border-bottom: 2px solid #EE4E34;
  padding-bottom: 5px;
}

#rmrResult {
  text-align: center;
  font-weight: 800;
  font-size: 1.75em;
  color: #EE4E34;
  margin-bottom: 0.5em;
}

button {
  border-radius: 5px;
  padding: 10px;
  width: auto;
  margin: auto;
  background-color: #235789;
  color:  #FCEDDA;
  display: flex;
  vertical-align: center;
}


footer {
  background-color: #020100;
  color: #FCEDDA;
  position: fixed;
  width: 100%;
  bottom: 0;
  box-sizing: border-box;
  text-align: center;
  font-size: .75em;
}

footer a, footer a:active, footer a:visited, footer a:hover {
  text-decoration: none;
  color: #FCEDDA;
}

footer a:hover {
  text-decoration: underline;
}

@media screen and (max-width: 560px) {
  body {
    font-size: 80%;
  }

  header, .content {
    width: 95%;
  }

  fieldset.field {
    width: 100%;
    margin-bottom: .25em;
  }
}