/* Color schemes */
#eniac-galaxy  {
    font-family: 'Montserrat', sans-serif;
    min-height: 100vh;
	width: 100vw;
	max-width: none;
    color: #ededed;
    color: var(--color-text);
    background-color: #141414;
    background-color: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
	/* Scheme color */
	--color-text: #ededed;
	--color-bg: #000;
	--color-link: #fff;
	--color-link-hover: #5d5050;
	--color-info: #5d5050;
	--color-menu: #fff;
	--color-menu-hover: #fff;
	--color-title: #fff;
	--color-subtitle: #ededed;
	--color-deco: #161616;
	/* Fade effect */
	opacity: 0;
	transition: opacity 0.3s;
}

.light #eniac-galaxy {
    --color-menu: #000;
    --color-menu-hover: #000;
}

/*.light .main-navigation-menu .main-nav > li > a ,
.light .main-navigation-menu .main-nav > li > a:hover {
    color: #000;
}

.light .main-navigation-menu .logo-default,
.light .main-navigation-menu #primary-nav li img {
    filter: brightness(0);
}

.light .main-navigation-menu .link-ext {
    filter: invert(1);
}*/

.main-navigation-menu #primary-nav li:last-child img {
    width: 20px;
}

#eniac-galaxy *,
#eniac-galaxy *::after,
#eniac-galaxy *::before {
	box-sizing: border-box;
}

#eniac-galaxy.render {
    opacity: 1;
}

#eniac-galaxy .loading::before {
    content: '';
    position: fixed;
    z-index: 100000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-bg);
}

#eniac-galaxy .loading::after {
    content: '';
    position: fixed;
    z-index: 100000;
    top: 50%;
    left: 50%;
    width: 60px;
    height: 60px;
    margin: -30px 0 0 -30px;
    pointer-events: none;
    border-radius: 50%;
    opacity: 0.4;
    background: var(--color-link);
    animation: loaderAnim 0.7s linear infinite alternate forwards;
}

#eniac-galaxy .menu-logo {
    width: 250px;
    margin-bottom: 50px;
    margin-top: -50px;
}

@keyframes loaderAnim {
    to {
        opacity: 1;
        transform: scale3d(0.5, 0.5, 1);
    }
}

#eniac-galaxy a {
    text-decoration: none;
    color: var(--color-link);
    outline: none;
}

#eniac-galaxy a:hover,
#eniac-galaxy a:focus {
    color: var(--color-link-hover);
    outline: none;
}

#eniac-galaxy .hidden {
    position: absolute;
    overflow: hidden;
    width: 0;
    height: 0;
    pointer-events: none;
}

#eniac-galaxy .icon {
    display: block;
    width: 1.5em;
    height: 1.5em;
    margin: 0 auto;
    fill: currentColor;
}

#eniac-galaxy main {
    position: relative;
    width: 100%;
}

#eniac-galaxy .content {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    min-height: 100vh;
}

#eniac-galaxy .content--reveal {
    position: absolute;
    z-index: 1001;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    pointer-events: none;
}

#eniac-galaxy .content__logo {
    max-height: 50px;
}

#eniac-galaxy .content__inner {
    position: absolute;
    left: 0;
    top: 125px;
    width: 100%;
    max-height: 100%;
    display: grid;
    align-items: center;
    justify-content: center;
    justify-items: center;
    align-content: end;
    color: var(--color-title);
}

#eniac-galaxy .content__inner {
    opacity: 0;
    transition: opacity 0.3s;
}

#eniac-galaxy .content__title {
    font-size: 8vw;
    margin: 0;
    color: var(--color-title);
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
}

#eniac-galaxy .content__subtitle {
    margin: 0;
    margin-top: 3em;
    max-width: 60%;
    text-align: center;
    font-size: 1.25em;
    font-weight: 400;
    color: var(--color-subtitle);
}

#eniac-galaxy .content__button {
    margin-top: 1.5rem;
    background: none;
    color: var(--color-link);
    border: 1px solid var(--color-link);
    font-size: 1.25em;
    padding: 1em 1.2em;
    outline: none;
    transition: all 0.3s;
    border-radius: 50px;
}

#eniac-galaxy .content__button:focus {
    outline: none;
}

#eniac-galaxy .content__button:hover {
    background: var(--color-link);
    color: var(--color-link-hover);
}

#eniac-galaxy .content__close {
    position: absolute;
    top: 125px;
    left: 100px;
    background: none;
    color: var(--color-link);
    border: 1px solid;
    padding: 0;
    display: block;
    margin: 0 0 0 -2em;
    width: 4em;
    height: 4em;
    font-size: 1.25em;
    border-radius: 50%;
    opacity: 0;
    cursor: pointer;
    transition: opacity 0.3s;
}

#eniac-galaxy .content__close:focus {
    outline: none;
}

#eniac-galaxy .content__close:hover {
    background: var(--color-link);
    border-color: var(--color-link);
    color: var(--color-link-hover);
}

#eniac-galaxy .deco-title {
    font-size: 50vw;
    margin: 0;
    pointer-events: none;
    position: absolute;
    color: var(--color-deco);
}

#eniac-galaxy .scene {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 1;
}

#eniac-galaxy .scene path {
    transform-origin: 0;
}

#eniac-galaxy .scene .blob-1 path {
    fill: url(#gradient-1);
}

#eniac-galaxy .scene .blob-2 path {
    fill: url(#gradient-2);
}

#eniac-galaxy .scene .blob-3 path {
    fill: url(#gradient-3);
}

#eniac-galaxy .scene .blob-4 path {
    fill: url(#gradient-4);
}

#eniac-galaxy .scene .blob-5 path {
    fill: url(#gradient-5);
}

#eniac-galaxy .scene .blob-6 path {
    fill: url(#gradient-6);
}

#eniac-galaxy .scene path:first-of-type {
    fill-opacity: 0.1;
}

#eniac-galaxy .scene path:nth-of-type(2) {
    fill-opacity: 0.2;
}

#eniac-galaxy .scene path:nth-of-type(3) {
    fill-opacity: 0.3;
}

#eniac-galaxy .scene path:nth-of-type(4) {
    fill-opacity: 0.4;
}

#eniac-galaxy .scene path:nth-of-type(5) {
    fill-opacity: 0.5;
}

#eniac-galaxy .scene path:nth-of-type(6) {
    fill-opacity: 0.6;
}

#eniac-galaxy .menu {
    position: relative;
    z-index: 1000;
    display: flex;
    width: 700px;
    flex-direction: column;
    margin: 0 0 0 32vw;
    font-size: 3.2vw;
    align-items: flex-start;
}

#eniac-galaxy .menu__item {
    color: var(--color-menu);
    line-height: 1.25;
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    flex-wrap: wrap;
    position: relative;
}

#eniac-galaxy .menu__item:hover,
#eniac-galaxy .menu__item:focus {
    color: var(--color-menu-hover);
}

#eniac-galaxy .menu__item::before {
    content: '';
    width: 60%;
    height: 25px;
    position: absolute;
    left: 0;
    bottom: 0;
    transform-origin: 0 0;
    transform: scale3d(0, 1, 1);
}

#eniac-galaxy .menu__item--showDeco::before {
    transition: transform 0.8s cubic-bezier(0.2, 1, 0.3, 1);
    transform: scale3d(1, 1, 1);
}

#eniac-galaxy .menu__item--showDeco:hover::before {
    transition: transform 0.8s cubic-bezier(0.2, 1, 0.3, 1);
    transform: scale3d(1.2, 1, 1);
}

#eniac-galaxy .menu__item span {
    display: block;
    position: relative;
    min-width: 20px;
}

@media screen and (max-width: 55em) {
    #eniac-galaxy .content {
        flex-direction: column;
        height: auto;
        min-height: 0;
        padding-bottom: 10em;
    }

    #eniac-galaxy .menu {
        font-size: 2.75em;
        margin: 0 auto;
        align-items: center;
    }

    #eniac-galaxy .content__inner {
        margin-top: 12em;
    }
}

#eniac-galaxy .blob {
    -webkit-transform: matrix(1, 0, 0, 1, 0, 0);
    transform: matrix(1, 0, 0, 1, 0, 0);
    -webkit-animation: blob-matrix 17s ease-in-out infinite;
    -moz-animation: blob-matrix 17s ease-in-out infinite;
    animation: blob-matrix 17s ease-in-out infinite;
}

#eniac-galaxy .blob,
#eniac-galaxy .blob path {
    transition: filter .4s ease-in-out;
}

#eniac-galaxy .blob:hover,
#eniac-galaxy .blob:hover path {
    filter: url(#filterBrightness);
    cursor: pointer;
}


#eniac-galaxy .blob-2 {
    -webkit-animation: blob-2-matrix 25s ease-in-out infinite;
    -moz-animation: blob-2-matrix 25s ease-in-out infinite;
    animation: blob-2-matrix 25s ease-in-out infinite;
}

#eniac-galaxy .blob-5 {
    -webkit-animation: blob-5-matrix 60s ease-in-out infinite;
    -moz-animation: blob-5-matrix 60s ease-in-out infinite;
    animation: blob-5-matrix 60s ease-in-out infinite;
}

@keyframes blob-matrix {
    50% {
        -webkit-transform: matrix(1, 0.1, 0.1, 1, 0, 0);
        transform: matrix(1, 0.1, 0.1, 1, 0, 0);
    }

    100% {
        -webkit-transform: matrix(1, 0, 0, 1, 0, 0);
        transform: matrix(1, 0, 0, 1, 0, 0);
    }
}

@keyframes blob-2-matrix {
    50% {
        -webkit-transform: matrix(1, -0.1, 0.1, 0.8, 0, 0);
        transform: matrix(1, -0.1, 0.1, 0.8, 0, 0);
    }

    100% {
        -webkit-transform: matrix(1, 0, 0, 1, 0, 0);
        transform: matrix(1, 0, 0, 1, 0, 0);
    }
}

@keyframes blob-5-matrix {
    50% {
        -webkit-transform: matrix(0.9, -0.3, -0.4, 1.4, 0, 0);
        transform: matrix(0.9, -0.3, -0.4, 1.4, 0, 0);
    }

    100% {
        -webkit-transform: matrix(1, 0, 0, 1, 0, 0);
        transform: matrix(1, 0, 0, 1, 0, 0);
    }
}

#eniac-galaxy .menu__item {
    transition: all 0.5s;
    -webkit-transform: matrix(1, 0, 0, 1, 0, 0);
    transform: matrix(1, 0, 0, 1, 0, 0);
    -webkit-animation: menu-matrix 30s ease-in-out infinite;
    -moz-animation: menu-matrix 30s ease-in-out infinite;
    animation: menu-matrix 30s ease-in-out infinite;
}

#eniac-galaxy .menu__item span {
    transition: all 0.2s;
}

#eniac-galaxy .menu__item:hover span {
    transform: scale(1.05);
    margin-right: 3px;
}

@keyframes menu-matrix {
    25% {
        -webkit-transform: translate3d(100px, 0px, 100px);
        transform: translate3d(100px, 0px, 100px);
    }

    75% {
        -webkit-transform: translate3d(50px, -50px, 100px);
        transform: translate3d(50px, -50px, 100px);
    }
}