/* -------------------- BARRA INFORMATIVA -------------------- */
.info-bar {
  background: var(--primary);
  color: #fff;
  overflow: hidden;
  white-space: nowrap;
  padding: 0.5rem 0;
  font-weight: bold;
  position: sticky;
  top: 0;
  z-index: 1100;
}

.info-bar p {
  display: inline-block;
  padding-left: 100%;
  animation: scrollText 15s linear infinite;
}

@keyframes scrollText {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-100%); }
}

/* -------------------- NAV BAR -------------------- */

.top-header{
    position: fixed;
    box-shadow: 0 4px #59B336;
    background-color: #fff;
    left: 0;
    top: 0;
    width: 100%;
    z-index: 10;
}
.nav-bar{
    display: flex;
    justify-content: space-between;
    font-weight: 450;
    padding: 10px;
}
/* logo */
.logo{
    display: flex;
    align-items: center;
    height: 60px;
    width: 110px;
}


/* menu */

.menu{
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu li{
    padding: 0 15px;
}

.menu a{
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    color: #000000;
    line-height: 50px;
    text-transform: uppercase;
    
}

.menu a:hover{
    text-decoration: underline 3px #59B336;
}

.open-menu,
.close-menu{
    display: none;
}

@media screen and (max-width:920px){

/* menu */

.menu{
    padding-top: 35px;
    flex-direction: column;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    align-items: center;
    background-color: #fff;
    height: 100%;
    overflow-y: auto;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.menu li{
    padding: 0;
}

.menu a{
    text-decoration: none;
    color: #000;
    line-height: 60px;
}

.open-menu,
.close-menu{
    display: block;
    border: none;
    background: none;
    cursor: pointer;
}

.close-menu{
    align-self: flex-end;
    padding: 20px 10px;
  
}

.close-menu > img{
    height: 30px;
    width: 30px;
}

.open-menu > img{
    height: 30px;
    width: 30px;
}

.menu-opened{
    opacity: 1;
    pointer-events: all;
}

.open-menu:focus:not(:focus-visible),
.close-menu:focus:not(:focus-visible){
    outline: none;
}

}