@charset 'UTF-8';

/* =========================================================================
   Base
   ========================================================================= */

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: #0381c0;
  background-image: url('../images/overlay.png'), url('../images/bg.jpg');
  background-repeat: repeat, no-repeat;
  background-size: auto, cover;
  background-position: top left, center 40%;
  background-attachment: scroll, scroll;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 18pt;
  line-height: 1.75em;
  font-weight: 300;
  letter-spacing: 1px;
  color: #3a3939;
  text-shadow: 0 0 0.5px rgba(58,57,57,0.25);
  -webkit-text-stroke: 0.25px;
}

body.is-loading * {
  transition: none !important;
  animation: none !important;
}

/* =========================================================================
   Typography
   ========================================================================= */

h1, h2, h3, h4, h5, h6 {
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1.75em;
}

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
  color: inherit;
  text-decoration: none;
}

h1.title { display: inline-block; }

h2 {
  font-size: 1.25em;
  letter-spacing: 8px;
}

h3 {
  font-size: 1em;
  letter-spacing: 5px;
}

strong, b { font-weight: 400; }
em, i { font-style: italic; }

a {
  color: #35b88f;
  text-shadow: 0 0 0.5px rgba(53,184,143,0.25);
  transition: border-color 0.35s ease-in-out, color 0.35s ease-in-out;
  text-decoration: none;
  border-bottom: dotted 1px rgba(53,184,143,0.5);
}

a:hover { border-bottom-color: rgba(53,184,143,0); }

hr {
  border: 0;
  border-top: solid 1px #dad9d9;
  margin: 2em 0;
}

p, ul, ol { margin-bottom: 1em; }

header { margin-bottom: 1em; }

header p {
  display: block;
  margin: 0.5em 0 0;
  padding: 0 0 1.5em;
}

footer { margin-top: 1em; }

.hide { display: none; }

/* =========================================================================
   Layout
   ========================================================================= */

section, article { margin-bottom: 3em; }

section > :last-child,
article > :last-child,
section:last-child,
article:last-child { margin-bottom: 0; }

.container {
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
}

/* =========================================================================
   Image
   ========================================================================= */

.image { display: inline-block; border: 0; }
.image img { display: block; width: 100%; }
.image.fit { display: block; width: 100%; }

/* =========================================================================
   Lists
   ========================================================================= */

ul.icons { cursor: default; }
ul.icons li { display: inline-block; }
ul.icons a {
  display: inline-block;
  width: 2.5em;
  height: 2.5em;
  line-height: 2.5em;
  text-align: center;
  border: 0;
}

ol.privacy,
ol.default {
  list-style: decimal;
  padding-left: 1.25em;
}

/* =========================================================================
   Form
   ========================================================================= */

form label { display: block; margin: 0 0 0.5em; }

form input[type="text"],
form input[type="email"],
form textarea {
  appearance: none;
  display: block;
  border: 0;
  background: #f1f1f1;
  width: 100%;
  padding: 0.75em;
  transition: background-color 0.35s ease-in-out;
}

form input[type="text"],
form input[type="email"] { line-height: 1em; }

form textarea { min-height: 12em; }

form input[type="text"]:focus,
form input[type="email"]:focus,
form textarea:focus { background: #f8f8f8; }

form ::placeholder { color: #5a5959; }

form input.error,
form textarea.error { border: 1px solid red; }

.form-row {
  display: flex;
  gap: 1em;
  margin-bottom: 1em;
}

.form-row textarea { flex: 1; }

.form-actions {
  justify-content: center;
  align-items: center;
}

/* =========================================================================
   Button
   ========================================================================= */

input[type="submit"],
.button {
  appearance: none;
  display: inline-block;
  border: 0;
  background: #35b88f;
  color: #fff;
  text-shadow: 0 0 0.5px rgba(255,255,255,0.25);
  cursor: pointer;
  text-decoration: none;
  outline: 0;
  padding: 1em 3em;
  text-align: center;
  border-radius: 3em;
  font-weight: 400;
  transition: background-color 0.35s ease-in-out, color 0.35s ease-in-out;
}

input[type="submit"]:hover,
.button:hover { background: #45c89f; }

.button.style2 {
  color: #3a3939;
  background: #fff;
  box-shadow: inset 0 0 0 1px #fff;
}

.button.style2:hover {
  background: rgba(255,255,255,0.1);
  color: #fff !important;
  text-shadow: 0 0 0.5px rgba(255,255,255,0.25) !important;
}

.button.style3 {
  background: none;
  color: #3a3939;
  box-shadow: inset 0 0 0 1px #dad9d9;
}

.button.style3:hover { background: rgba(58,57,57,0.025); }

/* =========================================================================
   Box
   ========================================================================= */

.box {
  position: relative;
  margin-top: 9em;
  margin-bottom: 0;
  box-shadow: 2px 2px 10px rgba(69,69,69,0.5);
  border-radius: 3px;
}

.box::after {
  content: '';
  display: block;
  position: absolute;
  top: -9em;
  left: 50%;
  height: 9em;
  border-left: solid 1px #fff;
}

.box::before {
  content: '';
  display: block;
  width: 90px;
  height: 66px;
  position: absolute;
  left: 50%;
  top: -4.5em;
  margin-left: -45px;
  margin-top: -33px;
  background: url('../images/arrow.svg') no-repeat;
}

.box :last-child { margin-bottom: 0; }

.box.style1 {
  background: #fff;
  padding: 3em;
}

.box.style1 .image {
  display: block;
  position: absolute;
  top: 0;
  width: 50%;
  height: 100%;
  background: #fff;
  border-radius: 3px;
  overflow: hidden;
}

.box.style1 .image img {
  top: 0;
  height: 100%;
  width: auto;
  margin: auto;
}

.box.style1.right .image { left: 0; }
.box.style1.right .image img { right: 0; }
.box.style1.right .inner {
  margin-left: 50%;
  padding-left: 3em;
}

.box.style1.left .image { right: 0; }
.box.style1.left .image img { left: 0; }
.box.style1.left .inner {
  margin-right: 50%;
  padding-right: 3em;
}

.box.style3 {
  background: #fff;
  padding: 3em;
}

.box.style3 header { text-align: center; }

/* =========================================================================
   Icons (Font Awesome)
   ========================================================================= */

.icon { text-decoration: none; border: 0; }

/* =========================================================================
   Email obfuscation
   ========================================================================= */

.email::before {
  content: attr(data-website) "\0040" attr(data-user);
  unicode-bidi: bidi-override;
  direction: rtl;
}

/* =========================================================================
   #header
   ========================================================================= */

#header {
  position: relative;
  color: #fff;
  text-shadow: 0 0 0.5px rgba(255,255,255,0.25);
  text-align: center;
  margin: 0;
  padding: 14em 0;
  cursor: default;
}

#header header {
  display: inline-block;
  padding: 0 0 4.5em;
}

#header header h1 {
  font-weight: 600;
  font-size: 2em;
  letter-spacing: 10px;
}

#header header p {
  border-top: solid 1px rgba(255,255,255,0.5);
  color: rgba(255,255,255,0.75);
  text-shadow: 0 0 0.5px rgba(255,255,255,0.1875);
  font-size: 1em;
  text-transform: uppercase;
  letter-spacing: 3px;
  padding: 0;
  margin-top: 0.35em;
}

#header header p::before {
  content: '';
  display: block;
  border-top: solid 1px rgba(255,255,255,0.5);
  margin: 4px 0 0.8em;
}

#header footer {
  position: absolute;
  bottom: 9em;
  margin: 0;
  width: 100%;
}

#header footer::after {
  content: '';
  display: block;
  position: absolute;
  bottom: -9em;
  left: 50%;
  height: 9em;
  border-left: solid 1px #fff;
}

#header footer::before {
  content: '';
  display: block;
  width: 90px;
  height: 66px;
  position: absolute;
  left: 50%;
  bottom: -4.5em;
  margin-left: -45px;
  margin-bottom: -33px;
  background: url('../images/arrow.svg') no-repeat;
}

/* =========================================================================
   #about
   ========================================================================= */

#about {
  position: relative;
  text-shadow: 0 0 0.5px rgba(255,255,255,0.25);
  text-align: center;
  background: #fff;
  padding: 5em 0;
  margin: 0;
}

#about header { margin: 0 0 2em; }

#about header h2 {
  font-weight: 400;
  font-size: 1.75em;
  letter-spacing: 8px;
}

#about p { margin: 2em; }
#about footer { margin: 2em 0 0; }
#about p a { color: inherit; }
#about a:hover { border-bottom-color: #5a5959; }

/* =========================================================================
   #footer
   ========================================================================= */

#footer {
  position: relative;
  color: #fff;
  text-shadow: 0 0 0.5px rgba(255,255,255,0.25);
  text-align: center;
  margin: 4.5em 0 0;
}

#footer::after {
  content: '';
  display: block;
  position: absolute;
  top: -4.5em;
  left: 50%;
  height: 4.5em;
  border-left: solid 1px #fff;
}

#footer a {
  color: #fff;
  text-shadow: 0 0 0.5px rgba(255,255,255,0.25);
  border-bottom-color: rgba(255,255,255,0.5);
}

#footer a:hover {
  color: #d0d0d0;
  text-shadow: 0 0 0.5px rgba(69,200,159,0.25);
  border-bottom-color: rgba(53,184,143,0.5);
}

#footer .icons {
  padding: 0.75em 2em;
  border-radius: 3em;
  border: solid 1px #fff;
  display: inline-block;
  margin: 0 0 3em;
}

#footer .icons .label {
  display: none;
}

/* =========================================================================
   #privacy
   ========================================================================= */

#privacy .inner {
  max-width: 860px;
  margin: 0 auto;
}

#privacy .inner > header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1em;
}

/* =========================================================================
   Responsive — Wide (≤ 1680px)
   ========================================================================= */

@media (max-width: 1680px) {
  body, input, textarea { font-size: 16pt; }
}

/* =========================================================================
   Responsive — Normal (≤ 1080px)
   ========================================================================= */

@media (max-width: 1080px) {
  body, input, textarea { font-size: 14pt; }

  h1, h2, h3, h4, h5, h6 { line-height: 1.5em; }

  .container { width: 95%; }

  #about {
    padding: 3.5em;
    background-size: 200% auto;
  }

  #about br { display: none; }

  .box.style1 { padding: 2.5em 2em; }
  .box.style1.right .inner { padding-left: 2em; }
  .box.style1.left .inner { padding-right: 2em; }
  .box.style3 { padding: 2.5em 2em; }
}

/* =========================================================================
   Responsive — Narrow (≤ 840px) — switch to alternate background
   ========================================================================= */

@media (max-width: 840px) {
  body {
    background-image: url('../images/overlay.png'), url('../images/bg-alt.jpg');
    background-size: auto, 100% auto;
    background-position: top left, top center;
    background-attachment: scroll, scroll;
  }
}

/* =========================================================================
   Responsive — Mobile (≤ 736px)
   ========================================================================= */

@media (max-width: 736px) {
  * { text-shadow: none !important; }

  body, input, textarea {
    line-height: 1.5em;
    font-size: 12pt;
    letter-spacing: 0;
  }

  h2, h3, h4, h5, h6 { font-size: 1em; }
  h2 { font-size: 1.25em; letter-spacing: 4px; }

  ul.icons a { width: 2em; height: 2em; line-height: 2em; }

  input[type="submit"],
  .button {
    padding: 0.75em 0;
    width: 100%;
    max-width: 320px;
  }

  .form-row { flex-direction: column; }

  .box { margin-top: 4.5em; }

  .box::after { top: -4.5em; height: 4.5em; }

  .box::before {
    width: 45px;
    height: 33px;
    top: -2.25em;
    margin-left: -22.5px;
    margin-top: -16.5px;
    background-size: 45px 33px;
  }

  .box.style1 {
    padding: 0;
    text-align: center;
  }

  .box.style1 .image {
    position: relative !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: auto !important;
  }

  .box.style1 .image img {
    position: relative;
    height: auto;
    width: 60%;
  }

  .box.style1 .inner {
    margin: 0 !important;
    padding: 2em 1.25em !important;
  }

  .box.style3 { padding: 2em 1.25em; }

  #header { padding: 6em 0; }

  #header header {
    padding-left: 2em;
    padding-right: 2em;
  }

  #header header h1 { font-size: 1.75em; letter-spacing: 6px; }

  #header footer {
    bottom: 4.5em;
    padding: 0 2em;
  }

  #header footer::after { bottom: -4.5em; height: 4.5em; }

  #header footer::before {
    width: 45px;
    height: 33px;
    bottom: -2.25em;
    margin-left: -22.5px;
    margin-bottom: -16.5px;
    background-size: 45px 33px;
  }

  #about {
    padding: 3em 2em;
    background-size: auto 150%;
  }

  #about header { margin: 0 0 1em; }
  #about header h2 { font-size: 1.5em; letter-spacing: 6px; }

  #footer .icons { padding: 0.5em 1.25em; }

  #about br { display: none; }

  .box.style1 { padding: 2.5em 2em; }
  .box.style1.right .inner { padding-left: 2em; }
  .box.style1.left .inner { padding-right: 2em; }
  .box.style3 { padding: 2.5em 2em; }
}

