@import url('https://fonts.googleapis.com/css?family=Poppins:200i,400&display=swap');

:root {
  --color-white: #f3f3f3;
  --color-darkblue: #1b1b32;
  --color-darkblue-alpha: rgba(27, 27, 50, 0.8);
  --color-green: #37af65;
}

body {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.4;
  color: var(--color-white);
  margin: 0;
  background-color: var(--color-darkblue);
  background-image: linear-gradient(
      115deg,
      rgba(58, 58, 158, 0.8),
      rgba(136, 136, 206, 0.7)
    ),
    url(https://cdn.freecodecamp.org/testable-projects-fcc/images/survey-form-background.jpeg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  
}

main{
  width: 60%;
  max-width: 100vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: auto;
}

fieldset{
  border: none;
}

#title{
  font-weight: 400;
  margin-top: 50px;
}

#description{
  font-style: italic;
  margin-top: -10px;
  margin-bottom: 4rem;
}

#survey-form{
  width: 100%;
  max-width: 600px;
  background-color: var(--color-darkblue-alpha);
  border-radius: 5px;
  padding: 1rem 2rem;
}

label{
  display: flex;
  flex-direction: column;
  margin-top: 1rem;
}

input, #dropdown{
  font-family: "Poppins", sans-serif;
}

#name, #email, #number, #dropdown{
  margin: 6px 0px 10px 0px;
  padding: 5px;
  border-radius: 3px;
  border: none;
}

#dropdown{
  color: grey; 
}

option{
  color: #444444;
}

.dropdown-description{
  margin-bottom: 0.3rem;
}

textarea{
  height: 100px;
  width: 100%;
  font-family: "Poppins", sans-serif;
  color: #222222;
}

#submit{
  width: 100%;
  padding: 10px 0px;
  font-family: "Poppins";
  background-color:#37af65;
  color: var(--color-white);
  border: none;
  border-radius: 3px;
  margin-top: 1rem;
}

footer{
  font-size: 10px;
  font-weight: 300;
  margin: 10px 0px;
}