
#navbar{
    display: flex;
    height: 1.8rem;
    justify-content: space-between;
    background-color: #eeeeee;
}

/* #navbuttons{
    display: inline-block;
} */

#servicebtn{
    margin-left: 1.5rem;
    min-width: 25%;
    width: fit-content;
    height: 100%;
    background-image: url("/arrowhead-down.png");
    background-size: 1.2rem;
    background-position: 100% 60%;
    background-repeat: no-repeat;
    text-align:right;
    padding-right: 1.4rem;
}

#resArea{
    display: inline-block;
    text-align:right;
    width: 8rem;
    font-size: 0.8rem;
    padding-right: 0.5rem;
    margin-right: 2%;
    background-color: #0066cc;
    color: white;
    background-image: url("/accedi.png");
    background-size: 1.2rem;
    background-position: 10% 50%;
    background-repeat: no-repeat;
}

#resArea:hover{
    background-color: #003b5e;
    /* background: var(--custom); */
}

.homemenu{
    padding-left: 2%;
    position: fixed;
    background-color: white;
    border-width: 2px;
    border-style: solid;
    border-color: #eeeeee;
    width: 20%;
    margin: 0;
    z-index: 2;
    list-style-type: none;
    clip-path: inset(0 0 100% 0);
}

.menubtn{
    height: 2.4rem;
    padding-top: 0.8rem;
}

.menubtn::before{
    content: url("arrowhead-right.png");
    zoom: 2.5%;
}

.menubtn:hover{
    margin-left: -0.3rem;
    padding-left: 0.3rem;
    background-color: #eeeeee;
}

.loginflex{
    height: 65%;
    position: relative;
    top: 10%;
    display: flex;
    max-height: 100%;
    width: 100%;
    flex-wrap: wrap;
    flex-direction: row;
    flex-basis: auto;
    justify-content: space-around;
}

.image{
    width: fit-content;
}

.image img{
    background-image: url("/backcard.png");
    background-size: contain;
    max-width: 100%;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.logcard{
    width:20%;
    height: 80%;
    border-style: solid;
    border-width: 1px;
    border-radius: 5px;
    border-color: #eeeeee;
    box-shadow: 0px 2px 4px rgb(25, 25, 26);
    margin: 10px;
}

.loglinks{
    margin-left: 5%;
    margin-top: 5%;
    height: 45%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.loglinks a:hover{
    margin-left: -0.2rem;
    padding-left: 0.2rem;
    border-radius: 2px;
    background-color: #eeeeee;
}

#menuOpenAnim{
    animation-name: menuOpen;
    animation-duration: 0.2s;
    animation-timing-function: linear;
    animation-fill-mode: forwards;
}

#menuCloseAnim{
    animation-name: menuClose;
    animation-duration: 0.2s;
    animation-timing-function: linear;
    animation-fill-mode: forwards;
}

@keyframes menuOpen {
    0% {clip-path: inset(0 0 100% 0);}
    100% {clip-path: inset(0 0 0 0);}
}

@keyframes menuClose {
    0% {clip-path: inset(0 0 0 0);}
    100% {clip-path: inset(0 0 100% 0);}
}