/* Universal */

* {
  margin: 0;
  padding: 0;
  border: 0;
  scrollbar-color: #434343 #101010;
  scrollbar-width: thin;
}

body {
  font-family: 'Assistant', sans-serif;
  width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

/* Scroll Bar */

::-webkit-scrollbar {
  width: 0.8rem;
}

::-webkit-scrollbar-track {
  background: #101010;
}

::-webkit-scrollbar-thumb {
  background: #434343;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #e9e9e9;
}

/* Navigation */

nav {
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  width: 80vw;
  font-size: 1.2rem;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

nav ul{
  margin: 0;
  padding: 0;
  display: flex;
}

nav ul li{
  list-style-type: none;
}

nav > ul > li > a {
  color: #ffffff;
  line-height: 5em;
  margin: 0.5em 1em;
  text-decoration: none;
}

nav > ul > li > a:hover {
  text-shadow: 0px 1px 5px #acacac;
}

nav > .logo-container > a {
  height: min-content;
  width: min-content;
}

.logo-img{
  margin: 18px 0px 0px 0px;
  width: 90px;
  height: auto;
}

.show-navbar-icon {
  display: none;
  height: 25px;
  font-size: 30px;
  align-self: flex-start;
  margin-top: 25px;
  cursor: pointer;
  height: 100%;
}

.show-navbar-icon .icon-bar {
  transform-origin: left;
  width: 29px;
  height: 2px;
  background-color: #ffffff;
  margin: 8px;
  transition: all .3s ease;
  box-shadow: 0px 0px 6px #a2a2a2;
}

@media only screen and (max-width: 830px) {
  nav {
    width: 100vw;
    justify-content: space-around;
  }
}

@media only screen and (max-width: 650px) {
  nav {
    width: 100vw;
    z-index: 10;
    justify-content: space-between;
  }

  nav.open {
    position: fixed !important;
  }

  .logo-img {
    margin-left: 20px;
    image-rendering: optimizeQuality;
  }

  .logo-container {
    z-index: inherit;
  }

  .show-navbar-icon {
    display: block;
    margin-right: 15px;
    z-index: inherit;
  }

  .show-navbar-icon > .icon-bar:first-child {
    transform: rotate(0);
  }

  .show-navbar-icon > .icon-bar:last-child {
    transform: rotate(0);
  }
  
  .show-navbar-icon *:not(:first-child):not(:last-child) {
    opacity: 1;
  }

  .navbar-active > .icon-bar:first-child {
    transform: rotate(45deg);
  }

  .navbar-active > .icon-bar:last-child {
    transform: rotate(-45deg);
  }

  .navbar-active *:not(:first-child):not(:last-child) {
    opacity: 0;
  }

  .nav-links {
    flex-flow: column nowrap;
    justify-content: center;
    align-items: center;
    position: fixed;
    background-color: #000000;
    height: 100vh;
    width: 100vw;
    clip-path: circle(0px at 90% -40%);
    -webkit-clip-path: circle(0px at 90% -40%);
    transition: all 1s ease-out;
  }

  .nav-links li a {
    line-height: 10vh;
  }

  .nav-links.open {
    clip-path: circle(200vh at 90% -40%);
    -webkit-clip-path: circle(200vh at 90% -40%);
  }

  .open > .icon-bar {
    background-color: #ffffff;
  }
}