
@font-face {
  font-family: 'Haptik';
  font-style: normal;
  font-weight: normal;
  font-display: swap;
  src: 
    url('/assets/fonts/GT-Haptik-Light.woff2') format('woff2'),
    url('/assets/fonts/GT-Haptik-Light.otf') format('opentype');
}

@font-face {
  font-family: 'Haptik';
  font-style: oblique;
  font-weight: normal;
  font-display: swap;
  
  src: 
    url('/assets/fonts/GT-Haptik-Light-Rotalic.woff2') format('woff2'),
    url('/assets/fonts/GT-Haptik-Light-Rotalic.ttf');
}



* {
  box-sizing: border-box;
}



:root {
  --font-size-base: 30px;
  /* --font-size-base: 2.5vw; */
  --main-color: black;
  --acid-yellow: #E7FF2C;
  --bg-color: white;
}
@media screen and (max-width: 800px) {
  :root {
    --font-size-base: 20px;
    --font-size-base: 5vw;
  }
}




html {
  font-size: var(--font-size-base);
}
body {
  position: relative;
  width: 100vw;
  height: 100vh;
  margin: 0;
  font-family: "Haptik", sans-serif;
  font-size: var(--font-size-base);
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-smooth: always;
  text-rendering: optimizeLegibility;
}

header {
  position: absolute;
  top: 0;
  width: 100vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  z-index: 2;
}

nav ul {
  display: flex;
  flex-direction: row;
  justify-content: end;
  align-items: center;
  list-style-type: none;
  margin: 0;
  padding: 0;
}
nav ul li {
  padding-right: 1em;
  cursor: pointer;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

nav ul li:last-child {
  padding-right: 0;
}

@media screen and (max-width: 800px) {
  header {
    align-items: start;
  }
  nav ul {
    flex-direction: column;
    align-items: end;
    list-style-type: none;
    margin: 0;
    padding: 0;
  }
  nav ul li {
    padding-right: 0;
    cursor: pointer;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }

}


h1 {
  font-size: var(--font-size-base);
  display: inline-block;
}


a {
  color: var(--main-color);
  text-decoration: none;
  transition: 200ms; 
}
a:hover {
  /* color: var(--acid-yellow); */
  font-style: oblique;
}


img.bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

