@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

:root {
  --primary: #ffffff;
  --secondary: #d8d8d8;
  --accent: rgb(9, 93, 187);
  --background: rgb(13, 45, 80);
}

* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

input:not([type="checkbox"]):not([type="radio"]),
select {
  font-family: inherit;
  font-size: 1rem;
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  border: none;
}

input:not([type="checkbox"]):not([type="radio"]):focus,
select:focus {
  outline-width: 2px;
  outline-style: solid;
  outline-color: var(--accent);
}

body {
  font-family: "Poppins", sans-serif-;
  color: var(--primary);
}

body::after {
  content: "";
  width: 100vw;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
  background: var(--accent);
  background-image: linear-gradient(
      90deg,
      rgba(0, 0, 0, 0) 0%,
      rgba(9, 93, 187, 0.8) 0%
    ),
    url("https://images.unsplash.com/photo-1573323048534-a6f4f4de42a9?q=80&w=870&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.container {
  margin: 20px auto;
  width: 800px;
}

.header {
  margin: 60px 0;
}

#survey-form {
  background-color: var(--background);
  padding: 60px;
  border-radius: 18px;
}

.mb {
  margin-bottom: 2rem;
}

textarea {
  font-family: inherit;
  font-size: 1rem;
  width: 100%;
  resize: vertical;
  min-height: 130px;
  padding: 10px;
  border: none;
}

textarea:focus {
  outline-width: 2px;
  outline-style: solid;
  outline-color: var(--accent);
}

p,
label {
  display: block;
  margin-bottom: 8px;
}

#title {
  font-size: 2.5rem;
  color: var(--primary);
  text-align: center;
}

#description {
  text-align: center;
  font-style: italic;
  color: var(--secondary);
}

button[type="submit"] {
  width: 100%;
  border: none;
  border-radius: 4px;
  padding: 14px;
  color: var(--primary);
  background-color: var(--accent);
}

button[type="submit"]:hover {
  cursor: pointer;
}

.text {
  font-size: 1.2rem;
}

input::placeholder,
textarea::placeholder {
  font-size: 1rem;
}

span {
  font-size: 0.9rem;
}
