:root {
  --navbar-color: rgb(240, 238, 238);
}

.navbar {
  min-height: fit-content;
  height: 20vh;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
  font-weight: bold;
  letter-spacing: 0.2em;
  z-index: 2;
  /* background-color: black; */
}

.navbar h1 {
  color: var(--navbar-color, rgb(240, 238, 238));
}

.navList {
  width: 50%;
  display: flex;
  height: 100%;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  list-style: none;
}

.navbar ul li {
  padding-top: 5vh;
  padding-bottom: 5vh;
}

.navbar-link {
  color: var(--navbar-color, rgb(240, 238, 238));
  text-decoration: none;
  /* background-color: red; */
  padding: 1.5vh;
  /* border-radius: 50%; */
  border-color: black;
  border-width: 0px;
  border-style: solid;
  /* border-radius: 30px 0px 30px 0px; */
  border-radius: 10px;

  transition: border-radius 300ms ease-in-out;
  transition-property: color, border-radius, background-color;
  /* transition: border-radius 300ms ease-in-out; */
  /* transition: color 300ms ease-in-out; */

  
}

.navbar ul li a:hover {
  background-color: rgb(209, 208, 208);
  color: rgb(39, 39, 39);
  /* border-radius: 30px 15px 30px 15px; */
  border-radius: 30px;
}
/* 
.navbar--marked-link{
  border-radius: 100px; 
  box-shadow: 0 0 4px rgb(145, 250, 131);
} */

.burger {
  display: none;
  transform: translateX(10vh);
}


.burger div{
  transition: transform 0.8s ease;
  transition: opacity 0.2s ease;

}

.burger div {
  /* background-color: var(--navbar-color, white); */
  height: 0.2rem;
  width: 1.5rem;
  margin: 0.2rem;
  border-radius: 0.05rem;
}

@media screen and (max-width: 850px) {
  body{
    overflow-x: hidden;
  }
  .burger {
    display: block;
  }

  .navList {
    position: absolute;
    right: 0;
    top: 0vh;
    width: 50%;
    height: 80vh;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    /* background-color: rgb(143, 63, 63); */
    background-color:rgba(27, 27, 27, 0.835);
    border-radius: 0 0 0 15px;
    padding-top: 20vh;
    padding-bottom: 5vh;
    transform: translateX(100%);
    transition: transform 0.2s ease-in;
  }

  .burger div{
    transition: transform 0.3s linear;
  }
}

@media screen and (max-width: 500px){
  .burger{
    transform: translateX(-4vw);
  }
  
}

.navbar-active {
  transform: translateX(0%);
}


.toggle-burger .line1{
  transform: translateY(6px) rotate(-45deg);
}
.toggle-burger .line2{
  opacity: 0;
}
.toggle-burger .line3{
  transform: translateY(-6px) rotate(45deg);
}

.navbar .greenshadow:hover{
  background-color: var(--green, green);
}

.navbar .blueshadow:hover{
  background-color: var(--blue, blue);
}

.navbar .redshadow:hover{
  background-color: var(--red, red);
}

.navbar .yellowshadow:hover{
  background-color: var(--yellow, yellow);
}

