/* boxing */ 
.navbar{ 
    display: grid;
    min-height: 100px;
    grid-auto-flow: column;
    grid-gap: 1.5em;
    padding: 0 8em;
}

.titelbar{
    display: grid;
    justify-content: start;
    align-content: center;
    text-transform: uppercase;
}
.navigatiebar{
    display: grid;
    justify-content: right;
    align-content: center;
    grid-auto-flow: column;
}
  
#navbar {
  top: 0;
  transition: top .5s;
}

/* links */
.titelbar a{
  font-family: "Gilroy-SemiBold", sans-serif; 
  font-size: 24px;
  letter-spacing: 5px;
  font-weight: 400;
  font-style: normal;
  font-stretch: normal;
  text-align: left;
  color: #000000;
  text-decoration: none;
  cursor: pointer;
}

.navigatiebar a{
  font-family: "Gilroy-SemiBold", sans-serif;
  font-size: 18px;
  font-weight: 600;
  font-stretch: normal;
  font-style: normal;
  line-height: normal;
  letter-spacing: normal;
  text-align: left;
  color: #000000;
  text-decoration: none;
  margin-right: 30px;
  cursor: pointer;
  background: linear-gradient(currentColor, currentColor) bottom / 0 .1em no-repeat;
  transition: 1s background-size;
}

#left{
  background-position: left bottom;
}
.navigatiebar a:hover{
  opacity: 1;
  background-size: 100% .1em;

}

.active{
  display: inline-block;
  opacity: 1;
  background-image: linear-gradient(currentColor, currentColor);
  background-position: 0% 92%;
  background-repeat: no-repeat;
  background-size: 100% 1.5px; 

}

/* tablet */
@media screen and (max-width:1280px){
  .navbar{
    padding-left: 140px;
    padding-right: 80px;
  } 
}

@media screen and (max-width:1080px){
  .navbar{
    padding-left: 40px;
    padding-right: 80px;
  } 
}

/* phone */
@media screen and (max-width:768px){
  .navbar{
    margin-top: 30px;
    min-height: 50px;
    grid-gap: 1em;
    padding-left: 20px;
    padding-right: 60px;
  }
  .navigatiebar{
      grid-column: 8/10;
      justify-content:right;
  }
  .titelbar{
      grid-column: 2/7;
      justify-content:left;
  }
  
  .titelbar a{
    font-size: 22px;
    letter-spacing: 3px;
  }  

  .navigatiebar a{
    font-size: 18px;
    font-weight: 600;
    line-height: 1.36;
    margin-right: 20px;
  }
}

/* phone */
@media screen and (max-width:568px){
  .navbar{
    margin-top: 30px;
    padding: 0px 10px 0px 10px;
    min-height: 50px;
    grid-gap: 1em;
  }

  .titelbar{
      grid-column: 2/7;
      justify-content:right;
  }
  .navigatiebar{
      grid-column: 8/10;
      justify-content:left;
  }
  .titelbar a{
    font-size: 16px;
    letter-spacing: 3px;
  }  

  .navigatiebar a{
    font-size: 16px;
    font-weight: 600;
    line-height: 1.36;
    margin-right: 20px;
  }
}