/* --- Global & Reset Styles --- */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-repeat: no-repeat;
  background-position: 100% 0;
  width: 100%;
  overflow-x: hidden;
  overflow-y: scroll;
}

main {
  flex: 1;
}

/* Accessibility / Anti-spam */
.bane {
  position: absolute;
  left: -9999px;
}

/* --- Layout Components --- */
#wrapper {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

#boxcontainer {
  width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #fafafa;
  padding-top: 112px;
  padding-bottom: 82px;
  min-height: 656px;
}

#textcontainer {
  position: relative;
  width: 600px;
  height: auto;
  box-sizing: border-box;
  padding-bottom: 20px;
}

/* --- Form Elements --- */
.formcontainer {
  margin-top: 0;
  width: 100%;
  max-width: 632px;
  height: auto;
  border: 0 solid;
  padding-left: 0;
  padding-right: 0;
  box-sizing: border-box;
}

.form-row {
  display: flex;
  align-items: center;
  gap: 1em;
  margin-bottom: .5em;
}

.form-row .required {
  flex: 0 0 auto;
}

input[type=text], select, textarea {
  width: 100%;
  padding: 8px;
  border: 1px solid #b2b2b2;
  background-color: #fafafa;
  border-radius: 0;
  box-sizing: border-box;
  margin-top: 2px;
  margin-bottom: 2px;
  resize: none;
  overflow: hidden;
  font-family: roboto, sans-serif;
  font-size: 13pt;
  color: #434343;
  font-weight: 300;
  line-height: 17pt;
  text-align: left;
  outline: none;
}

.inline {
  display: inline-block;
  margin-right: 0;
}

.question {
  display: block;
  margin-top: 0;
}

/* --- Buttons & Actions --- */
.buttoncontainer {
  position: relative;
  height: 80px;
  width: 120px;
  margin-top: 0;
  margin-left: 0;
  padding-right: 0;
}

input[type=submit] {
  background-color: lightpink;
  border: 2px solid #1c1c1c;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 24px;
  color: #1c1c1c;
  text-decoration: none;
  font-weight: 400;
  text-align: center;
  padding: 9px 20px 8px 18px;
  border-radius: 0;
  cursor: pointer;
  margin-top: 24px;
  margin-left: 0;
  box-shadow: 3px 3px 0 0 #1c1c1c;
  transition: all 0.3s ease;
}

input[type=submit]:hover {
  background-color: #ec98a5;
}

/* --- Validation & Errors --- */
.error {
  font-family: roboto, sans-serif;
  font-size: 13pt;
  color: red;
  line-height: 13pt;
  font-weight: 300;
  position: relative;
  top: 13px;
  white-space: nowrap;
  padding: 0;
  margin: 0 0 0 -12pt;
}

/* --- Footer --- */
.footer {
  margin-top: auto;
  flex-shrink: 0;
  background-color: #404040;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 40px;
  padding-bottom: 16px;
}

.footer-icons {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 6px;
}

.footer-text {
  display: flex;
  align-items: center;
  text-align: center;
}