/* Shared styles for plancproject.com */
:root {
  --red: #fb0400;
  --red-dark: #c40300;
  --yellow: #fdd200;
  --ice: #c3f0fe;
  --cyan: #92e4fd;
  --line: #404040;
  --ink: #111;
  --bg: #000;
  --text: #fff;
  --max: 1140px;
}

*, *::before, *::after { box-sizing: border-box; }

html { font-size: 16px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 1rem/1.6 "Open Sans", sans-serif;
}

img { max-width: 100%; height: auto; }

a { color: var(--red); text-decoration: none; }
a:hover, a:focus-visible { color: var(--cyan); }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

h1, h2 {
  margin: 0 0 .5rem;
  font-family: Ubuntu, sans-serif;
  font-weight: 700;
  line-height: 1.1;
}

.site-title {
  font-size: clamp(3rem, 9vw, 6rem);
  text-shadow: 4px 4px 5px var(--red);
}

.rule {
  border: 0;
  border-top: 19px solid var(--red);
  margin: 24px 0;
}

.button {
  display: inline-block;
  padding: 5px 18px 6px;
  background: var(--red);
  color: var(--ink);
  font-weight: 700;
  line-height: 1.6;
  transition: background-color .3s;
}
.button:hover, .button:focus-visible { background: var(--cyan); color: var(--ink); }

.back-link { text-transform: uppercase; letter-spacing: 1px; padding: 5px 30px; }
.back-link:hover, .back-link:focus-visible { background: var(--red-dark); color: var(--ink); }

.link-list { list-style: none; margin: 0; padding: 0; }
.link-list a { font-weight: 700; }
