@import url("global-variables.css");

.navbar-spacer {
    padding-top: 90px;
}

#games, #prototypes, #misc, #skills, #about, #contact {
    scroll-margin-top: 120px; /* 90 + 30 + (5/2) */
}

.navbar-fixed {
    position: fixed;
    z-index: 999;

    top: 0;
    width: 100%;
}

.navbar {
    position: relative;
}

.navbar-row {
    position: absolute;
    background-color: var(--dark-color);
    
    display: flex;
    flex-direction: row;
    align-items: center;

    width: 100%;
    height: 60px;

    top: 0px;
    left: 0px;

    z-index: 998;

    color: var(--text-color);
    font-weight: bold;
    font-size: 1.4em;
}

.navbar-headline {
    margin: 0 .9em;
}

.navbar-button {
    margin: 0 .4em;

    padding: .25em .5em;
    border-radius: 15px;
    transition: all .25s ease;
}

.navbar-button a {
    text-decoration: none;
    color: inherit;
}

.navbar-button:hover{
    background-color: var(--light-color);
}

.navbar-button:nth-child(2) {
    margin-left: auto;
}

.navbar-icon {
    width: 30px;
    height: 25px;

    margin: 0 .9em 0 auto;

    padding: .5em;
    border-radius: 12px;
    fill: var(--text-color);

    transition: all .25s ease;
}

/* .navbar-icon:hover {
    background-color: var(--light-color);
} */

@media screen and (min-width: 1200px) { /* big screen */
    .navbar-icon {
        display: none;
    }
}

@media screen and (max-width: 1200px) { /* small screen */
    .navbar-button {
        display: none;
    }

    .navbar-button.navbar-button-solo {
        display: block;
    }
}

.curve {
    position: absolute;
    width: 100%;
    height: 40px;
}

.dark-purple-curve {
    top: 30px;
    z-index: 997;

    fill: var(--dark-color);
}

.light-purple-curve {
    top: 40px;
    z-index: 996;

    fill: var(--light-color);
}

.lightest-purple-curve {
    top: 50px;
    z-index: 995;

    fill: var(--lightest-color);
}

.dark-purple-wave {
    animation: moveWave 20s linear infinite;
}

.light-purple-wave {
    animation: moveWave 40s linear -12s infinite;
}

.lightest-purple-wave {
    animation: moveWave 60s linear -7s infinite;
}

@keyframes moveWave {
    from { transform: translateX(0); }
    to { transform: translateX(-200px); }
}

.navbar-menu-edge {
    display: flex;
    justify-content: start;
    align-items: end;
    
    width: 120px;
    height: 240px;

    position: absolute;
    z-index: 9999;
    top: 0px;
    right: 0px;

    pointer-events: none;

    /* background-color: aqua; */
    opacity: 0%;

    transition: all .25s ease;
}

.navbar-menu {
    display: flex;
    flex-direction: column;
    align-items: center;

    /* margin: 14px; */
    padding: .4em;
    gap: .2em;

    background-color: var(--dark-color);
    /* background-color: red; */

    border-radius: 20px;
}

.navbar-menu-button {
    font-size: 1.2em;
    font-weight: bold;
    color: var(--text-color);

    padding: 5px 10px;
    border-radius: 10px;
    transition: all .25s ease;

    text-decoration: none !important;
}

.navbar-menu-button:hover{
    background-color: var(--light-color);
}

.navbar-menu-button a {
    text-decoration: none;
    color: inherit;
}