


@property --a {
  syntax: '<angle>';
  inherits: false;
  initial-value: 15deg;
}

#navi {
    z-index: 1100;
    width: 100%;
    color: white;
    position: fixed;
    text-align: center;
    border: 0px solid green;
    border: 0px solid orange;
    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(0, 0, 0, 0.4); /* top row  */
    border-bottom: 1px solid rgba(6, 129, 57, 0.226); 
}


#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;
    border: 0px solid purple;
}

#main-menu-navi-items-col {
    gap: 2em;
    height: 100%;
    flex-grow: 3;
    display: flex;
    flex-shrink: 1;
    align-items: center;
    justify-content: center;
    border: 0px solid pink;
}


#navilogo {
    height: 100%;
    display: flex;
    position: absolute;
    aspect-ratio: 1/1;
    align-items: center;
    justify-content: center;
    border: 0px solid white;
}

#logo {
    top: 0;
    left: 0;
    height: 80%;
    aspect-ratio: 1/1;
    left: 0;
    transform-origin: top left;
}


#megamenu {
    --a:15deg;
    left: 50%;
    position: absolute;
    height: var(--mega-height);
    transform: translateX(-50%);
    border: 0px solid blue;
    width: calc(var(--page-width) * var(--mega-width));
    pointer-events: none;
}

#megamenu-container {
    opacity: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: absolute;
    border: 0px solid red;
    border-radius: 0 0 1em 1em;
    backdrop-filter: blur(20px);
    transition: --a 1s;
    pointer-events: all;
    background: linear-gradient(
        var(--a),
        rgba(0, 0, 0, 0.884) 0%,
        rgba(16, 85, 39, 0.781) 80%
    );
    pointer-events: none; /* JA CONTROLLED IN MENU.JS */
}


#megamenu-container a {
    display: inline-block;
    padding: 0.2em;
    text-decoration: none;
    text-shadow: 0 1px 2px rgb(0, 0, 0);
}


#megamenu-container a:hover {
    color: white;
}

#megamenu-container a:hover::before {
    content: "► ";
    opacity: 1.0;
    /* z-index: 100; */
    font-size: 0.8em;
    position: absolute;
    margin-right: 0.3em;
    color: var(--color-primary);
    transform: translate(-1.5em, 0.12em);
    animation: blinkArrow 200ms infinite alternate ease-in-out;
    mix-blend-mode: color-dodge;
}

@keyframes blinkArrow {
    0% { opacity: 0.2; }
    100% { opacity: 1.0; }
}

#megamenu-divider-line {
    position: absolute;
    top: calc(var(--header-height) - 0.5em);
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    height: 10px;
    border-radius: 100px;
    background-image: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.171),
        transparent
    )

}

.navicell {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.activeLine {
    position: relative;
}

.activeLine:after {
    right: 0;
    content: "";
    bottom: 6px;
    height: 10px;
    opacity: 1;
    display: block;
    position: absolute;
    transition: width 0.3s;
    width: calc(100% - 1em);
    /* background-color: white; */
    mix-blend-mode: color-dodge;
    border-bottom: 1px dotted rgba(255, 255, 255, 0.2);
}


#menu-item-soft,
#menu-item-serv,
#menu-item-abou {
    --a: 45deg;
    cursor: pointer;
    transition: all 0.3s;
    border-radius: 1000px;
    border: 1px solid transparent;
    padding: 0.4em 1em 0.4em 2em;
    color: rgba(255, 255, 255, 0.884);
}


#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;
}


.navi-image-box {
    display: inline-block;
    width: 10em;
    height: 6em;
    border: 1px solid rgba(255, 255, 255, 0.281);
}

.selected {
    --a: 90deg;
    transition: all 0.3s;
    background-color: rgba(6, 90, 38, 0.8) !important;
    border: 1px solid rgba(255, 255, 255, 0) !important;
}

.selected::before {
    border: none;
    content: "► ";
    opacity: 1.0;
    /* z-index: 100; */
    font-size: 0.8em;
    position: absolute;
    margin-right: 0.3em;
    color: var(--color-primary);
    transform: translate(-1.5em, 0.12em);
    animation: blinkArrow 1000ms infinite alternate ease-in-out;
    mix-blend-mode: color-dodge;
}



#menu-soft,
#menu-serv,
#menu-abou {
    width: 100%;
    height: 100%;
    display: none;
    position: absolute;
    flex-direction: row;
    align-items: flex-start;
    justify-content: stretch;
    color: rgb(182, 182, 182);
    padding-top: calc(var(--header-height) + 0.1em);
}

#menu-soft div,
#menu-serv div,
#menu-abou div {
    height: 100%;
    display: flex;
    text-align: left;
    flex-direction: column;
    justify-content: center;
    border: 0px solid red;
}

#menu-soft div:nth-child(1),
#menu-serv div:nth-child(1),
#menu-abou div:nth-child(1) {
    border: 0px solid red;
    flex-basis: 35%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}

#menu-soft div:nth-child(2),
#menu-serv div:nth-child(2),
#menu-abou div:nth-child(2) {
    margin-top: 1em;
    flex-basis: 25%;
    margin-right: 1em;
    align-items: flex-start;
    border: 0px solid green;
    justify-content: flex-start;

}

#menu-soft div:nth-child(3),
#menu-serv div:nth-child(3),
#menu-abou div:nth-child(3) {
    flex-grow: 1;
    margin-top: 1em;
    align-items: flex-start;
    border: 0px solid blue;
    justify-content: flex-start;
}



#dottiesL,
#dottiesR {
    bottom: 0;
    left: 0;
    width: 60%;
    height: 100%;
    opacity: 0.8;
    position: absolute;
    background-size: 100% 100%;
    mix-blend-mode: color-dodge;
    background-image: url('/_ASSETS/img/dotties-l.png');
}

#dottiesR {
    left: unset;
    right: 0;
    background-image: url('/_ASSETS/img/dotties-r.png');
}

.ext::after {
    content: "⌝";
    font-size: 1.0em;
    opacity: 0.8;
    margin-right: 0.2em;
}

.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: white;
    font-size: 1.0em;
    opacity: 0.8;
    margin-right: 0.4em;
}

.megamenu-notification {
    width: 100%;
    bottom: 0em;
    z-index: 1200;
    font-size: 0.8em;
    padding: 0.2em 0;
    position: absolute;
    font-family: 'LITE';
    color: rgb(255, 255, 255);
    background-color: rgba(27, 68, 3, 0.8);
}