header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 124px;
    height: 10vh;
    background-color: rgb(255, 255, 255);
    box-shadow: 0px 2px 10px  rgba(0, 0, 0, .3);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
}

header img{
    width: 200px;
    align-items: center;
}

nav{
    align-self: flex-end;
    padding-bottom: 12px;
}

nav a{
  
    display: inline-block;
    position: relative;

  
    text-decoration: none;
    margin-left: 16px;
    color: #403B3B;
    font-weight: 700;
}

@media (hover: hover) and (pointer: fine) {
  nav a::after{
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 4px;
    bottom: -8px;
    left: 0;
    background-color: #008000;
    transform-origin: bottom right;
    transition: transform 225ms ease-out;
  }
}

@media (hover: hover) and (pointer: fine) {
  nav a:hover::after{
  transform: scaleX(1);
  transform-origin: bottom left;
}
}

.sidebar {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 250px;
    z-index: 999;
    background-color: rgba(81, 236, 140, 0.500);
    backdrop-filter: blur(10px);
    box-shadow: -10px 0 10px rgba(0, 0, 0, 0.1);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 20px 0;
    gap: 30px;
}
  
.menu-button {
  display: none;
}
  
@media(max-width: 900px){
  nav {
    padding: 0;
    align-self: center;
  }
  header{
    padding: 0px 62px;
  }
  header img{
    width: 158px;
  }
  .hideOnMobile{
    display: none;
  }
  
  .menu-button {
     display: block;
  }
}

@media(max-width: 710px){
  header{
    padding: 0px 32px;
  }
  header img{
    width: 132px;
  }
}
  
@media(max-width: 500px){
  .sidebar{
    width: 100%;
  }
  header img{
    width: 112px;
  }
}

