/*! HTML5 Boilerplate v5.1.0 | MIT License | https://html5boilerplate.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
  color: #585857;
  font-size: 16px;
  line-height: 1;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #007ebd;
  color: #aee2fa;
  text-shadow: none;
}

::selection {
  background: #007ebd;
  color: #aee2fa;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   One Marchmont
   ========================================================================== */

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

html {
  color: #1d1d1b;
  scroll-behavior: smooth;
  height: -webkit-fill-available;
}

html.with-fancybox {
  scroll-behavior: auto;
}

a {
  text-decoration: none;
  color: #004e70;
}

img {
  display: block;
  max-width: 100%;
}

ul {
  list-style: none;
}

* {
  font-variant-ligatures: none;
}

body, input, textarea {
  font-family: '718 Book', serif;
  font-weight: normal;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

strong {
  font-family: '718', sans-serif;
  font-weight: bold;
}

em {
  font-style: normal;
}

ul, li, p, h1, h2, h3, h4, h5, h6 {
  margin: 0;
  padding: 0;
  line-height: 1;
  font-weight: normal;
}

h1, h2, h3, h4, h5, h6 {
  font-family: '718', sans-serif;
  font-weight: bold;
}

ul {
  list-style: none;
}

.container {
  max-width: 1284px; /* 1204px */
  margin: 0 auto;
  padding: 0 40px;
}

.header {
  background-color: #1c355e;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header__logo {
  width: 40%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px;
}

.header__image {
  width: 60%;
}

main {
  background-color: #bc955c;
}

.main {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 80px 0;
}

.main__column {
  width: 50%;
}

.main__column:first-of-type {
  padding-right: 80px;
}

.main__column h2 {
  color: #fff;
  text-transform: uppercase;
  line-height: 1.25;
  font-size: 2.5rem;
  margin-bottom: 40px;
}

.main__column p {
  font-family: '718', sans-serif;
  font-weight: 300;
  font-size: 1.25rem;
  line-height: 1.5;
  margin-bottom: 24px;
  color: #fff;
}

.main__column p:last-of-type {
  margin-bottom: 0;
}

.main__column ul {
  border-top: 1px solid #cba97b;
}

.main__column ul li {
  font-family: '718', sans-serif;
  font-weight: bold;
  font-size: 1.25rem;
  line-height: 1.5;
  color: #fff;
  text-transform: uppercase;
  background-position: left 14px;
  background-repeat: no-repeat;
  background-image: url(/img/li.svg);
  padding: 8px 0 8px 28px;
  border-bottom: 1px solid #cba97b;
}

.ribbon {
  text-align: center;
  padding: 24px 20px 20px;
  font-family: '718', sans-serif;
  font-weight: bold;
  text-transform: uppercase;
  color: #fff;
  font-size: 1.125rem;
  background-color: #cba97b;
}

.ribbon span {
  padding: 0 4px;
}

section.one {
  padding: 80px 0;
}

section.two {
  background-color: #1c355e;
  padding: 80px 0;
}

.heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 64px;
  text-align: center;
}

.heading h4 {
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.5;
  color: #bc955c;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.heading h2 {
  text-transform: uppercase;
  font-size: 2.5rem;
  line-height: 1.25;
  color: #1c355e;
}

section.two .heading h2 {
  color: #fff;
}

section.two p {
  font-family: '718', sans-serif;
  font-weight: 300;
  font-size: 1.25rem;
  line-height: 1.5;
  margin-bottom: 24px;
  color: #fff;
  text-align: center;
}

section.two p:last-of-type {
  margin-bottom: 0;
}

section.two p em {
  font-style: normal;
  color: #bc955c;
}

section.two p a {
  color: #fff;
  font-family: '718 Book', sans-serif;
  font-weight: 900;
}

footer {
  padding: 28px 20px 24px;
  font-size: 0.875rem;
  font-family: '718', sans-serif;
  font-weight: 300;
  color: #1c355e;
  text-align: center;
  text-transform: uppercase;
}
