@property --a {
  syntax: '<angle>';
  inherits: false;
  initial-value: 15deg;
}

#navi {
    z-index: 1100;
    width: 100%;
    color: rgba(0, 0, 0, 0.8);
    position: fixed;
    text-align: center;
    height: var(--header-height);
    transition: top 0.4s ease-in-out;
}

#header-background {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    position: absolute;
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid rgba(34, 197, 94, 0.2);
}

#header-full-row {
    z-index: 50;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#main-menu-content {
    width: var(--page-width);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#main-menu-navi-items-col {
    gap: 2em;
    height: 100%;
    flex-grow: 3;
    display: flex;
    flex-shrink: 1;
    align-items: center;
    justify-content: center;
}

#navilogo {
    height: 100%;
    display: flex;
    position: absolute;
    aspect-ratio: 1/1;
    align-items: center;
    justify-content: center;
}

#logo {
    top: 0;
    left: 0;
    height: 80%;
    aspect-ratio: 1/1;
    transform-origin: top left;
}

.navicell {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.navicell a {
    cursor: pointer;
    transition: all 0.3s;
    border-radius: 1000px;
    border: 1px solid transparent;
    padding: 0.4em 1em;
    color: rgba(0, 0, 0, 0.7) !important;
    text-decoration: none;
}

.navicell a:hover {
    color: rgba(0, 0, 0, 0.9) !important;
    background-color: rgba(34, 197, 94, 0.1);
    border-color: rgba(34, 197, 94, 0.2);
}

.navicell a.active {
    background-color: rgba(34, 197, 94, 0.15);
    border-color: rgba(34, 197, 94, 0.3);
}

#main-menu-logo-col,
#main-menu-contact-col {
    height: 100%;
    flex-grow: 1;
    display: flex;
    flex-shrink: 1;
    padding: 0 0em;
    flex-basis: 20%;
    align-items: center;
    justify-content: flex-start;
}

#main-menu-contact-col {
    justify-content: flex-end;
}

.arrowLink {
    display: inline-block;
    margin-top: 0.5em;
    font-size: 1.1em;
    color: var(--color-primary);
    text-decoration: none;
    font-weight: bold;
}

.arrowLink::before {
    content: "→";
    color: rgba(0, 0, 0, 0.5);
    font-size: 1.0em;
    opacity: 0.8;
    margin-right: 0.4em;
}
