/*
 * 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.
 */

body {
  margin: 0;
  padding: 0;
  font-family: "Archivo", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  background: var(--color-bg);
  color: var(--color-text);
}

h1,
h2,
h3 {
  font-weight: 800;
  text-align: center;
  margin: 0;

  a {
    color: var(--color-text);
    text-decoration: none;

    &:hover {
      text-decoration: underline;
      text-decoration-color: var(--color-accent);
      text-decoration-thickness: 0.15em;
      text-underline-offset: 0.125em;
    }
  }
}

h1 {
  font-size: 2em;
  font-weight: 150;
  font-variation-settings: "wdth" 110;
  /*text-transform: uppercase;*/
}

h2 {
  font-size: 1.25em;
  font-variation-settings: "wdth" 120;
}

.team {
  font-size: 1.5em;
  font-variation-settings: "wdth" 62;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1;
}

.flag {
  margin: 0;
  padding: 0;
  display: block;
  width: 1rem;
  border-radius: 20%;
  border: 0.0625rem solid var(--color-border-strong);
  box-sizing: border-box;
}

@media screen and (min-width: 40em) {
  h1 {
    font-size: 2.5em;
  }

  h2 {
    font-size: 1.75em;
  }

  .flag {
    width: 1.5rem;
  }
}
