/* global changes */

body {
  font-family: sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.button {
  background-color: white;
  color: black;
  display: inline-block;
  padding: 18px 42px;
  border: 2px solid #ccc;
  border-radius: 20px;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
}

button.button:enabled:active,
a.button:active {
  box-shadow: 0px -2px 5px rgba(0, 0, 0, 0.2);
}

.button:disabled {
  background-color: revert;
  color: revert;
  cursor: revert;
}

.button.button-small {
  padding: 8px 12px;
  border-radius: 8px;
}

/* general layout */

main.container {
  width: 80%;
  max-width: 1200px;
  margin-top: 24px;
  margin-bottom: 24px;

  display: flex;
  flex-direction: column;
  gap: 48px;
  align-items: center;
}

header.header {
  width: 100%;

  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin-bottom: 12px;

  h1 {
    margin: 0;
  }

  p {
    margin: 0;
  }
}

section.hero {
  display: flex;
  flex-direction: row;
  gap: 12px;

  .hero-callout {
    flex: 1;
    background-color: #eee;
    padding: 16px;
    border-radius: 12px;

    h2 {
      margin: 0;
      color: #333;
      text-align: center;
    }
  }

  .hero-callout-upload {
    background-color: #eee;
    padding: 16px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;

    h1 {
      margin: 0;
      color: #333;
    }
  }

  .hero-callout-analysis,
  .hero-callout-results {
    flex-grow: 1;

    display: flex;
    flex-direction: row;
    justify-content: center;
  }
}

/* named items */

section.section-start {
  display: flex;
  flex-direction: row;
  justify-content: center;
  padding: 42px 0;
}

section.section-next {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;

  a.link-start-over {
    font-size: 12px;
  }
}

section.section-start-over {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;

  a.link-start-over {
    font-size: 12px;
  }
}

section.section-reminder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;

  p {
    margin: 0;
  }

  .section-reminder-input {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;

    input.input-email {
      padding: 10px;
      border: 1px solid #ccc;
      border-radius: 4px;
    }
  }
}

section.section-expire-data {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

section.section-upload-files {
  width: 100%;

  display: flex;
  flex-direction: row;
  justify-content: space-evenly;

  .upload-file-callout {
    width: 360px;
  }

  h5 {
    margin: 0;
    text-align: center;
  }
}

section.section-loading,
section.section-in-progress {
  display: flex;
  flex-direction: column;
  align-items: center;
}

section.section-images-viewer {
  width: 100%;
}

.form-demo-data {
  display: flex;
  flex-direction: row;
  gap: 8px;
}

/* one-off classes */

.logo-color-fix {
  filter: invert(100%) hue-rotate(180deg);
}

/* utility classes */

.hidden {
  display: none !important;
}

.bold {
  font-weight: bold;
}

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