:root {
    --dark-purple: #190A33;
    --purple: #3D30A2;
    --card-background: #504FD3;
    --accent-color: #FFCC01;
    --on-accent-color: #000;
    --primary-color: #FFFFFF;
    --primary-color-faded-little: rgba(255, 255, 255, 0.5);
    --primary-color-faded-very-little: rgba(255, 255, 255, 0.87);
    --primary-color-faded: rgba(0, 0, 0, 0.3);
}

* {
    user-select: none;
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none;    /* Firefox */
    -ms-user-select: none;     /* Internet Explorer/Edge */

    touch-action: manipulation;
    -ms-touch-action: manipulation;
}

button, a {
    -webkit-tap-highlight-color: transparent;
}

.ios-no-highlight {
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: var(--dark-purple);
    color: var(--primary-color);
}

#app {
    padding: 80px 10px 0 10px;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 80px;
    box-sizing: border-box;
}

.body-emphasized {
    font-family: 'OpenRundeSemiBold', sans-serif;
    font-weight: 600;
    font-size: 17px;
    line-height: 1.3;
    letter-spacing: 0;
}

.links {
    max-width: 480px;
    height: 100%;
    width: 100%;

    /*background-color: var(--purple);*/

    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
}

.neobrutalism-button {
    font-family: 'OpenRundeSemiBold', sans-serif;
    font-weight: 600;
    font-size: 20px;
    line-height: 1.32;
    letter-spacing: -0.38px;

    border: 2px solid black;
    border-radius: 16px;

    padding: 14px 20px;

    filter: drop-shadow(2px 4px 0 #000);

    color: #000;
    background-color: var(--primary-color);

    display: flex;
    gap: 20px;
    /*justify-content: center;*/
    align-items: center;

    cursor: pointer;
}

.neobrutalism-button:active {
    filter: none;
    transform: translate(2px, 4px);
}


.logo-container {
    max-width: 240px;
    width: 100%;
    height: auto;
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
}

.blur-layer {
    position: absolute;
    top: 0;
    left: 0;

    height: 100%;
    width: 100%;

    background-color: rgba(255, 255, 255, 0.01);

    backdrop-filter: blur(300px);

    z-index: -1;
}

.circle-container {
    position: absolute;
    bottom: 50%;

    z-index: -2;
}

.small-circle {
    position: absolute;
    top: -20dvw;

    z-index: -2;

    height: 40dvw;
    width: 40dvw;

    background-color: rgba(255, 255, 255, 0.15);

    border-radius: 100%;

    /*border: 600px solid var(--card-background);*/
}

.big-circle {
    position: absolute;
    top: -45dvw;

    z-index: -3;

    height: 90dvw;
    width: 90dvw;

    background-color: var(--card-background);

    border-radius: 100%;
}

.icon {
    width: 1em;
    height: 1.1425em;

    display: inline-block;
}

#small-screen-navigation-wrapper {
    position: fixed;
    z-index: 2;
    width: 100%;
    height: 100%;

    /* Gets removed on mobile */
    display: none;
    top: 0;
    left: 0;
}

#small-screen-navigation-wrapper.active .small-screen-navigation-background {
    height: 100%;
    opacity: 0.95;
}

#small-screen-navigation-wrapper.active .small-screen-navigation a:nth-child(1) {
    transition-delay: 0.1s;
}

#small-screen-navigation-wrapper.active .small-screen-navigation a:nth-child(2) {
    transition-delay: 0.2s;
}

#small-screen-navigation-wrapper.active .small-screen-navigation a:nth-child(3) {
    transition-delay: 0.3s;
}

#small-screen-navigation-wrapper.active .small-screen-navigation a:nth-child(4) {
    transition-delay: 0.4s;
}

#small-screen-navigation-wrapper.active .small-screen-navigation a {
    opacity: 1;
    transition: opacity 0.4s ease-in-out;
}

.small-screen-navigation a {
    opacity: 0;
}

.small-screen-navigation-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--dark-purple);

    transition: 0.2s ease-in-out height, 0.2s ease-in-out opacity;
    height: 0;
    opacity: 0;
}

.small-screen-navigation {
    position: relative;
    z-index: 5;
    display: flex;
    flex-direction: column;
    margin-top: 64px;
    margin-left: 20px;
}

.header-link {
    margin: 20px 20px 20px 0;

    color: white;
    text-decoration: none;
}

.hamburger-menu-button {
    z-index: 3;
    position: absolute;
    top: 0;
    right: 0;

    display: none;

    background: none;
    border: none;
    cursor: pointer;
}

#hamburger-menu-svg {
    font-size: 17px;
    width: 1.2em;
    height: 1.1em;
    padding: 20px;
}

#hamburger-menu-svg > * {
    transition: 0.2s ease-in-out transform;
}

#hamburger-menu-svg.active .line1 {
    transform: rotate(45deg) translate(4px, -4px);
}

#hamburger-menu-svg.active .line2 {
    /*display: none;*/
    transform: rotate(-45deg) translate(-11px, -1px);
}

.header-links {
    position: fixed;
    top: 20px;
    right: 0;
}

.header-link {
    margin: 20px 20px 20px 0;

    color: white;
    text-decoration: none;
}

#logo-button {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 2;
    top: 0;
    left: 0;
    opacity: 0;
    cursor: pointer;
}

.separator {
    width: 100%;
    display: flex;
    justify-content: center;
}

@media screen and (width < 425px) {
    #small-screen-navigation-wrapper {
        z-index: -1;
        transition: display 0s 0.2s, z-index 0s 0.2s;
        display: unset;
    }

    #small-screen-navigation-wrapper.active {
        z-index: 2;
        transition: display 0s 0s, z-index 0s 0s;
    }

    .hamburger-menu-button {
        display: unset;
    }

    .header-links {
        display: none;
    }
}