* {
  margin: 0;
  padding: 0;
}

html {
  height: 100%;
  scroll-behavior: smooth;
}

body {
  box-sizing: border-box;
  font: 400 18px 'Open Sans', sans-serif;
  min-height: 100%;
  position: relative;
}

h1 {
  font-size: 48px;
  font-weight: 700;
  line-height: 1em;
  margin-bottom: 1em;
}

h2 {
  font-size: 48px;
  font-weight: 700;
  line-height: 1em;
  margin-bottom: 1em;
}

h3 {
  color: #2f7ebe;
  font-size: 30px;
  font-weight: 400;
  line-height: 1em;
  margin: 1em 0;
  text-decoration: underline;
  text-transform: uppercase;
}

h3:first-child { margin-top: 0; }

img { vertical-align: middle; }

.button {
  background-color: #2f7ebe;
  color: #fff !important;
  display: inline-block;
  font: 18px 'Open Sans', sans-serif;
  font-weight: 400 !important;
  padding: 12px 20px;
  text-decoration: none;
  text-transform: uppercase;
}

/* ==========================================================================
   Header
   ========================================================================== */

header {
  display: grid;
  gap: 40px;
  grid-template-columns: auto 1fr auto;
  grid-template-rows: auto 1fr;
  margin: 0 auto;
  max-width: 1600px;
  padding: 40px 20px 0;
  place-items: end;
  position: relative;
  z-index: 100;
}

.logo {
  grid-row: 1 / span 2;
  align-self: start;
}

.logo a { display: block; }

.main-menu { grid-column: 2 / span 2; }

.main-menu ul { list-style: none; }

.main-menu a {
  display: block;
  text-decoration: none;
  white-space: nowrap;
}

.main-menu .separator > a { cursor: text; }

#menu-main-menu {
  display: flex;
  flex-flow: row nowrap;
}

#menu-main-menu > li > a {
  color: #000;
  display: block;
  font-weight: 600;
  line-height: 1em;
  padding: 39px 20px;
  position: relative;
  text-transform: uppercase;
}

/* Lines between menu items */
#menu-main-menu > li > a::after {
  background-color: #000;
  content: '';
  height: 1em;
  position: absolute;
    right: -1px;
  width: 2px;
}

#menu-main-menu > li > .sub-menu {
  position: absolute;
}

/* ==========================================================================
   Mobile Menu
   ========================================================================== */

#mainMenu {
  background-color: #212121;
  color: #fff;
  height: 100vh;
  overflow-x: hidden;
  position: fixed;
    top: 0;
    right: 0;
  transition: 1s;
  width: 0;
  white-space: nowrap;
  z-index: 998;
}

#mainMenu.show { width: 100%; }

#mainMenu .nav { margin: 30px; }

#mainMenu ul { list-style: none; }

#mainMenu .menu li ul {
  display: none;
  margin-bottom: 15px;
}

#mainMenu .menu a {
  color: #fff;
  display: block;
  font-size: 16px;
  font-weight: 400;
  margin: 10px 0;
  text-decoration: none;
}

/* ==========================================================================
    Mobile Menu Toggle
   ========================================================================== */
  
#openMenu {
  background-color: #212121;
  display: none;
  padding: 20px 15px;
  position: fixed;
    top: 0;
    right: 0;
  transition: .5s;
  width: 41px;
  z-index: 999;
}

#openMenu.open {
  background-color: #212121;
  color: #fff;
}

#menuTitle {
  position: relative;
  text-align: center;
  transition: .5s;
}
  
/* ==========================================================================
    Mobile Menu Icon Transition Effect
   ========================================================================== */
  
#btn {
  cursor: pointer;
  display: block;
  height: 30px;
  position: relative;
  transition: .5s;
  z-index: 200;
}

#btn .icon,
#btn .icon::before,
#btn .icon::after {
  background: #fff;
  content: '';
  display: block;
  height: 2px;
  position: absolute;
  transition: top ease .5s .5s, transform ease .5s;
  width: 41px;
}

#btn .icon {
  top: 14px;
  left: 2px;
}

#btn .icon::before { top: -8px; }

#btn .icon::after { top: 8px; }

#btn.active .icon { background: transparent; }

#btn.active .icon::before { transform: rotate(45deg); }

#btn.active .icon::after { transform: rotate(-45deg); }

#btn.active .icon::before,
#btn.active .icon::after {
  background-color: #fff;
  top: 0;
  transition: top ease .5s, transform ease .5s .5s;
}

/* ==========================================================================
   Mobile
   ========================================================================== */

@media only screen  
and (max-width : 1499px) {

.banner h1 { font-size: 48px; }

.banner h3 { font-size: 24px; }

header {
  grid-template-columns: auto;
  justify-items: center;
}

#menu-main-menu { gap: 20px 30px; }

.banner-wrapper {
  height: auto;
  margin-top: -199px;
  padding: 199px 0 140px;
}

.grid { gap: 20px; }

.image { justify-self: center; }

.image img {
  max-width: 600px;
  width: 100%;
}

.left-image,
.right-image { grid-template-columns: auto; }

}

@media only screen  
and (max-width : 1199px) {

h2 { font-size: 36px; }

h3 { font-size: 28px; }

.banner h1 { font-size: 36px; }

.banner h3 { font-size: 18px; }

.banner { gap: 30px 60px; }

.divider,
.content,
.section { margin: 80px auto; }

.left-image .image,
.right-image .image { grid-row: 1; }
  
}

@media only screen  
and (max-width : 1023px) {

.main-menu { display: none; }

#openMenu { display: block; }

.banner-wrapper {
  margin-top: -140px;
  padding: 140px 0 140px;
}

.banner { grid-template-columns: auto; }

.banner .image { grid-row: 1; }

.banner .text { text-align: center; }

.footer {
  gap: 30px 40px;
  grid-template-columns: repeat(2, auto);
}

.branding {
  grid-column: 1 / span 2;
  grid-row: 1;
  text-align: center;
}

}

@media only screen  
and (max-width : 767px) {

h2 { font-size: 32px;}

h3 { font-size: 24px; }

h4 { font-size: 20px; }

.banner h1 { font-size: 32px; }

.intro { margin-bottom: 40px; }

ul[class*="col-"],
[class*="grid-"] { grid-template-columns: auto; }

.footer { grid-template-columns: auto; }

.branding { grid-column: 1; }

}

@media only screen  
and (max-width : 479px) {

img { max-width: 100% !important; }

header { padding-top: 80px; }

.divider,
.content,
.section { margin: 60px auto; }

.banner-wrapper {
  margin: -180px 0 60px;
  padding-top: 180px;
}

}