* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 62.5%;
  height: 100%;
}

body {
  color: #222;
  display: flex;
  flex-direction: column;
  font-family: "Raleway", "HelveticaNeue", "Helvetica Neue", Helvetica, Arial,
    sans-serif;
  font-size: 1.5em;
  font-weight: 400;
  height: 100%;
  line-height: 1.6;
}

a {
  color: #00abff;
  text-decoration: none;
}

a:link,
a:visited,
a:hover,
a:active {
  text-decoration: none;
}

button {
  background-color: transparent;
  border: 1px solid #00abff;
  border-radius: 4px;
  box-sizing: border-box;
  color: #00abff;
  cursor: pointer;
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  height: 38px;
  letter-spacing: 0.1rem;
  line-height: 38px;
  margin-bottom: 0.5rem;
  margin-left: 15px;
  margin-right: 15px;
  margin-top: 0.5rem;
  padding: 0 30px;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

button:hover,
button:focus {
  border-color: #888;
  color: #888;
  outline: 0;
}

footer {
  align-content: center;
  display: flex;
  flex-flow: row nowrap;
  flex-shrink: 0;
  justify-content: space-between;
}

h2 {
  margin: 10px;
}

input {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-color: transparent;
  border: 1px solid #00abff;
  border-radius: 4px;
  box-shadow: none;
  box-sizing: border-box;
  color: #00abff;
  height: 38px;
  margin: 15px;
  max-width: 80%;
  padding: 6px 10px;
  width: 100%;
}

input:focus {
  border: 1px solid #888;
  outline: 0;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  margin-left: 4.5rem;
  margin-top: 1.5rem;
  text-align: left;
}

option {
  align-items: center;
  background-image: url("../images/tick.png");
  background-position-x: center;
  background-position-y: -3px;
  background-repeat: no-repeat;
  display: flex;
  height: 42px;
  justify-content: space-evenly;
  width: 100%;
  z-index: -1;
}

select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-color: transparent;
  border: 1px solid #00abff;
  border-radius: 4px;
  box-shadow: none;
  box-sizing: border-box;
  color: #00abff;
  height: 38px;
  margin: 15px;
  max-width: 80%;
  padding: 6px 10px;
  width: 100%;
}

select:focus {
  border: 1px solid #888;
  outline: 0;
}

table {
  border: 1px solid #00abff;
  border-collapse: collapse;
  border-radius: 4px;
  font-family: arial, sans-serif;
  margin: 15px 0 15px 0;
  width: 100%;
}

td,
th {
  border: 1px solid #00abff;
  padding: 0 5px 0 5px;
  text-align: left;
}

tr:nth-child(odd) {
  background: rgba(0, 0, 0, 0.3);
}

.answers {
  align-items: center;
  display: flex;
  justify-content: center;
  margin: 1rem;
}

.background {
  background-image: url("../images/xray.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: auto;
  -webkit-filter: blur(14px);
  filter: blur(14px);
  height: 100vh;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: -1;
}

.content {
  align-items: center;
  display: flex;
  flex: 1 0 auto;
  flex-direction: column;
  justify-content: center;
  margin: auto;
  max-width: 960px;
  min-height: 10vh;
  position: relative;
  width: 100%;
  z-index: 1;
}

.formulaInfo {
  display: block;
  margin: 1rem;
  text-align: justify;
}

.legend {
  display: block;
  margin: auto;
  max-width: 100%;
  text-align: left;
  width: 100%;
}

.legendText {
  display: block;
  margin: 1rem;
  text-align: justify;
}

.imageContainer {
  align-content: center;
  display: flex;
  flex-flow: column nowrap;
  justify-content: center;
  margin: auto;
  max-width: 100%;
  text-align: center;
  width: 480px;
}

.info {
  align-self: center;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid #00abff;
  border-radius: 4px;
  color: #fff;
  margin-bottom: 5rem;
  margin-top: 5rem;
  order: 2;
  padding: 20px;
  width: 80%;
  z-index: 2;
}

.inputs {
  display: block;
  margin: auto;
  max-width: 100%;
  width: 480px;
}

.main {
  align-self: center;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid #00abff;
  border-radius: 4px;
  color: #fff;
  margin-top: 10rem;
  order: 1;
  padding: 20px;
  text-align: center;
  width: 80%;
  z-index: 2;
}

.navButtons {
  align-self: center;
  width: 80%;
}

.navigation {
  align-self: center;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid #00abff;
  border-radius: 4px;
  color: #fff;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  z-index: 3;
}

.patientImage {
  order: 1;
}

.radiationImage {
  order: 3;
}

.radIcon {
  color: #00abff;
  font-size: 20px;
  margin: 25px 10px 5px 10px;
  order: 1;
  text-shadow: 1px 1px 1px #000;
  z-index: 0;
}

.signature {
  color: #fff;
  margin: 25px 10px 5px 10px;
  order: 2;
  text-shadow: 1px 1px 1px #000;
  z-index: 0;
}

.slider {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-color: transparent;
  border: 1px solid #00abff;
  border-radius: 4px;
  box-shadow: none;
  box-sizing: border-box;
  color: #00abff;
  height: 38px;
  margin: 0;
  order: 2;
  padding: 6px 10px;
  width: 80%;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  background: url("../images/radiation.svg");
  border: 0;
  cursor: pointer;
  height: 25px;
  width: 25px;
}

.slider::-moz-range-thumb {
  background: url("../images/radiation.svg");
  border: 0;
  cursor: pointer;
  height: 25px;
  width: 25px;
}

.sliderBox {
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid #00abff;
  border-radius: 4px;
  color: #fff;
  margin-bottom: 5rem;
  order: 3;
  padding: 20px;
  width: 80%;
  z-index: 2;
}

.sliderContainer {
  align-content: center;
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
}

.sliderImages {
  width: 50px;
}

.sliderInfo {
  display: block;
  margin: 1rem;
  text-align: justify;
}

.sliderResponse {
  align-content: center;
  align-items: center;
  display: flex;
  justify-content: space-evenly;
  margin-bottom: 5px;
  width: 100%;
}

.sliderText {
  color: #00abff;
  font-weight: bold;
  margin: 0 0 0 0.5rem;
}

.tickmarks {
  display: flex;
  justify-content: space-between;
  margin-left: 50px;
  margin-top: -23px;
  order: 4;
  padding-top: 0;
  visibility: hidden;
  width: 80%;
}

#answerDistance,
#answerGCF,
#answerIntensity,
#answermAs {
  color: #00abff;
  font-weight: bold;
  margin: 0 1rem 0 1rem;
  visibility: hidden;
}

#copyright {
  font-size: 0.9rem;
}

#distanceInputs,
#GCFInputs {
  display: none;
}

#distanceLeadIn,
#GCFLeadIn,
#intensityLeadIn,
#masLeadIn {
  visibility: hidden;
}

#heart {
  -webkit-text-fill-color: red;
  -webkit-text-stroke: 1px black;
}

#gcfInputs,
#intensityInputs,
#masInputs {
  display: none;
}

#ISLImage {
  border: 1px solid #00abff;
  border-radius: 4px;
  width: 100%;
}

#legendTitle,
#sliderTitle {
  text-align: center;
}

#nameColorChange {
  color: #00abff;
  margin: 0 0.5rem 0 0.5rem;
  text-shadow: 3px 3px 0 #000, -1px -1px 0 #000, 1px -1px 0 #000,
    -1px 1px 0 #000, 1px 1px 0 #000;
  -webkit-text-stroke: 1px #00abff;
}

#titleColorChange {
  color: #00abff;
}

@media only screen and (min-width: 600px) {
  /* For Desktops */
  .formulaInfo {
    margin: 1.5rem 5rem 1.5rem 4.5rem;
  }

  .legendText {
    margin: 1.5rem 5rem 1.5rem 4.5rem;
  }

  .navButtons {
    align-content: center;
    display: flex;
    justify-content: space-around;
    width: 25%;
  }

  .navigation {
    flex-direction: row;
    flex-wrap: nowrap;
    position: fixed;
  }

  .sliderInfo {
    margin: 1.5rem 5rem 1.5rem 4.5rem;
  }

  .tickmarks {
    visibility: visible;
  }
}
