@font-face {
  font-family: "Nexa";
  src: url(/NexaBold.woff) format("woff");
}

:root {
  --headerHeight: 90px;
  --headerMobileHeight: 68px;

  --primaryColor: rgb(0, 176, 240);
  --textColor: #0d0d0d;

  --backgroundLightestColor: #fff;
}

* {
  box-sizing: border-box;
}
body {
  font-family: sans-serif;
  font-size: 16px;
  margin: 0;
}
a {
  text-decoration: none;
}
h1,
h2,
h3 {
  font-family: "Nexa";
  margin-top: 0;
}



/* REUSABLE */
i {
  font-style: italic;
}
.underline {
  text-decoration: underline;
}
button.primary {
  cursor: pointer;
  color: #0d0d0d;
  font-family: "Nexa";
  font-size: 1.6rem;
  text-transform: uppercase;
  background: var(--primaryColor);
  padding: 12px 64px;
  border: none;
  border-radius: 0;
}
.site {
  width: 100%;
  max-width: 1280px;
  padding: 0 16px;
  margin: 0 auto;
}
.hidden {
  display: none !important;
}
.aspect-ratio {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.aspect-ratio::before {
  content: "";
  margin-left: -1px;
  float: left;
  height: 0;
  /*padding-top: calc(100% / 1)*/;
}
.aspect-ratio::after {
  content: "";
  display: table;
  clear: both;
}
.square.aspect-ratio::before {
  padding-top: 100%;
}
.aspect-ratio[data-ratio="16x9"]::before {
  padding-top: calc(100% / (16/9));
}
@media ( max-width: 730px ) {
  .aspect-ratio[data-mobile-ratio="16x9"]::before {
    padding-top: calc(100% / (16/9));
  }
}
.full-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 64px;
}
.full-logo img {
  width: 484px;
  height: 102px;
  margin: 0 auto;
}
.full-logo span {
  color: var(--primaryColor);
  font-family: "Nexa";
  font-size: 13.7px;
  font-weight: bold;
  text-aligN: center;
  text-transform: uppercase;
  white-space: nowrap;
  margin-top: 6px;
}
@media ( max-width: 720px ) {
  .full-logo img {
    width: 280px;
    height: 59px;
  }
  .full-logo span {
    font-size: 8px;
    margin-top: 6px;
  }
}


/* HEADER */
#header {
  background-color: var(--backgroundLightestColor);
  position: sticky;
  top: 0;
  height: var(--headerHeight);
  display: flex;
  align-items: center;
  z-index: 1000;
}
#header nav {
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 32px;
}
#header .logo {
  grid-row: 1;
  justify-self: center;
}
#header .logo a {
  display: block;
}
#header .logo img {
  width: 130px;
  height: auto;
  display: block;
}
#header a {
  color: var(--textColor);
  text-transform: uppercase;
}
#header a:hover {
  color: var(--primaryColor);
}
#header nav > a {
  display: none;
}
@media ( max-width: 720px ) {
  #header {
    height: var(--headerMobileHeight);
  }
  #header nav {
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto;
    grid-gap: 12px 10px;
  }
  #header .logo {
    grid-column: 1 / span 3;
    grid-row: 1;
  }
  #header .logo a {
    position: relative;
    transform: none;
    left: 0;
  }
}



/* MAIN */
main {
  min-height: 80vh; 
}



/* FOOTER */
#footer {
  display: none;
  min-height: 20vh;
}
#footer strong {
  font-weight: normal;
  text-transform: uppercase;
}
#footer a {
  color: var(--primaryColor);
}
@media ( max-width: 720px ) {
  #footer {
    text-align: center;
  }
}



/* HOME */
#home {
  padding-top: 100px;
  padding-bottom: 100px;
  display: flex;
  flex-direction: column;
}
#home .car {
  width: 440px;
  height: 95px;
  margin: 0 auto;
}
#home nav {
  width: 100%;
  max-width: 740px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-gap: 6%;
}
#home nav a {
  color: #fff;
  font-family: "Nexa";
  font-size: 24px;
  text-transform: uppercase;
  background-color: var(--primaryColor);
  transition: transform 225ms ease-out;
}
@media ( min-width: 1024px ) {
  #home nav a:hover {
    transform: scale3d(1.05, 1.05, 1);
  }
}
@media ( max-width: 680px ) {
  #home nav {
    grid-template-columns: 1fr;
    grid-gap: 16px;
  }
}
@media ( max-width: 720px ) {
  #home .car {
    width: 240px;
    height: 52px;
  }
}



/* NAV-LAYOUT */
.nav-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  grid-gap: 24px;
}
.nav-layout .main {
  padding-bottom: 140px;
}
.nav-layout aside nav,
.nav-layout article {
  padding-top: 32px;
}
.nav-layout aside nav {
  width: 80%;
  position: sticky;
  top: var(--headerHeight);
}
.nav-layout aside h1 {
  margin: 0 0 24px;
}
.nav-layout aside ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}
.nav-layout aside li + li {
  margin-top: 24px;
}
.nav-layout aside a {
  color: #0d0d0d;
}
.nav-layout aside a:hover,
.nav-layout aside a.active {
  color: var(--primaryColor);
}
.nav-layout aside img {
  width: 200px;
  height: 42px;
  margin-bottom: 14px;
}
.nav-layout article h2 {
  margin: 0 0 24px;
}
.nav-layout article + article {
  margin-top: 140px;
}
.nav-layout article p {
  line-height: 1.4rem;
}
@media ( max-width: 720px ) {
  .nav-layout {
    grid-template-columns: 1fr;
  }
  .nav-layout aside {
    grid-row: 2;
    padding-bottom: 100px;
  }
  .nav-layout aside nav {
    width: 100%;
    position: relative;
    top: auto;
  }
  .nav-layout .main {
    padding-top: 24px;
    padding-bottom: 24px;
  }
}



/* CONTACT */
#contact {
  text-align: center;
  padding-top: 100px;
  padding-bottom: 120px;
}
#contact > a:first-child {
  display: flex;
  flex-direction: column;
}
#contact .car {
  width: 440px;
  height: 95px;
  margin: 0 auto;
}
#contact h1 {
  text-transform: uppercase;
  margin-bottom: 48px;
}
#contact h2 {
  font-size: 1.8rem;
}
#contact h3 {
  font-size: 1.6rem;
}
#contact a {
  color: var(--primaryColor);
}
@media ( max-width: 720px ) {
  #contact {
    padding-top: 48px;
  }
  #contact .car {
    width: 240px;
    height: 52px;
  }
  #contact h3 {
    font-size: 1.4rem;
  }
}



/* WHO */
#who {
  text-align: center;
  padding-top: 100px;
  padding-bottom: 120px;
}
#who h1 {
  text-transform: uppercase;
  margin-bottom: 32px;
}
#who p {
  font-size: 1.6rem;
  line-height: 2.4rem;
  max-width: 960px;
  display: block;
  margin: 0 auto;
}
#who h2 {
  font-weight: normal;
  text-transform: uppercase;
  margin: 90px 0 48px;
}
#who ul {
  text-align: left;
  list-style-type: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: auto auto auto auto;
  grid-gap: 72px;
}
#who ul a {
  color: #0d0d0d;
}
#who ul a:hover {
  color: var(--primaryColor);
}
@media ( max-width: 720px ) {
  #who {
    padding-top: 48px;
  }
  #who p {
    font-size: 1.2rem;
    line-height: 1.8rem;
  }
  #who ul {
    text-align: center;
    grid-template-columns: 1fr;
    grid-gap: 32px;
  }
}



/* WHAT */
#what {
  text-align: center;
  padding-top: 100px;
  padding-bottom: 120px;
}
#what h1 {
  text-transform: uppercase;
  margin-bottom: 32px;
}
#what p {
  font-size: 1.6rem;
  line-height: 2.4rem;
  max-width: 960px;
  display: block;
  margin: 0 auto;
}
@media ( max-width: 1024px ) {
  #what {
    padding-top: 48px;
  }
  #what p {
    font-size: 1.2rem;
    line-height: 1.8rem;
  }
}



/* SPLASH */
#splash {
  text-align: center;
  width: 100%;
  max-width: 1100px;
  padding: 100px 16px 120px;
  margin: 0 auto;
}
#splash h1 {
  text-transform: uppercase;
  margin: 0 0 100px;
}
#splash p {
  font-size: 1.8rem;
  line-height: 2.6rem;
  margin: 0 0 20vh;
}
@media ( max-width: 1024px ) {
  #splash h1 {
    text-transform: uppercase;
    margin: 0 0 64px;
  }
  #splash p {
    font-size: 1.5rem;
    line-height: 2.2rem;
    margin: 0 0 120px;
  }
}
