* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  font-family: 'Poppins', sans-serif;
}

html
{
  --inner-width : 27vw;
  --outer-width : 56%;
}

.outer-nav
{
  width: 100%;
  height: 10vh;
  position: fixed;
  z-index: 20;
  top: 0;
  left: 50%;
  transform: translate(-50%);
}

.navbar {
  width: 90%; 
  height: 100%;
  padding: 15px 0;
  margin: auto;

  display: flex ;
  justify-content: space-between;
  align-items: center;
}

.change-bg
{
  background-color: rgb(6, 11, 21, 0.9);
}

.hamburger {
  height: 20px;
  aspect-ratio: 3/2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;

  position:relative;
  z-index:30;
}

.hamburger .line {
  width: 100%;
  height: 15%;
  border-radius: 10px;
  background-color: white;
  transition: all 0.7s ease-in-out;
}

.active-ham .l1 {
  transform: rotate(-45deg) translate(3px, 16px);
}

.active-ham .l2 {
  transform: translate(-50px);
  opacity: 0;
}

.active-ham .l3 {
  transform: rotate(45deg) translate(4px, -15px);
}

.inner-options {
  background-color: rgb(6, 11, 21, 0.9);
  height: 100vh;
  width: var(--inner-width);
  padding: 12vh 30px 30px 30px;
  position: absolute;
  z-index: 10;
  top: 0;
  left: 0;

  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 25px;
  
  transform: translateX(-60vw);
  transition: all 0.5s ease-in-out;
}

.outside {
  transform: translateX(0);
}

.outer-options
{
  width: var(--outer-width);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.tab {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hidden
{
  display: none;
}

.inner-options .tab
{
  opacity: 0;
}

.tab a {
  text-decoration: none;
  color: white;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  font-style: normal;
  font-weight: 300;
  font-size: 18px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.inner-options .tab a
{
  font-size: 24px;
}

.tab:hover a,
.tab.is-active-tab a, .inner.is-active-tab{
  color: #ff0000;
  font-weight: 600;
}

@keyframes navLinkFade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@media only screen and (max-width: 1200px)
{
  html
  {
    --inner-width: 34vw;
    --outer-width: 75%;
  }
}

@media only screen and (max-width: 1100px)
{
  html
  {
    --inner-width: 37vw;
    --outer-width: 65%;
  }
}

@media only screen and (max-width: 1000px)
{
  html
  {
    --inner-width: 39vw;
    --outer-width: 70%;
  }
  /* .inner-options .tab a
  {
    font-size: 18px;
  } */
  .outer-options .tab a {
    font-size: 15px;
  }
}

@media only screen and (max-width: 880px)
{
  html
  {
    --inner-width:45vw;
    --outer-width: 78%; 
  }
}

@media only screen and (max-width: 780px)
{
  html
  {
    --inner-width: 48vw;
    --outer-width: 85%;
  }
  .outer-options .tab a {
    font-size: 13px;
  }
}


@media only screen and (max-width: 720px)
{
  html
  {
    --inner-width: 56vw;
  }
}


/* outside options dissapear */
/* inner options are added */
/* edit .hidden in Js at this viewport width */
@media only screen and (max-width: 620px)
{
  html
  {
    --inner-width: 65vw;
  }

  .outer-options
  {
    display: none;
  }

  .hidden
  {
    display: flex;
  }
}

@media only screen and (max-width: 550px)
{
  html
  {
    --inner-width: 100vw;
  }

  .inner-options
  {
    transform: translateX(-100vw);
  }

  .outside {
    transform: translateX(0);
  }
}