:root {
  --bg: #262C33;
  --blue: #40A0FF;
  --white: #FFF;
  --yellow: #FEDA5A;
  --cloud: #EFEEE8;
  --pico-font-family-sans-serif: "DINNextLTPro-Regular", sans-serif;
  --pico-form-element-spacing-vertical: 0.25rem;
  --pico-form-element-spacing-horizontal: 0.25rem;
  --pico-icon-invalid: 'none';
  --font-bold: "DINNextLTPro-Bold", sans-serif;
  --pico-form-element-background-color: var(--white);
  --pico-form-element-active-background-color: var(--white);
  --pico-primary-inverse: var(--blue);
  --pico-form-element-color: var(--bg);
  --pico-border-radius: 0;
  --pico-font-size: 100%;
}

@font-face {
  font-family: "DINNextLTPro-Bold";
  src: url("/assets/DINNextLTPro-Bold-e8119216.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "DINNextLTPro-Regular";
  src: url("/assets/DINNextLTPro-Regular-57f58185.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

main {
  text-align: center;
}

/* new */

h1 {
  color: var(--blue);
  font-weight: normal;
  font-size: 1.75rem;

  img {
    display: block;
    width: 250px;
    margin: 0 auto 1rem;
  }
}

h2 {
  color: var(--yellow);
  font-weight: normal;
  margin-top: 3rem;
  margin-bottom: 1.5rem;
}

h2 strong {
  font-size: 2rem;
  font-family: var(--font-bold);
  font-weight: normal;
  display: inline-block;
  margin-right: 0.5rem;
}

label h2 {
  color: var(--yellow);
}

fieldset {
  border: none;
  margin: 0 auto;

  div.field_with_errors {
    display: inline-block;
  }
}

fieldset.projects {
  display: flex;
  gap: 4rem;
  justify-content: center;
}

fieldset label {
  display: inline-block;
  margin-right: 1rem;
}

input {
  border: none;
  --pico-form-element-background-color: var(--white);
  --pico-primary-inverse: var(--blue);
  --pico-form-element-active-background-color: var(--white);
  --pico-color: var(--bg);
}

input[type="number"] {
  width: 4rem;
  text-align: center;
}

input[type='number']::-webkit-inner-spin-button,
input[type='number']::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type='number'] {
  -moz-appearance: textfield
}

input[type="radio"] {
  margin-left: 2rem;
  margin-right: 0.5rem;
}

input[type="radio"]:focus {
  --pico-box-shadow: none;
}

input[type="submit"] {
  color: var(--white);
  display: block;
  width: 20rem;
  margin: 3rem auto;
  margin-bottom: 0;
  font-size: 1.5rem;
  padding: 0.5rem 3rem;
  border-radius: 3rem;
  height: auto;
}

/* show */

body.show {
  background-color: var(--cloud);
}

header {
  margin-bottom: 2rem;

  h1 {
    margin-top: 0.5rem;
    font-size: 1.25rem;
    font-family: var(--font-bold);
    font-weight: normal;
  }

  img {
    width: 300px;
  }
}

h3 {
  font-family: var(--font-bold);
  font-weight: normal;
  font-size: 1.25rem;
  color: var(--blue);
  margin-bottom: 0.5rem;
}

article {
  padding: 0;
  min-width: fit-content;
  border-radius: 0.5rem;

  img {
    max-width: 80px;
    vertical-align: middle;
  }
}

th,
td {
  padding: 0.1rem;
  white-space: nowrap;
  text-align: center;
}

th.text-left:first-child,
td.text-left:first-child {
  padding-left: 1rem;
}

th.text-right:last-child,
td.text-right:last-child {
  padding-right: 1rem;
}

tbody tr:first-child td,
tfoot td,
tfoot th {
  padding-top: 0.5rem;
}

tfoot tr:not(:first-child) {

  th,
  td {
    border-top: none;
  }
}

tbody tr:last-child td {
  padding-bottom: 0.75rem;
}

img.logo {
  width: 80px;
  max-width: 80px;
  line-height: 1rem;
  padding-bottom: 0.25rem;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

td {
  border-bottom: 0;
}

.blue {
  color: var(--blue);
}

.bold {
  font-family: var(--font-bold);
  font-weight: normal;
}

tr.net {

  th,
  td {
    font-size: 1.75rem;
  }
}

section#but_wait_theres_more {
  padding: 1rem;
  text-align: left;

  h4 {
    font-family: var(--font-bold);
    font-weight: normal;
    color: var(--blue);
    margin-bottom: 0.5rem;
    font-style: italic;
    font-size: 1.5rem;
  }

  ul {
    padding-left: 1rem;
  }

  li {
    list-style: disc;
  }
}

#testimonials {
  text-align: left;
  font-size: 0.9rem;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 2rem;
  row-gap: 1rem;

  blockquote {
    margin: 0;
    padding: 0;
    border: none;
    display: flex;
    gap: 1rem;
  }

  img {
    width: 100px;
    min-width: 100px;
    height: 100px;
    object-fit: cover;
    object-position: center;
  }

  p {
    margin: 0;
  }

  cite {
    display: block;
    color: var(--bg);
    font-family: var(--font-bold);
  }
}

footer {
  background-color: var(--bg);
  padding: 1rem;
  text-align: center;

  h5 {
    color: var(--yellow);
    font-weight: normal;
    font-style: italic;
  }

  label {
    color: var(--white);
    display: inline-block;
    margin-left: 1rem;
  }

  input[type="text"],
  input[type="email"],
  input[type="submit"] {
    width: auto;
    margin-left: 1rem;
    margin-bottom: 0;
    padding: 0.5rem;
  }

  input[type="submit"] {
    margin: 0;
    margin-left: 1rem;
    font-size: 1rem;
    display: inline-block;
    padding: 0.25rem 1.5rem;
  }
}

body.report {
  padding: 2rem;
  min-height: 100vh;

  article {
    box-shadow: none;
  }

  #testimonials {
    blockquote {
      display: block;
      text-align: center;
    }

    p {
      text-align: left;
    }

    img {
      margin-bottom: 1rem;
    }
  }
}

table {
  border-spacing: 0;
}

td:first-child {
  padding-left: 0.5rem;
}

td:last-child {
  padding-right: 0.5rem;
}

thead {

  td,
  th {
    padding-top: 0.5rem;
  }

  th {
    --pico-border-width: 1px;
    font-weight: normal;
  }

  th:first-child,
  td:first-child {
    border-top-left-radius: 0.5rem;
  }

  th:last-child,
  td:last-child {
    border-top-right-radius: 0.5rem;
  }
}

tbody:last-child,
tfoot {

  th,
  td {
    font-weight: normal;
    --pico-border-width: 1px;
  }

  th:first-child,
  td:first-child {
    border-bottom-left-radius: 0.5rem;
  }

  th:last-child,
  td:last-child {
    border-bottom-right-radius: 0.5rem;
  }

  tr.net {

    th,
    td {
      font-size: 1.75rem;
      font-family: var(--font-bold);
      font-weight: normal;
    }
  }
}

a[role="button"] {
  color: var(--white);
  display: block;
  width: 15rem;
  margin: 3rem auto;
  margin-bottom: 0;
  font-size: 1.5rem;
  padding: 0.5rem 1rem;
  border-radius: 3rem;
  height: auto;
}
