/* Fonts */

@font-face {
  font-family: apexNew;
  src: url(../fonts/ApexNew-Book.eot);
  src: url(../fonts/ApexNew-Book.eot#iefix) format("embedded-opentype"),url(../fonts/ApexNew-Book.woff2) format("woff2"),url(../fonts/ApexNew-Book.woff) format("woff");
  font-weight: 400;
}
@font-face {
  font-family: apexNewMedium;
  src: url(../fonts/ApexNew-Medium.eot);
  src: url(../fonts/ApexNew-Medium.eot#iefix) format("embedded-opentype"),url(../fonts/ApexNew-Medium.woff2) format("woff2"),url(../fonts/ApexNew-Medium.woff) format("woff");
  font-weight: 400;
}
@font-face {
  font-family: apexNewBold;
  src: url(../fonts/ApexNew-Bold.eot);
  src: url(../fonts/ApexNew-Bold.eot#iefix) format("embedded-opentype"),url(../fonts/ApexNew-Bold.woff2) format("woff2"),url(../fonts/ApexNew-Bold.woff) format("woff");
  font-weight: 600;
}

/* Variables */

:root {
  /* Colors */
  --primary-dark: #161E61;
  --primary-light: #fff;
  --background-dark: #161E61;
  --background-light: #286AB7;
  --accent: #7B5980;
  /* Grid gaps */
  --gap-small: 30px;
  --gap-medium: 60px;
  --gap-large: 184px;
}


/* Animations */

@keyframes slideUp {
  from {
      transform: translateY(40px);
  }
  to {
      transform: translateY(0);
  }
}

@keyframes slideDown {
  from {
      opacity: 0;
      transform: translateY(-10px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

body {
  font-family: apexNew, Arial, sans-serif;
  font-size: 21px;
  line-height: 36px;
  color: var(--primary-dark);
}

* {
  box-sizing: border-box;
}

/**
 * Smooth loading.
 */
.smooth-loading {
  display: none;
  transition-property: opacity;
  -webkit-transition: opacity 250ms ease-in;
  -moz-transition: opacity 250ms ease-in;
  -ms-transition: opacity 250ms ease-in;
  -o-transition: opacity 250ms ease-in;
  transition: opacity 250ms ease-in;
}

/* Tapography */
h1 {
  font-family: apexNewMedium, Arial, Helvetica, sans-serif;
  color: var(--primary-light);
  font-size: 48px;
  line-height: 62px;    
  padding: 0;
  margin-top: 0;
  margin-bottom: 50px;
}

h2 {
  font-family: apexNewMedium, Arial, Helvetica, sans-serif;
  color: var(--primary-dark);
  font-size: 36px;
  line-height: 40px;
  margin-top: 0;
  margin-bottom: 30px;
}

h3 {
  font-family: apexNew, Arial, Helvetica, sans-serif;
  color: var(--primary-light);
  font-size: 32px;
  line-height: 42x;
  margin: 0px;
}

strong {
  font-family: apexNewMedium, Arial, Helvetica, sans-serif;
  font-size: 21px;
  line-height: 32px;    
  margin-bottom: 30px;
}

p {
  font-family: apexNew, Arial, Helvetica, sans-serif;
  font-size: 18px;
  line-height: 30px;    
  margin-bottom: 30px;
}

a {
  font-family: apexNewMedium, Arial, Helvetica, sans-serif;
  color: var(--primary-light);
  text-decoration: none;
  font-size: 18px;
  line-height: 30px;
  transition: all .2s ease;
}

a:hover {
  text-decoration: underline;
}

/* Buttons */
.button {
    font-family: apexNewMedium, Arial, Helvetica, sans-serif;
    background-color: #286AB7;
    color: #fff;
    border: none;
    border-radius: 4px;
    margin-top: 10px;
    font-size: 21px;
    line-height: 25px;
    padding: 5px 15px;
    height: 75px;
    width:250px;
    margin-left:0;
    margin-right:0;
    cursor: pointer;
}

.button:hover {
    background-color: var(--background-dark);
    color:#fff;
    text-decoration: none;
}

/* Header & Hero */

header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #fff;
  padding:15px 0px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform: translateY(0);
  opacity: 1;
}

.logo a {
  display: block;
}

.logo a img {
  display: block;
  width: 165px;
}

header h1 {
  font-family: apexNewBold, Arial, Helvetica, sans-serif;
  font-size: 28px;
  line-height: 28px;
  color: var(--primary-dark);
  hyphens: auto;
  opacity:0;
  transition: all .2s ease; 
}

.header-wrap {
  width:100%;
  max-width:1320px;
  margin:0 auto;
  padding:0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.banner {
  position: relative;
  background-position: center;
  background-size: cover;
  opacity: 0;
  transform: translateY(-10px);
  animation: slideDown 0.6s ease-out forwards;
}

.banner:is(:hover, :focus-visible, :target, :has(:not(:empty))) {
  animation: slideDown 0.6s ease-out forwards;
}

.banner img {
  display: block;
  width:100%;
  height:auto;
}


/* Layout */
.content {
  width:100%;
  max-width:1320px;
  margin:0 auto;
  font-family: apexNew,Arial,sans-serif;
  font-size: 16px;
  line-height: 20px;
  padding: 0px 20px;
  box-sizing: border-box;
}

section {
  margin-bottom: 60px;
}

section.title-wrap {
  padding: 60px 40px;
  background-color: var(--background-dark);
  margin-top: -125px;
  position: relative;
  z-index: 2;
  transform: translateY(40px);
  animation: slideUp 0.6s ease-out forwards;
}

section#success {
  display: none;
}

/* Footer */

.footer {
  background-color: var(--background-dark);
  color: var(--primary-light);
  padding: 60px 0px;
}

.footer .content {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: top;
}

.footer p {
  font-size:16px;
  line-height: 24px;
}

.footer a {
  font-family: apexNew, Arial, sans-serif;
}

.footer a:hover {
  text-decoration: none;
  color: var(--background-light);
}

.footer .col:nth-of-type(2) {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.footer b {
  font-family: apexNewBold,Arial, Helvetica, sans-serif;
}

.footer a svg {
  height: auto;
  width: 40px;
}
.footer a svg > * {
  fill:#fff;
  transition: all .2s ease;
}
.footer a:hover svg > * {
  fill:var(--background-light)
}

#follow  {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
#follow .row {
  display: flex;
  gap: 80px;
  justify-content: flex-end;
}

#follow div {
  text-align: right;
}

#follow a svg {
  width: 45px;
  height: 45px;
  transition: all 0.3s;
}

#follow a:hover svg * {
  fill: var(--background-light);
}

.full-width {
  margin: 40px auto 0;
}


/* Media Queries */

@media screen and (max-width: 900px) {
  h1 {
      line-height: 40px;
      font-size: 34px;
      margin-bottom: 20px;
  }

  h2 {
      line-height: 32px;
      font-size: 28px;
      margin-bottom: 30px;
  }

  h3 {
      line-height: 31px;
      font-size: 21px;
  }

  p, li, ul {
      line-height: 28px;
      font-size: 18px;
      margin-bottom: 20px;
  }

  strong {
      font-size: 18px;
      line-height: 28px;
      margin-bottom: 10px;
  }

  #wrapper {
      padding-bottom: 72px;
  }

  .logo a img {
      width: 90px;
  }

  .button {
      width: 312px;
      margin: 0 auto;
  }

  section {
      margin-bottom: 30px;
  }

.cols {
    margin-top:30px;
  }

  section.title-wrap {
      margin-top: 0px;
      margin-left: -20px;
      margin-right: -20px;
      padding: 30px 20px;
  }

  .footer {
      padding: 40px 0px;
  }

  .footer .content {
      display: flex;
      flex-direction: column;
      gap: 40px;
  }

  .footer .content .col:nth-of-type(2) {
      text-align: right;
  }

  #follow {
    flex-direction: row;
    gap: 20px;
  }

  #follow .row {
      gap: 20px;
  }

  #follow .row a svg {
      width:40px;
      height: 40px;
  }

  #follow a {
    margin-left: 0;
}
}
