html {
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
}

@font-face {
  font-family: 'Aktiv';
  src: url('../fonts/aktiv-thin.woff2') format('woff2'),
       url('../fonts/aktiv-thin.woff') format('woff');
  font-weight: 200; 
  font-style: normal;
}

@font-face {
  font-family: 'Aktiv';
  src: url('../fonts/aktiv-light.woff2') format('woff2'),
       url('../fonts/aktiv-light.woff') format('woff');
  font-weight: 300; 
  font-style: normal;
}

@font-face {
  font-family: 'Aktiv';
  src: url('../fonts/aktiv-regular.woff2') format('woff2'),
       url('../fonts/aktiv-regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Aktiv';
  src: url('../fonts/aktiv-medium.woff2') format('woff2'),
       url('../fonts/aktiv-medium.woff') format('woff');
  font-weight: 500; 
  font-style: normal;
}

:root {
  --black: rgba(14,18,20,1);
  --black-90: rgba(14,18,20,0.9);
  --black-80: rgba(14,18,20,0.8);
  --black-70: rgba(14,18,20,0.7);
  --black-60: rgba(14,18,20,0.6);
  --black-50: rgba(14,18,20,0.5);
  --black-40: rgba(14,18,20,0.4);
  --black-30: rgba(14,18,20,0.3);
  --black-20: rgba(14,18,20,0.2);
  --black-10: rgba(14,18,20,0.1);
  --black-05: rgba(14,18,20,0.05);
  --green: #2CD5C4;
  --green-hover: #26AEA1;
  --grey: #D1DCE2;
  --fs01: 1.05rem;
  --fs02: 1.2rem;
  --fs03: 1.3rem;
}

body {
  margin: 0;
  padding: 0;
  font-style: normal;
  font-family: 'Aktiv', sans-serif;
  font-weight: 300;
}

img {
  width: 100%;
  display: block;
}

html {
  scroll-behavior: smooth;
}

p {
  margin: 0;
}

a {
  text-decoration: none;
}

strong {
  font-weight: 500;
}

.container-full {
  max-width: 1330px;
  width: 94%;
  margin: 0 auto;
}

.container-mid {
  max-width: 1240px;
  width: 94%;
  margin: 0 auto;
}

.bb-top {
  border-top: solid 1px var(--black-20);
}

.bb-bottom {
  border-bottom: solid 1px var(--black-20);
}

.bb-left {
  border-left: solid 1px var(--black-20);
}

.bb-right {
  border-right: solid 1px var(--black-20);
}

.wb-top {
  border-top: solid 1px rgba(255,255,255,0.1);
}

.wb-bottom {
  border-bottom: solid 1px rgba(255,255,255,0.1);
}

.wb-left {
  border-left: solid 1px rgba(255,255,255,0.1);
}

.wb-right {
  border-right: solid 1px rgba(255,255,255,0.1);
}

h1, h2, h3 {
  font-weight: 400;
  margin: 0;
  padding: 0;
}

h2 {
  font-size: 1.8rem;
}

h3 {
  font-size: 1.45rem;
}

.cta {
  background-color: var(--green);
  color: white;
  font-weight: 400;
  font-size: 0.99rem;
  display: inline-block;
  width: fit-content;
  padding: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.075rem;
  transition: background-color 0.2s ease, border 0.2s ease;
  border: 2px solid var(--green);
}

.cta:hover {
  background-color: var(--green-hover);
  border: 2px solid var(--green-hover);
}

.cta i {
  transition: margin-left 0.2s ease;
}

.cta2 {
  color: var(--green);
  font-weight: 400;
  font-size: 0.99rem;
  display: inline-block;
  width: fit-content;
  padding: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.075rem;
  transition: background-color 0.2s ease, border 0.2s ease;
  border: 2px solid var(--green);
}


.cta2:hover {
  background-color: var(--green);
  color: white;
}
.cta:hover i {
  margin-left: 0.3rem;
}

.ls {
  letter-spacing: 0.1rem;
}

.youtube {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
}
.youtube iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.shadow {
  box-shadow: 0px 17px 20px 0px var(--black-10);
}

.fade {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  transition-delay: 0s;
}

.fade.in-view {
  opacity: 1;
  transform: translateY(0);
}


.grey-bg {
  background-color: var(--grey);
}

.fade {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* NAVIGATION  */

.nav-grid {
  display: grid;
  grid-template-columns: 25rem 1fr;
  align-items: center;
}

.nav-grid div {
  min-height: 1.5rem;
}

.nav-logo {
  padding: 1rem;
}

.nav-links {
  margin-left: auto;
  display: flex;
  column-gap: 1.5rem;
  align-items: center;
  padding-right: 1rem;
}

.nav-links a {
  color: var(--black);
  font-size: 0.95rem;
  text-transform: uppercase;
  font-weight: 500;
}

.menu {
  display: flex;
  align-items: center;
  place-content: center;
  background-color: var(--green);
  font-size: 1.5rem !important;
  color: white !important;
  width: 2.5rem;
  height: 2.5rem;
  flex-wrap: wrap;
  transition: background-color 0.3s ease;
  overflow: hidden;
}

.menu-bars {
  display: flex;
}

.menu:hover {
  background-color: var(--green-hover);
}

.menu-bars-1 {
  display: inline-block;
  transition: margin 0.15s ease;
}

@keyframes rightSwipe {
  0% {
    margin-left: 0;
    margin-top: 0;
  }
  25% {
    margin-left: 5rem;
    margin-top: 0;
  }
  50% {
    margin-left: 5rem;
    margin-top: -5rem;
  }
  75% {
    margin-left: -5rem;
    margin-top: -5rem;
  }
  80% {
    margin-left: -5rem;
    margin-top: 0rem;
  }
  100% {
    margin-left: 0;
    margin-top: 0;
  }
}

.menu:hover .menu-bars-1 {
  animation: rightSwipe 0.175s ease-in-out forwards;
}

.nav-sticky {
  position: sticky;
  top: 0;
  background-color: white;
  z-index: 90;
}

/* MOBILE MENU */

.side-nav {
  position: fixed;
  top: 0;
  right: -90%;
  width: 90%;
  height: 100%;
  background: var(--green-hover);
  color: white;
  transition: right 0.3s ease;
  z-index: 201;
  box-sizing: border-box;
}

.side-nav-logo {
  border-bottom: solid 1px rgba(255,255,255,0.6);
  padding: 2.5rem;
}

.side-nav-logo img {
  width: 80%;
  max-width: 40rem;
}

.close-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 2rem;
  color: white;
  text-decoration: none;
  cursor: pointer;
}

.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--black-90);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  z-index: 200;
}

.side-nav.open {
  right: 0;
}

.nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

.side-bar-links {
  display: grid;
  grid-template-columns: 1fr;
  row-gap: 2.5rem;
  padding: 2rem;
  border-bottom: solid 1px rgba(255,255,255,0.6);
}

.side-bar-links a {
  color: white;
  font-size: 45px;
}

.side-bar-links i {
  transition: margin-left 0.2s ease;
}

.side-bar-links a:hover i {
  margin-left: 1rem;
}

.nav-models-header {
  display: flex;
  align-items: center;
}

.nav-models-header h2 {
  font-size: 1.05rem;
  text-transform: uppercase;
}

.nav-models-header a {
  margin-left: auto;
}

.nav-models-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 5%;
  margin-top: 1rem;
}

.nav-featured-section {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  width: calc(100% - 4rem);
}

.nav-featured-section .nav-models-grid a {
  background-color: white;
}

.nav-featured-section .mg-thumb-bg {
  border-radius: 0;
}

.nav-featured-section .mg-thumb {
  margin-bottom: 0;
}

.f-nav {
  padding: 1rem;
}

.f-nav h3 {
  color: var(--black);
  font-size: 1.1rem;
}

.f-nav p {
  color: var(--black-80);
  font-size: 0.85rem;
}

.nav-featured-section .cta2 {
  font-size: 0.9rem;
  padding: 0.4rem 0.5rem;
  color: white;
}

.nav-featured-section .cta2:hover {
  background-color: white;
  border: solid 2px white;
  color: var(--green);
}

.nav-featured-section .box {
  background: white;
}

.nav-featured-section .box:hover {
    transform: translate(0px, 0) scale(1);
    background: white;
}

/* FOOTER */

footer {
  padding: 5rem 0;
  background-color: var(--black);
  text-align: center;
}

.footer-content {
  display: grid;
  grid-template-columns: 22rem 1fr;
  align-items: end;
}

.footer-content img {
  opacity: 0.6;
  transition: opacity 0.2s ease;
}

.footer-content img:hover {
  opacity: 0.85;
}

.footer-links {
  margin-left: auto;
  color: rgba(255,255,255,0.2);
  text-align: right;
  font-size: 0.9rem;
}

.footer-links div {
  margin-bottom: 0.25rem;
  display: flex;
  column-gap: 0.75rem;
  align-items: center;
}

.footer-links div a {
  font-size: 1.3rem;
}

.footer-links a {
  color: rgba(255,255,255,0.6);
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-bottom: 0.5rem;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: rgba(255,255,255,0.85);
}

.footer-tcs {
  color: rgba(255,255,255,0.2);
  font-size: 0.9rem;
  margin-top: 6rem;
}

/* MEDIA QUERIES */

@media only screen and (max-width: 890px) {
  .footer-content {
    grid-template-columns: 1fr;
    row-gap: 3.5rem;
  }

  .footer-content img {
    width: 85vw;
    max-width: 30rem;
    margin: 0 auto;
  }

  .footer-links {
    text-align: center;
    margin: 0 auto;
  }

  .footer-links a {
    margin: 0 auto 0.5rem auto;
  }

  footer {
    padding: 4rem 0;
  }
}



@media only screen and (max-height: 760px) {
  .nav-featured-section {
    display: none;
  }
}

@media only screen and (max-width: 768px) {
  :root {
    --fs02: 1rem;
    --fs03: 1.1rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .about-grid h2, .about-grid p {
    margin-bottom: 1.5rem;
}
  
  .cta, .cta2 {
    font-size: 0.85rem;
  } 

  .side-nav-logo {
    padding: 1.15rem;
  }

  .nav-models-grid {
    grid-template-columns: 1fr 1fr;
  }

  .nav-models-grid a:nth-child(3) {
    display: none;
  }
}



@media only screen and (max-width: 650px) { 
  .contact-link {
    display: none;
  }

  .nav-grid {
    grid-template-columns: 1fr 4.5rem;
  }

  .nav-logo img {
    width: 65vw;
    max-width: 30rem;
  }
}

@media only screen and (max-width: 520px) { 
  .nav-grid {
    grid-template-columns: 1fr calc(8vw + 1rem);
  }

  .menu {
    width: 8vw;
    height: 8vw;
    font-size: 5vw !important;
  }

  .nav-grid div {
    min-height: 0.75rem;
  }

  .nav-logo {
    padding: 0.5rem;
  }

  .nav-links {
    padding-right: 0.5rem;
  }

  .side-nav {
    right: -100%;
    width: 100%;
  }

  .nav-models-grid {
    grid-template-columns: 1fr;
  }

  .nav-models-grid a:nth-child(2), .nav-models-header h2 span{
    display: none;
  }

  .side-bar-links {
    padding: 1rem;
  }

  .nav-featured-section {
    left: 1rem;
    width: calc(100% - 2rem);
  }

  @media only screen and (max-width: 520px) and (min-height: 550px) {
    .nav-featured-section {
      display: block;
    }
  }

  .footer-tcs {
    font-size: 3vw;
  }

}