/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
   ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
   ========================================================================== */

/**
 * Remove the margin in all browsers.
 */

body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */

main {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */

h1 {
  font-size: 64px;
  margin: 0 0 24px;
}

/* Grouping content
   ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */

hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/* Text-level semantics
   ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */

a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */

abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */

b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */

small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
   ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */

img {
  border-style: none;
}

/* Forms
   ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */

button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */

button,
input { /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */

button,
select { /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */

button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */

legend {
  box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */

progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */

textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */

[type="checkbox"],
[type="radio"] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */

[type="search"] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */

[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Interactive
   ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */

details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */

summary {
  display: list-item;
}

/* Misc
   ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */

template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */

[hidden] {
  display: none;
}

/**
 * Custom Styles
 */

body {
  background-color: #F6F2EB;
}

.sr-only {
  border: 0;
  clip: rect(.0625rem, .0625rem, .0625rem, .0625rem);
  -webkit-clip-path: inset(50%);
  clip-path: inset(50%);
  height: .0625rem;
  margin: -.0625rem;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: .0625rem;
  word-wrap: normal !important;
}

/**
 * Fonts
 */

@font-face {
  font-family: "P22KirkwallW01";
  src: url('./fonts/p22kirkwallbold-webfont.woff2') format('woff2'),
  url('./fonts/p22kirkwallbold-webfont.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

h1, h2 {
  font-family: "P22KirkwallW01", serif;
}

p, ul {
  font-family: "Poppins";
  font-size: 18px;
  line-height: 28px;
  color: #20264C;
}

header {
  text-align: center;
  padding: 17px 0;
}


/**
 * Hero
 */

.hero {
  position: relative;
  min-height: 700px;
  @media (max-width: 1024px) {
    min-height: 520px;
  }
}

.hero img {
  /*position: absolute;*/
  width: 100%;
  height: 100%;
  max-height: 700px;
  object-fit: cover;
  @media (max-width: 1024px) {
    height: 520px;
  }
}

.hero .scroll-indicator {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 64px;
  height: 64px;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  bottom: 32px;
  border-radius: 50%;
  z-index: 2;
  background-color: #F5F2EC;
}

.hero .scroll-indicator::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  background-image: url("images/bg-image.png");
  background-size: cover;
  border-radius: 50%;
  z-index: -1;
}

.hero-title {
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #20264C;
  left: 50%;
  bottom: -60px;
  margin: 0;
  text-align: center;
}

/**
 * Intro Text
 */

.intro-text {
  padding: 80px 32px;
  position: relative;
  @media (max-width: 1024px) {
    padding: 40px 32px;
  }
}

.intro-text h1 {
  font-size: 64px;
  line-height: 1;
  font-weight: 700;
  color: #365294;
  text-transform: uppercase;
  @media (max-width: 1024px) {
    font-size: 40px;
  }
}

.intro-text .container {
  max-width: 736px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}

.intro-text svg {
  width: 369px;
  height: 369px;
  position: absolute;
  left: -66px;
  bottom: 0;
  @media (max-width: 1024px) {
    display: none;
  }
}

/**
 * Carousel
 */

.carousel {
  padding: 80px 0;
  @media (max-width: 1024px) {
    padding: 40px 0;
  }
}

.carousel .swiper {
  width: 100%;
  height: 100%;
  padding-bottom: 112px;
  @media (max-width: 641px) {
    padding-bottom: 0;
  }
}

.swiper .swiper-wrapper {
  height: 712px;
  @media (max-width: 641px) {
    height: 200px;
  }
}

.swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #444;
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 1280px;
  height: 712px;
  @media (max-width: 641px) {
    height: 200px;
    max-width: 311px;
  }
}

.swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel .swiper-pagination-fraction {
  font-size: 14px;
  line-height: 20px;
  font-weight: 300;
  margin-top: 24px;
  text-align: center;
  color: #20264C;
  @media (max-width: 641px) {
    margin-top: 8px;
  }
}

.carousel .swiper-pagination-dots {
  text-align: center;
  margin-top: 68px;
  @media (max-width: 641px) {
    margin-top: 32px;
  }
}

.carousel .swiper-pagination-bullet {
  width: 24px;
  height: 4px;
  background-color: #365294;
  opacity: 0.2;
  border-radius: 0;
  margin: 0 !important;
}

.carousel .swiper-pagination-bullet-active {
  opacity: 1;
}

/**
 * Text Image
 */

.text-image {
  padding: 80px 0;
  @media (max-width: 1024px) {
    padding: 40px 0;
  }
}

.text-image .container {
  max-width: 1440px;
  margin: 0 auto;
  overflow: hidden;
  @media (max-width: 1024px) {
    margin: 0 24px;
  }
}

.text-image h2, .text-image p {
  text-align: left;
  @media (max-width: 1024px) {
    text-align: center;
  }
}

.text-image .grid-row {
  grid-column-gap: 32px;
  display: grid;
  grid-template-columns:
    [col1-start] repeat(5, 1fr) [col1-end col2-start] repeat(7, 1fr)
    [col2-end];
  grid-row-gap: 32px;
  align-items: center;
  @media (max-width: 1024px) {
    display: block;
  }
}

.text-image .grid-col:nth-child(1) {
  grid-column: col1;
  padding: 0 64px;
  @media (max-width: 1024px) {
    padding: 0;
  }
}

.text-image .grid-col:nth-child(1) h2 {
  font-size: 32px;
  line-height: 40px;
  font-weight: 700;
  text-transform: uppercase;
  color: #365294;
  margin: 0;
}

.text-image .grid-col:nth-child(1) p {
  font-weight: 300;
}

.text-image .grid-col:nth-child(2) {
  grid-column: col2;
  position: relative;
  min-height: 555px;
  @media (max-width: 641px) {
    min-height: 273px;
  }
}

.text-image .grid-col:nth-child(2) img {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  object-fit: cover;
}

/**
 * Press & Media
 */

.press-media {
  background-color: #20264C;
  text-align: center;
  color: #fff;
  padding: 80px 32px;
  @media (max-width: 1024px) {
    padding: 64px 32px;
  }
}

.press-media h2 {
  font-size: 48px;
  line-height: 56px;
  text-transform: uppercase;
  margin-bottom: 24px;
  @media (max-width: 1024px) {
    font-size: 36px;
    line-height: 42px;
  }
}

.press-media p,
.press-media a {
  color: #fff;
  font-weight: 300;
}

.press-media a {
  font-family: "Poppins";
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.press-media a:hover,
.press-media a:focus {
  text-decoration: underline;
}

footer {
  background-color: #e1f1f5;
  padding: 80px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-top: 1px solid #767693;
  outline: .5rem solid #365294;
  margin-top: 40px;
  outline-offset: .5rem;
}

footer .container {
  position: relative;
  z-index: 1;
}

footer .footer-logo {
  margin-bottom: 65px;
  @media (max-width: 641px) {
    width: 220px;
    height: 134px;
    margin-bottom: 50px;
  }
}

footer .row {
  text-align: center;
}

footer .footer-left-image {
  position: absolute;
  left: 0;
  bottom: -50px;
  width: 590px;
  height: 590px;
}

.footer-info p,
.footer-info a {
  font-family: "Poppins";
  font-size: 1rem;
  line-height: 1.5rem;
  letter-spacing: 0;
  color: #365294;
  font-weight: 300;
}

.footer-info a {
  text-decoration: none;
}

.meta-container > * {
  font-family: "Poppins";
  color: #365294;
  display: inline-flex;
  font-size: .875rem;
  font-weight: 350;
  line-height: 1.25rem;
}

.meta-container a.made-by {
  position: relative;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: #20264c;
}

.meta-container a.made-by:hover,
.meta-container a.made-by:focus {
  text-decoration: underline;
}

.meta-container a.made-by svg {
  width: 1rem;
  height: 1rem;
  margin-left: .375rem;
}
