@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;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.4;
  color: var(--color-white);
  margin: 0;
}


/* mobile friendly alternative to using background-attachment: fixed */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: -1;
  background: 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;
}

h1 {
  font-weight: 400;
  line-height: 1.2;
  margin-top: 0;
  margin-bottom: 0.2rem;
}

.description {
  font-size: 1.125rem;
  margin-top: 0;
  margin-bottom: 0.2rem;
}


p {
  margin-top: 2rem;
  margin-bottom: 0.2rem;
}

label {
  display: flex;
  align-items: center;
  font-size: 1.125rem;
  margin-bottom: 0.0rem;
}

input,
select,
textarea,
button {
  margin: 0;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

button {
  border: none;
}

.container {
  width: 100%;
  margin: 3.125rem auto 0 auto;
}

@media (min-width: 576px) {.container {max-width: 540px;}}
@media (min-width: 768px) {.container {max-width: 720px;}}


.header {
  padding: 0 0.625rem;
  margin-bottom: 1.875rem;
}

.description {
  font-style: italic;
  font-weight: 200;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.4);
}

.clue {
  margin-left: 0.25rem;
  font-size: 0.9rem;
  color: #E4E4E4;
}

.text-center {
  text-align: center;
}

/* Form */

form {
  background: var(--color-darkblue-alpha);
  padding: 2.5rem 4.625rem;
  border-radius: 4rem 0.25rem;
}

.form-control {
  display: block;
  width: 100%;
  height: 2.375rem;
  padding: 0.375rem 0.75rem;
  color: #495057;
  background-color: #FFF;
  background-clip: padding-box;
  border: 1px solid #CED4DA;
  border-radius: 0.8rem 0.1rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control:focus {
  border-color: #80BDFF;
  outline: 0;
  box-shadow: 0 0 0 0.5rem rgba(0, 123, 255, 0.60);
}

.input-radio,
.input-checkbox {
  display: inline-block;
  margin-right: 0.5rem;
  min-height: 1.25rem;
  min-width: 1.25rem;
  accent-color: rgba(0, 123, 255, 0.60);
}

.input-textarea {
  min-height: 120px;
  width: 100%;
  padding: 0.625rem 0.8rem;
  margin-bottom: 2rem;
  resize: vertical;
  border: 1px solid #CED4DA;  
  border-radius: 0.8rem 0.1rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.input-textarea:focus {
  border-color: #80BDFF;
  outline: 0;
  box-shadow: 0 0 0 0.5rem rgba(0, 123, 255, 0.60);
}

.submit-button {
  display: block;
  width: 100%;
  height: 2.375rem; 
  padding: 0.75px;
  background: var(--color-green);
  color: inherit;
  border-radius: 0.8rem 0.1rem;
  cursor: pointer;
}