/*
  NORMALIZE
*/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

img {
  width: 100%;
}

svg {
  color: #024BAF;
  fill: #024BAF;
}

ol {
  list-style: none;
}

a {
  text-decoration: none;
  color: #024BAF;
}

a:hover {
  text-decoration: underline;
}




/*
  BASE
*/

@font-face {
  font-family: "Barlow-Regular";
  src: url("../fonts/Barlow-Regular.otf") format("opentype");
}

@font-face {
  font-family: "Barlow-Bold";
  src: url("../fonts/Barlow-Bold.otf") format("opentype");
}

@font-face {
  font-family: "Barlow-Black";
  src: url("../fonts/BarlowCondensed-Black.otf") format("opentype");
}

html {
  font-size: 18px;
}

body {
  font-family: "Barlow-Regular";
  font-size: 1rem;
  color: #024BAF;

  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;  
}




/*
  UTILITY
*/

.icon-text {
  display: flex;
  align-items: center;
}

.icon-text span:first-of-type {
  margin-right: 1rem;
  margin-bottom: -2px;
}

.no-wrap {
  white-space: nowrap;
}

.icon-s {
  width: 22px;
  margin-bottom: -3px;
}

.icon-l {
  width: 32px;
  margin-bottom: -12%;
}

@media (max-width: 600px) {
  .icon-s {
    width: 14px;
  }
  
  .icon-l {
    width: 24px;
  }

  .icon-text span:first-of-type {
    margin-right: .5rem;
  }
}


/*
  TEXT
*/

.text-s {
  font-size: 1.5rem;
  font-family: "Barlow-Bold";
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #024BAF;
}

.text-m {
  font-size: 2rem;
  font-family: "Barlow-Bold";
}

.text-l {
  font-size: 4rem;
  font-family: "Barlow-Black";
  text-transform: uppercase;
  text-align: center;
}

.text-xl {
  font-size: 9rem;
  line-height: 95%;
  font-family: "Barlow-Black";
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .text-xl {
    font-size: 6rem;
  }
}

@media (max-width: 600px) {
  .text-s {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    padding-bottom: .5rem;
  }

  .text-m {
    font-size: 1.25rem;
  }

  .text-l {
    font-size: 2.25rem;
  }

  .text-xl {
    font-size: 3rem;
  }
}

h2 {
  width: 100%;
  margin-bottom: 5rem;
}

ul {
  list-style: disc;
  transform: translate(1rem);
  width: calc( 100% - 1rem );
}

@media (max-width: 900px) {
  h2 {
    margin-bottom: 3rem;
  }
}




/*
  HEADER
*/

header {
  position: relative;
  height: 100vh;
  margin-bottom: 10vh;
}

header h1 {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-60%);
  width: 100%;
  text-align: center;
}

header div {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

header h1 {
  padding: 0 1rem;
}

header div:first-of-type {
  top: 1rem;
}

header div:last-of-type {
  bottom: 1rem;
}

figure {
  width: 60%;
  margin: 0 auto;
  height: 110vh;
}

figure img {
  object-fit: cover;
  height: 100%;
}

@media (max-width: 600px) {
  figure {
    width: 75%;
    height: unset;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  figure img {
    height: unset;
    width: 100%;
  }
}



/*
  MAIN
*/

main {
  padding-top: 5rem;
}

section {
  margin-bottom: 5rem;
}

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

@media (max-width: 600px) {
  main {
    padding-top: 0;
  }
  
  section {
    margin-bottom: 3rem;
  }
}

/*

SCSS STUFF

main {
  ol {
    display: flex;
    flex-wrap: wrap;
    padding: 0 7rem;

    & > li {
      width: calc( 100% / 3 );
      padding: 0 3.5rem;

      h3 {
        margin-bottom: 1.5rem;
        padding-bottom: 1rem;
        border-bottom: 2px solid black;
      }
    }
  }
}
*/

main ol {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  padding: 0 7rem;
  margin-bottom: 6rem;
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
}

main ol > li {
  min-width: 341px;
  width: calc( 100% / 3 );
  max-width: 396px;
  padding: 0 3.5rem;
  margin-bottom: 4rem;
}

main ol > li ul li {
  margin-bottom: .25rem;
}

@media (max-width: 600px) {
  main ol {
    margin-bottom: 3rem;
  }
  
  main ol > li {
    margin-bottom: 2rem;
  }
}



/*
  FOOTER
*/

footer div {
  display: flex;
  justify-content: center;
}

footer div:last-of-type {
  margin-top: 9rem;
  margin-bottom: 2rem;
}

@media (max-width: 600px) {
  footer div:last-of-type {
    margin-top: 5rem;
    margin-bottom: 1rem;
  }
}




/*
  TEMPLATE SPECIFICS
*/

.legal main {
  padding: 3rem 1rem 0 1rem;
  width: 100%;
  max-width: 42rem;
  margin: 0 auto;
}

.legal main section h1 {
  margin-bottom: 4rem;
}

.legal main section h2 {
  margin-top: 5rem;
}

@media (max-width: 600px) {
  .legal main section h1 {
    margin-bottom: 2rem;
  }

  .legal main section h2 {
    margin-top: 2rem;
  }
}