@import url("https://fonts.googleapis.com/css2?family=Rubik&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Cairo:wght@200;700&display=swap");
* {
  margin: 0;
  padding: 0;
  font-family: "Rubik", sans-serif;
}
#main {
  background-position: center;
  background-size: cover;
  background-image: linear-gradient(#1d2671cc, #37a2c3cc),url(/survey-form-background.jpeg);
  display: flex;
  flex-direction: column;
  align-items: center;
  height: auto;
}

#header {
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 2.5rem;
  height: 20vh;
  margin-top: 2rem;
}

#title {

  font-family: "Cairo" !important;
  font-size: 2.5rem;
}
#description {
  font-style: italic;
  font-family: "Cairo" !important;
  font-size: 1.5rem;
  text-shadow: 1px 1px 2px #000;
}
#survey-form {
  background-color: #00000091;
  display: grid;
  gap: 2rem;
  width: 40rem;
  padding: 2rem;
  border-radius: 0.3rem 0.3rem 0 0;
  font-size: 18px;
  color: #fff;
}
[type = "text"],
[type = "email"],
[type = "number"],
select {
  padding: 0 .6rem;
  height: 2rem;
  font-size: 15px;
}

.from {
  display: flex;
  flex-direction: column;
}
span {
  font-size: .8em;
}
select {
  color: #707070;
}
select, input, textarea{
  background-color: #fff;
  border: 2px solid #b3b3b3;
  border-radius: .1rem;
}
label {
  margin-bottom: .6rem;
}
textarea {
  height: 8rem;
  padding: .6rem;
}
#submit {
  width: 100%;
  height: 2.5rem;
  border: none;
  background-color: #37AF65;
  border-radius: .2rem;
  color: #fff;
  margin-bottom: 2rem;
  font-size: 18px;
  cursor: pointer;
}

.radio-div {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}
.radio-input {
  width: 1.3rem;
  height: 1.3rem;
  margin-right: .5rem;
}
.checkbox-div {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}
.checkbox-input {
  width: 1.3rem;
  height: 1.3rem;
  margin-right: .5rem;
}
@media screen and (max-width: 992px){
  #survey-form {
    width: 60vw;
    font-size: 14px;
  }
  #title {
    font-size: 2rem;
  }
  #description {
    font-size: 1rem;
  }
}
@media screen and (max-width: 600px){
  #survey-form {
    width: 80vw;
    font-size: 14px;
  }
  #title {
    font-size: 1.5rem;
  }
  #description {
    font-size: .8rem;
  }
}