/* http://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1;
}
ol, ul {
  list-style: none;
}
blockquote, q {
  quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}

:root {
  --accent: #993399;
  --secondary-accent: #E6D4E6;
}

/* oswald-regular - latin */
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local(''),
    url('../css/fonts/oswald-v36-latin-regular.woff2') format('woff2'),
    url('../css/fonts/oswald-v36-latin-regular.woff') format('woff');
}

/* oswald-700 - latin */
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: local(''),
    url('../css/fonts/oswald-v36-latin-700.woff2') format('woff2'),
    url('../css/fonts/oswald-v36-latin-700.woff') format('woff');
}

html {
  font-size: 100%;
}

/* BASE */
body {
  margin: 8px;
  font: 1rem/1.5 system-ui, -apple-system, BlinkMacSystemFont,
      "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #000000;
  line-height: 140%;
  background-color: #D2D2D2;
}

p {
  margin: 0;
}

p+p {
  margin-top: 1em;
}

a {
  color: var(--accent);
  text-decoration: underline;
}

a:hover,
a:focus {
  color: #732673;
  /* darken(--accent, 10%) */
  text-decoration: none;
}

.container {
  width: 750px;
  margin: 25px auto;
  padding: 20px;
  background-color: #fff;
}

.site-nav {
  display: flex;
  justify-content: space-around;
  background: transparent url('/images/nav-bg.png') no-repeat 50% 50%;
}

.site-nav-item {
  display: table-cell;
  vertical-align: middle;
  color: #fff;
  text-transform: uppercase;
  text-align: center;
  font: 700 14px/1 Oswald, 'arial narrow', sans-serif;
  letter-spacing: 2px;
}

.site-nav-item a {
  display: block;
  color: #fff;
  text-shadow: 0 0 5px #000;
  line-height: 31px;
  text-decoration: none;
}

.site-nav-item a:hover,
.site-nav-item a:focus {
  text-decoration: underline;
}

#site-footer {
  text-align: center;
}

.index #site-footer {
  margin-top: 50px;
}

.text {
  color: #000000;
}

.section-header {
  margin-bottom: 30px;
}

.heading-primary {
  margin: 0;
  color: var(--accent);
  text-transform: uppercase;
  font: 700 15px/1 Oswald, 'arial narrow', sans-serif;
  letter-spacing: 0.1rem;
}

.link-back {
  width: 625px;
  margin: 0 auto;
  border-bottom: 1px solid var(--accent);
  padding: 20px 0;
  text-align: center;
}

.section {
  width: 625px;
  padding: 10px;
}

.section-main {
  margin: 7px auto 30px;
  background-color: var(--secondary-accent);
}

.aside {
  width: 210px;
  margin: 0 10px;
  float: right;
  font-size: 11px;
  font-family: arial, helvetica, sans-serif;
  line-height: 120%;
}

.aside-dl {
  padding: 10px;
  background-color: var(--accent);
  color: #FFFFFF;
}

.aside-dl+.aside-dl {
  margin-top: 10px;
}

.aside-dl a {
  color: #FFFFFF;
  text-decoration: underline;
}

.aside-dl a:hover,
.aside-dl a:focus {
  text-decoration: none;
}

.aside-dl i {
  font-style: italic;
}

.aside-title {
  font-weight: normal;
  margin-bottom: 5px;
  border-bottom: 1px solid #fff;
  padding-bottom: 10px;
  font-size: 11px;
  font-family: arial, helvetica, sans-serif;
  color: #FFFFFF;
  line-height: 120%;
}

.text-group+.text-group {
  margin-top: 1em;
}

.figure img {
  display: block;
  max-width: 100%;
  height: auto;
}

.figure+.figure {
  margin-top: 20px;
}

.figure-thumb {
  max-width: 295px;
}

.figure-right {
  margin-left: 7px;
  float: right;
}

.figure-left {
  margin-right: 7px;
  float: left;
}

.figcaption {
  margin: 5px 0 7px;
  color: var(--accent);
  font-size: 11px;
  line-height: 1.2;
}

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

.figcaption i {
  font-style: italic;
}

.form-field {
  margin-top: 20px;
}

.img-responsive {
  max-width: 100%;
  height: auto;
  display: inline-block;
  font-style: italic;
}

/* GRID (row + col-sm-6) */
.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

/* SPACING UTILITIES (mt-4, mt-sm-0) */
.mt-4 {
  margin-top: 1.5rem !important;
}

@media (min-width: 576px) {
  .mt-sm-0 {
    margin-top: 0 !important;
  }
}

/* FORM ELEMENTS */
.form-label {
  display: inline-block;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.form-control {
  display: block;
  width: 100%;
  font-size: 1rem;
  line-height: 1.5;
  color: #212529;
  background-color: #fff;
  border: 1px solid #ced4da;
  border-radius: 0.375rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control:focus {
  border-color: #86b7fe;
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* BUTTONS (btn + btn-secondary) */
.btn {
  display: inline-block;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
  cursor: pointer;
  user-select: none;
  background-color: transparent;
  border: 1px solid transparent;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  border-radius: 0.375rem;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,
    border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.btn:hover {
  color: #212529;
}

.btn-secondary {
  color: #fff;
  background-color: #6c757d;
  border-color: #6c757d;
}

.btn-secondary:hover {
  background-color: #5c636a;
  border-color: #565e64;
}

.clearfix:after,
.clearfix:before,
.container-fluid:after,
.container-fluid:before,
.container:after,
.container:before {
  content: " ";
  display: table
}

.clearfix:after,
.container-fluid:after,
.container:after {
  clear: both
}