/*****************************************
* Reset (Remove Default Browser Styles)
******************************************/
*, *:before, *:after {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

html, body, div, span, applet, object, iframe,
h1, h2, h3, h2, 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;
}

/*****************************************
* Boilerplate
******************************************/
/* Base Styling */
/* Font size is set to 16px so that when using the grid system, 1rem can be used to simulate 16px */
html {
  /* 1rem is equal to this font size */
  font-size: 16px;
}

body {
  /* 1em is equal to this font size unless the element has a parent with a specified font size */
  font: normal normal 16px/1 "Open Sans", sans-serif;
  color: #000000;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex-grow: 1;
}

footer {
  margin-top: auto;
}

/* Typography */
h1, h2, h3, h2, h5, h6, p {
  margin: 0 0 1rem 0;
}

h1 {
  font-size: 2.5em;
  line-height: 1.2;
}

h2 {
  font-size: 2em;
  line-height: 1.25;
}

h3 {
  font-size: 1.75em;
  line-height: 1.3;
}

h2 {
  font-size: 1.5em;
  line-height: 1.35;
}

h5 {
  font-size: 1.25em;
  line-height: 1.5;
}

h6 {
  font-size: 1em;
  line-height: 1.6;
}

p, li {
  line-height: 1.5em;
}

/* Inline */
strong {
  font-weight: bold;
}

em {
  font-style: italic;
}

u {
  text-decoration: underline;
}

s {
  text-decoration: line-through;
}

a {
  color: inherit;
  text-decoration: none;
}

a[href^=tel] {
  text-decoration: none;
  display: inline;
}

a[href],
input[type="submit"],
button {
  cursor: pointer;
}

@media (min-width: 1008px) {
  a[href^=tel]  {
    cursor: default;
    pointer-events: none;
  }

  a[href^=tel]:hover {
    color: inherit;
  }
}

/****************************************
* Form Elements
****************************************/

input,
textarea,
select {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  font: inherit;
}

textarea {
  overflow: auto;
  resize: vertical;
}

select {
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0px;
  background: none;
  cursor: pointer;
}

::-moz-focus-inner {
  border: 0;
}

input[type="submit"] {
  border: none;
}

/****************************************
* Misc
****************************************/
/* Misc */
img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0px auto 1rem auto;
}

hr {
  border: none;
  border-top: 2px solid #DDD;
  width: 100%;
  margin: 1rem 0;
}

.flex {
  display: flex;
}

.flex a,
.flex input,
.flex button {
  margin-bottom: 0 !important;
}

.wrap {
  flex-wrap: wrap;
}

.grid {
  display: grid;
}

.col-1 {
  grid-template-columns: 1fr;
}

.span-2 {
  grid-column: span 2;
}

.gap-1 {
  gap: 1rem;
}

.gap-2 {
  gap: 2rem;
}

.gap-3 {
  gap: 3rem;
}

.justify-between {
  justify-content: space-between;
}

.justify-center {
  justify-content: center;
}

.align-center {
  align-items: center;
}