/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */
:root {
  --primary-color: #6c31e3;
  --text-color: #eeeeee;
  --link-color: var(--primary-color);
  --link-hover-color: darken(var(--primary-color), 10%);

  --gap: 1rem;
  --border-radius: 0.5rem;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  background-color: #1b1b1b;
  color: var(--text-color);
  font-size: 18px;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;

  & > main {
    flex-grow: 1;
  }

  & > footer {
    color: white;
    padding-block: var(--gap);
    text-align: center;

    & a {
      color: white;
    }
  }
}

header {
  background-color: var(--primary-color);
  color: var(--text-color);
  display: flex;
  gap: var(--gap);
  padding-inline: var(--gap);
}

section.main {
  padding-inline: var(--gap);
}

input {
  font-size: 1rem;
  padding: var(--gap);
  border-radius: var(--border-radius);
}

button {
  background-color: var(--primary-color);
  color: white;
  padding: 0.25rem;
  box-shadow: none;
  border-radius: var(--border-radius);
  font-size: 1rem;
}

a {
    color: var(--primary-color);
}