@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700;900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Roboto+Condensed&family=Roboto:wght@100;300;400;500;700;900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Caveat&family=Roboto:wght@100;300;400;500;700;900&display=swap");
.mb-1 {
  margin-bottom: 8px; }

.mt-1 {
  margin-top: 8px; }

.mb-2 {
  margin-bottom: 16px; }

.mt-2 {
  margin-top: 16px; }

.mb-3 {
  margin-bottom: 24px; }

.mt-3 {
  margin-top: 24px; }

.mb-4 {
  margin-bottom: 32px; }

.mt-4 {
  margin-top: 32px; }

.mb-5 {
  margin-bottom: 40px; }

.mt-5 {
  margin-top: 40px; }

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; }

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

html {
  /* Resize font to change 1rem = 1px */
  font-size: 62.5%;
  overflow-x: hidden; }

body {
  line-height: 1.5;
  font-size: 1.8rem;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  counter-reset: figcaption 0;
  counter-increment: figcaption 1;
  color: #333; }

h1, h2, h3, h4, h5, h6, p.h1 {
  font-family: 'Roboto Condensed', 'Arial', sans-serif;
  margin-bottom: 1rem;
  line-height: 1.25;
  color: black; }

h1, p.h1 {
  font-size: 4.8rem; }

h2 {
  font-size: 4.2rem; }

h3 {
  font-size: 3.6rem; }

h4 {
  font-size: 2.8rem; }

h5 {
  font-size: 2.4rem; }

h6 {
  font-size: 1.8rem; }

p {
  margin-bottom: 2.4rem; }

strong, b {
  font-weight: bold; }

img {
  max-width: 100%;
  border-radius: 1rem; }

figcaption {
  margin-bottom: 1.8rem; }

figcaption::before {
  content: "Figure " counter(figcaption) ". ";
  font-weight: bold;
  color: black; }

.container {
  width: 100%;
  display: flex;
  flex-direction: row;
  gap: 2.4rem;
  justify-content: center; }

/* button-like */
button {
  background-color: dodgerblue;
  border: 1px solid dodgerblue;
  border-radius: 6px;
  color: white;
  text-transform: uppercase;
  padding: 1.2rem 1.8rem;
  margin: 2.4rem 1rem;
  transition: box-shadow 300ms; }

button.outline {
  background-color: white;
  border: 1px solid dodgerblue;
  color: dodgerblue; }

button:hover {
  outline: 3px solid dodgerblue;
  outline-offset: 2px; }

a.button {
  text-transform: uppercase;
  text-decoration: none;
  color: white;
  font-size: 90%;
  margin: 0;
  padding: 1rem 1.8rem;
  background-color: dodgerblue;
  display: inline-block;
  border-radius: 8px;
  transition: outline 200ms ease-in-out; }

a.button:hover {
  outline: 3px solid dodgerblue;
  outline-offset: 2px; }

/* cards */
.card-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  row-gap: 1.8rem; }

.card {
  border: 1px solid lightgray;
  border-radius: 1rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 250ms ease-in-out; }

.card:hover {
  box-shadow: 1px 1px 10px lightblue; }

.card img {
  margin: 0;
  min-width: 100%; }

.card h1,
.card h2,
.card h3,
.card h4,
.card h5,
.card h6,
.card p {
  margin: 0; }

.card button {
  margin: 0; }

.card-cap {
  object-fit: contain;
  height: 150px;
  margin: 0;
  padding: 0;
  flex-grow: 1; }

.card-cap img {
  border-radius: 0;
  margin: 0;
  height: 150px; }

.card-content {
  padding: 1rem 1.2rem;
  font-size: 90%;
  display: flex;
  flex-direction: column;
  flex-grow: 100; }

.card-button {
  padding: 0 1.2rem 1rem 1.2rem;
  font-size: 90%;
  flex-grow: 1; }

/* forms */
form {
  width: 50%;
  min-width: 300px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column; }

form ul li {
  font-size: 80%; }

form ul {
  margin-bottom: 1.5rem; }

input {
  font-size: 1.4rem;
  display: block;
  margin-bottom: 1.2rem;
  padding: 0.75rem;
  border: 1px solid lightgray;
  border-radius: 3px;
  width: 100%; }

input:focus {
  outline: 3px solid dodgerblue;
  outline-offset: 2px; }

label {
  font-size: 80%;
  text-justify: left;
  margin-bottom: 0.5rem; }

.error {
  font-weight: bold;
  color: tomato;
  text-align: center;
  margin-top: 1.8rem; }

.success {
  font-weight: bold;
  color: dodgerblue;
  text-align: center;
  margin-top: 1.8rem; }

footer {
  width: 100%;
  padding: 1.2rem 2.4rem;
  text-align: center;
  font-size: 90%; }

header {
  width: 100%;
  margin-bottom: 4.8rem;
  position: absolute;
  top: 0;
  left: 0; }

main {
  margin: 4.8rem auto;
  padding: 4.8rem 2rem;
  max-width: 10in; }

/* top navigation */
nav {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  border-bottom: 1px solid lightgrey; }

nav ul {
  list-style-type: none;
  padding: 0;
  overflow: hidden;
  display: flex;
  justify-content: flex-end;
  margin: 0 4.8rem; }

nav li a {
  display: block;
  text-align: center;
  padding: 1.6rem 2rem;
  text-decoration: none;
  color: #333;
  font-family: 'Roboto Condensed';
  font-weight: thin;
  font-size: 2rem;
  word-wrap: nowrap;
  transition: all 300ms ease; }

nav li a:hover {
  color: dodgerblue;
  font-weight: bold; }

section {
  margin-top: 3.6rem; }

main.index {
  margin-top: 0; }

nav.light li a {
  color: white; }

.light {
  border-bottom: none; }

.light a {
  color: white; }

/* index banner */
.banner {
  width: 100%;
  height: 360px;
  background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75)), url("../img/banner.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position-y: 40%;
  color: white !important; }

.banner .container {
  height: 360px;
  margin: 0 auto;
  padding: 4.8rem 2rem;
  max-width: 10in;
  display: flex;
  flex-direction: column;
  justify-content: flex-end; }

.banner .lead {
  font-size: 8.4rem;
  font-family: 'Caveat', cursive;
  margin: 0; }

@media screen and (max-width: 1000px) {
  .banner {
    padding: 0 3.6rem; }
  .card-container {
    grid-template-columns: repeat(3, 1fr); } }

@media screen and (max-width: 700px) {
  body {
    line-height: 1.325; }
  h1 {
    font-size: 2.8rem; }
  h2 {
    font-size: 2.4rem; }
  h3 {
    font-size: 2.4rem; }
  h4 {
    font-size: 2.2rem; }
  h5 {
    font-size: 2.2rem; }
  h6 {
    font-size: 2rem; }
  .banner {
    padding: 0 2.4rem;
    height: 240px; }
  .banner .container {
    height: 240px;
    padding: 1rem 2rem; }
  .banner .lead {
    font-size: 4rem; }
  nav ul {
    justify-content: center;
    margin: 0 2.4rem; }
  main.index {
    margin-top: 0;
    padding-top: 0; }
  main {
    margin: 3.6rem 0;
    padding: 2.4rem 2rem; }
  .card-container {
    grid-template-columns: repeat(1, 1fr); } }
