
#barra_sopra {
    position: sticky;
    top: 0px;
    left: 0px;
    z-index: 9999;
}

.sticky {
    top: 0;
    width: 100%;
    height: 100px;
    background-color: var(--grigio_logo);
    border-bottom: 3px solid black;
}

.logo {
    --logo-width: 295px;
    --logo-height: 65px;
    position: absolute;
    left: 20px;
    top: 20px;
    width: 295px;
    height: 65px;
    background-image: url(../svg/holzhof-green.svg);
    background-size: cover;
}

#hamburger {
    visibility: hidden;
}

#rodela {
    --rodela-size: 45px;
    position: absolute;
    z-index: 1;
    left: 276px;
    top: 19px;
    width: var(--rodela-size);
    height: var(--rodela-size);
    animation: rotation 5s infinite linear;
}


@keyframes rotation {
    from {
      transform: rotate(0deg);
    }
    to {
      transform: rotate(359deg);
    }
}

/* NavBar */
#navbar {
    position: absolute;
    top: 20px;
    right: 112px;
    font-weight: bolder;
}

#navbar ul {
    list-style-type: none;
    padding: 0;
    overflow: hidden;
    /*background-color: var(--verde_trasp);
    border: 1px solid black;*/
}

/*#navbar ul:nth-child(1) {
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
}

#navbar ul:nth-last-child(1) {
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
}*/

#navbar li {
    float: left;
}

#navbar li a {
    display: block;
    color: var(--bianco);
    text-align: center;
    letter-spacing: 0.3em;
    padding: 12px 10px;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 600;
    font-family: importante;
/*    background-color: var(--verde_trasp);*/
}

#navbar li a:hover {
    text-decoration: underline;
}

/*#navbar a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0.1em;
    background-color: hotpink;
    opacity: 0;
    transition: opacity 300ms, transform 2ms;        
}

#navbar a:hover::after,
#navbar a:focus::after {
  opacity: 1;
  transform: translate3d(0, 0.2em, 0);
}*/


.current {
    /*background-color: var(--grigio_logo);*/
    cursor: default;
}

/* SystemBar */
#systembar {
    position: absolute;
    top: 20px;
    right: 20px;
}

#systembar button {
    padding: 0px;
    margin: 0;
    
    width: 40px;
    height: 40px;
    border-radius: 20px;
    background-color: var(--verde);
    border: 1px solid var(--bianco);
    cursor: pointer;
}

#systembar img {
    padding: 0;
    margin: 0;
    width: 20px;
    height: 20px;
    margin-top: 4px;
}

#sfumatina {
    background: linear-gradient(180deg, rgba(0, 0, 0, 70%) 0%, rgba(0, 0, 0, 0) 100%);   
    position: absolute;
    width: 100%;
    height: 200px;
}

@media screen and (max-width: 450px) {
    #hamburger {
        visibility: visible;
    }

    #navbar {
        display: none;
    }

    .logo {
        width: calc(var(--logo-width) * 0.62);
        height: calc(var(--logo-height) * 0.62);
    }    

    #rodela {
        left: 174px;
        width: calc(var(--rodela-size) * 0.62);
        height: calc(var(--rodela-size) * 0.62);
    }

}

@media screen and (min-width: 450px) and (max-width: 1000px) {
    #hamburger {
        visibility: visible;
    }

    #navbar {
        display: none;
    }

    .logo {
        width: calc(var(--logo-width) * 0.8);
        height: calc(var(--logo-height) * 0.8);
    }    

    #rodela {
        left: 224px;
        width: calc(var(--rodela-size) * 0.8);
        height: calc(var(--rodela-size) * 0.8);
    }
    
}

@media screen and (min-width: 1000px) {

}