@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

* {
    margin: 0;
    padding: 0;
    font-family: montserrat;
}
.nav-bar{
    display: flex;
    flex-direction: row;
    width: 100%;
    height: fit-content;
    /* background-color: rgba(0, 0, 0, 0.589); */
    background-color: #00072D;
    color: #fff;
    align-items: center;
    position: fixed;
    transition: 0.7s;
    z-index: 9999;
}
.logo{
    padding: 5px;
}
.logo img{
    width: 80px;
    filter:  drop-shadow(1px 1px 5px #203158);
}
.sticky{
    background-color: #00072D;
    color: rgb(255, 255, 255);
  }
.nav-items{
    display: flex;
    flex-direction: row;
    gap: 2rem;
    justify-content: end;
    width: 100%;
    padding-right: 1rem;
}
.nav-items * {
    box-sizing: border-box;
    transition: all .35s ease;
}
.toggle{
    width: 30px;
    height: 30px;
}
.close{
    display: none;
}
.nav-items button{
    background-color: transparent;
    border: none;
    color: white;
    font-size: 17px;
  padding: .5em .8em;
  position: relative;
  text-decoration: none;
  cursor: pointer;
}
.nav-items button::before,
.nav-items button::after {
  content: '';
  height: 14px;
  width: 14px;
  position: absolute;
  transition: all .35s ease;
  opacity: 0;
}
.nav-items a{
    margin: .5em 1em;
    padding: 0;
}
.nav-items button::before {
    content: '';
    right: 0;
    top: 0;
    border-top: 3px solid #EAB622;
    border-right: 3px solid #EAB622;
    transform: translate(-100%, 50%);
  }
  
  .nav-items button:after {
    content: '';
    left: 0;
    bottom: 0;
    border-bottom: 3px solid #EAB622;
    border-left: 3px solid #EAB622;
    transform: translate(100%, -50%)
  }
  .nav-items button:hover:before,
  .nav-items button:hover:after{
    transform: translate(0,0);
    opacity: 1;
  }
  
  .nav-items button:hover {
    color: #EAB622;
  }

  .menu{
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 100%;
    justify-content: start;
    position: relative;
    align-items: end;
    padding-right: 1rem;
}
.menu span{
    width: 30px;
    height: 5px;
    background-color: yellow;
}
.close{
    width: 30px;
    height: 30px;
    display: none;
    position: absolute;
}
.close-all{
    width: 100%;
    display: none;
    justify-content: end;
    position: absolute;
}
@media (max-width:1160px){
    .nav-items{
        gap: 0;
        padding-right: 5px;
    }
}
@media (max-width:990px){
    .nav-items a{
        margin: .3em 0.5em;
        padding: 0;
    }
}
@media(max-width:840px){
    .nav-items{
        flex-direction: column;
        align-items: center;
        display: none;
        padding: 0;
    }
    .nav-bar{
        flex-direction: column;
        justify-content: start;
        align-items: start;
    }
    .menu{
        display: flex;
        width: 100%;
        position: absolute;
        top: 2rem;
        right: 2rem;
    }
    .close-all{
        display: flex;
    }
    .close{
        display: none;
        position: relative;
    }
}
