@font-face {
    font-family: "Asap Bold";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(../fonts/asap/Asap-Bold.ttf) format(truetype);
}
@font-face {
    font-family: "Asap Regular";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(../fonts/asap/Asap-Regular.ttf) format(truetype);
}

*,*:before,*:after{
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
:root{
  --color-primary: #003263;
  --color-glow: #8ef1ff;
  --color-light: #C8E4F1;
  --color-accent: #49A1DD;
  --color-mid: #0058AD;
  --color-overlay: rgba(0, 50, 99, 0.65);
}
body{
  background: var(--color-primary);
  color: var(--color-light);
  font-size: 1rem;
  font-family: "Asap Regular", system-ui, ui-sans-serif, sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  line-height: 1;
}
h5,
h4,
h3,
h2,
h1{
  font-family: "Asap Bold", ui-sans-serif, sans-serif;
  font-size: clamp(1rem, 2vw, 2rem);
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
}
/* h1, */
.title{
  font-size: clamp(1.5rem, 2vw, 2rem);
  line-height: 0.8;
}
/* h2, */
.headline{
  font-size: 2rem;
  line-height: 0.85;
}
/* h3, */
.subhead{
  font-family: "Asap Regular", ui-sans-serif, sans-serif;
  font-size: clamp(2rem, 3vw, 3rem);
  text-transform: initial;
  top: -0.5rem;
  position: relative;
  line-height: 1;
}
/* h5, */
/* h4, */
.subcategory,
.category{
  font-size: 1rem;
  padding-bottom: 0.5rem;
  letter-spacing: 0.025rem;
  line-height: initial;
}
.hero.top .text{
  display: flex;
}
.hero.top .title{
  order: 2;
}
.hero.top .headline{
  order: 1;
}
/* .hero h1, */
.hero .title{
  font-family: "Asap Regular", ui-sans-serif, sans-serif;
  font-size: 1rem;
  letter-spacing: 0.025rem;
  text-transform: initial;
}
/* .hero h2, */
.hero .headline{
  font-size: clamp(3rem, 5.5vw, 5.5rem);
  max-width: 12ch;
}
p{
  font-size: 1rem;
  line-height: 1.25rem;
  letter-spacing: 0.025rem;
  padding-bottom: 1rem;
}
ul{
  list-style: none;
}
ul.list{
  list-style: initial;
}
ul.list li{
  margin-bottom: 1rem;
}
iframe,
svg,
video,
img{
  max-width: 100%;
  height: auto;
  margin: auto;
}
.menu-slideout section,
footer,
main,
nav{
  /* max-width: 1440px; */
  /* max-width: 90rem; */
  /* max-width: 960px; */
  max-width: 60rem;
  margin: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
a{
  color: var(--color-light);
}
a:hover{
  text-decoration: none;
}
a.btn,
button{
  padding: 0.75rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  background: var(--color-accent);
  border: none;
  border-radius: 0.5rem;
  box-shadow: inset 0.125rem 0.125rem 0.125rem var(--color-glow), inset -0.125rem -0.125rem 0.125rem var(--color-primary);
  transition: all ease-in-out 200ms;
  color: var(--color-primary);
  font-family: "Asap Bold", ui-sans-serif, sans-serif;
  font-size: 1.125rem;
  cursor: pointer;
}
a.btn{
  text-decoration: none;
}
.disabled{
  pointer-events: none;
  text-decoration: none;
}
a.btn.disabled,
a.btn:hover,
button:hover{
  box-shadow: none;
}
.text .steps a.btn{
  display: inline-block;
  margin-top: 1rem;
}
button .line{
  transition: all ease-in-out 250ms;
}
button.open :nth-child(1){
  rotate: 35deg;
  transform-origin: left;
}
button.open :nth-child(2){
  opacity: 0;
}
button.open :nth-child(3){
  rotate: -35deg;
  transform-origin: left;
}
.line{
  height: 2px;
  height: 0.125rem;
  width: 24px;
  width: 1.25rem;
  background: var(--color-primary);
}
nav{
  display: flex;
  /* justify-content: space-between; */
  align-items: center;
  /* align-items: top; */
  flex-direction: row;
  position: fixed;
  z-index: 10;
  /* width: 100%; */
  height: 4.5rem;
  background: var(--color-overlay);
  max-width: initial;
  right: 0;
  border-radius: 0 0 0 1.125rem;
}
nav a{
  position: relative;
  top: 0.25rem;
}
.menu-slideout{
  height: 0;
  overflow: hidden;
  background: black;
  position: absolute;
  top: 0;
  right: 0;
  z-index: 11;
  font-size: 1.5rem;
  gap: 2rem;
  transition: all ease-in-out 350ms;
  border-radius: 0 0 0 1.125rem;
  box-shadow: none;
}
.menu-slideout.open{
  height: 300px;
  box-shadow: rgba(0,0,0,0.15) 1rem 1rem 3rem 3rem;
}
.menu-slideout section{
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  height: 90%;
  gap: 3rem;
  padding: 1rem 1.5rem;
}
.menu-slideout .links{
  margin-right: 6rem;
  font-family: "Asap Bold", ui-sans-serif, sans-serif;
  gap: 1rem;
}
.social img{
  height: 32px;
  width: auto;
}
.links{
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

nav button{
  z-index: 12;
}
main{
  display: flex;
  flex-direcion: column;
  /* gap: clamp(3rem, 4vw, 4rem); */
  gap: 1rem;
  padding-top: clamp(5rem, 6vw, 6rem);
  scroll-snap-type: y mandatory;
}
section{
  scroll-margin-top: 4rem; 
}
section,
.hero{
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  scroll-snap-align: center;
  padding-bottom: 1rem;
}
main section:not(.hero){
  border-bottom: solid 1px var(--color-mid);
  padding: 2rem 0;
}
.hero.alt .img,
.hero .img{
  margin: auto;
  position: relative;
}
.hero.top .img{
  opacity: 0;
  animation: 350ms ease-in-out growin 750ms forwards;
  transform-origin: center;
}
.hero .img::after{
  background-image: linear-gradient(var(--color-overlay), var(--color-overlay));
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}
.hero .img iframe,
.hero .img video{
  /* height: clamp(20rem, 35vw, 35rem); */
  object-fit: contain;
}
section .text,
.hero .text{
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: start;
}
section .text{
  gap: 1rem;
}
.hero .text{
  /* position: relative; */
  /* top: -4rem; */
  transform: translate(0, -4rem);  
}
.hero.award .text,
.text{
  gap: 1rem;
}
section.contact,
ul.social,
ul.buttons,
ul.clients{
  display: flex;
  gap: 1rem;
  justify-content: space-around;
}
ul.clients{
  overflow: visible;
  overflow-x: scroll;
}
ul.clients li img{
  /* max-width: 20vw; */
  /* max-width: 10vw; */
  max-width: 7rem;
  height: auto;
  height: 80px;
}
ul.buttons{
  max-width: 100%;
  overflow: visible;
  overflow-x: scroll; 
}
section.contact,
ul.social,
ul.buttons{
  justify-content: initial;
}
section.contact{
  /* align-items: center; */
}
p.legal{
  font-size: 0.85rem;
}
.steps{
  display: flex;
  gap: 2rem;
  flex: 1 1 50%;
}
.steps > *{
  /* width: 50%; */
  min-width: 45%;
}
.breadcrumbs{
  display: flex;
  padding-right: 0.5rem;
}
.breadcrumbs li:not(:last-child):after{
  padding: 0 0.5rem;
  content: "/";
}
figure{
  background: var(--color-accent);
  padding: 1rem;
  margin: 0;
}
figure audio{
  margin: 0;
}
audio{
  margin: 0.5rem 0;
}
#me img{
  border-radius: 2rem;
  align-items: left;
  margin-bottom: 1rem;
  max-width: 200px;
}
#education svg{
  margin-bottom: 1rem;
}
/* @media (min-width: 960px) { */
@media (min-width: 60rem) {
  iframe,
  video,
  img{
    max-width: initial;
    height: initial;
    max-height: 68vh;
    width: auto;
  }
}
@keyframes float {
  25%{
    transform: rotate(0.25deg);
  }
  50%{
    transform: scale(1.0025);
  }
  75%{
    transform: rotate(-0.25deg);
  }
}
@keyframes lettery {
    0%{
      opacity: 0;
    }
    20%{
      transform: scale(120%);
    }
    40%{
      transform: scale(100%);
    }
    100%{
      opacity: 1;
    }
}
@keyframes growin {
    0%{
      opacity: 0;
    }
    20%{
      transform: scale(80%);
    }
    40%{
      transform: scale(100%);
    }
    100%{
      opacity: 1;
    }
}