﻿:root {
    --darkBrand: #00243D;
    --lightBrand: #42B0D5;
    --lightestBrand: #FFFFFF;
    --functionalLightGrey: #F7F7F7;
    --borderColor: #DBDBDB;
    --textColor: #141414;
}

/* MAERSK FONTS */

@font-face {
    font-family: "MaerskHeadline-Regular";
    src: url('fonts/MaerskHeadline-Regular.woff') format('woff');
}

@font-face {
    font-family: "MaerskHeadline-Light";
    src: url('fonts/MaerskHeadline-Light.woff') format('woff');
}

@font-face {
    font-family: "MaerskText-Bold";
    src: url('fonts/MaerskText-Bold.woff') format('woff');
}

@font-face {
    font-family: "MaerskText-Regular";
    src: url('fonts/MaerskText-Regular.woff') format('woff');
}
h1 {
    font-family: "MaerskHeadline-Light", Arial, Helvetica, sans-serif;
    font-size: 50px;
}

h2 {
    font-family: "MaerskHeadline-Light", Arial, Helvetica, sans-serif;
    font-size: 40px;
}

h3 {
    font-family: "MaerskHeadline-Regular", Arial, Helvetica, sans-serif;
    font-size: 26px;
}

h4 {
    font-family: "MaerskHeadline-Regular", Arial, Helvetica, sans-serif;
    font-size: 20px;
}

h5 {
    font-family: "MaerskText-Bold", Arial, Helvetica, sans-serif;
    font-size: 16px;
}

p {
    font-family: "MaerskText-Regular", Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 24px;
}
/* END MAERSK TYPE RAMP */
* {
  margin: 0;
  padding: 0;
}

body {
  color: var(--textColor);
  font-family: 'MaerskText-Regular', Arial, Arial, Helvetica, sans-serif;
}

.wrapper {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.navbar  {
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--lightestBrand);
}

.navbar-logo {
  margin: 0 20px 0 12px;
  width: 165px;
}

.navbar-logo a,
.navbar-list a {
  text-decoration: none;
  letter-spacing: .07em;
}

.navbar-list  {
  box-sizing: border-box;
  display: flex;
  list-style: none;
}

.navbar-list a {
  color: var(--darkBrand);
  display: block;
  padding: 1em;
}

.navbar-list a:hover {
  background: var(--functionalLightGrey);
  box-shadow: inset 0 -4px 0 0 var(--lightBrand);
}

.hero {
    width: 100vw;
    min-height: 200px;
    padding: 24px;
    background-image: url(api-hero.png);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.message {
  margin: 24px;
  max-width: 50%;
  color: var(--lightestBrand);
}

.features {
  display: flex;
  align-items: start;
  justify-content: center;
}

.box {
  box-sizing: border-box;
  padding: 24px;
  width: 30%;
  margin: 0 24px;
  text-align: center;
}

.box h3 {
  text-transform: uppercase;
}
.footer-wrapper {
  display: block;
  width: 100vw;
  margin: 24px 0;
  padding-top: 12px;
  border-top: 1px solid var(--borderColor);
}

.footer-content {
    font-size: 14px;
    padding: 0 24px;
}

/* --------------- small screens ----------------- */
@media all and (max-width: 600px) {

  .navbar {
    flex-direction: column;
  }

  .navbar-logo {
    padding: 8px;
  }

  .navbar-list {
    flex-direction: column;
    justify-content: center;
    width: 100%;
    text-align: center;
  }

  .navbar-list a {
    padding: 10px;
    border-top: 1px solid rgba(255,255,255,0.3);
    border-bottom: 1px solid rgba(0,0,0,0.1);
  }

  .navbar-list li:last-of-type a {
    border-bottom: none;
  }

  .hero {
    flex-direction: column;
    text-align: center;
  }

  .features {
    flex-direction: column;
    align-items: center;
    margin-bottom: 12px;
  }

  .box {
    width: 100%;
  }
}
