/* Google Fonts */
/* use Montserrat for numbers, Raleyway for everything else */
@import url('https://fonts.googleapis.com/css?family=Quicksand');
@import url('https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,500,600,700');
@import url('https://fonts.googleapis.com/css?family=Inconsolata');

/* Font Awesome */
@import url('https://use.fontawesome.com/releases/v5.8.2/css/all.css');

/* -------------------------------------------------- */
/* main html styles */
/* -------------------------------------------------- */
html,
body {
  margin: 0;
  padding: 0;
}
body {
  position: relative;
  background: #ffffff;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
* {
  font-family: 'Source Sans Pro', sans-serif;
  color: #202020;
}
h1 {
  margin: 0;
  margin-bottom: 10px;
  font-family: 'Quicksand', sans-serif;
  font-size: 50px;
  font-weight: 400;
  letter-spacing: 2px;
  text-align: center;
}
h2 {
  font-size: 20px;
  letter-spacing: 2px;
  font-weight: 400;
  text-align: center;
  margin: 0;
  padding: 0 5px;
  background: #00000020;
}
h3 {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px 0;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-align: center;
}
h3:first-child {
  margin-top: 0;
}
h3:last-child {
  margin-bottom: 0;
}
h3:before,
h3:after {
  content: '';
  width: 100px;
  height: 2px;
  margin: 0 20px;
  background: #202020;
  vertical-align: middle;
  opacity: 0.25;
}
h4 {
  font-size: 20px;
  font-weight: 600;
  margin: 10px 0;
}
h4:first-child {
  margin-top: 0;
}
h4:last-child {
  margin-bottom: 0;
}
p:first-child {
  margin-top: 0;
}
p:last-child {
  margin-bottom: 0;
}
i.fa,
i.fas,
i.fab {
  margin: 10px;
}
a {
  color: #1976d2;
}
a:hover {
  color: #ad1457;
}
figure {
  margin: 0 10px 10px 10px;
  text-align: center;
}
figure img {
  margin: 10px 0;
}
figcaption {
  font-size: 0.85em;
}
code {
  background: #00000020;
  padding: 0 3px;
  border-radius: 3px;
}
code,
code * {
  font-family: 'Inconsolata', monospace;
}

/* -------------------------------------------------- */
/* page section styles */
/* -------------------------------------------------- */
main {
  flex-grow: 1;
}
header {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 65px;
  background: #ad1457;
  box-shadow: inset 0 -10px 10px #00000020;
  position: relative;
}
header,
header *,
header a,
header a:hover {
  color: #ffffff;
  text-decoration: none;
}
section {
  position: relative;
  padding: 30px 20px;
}
footer {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 20px;
  background: #ad1457;
  box-shadow: inset 0 10px 10px #00000020;
}
footer,
footer *,
footer a,
footer a:hover {
  color: #ffffff;
}
footer a:last-child {
  margin: 0 10px;
}
header,
main,
footer {
  box-sizing: border-box;
  width: 100%;
}
.row {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  max-width: 800px;
  margin: 20px auto;
}
.row:first-child {
  margin-top: 0px;
}
.row:last-child {
  margin-bottom: 0px;
}
.col_text {
  box-sizing: border-box;
  flex-grow: 1;
  flex-basis: 0;
  text-align: center;
}
.col_text:not(:first-child) {
  padding-left: 20px;
}
.col_text:not(:last-child) {
  padding-right: 20px;
}
@media (max-width: 720px) {
  .col_text {
    flex-basis: 100%;
    padding: 20px 0 0 0 !important;
    order: 2;
  }
  .col_image {
    order: 1;
  }
}

/* -------------------------------------------------- */
/* header styles */
/* -------------------------------------------------- */
.logo {
  width: 80px;
}
.logo[src='logo.svg'],
.logo[data='logo.svg'] {
  width: 175px;
}
.cursor_blink {
  position: relative;
  margin-left: 5px;
  font-weight: 700;
  top: -2px;
  right: 2px;
  animation: 1s blink infinite;
}
@keyframes blink {
  from,
  to {
    opacity: 0;
  }
  50% {
    opacity: 0.5;
  }
}

/* -------------------------------------------------- */
/* input and button styles */
/* -------------------------------------------------- */
.button_link {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 170px;
  min-width: 170px;
  height: 50px;
  color: #ad1457;
  font-weight: 600;
  margin: 5px;
  border: solid 2px #ad1457;
  border-radius: 4px;
  box-shadow: 0 2px;
  text-decoration: none;
  transition: background 0.1s ease;
}
.button_link * {
  color: #ad1457;
}
.button_link:hover {
  background: #ad1457;
  color: #ffffff;
}
.button_link:hover * {
  color: #ffffff;
}

/* -------------------------------------------------- */
/* general utility styles */
/* -------------------------------------------------- */
.semibold {
  font-weight: 600;
}
.banner_box {
  background: #f0f0f0;
  padding: 20px;
}

/* -------------------------------------------------- */
/* slideshow */
/* -------------------------------------------------- */
.slideshow {
  position: relative;
}
.slideshow > * {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  box-shadow: 0 0 20px #00000020;
  transition: opacity 1s ease;
  z-index: 0;
}
.slideshow > *[data-active] {
  opacity: 1;
  z-index: 1;
}
