@import url('https://fonts.googleapis.com/css2?family=Lato:wght@100;300;400;700&display=swap');

* {
  box-sizing: border-box;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  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);
}

body {
  font-family: 'Poppins', sans-serif;
  min-height: 2000px;  
}

h1,
p {
  text-align: center;
  color: white;
  font-weight: 200;
}

form {
  max-width: 600px;
  background: rgba(0, 37, 71, 0.7);
  margin: 0 auto;
  padding: 20px 40px;
  color: white;
}

label {
  display: block;
  margin: 10px;
}

input[type='text'],
input[type='email'],
input[type='number'],
select,
textarea {
  display: block;
  margin: 5px;
  height: 40px;
  width: 100%;
  border-radius: 5px;
  border: 0;
  padding: 10px;
  font-family: inherit;
}

textarea {
  height: 100px;
  border-radius: 2px;
}

button {
  width: 100%;
  height: 35px;
  background-color: #37af65;
  color: #ffffff;
  border: 0;
  border-radius: 3px;
  margin: 5px;
  padding: 0;
}

#comments{
  margin: 5px;
  padding: 5px;
  height: 120px;
  resize: vertical;
}