:root{
    font-size: 62.5%;
    --answer: 1.5rem;
    --question: 1.7rem;
}
  
*{
  font-family: taroma, sans-serif;
  scroll-behavior: smooth;
  box-sizing: border-box;
}

html{
  background-color: skyblue;
}

body{
  max-width: 700px;
  margin: 5% auto;
  font-size: var(--answer);
}

header, #survey-form{
  margin: 5% auto;
  padding: 5%;
  border: 0.5rem solid white;
  color: white;
}

header{
  border-radius: 0 15% 0 0;
  background-color: tomato;
}

a{
  text-decoration: none;
  font-weight: 900;
  color: white;
}

#title{
  font-size: 3rem;
}

.description{
  font-style: italic;
}

#survey-form{
  margin-top: 5%;
  background-color: #AABB;
  padding: 3%;
}

.questions{
  width: 100%;
  padding: 3%;
  margin: 0;
  border: none;
}

.question{
  padding: 0;
  font-size: var(--question);

}


.non-select, select{
  width: 100%;
  font-size: var(--answer);
  padding: 2%;
  color: black;
  border: none;
  background-color: #FAFAFA;
}



.non-select::placeholder, select{
  color: black;
  font-size: var(--answer);
}




legend{
  float: left;
}



.selections{
  clear: left;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 5%;
  font-size: var(--answer);
  padding: 2% 0;
}

textarea{
  height: 10rem;
}


#submit{
  background-color: tomato;
  margin: 5% 3%;
  width: fit-content;
  font-size: 2rem;
  color: white;
  border: none;
  padding: 1rem;

}

