/* GENERAL */

:root {
    --background: #eaeaea;
    --color: #46dc87;
    --color-opac: #46dc8733;
}

body, html {
    height: 100%;
    width: 100%;
    margin: 0;
}

#grab-notice {
    position: absolute; 
    bottom: 0; 
    right: 0; 
    text-align: right;
    padding: 10px;
    border-top-left-radius: 10px;
    background: var(--color-opac);
    cursor: pointer;
    transition: background 125ms ease-in-out, color 125ms ease-in-out;
    z-index: 2;
}

#grab-notice:hover {
    color: black;
    background: var(--color);
}

#grab-notice > span {
    display: none;
    text-align: left;
}

#grab-notice.combos-open > span { display: block }


/* LANDING */


#shown-pres-input {
    border-radius: 10px;
    background: var(--color);
    border: none;
    padding: 20px;
    margin-bottom: 20px;
    transition: box-shadow 125ms ease-in-out, background 125ms ease-in-out, color 125ms ease-in-out;
    font-size: large;
}

#shown-pres-input:focus {
    color: white !important;
    background: var(--color-opac);
    box-shadow: 0 0 0 3px var(--color);
}

#shown-pres-input:hover {
    color: white !important;
    background: var(--color-opac);
}

.landing-scr {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #0c110f;
    box-shadow: 0 0 50px 1px var(--color-opac) inset;
    color: white;
}

.landing-scr #whole-logo {
    position: absolute;
    bottom: 40px;
    left: 40px;
    -webkit-animation: move 10s linear infinite;
            animation: move 10s linear infinite;
}

.landing-scr #logo {
    position: absolute;
    bottom: 40px;
    left: 40px;
    -webkit-animation: spin 10s linear infinite, move 10s linear infinite;
            animation: spin 10s linear infinite, move 10s linear infinite;
}

.landing-scr #logo, .landing-scr #whole-logo { z-index: 3 }


.landing-scr #input-field {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.landing-scr #input-field > span { font-size: large }


/* PRESENTATION */

.cursor-hide #grab-notice { display: none }

.cursor-hide #presentation {
    cursor: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.cursor-laser #presentation { cursor: crosshair }

#presentation {
    height: 100%;
    width: 100%;
    overflow: hidden;
}

#presentation .cur-page {
    opacity: 1;
    z-index: 1;
}

#presentation > :not(.cur-page) { opacity: 0 }

#presentation > * {
    position: absolute;
    top: 0; left: 0;
}


/* ANIMATIONS */

@-webkit-keyframes spin {
    0% {
        transform: rotateZ(0);
    }
    75% {
        transform: rotateZ(2160deg);
    }
    100% {
        transform: rotateZ(5400deg);
    }
}
@keyframes spin {
    0% {
        transform: rotateZ(0);
    }
    75% {
        transform: rotateZ(2160deg);
    }
    100% {
        transform: rotateZ(5400deg);
    }
}

@-webkit-keyframes move {
    0% {
        margin-left: 40px;
    }
    25% {
        margin-left: calc(100vw - 120px);
        margin-bottom: 0;
    }
    50% {
        margin-left: calc(100vw - 120px);
        margin-bottom: calc(100vh - 120px);
    }
    75% {
        margin-left: 40px;
        margin-bottom: calc(100vh - 120px);
    }
    100% {
        margin-left: 40px;
        margin-bottom: 0;
    }
}
@keyframes move {
    0% {
        margin-left: 40px;
    }
    25% {
        margin-left: calc(100vw - 120px);
        margin-bottom: 0;
    }
    50% {
        margin-left: calc(100vw - 120px);
        margin-bottom: calc(100vh - 120px);
    }
    75% {
        margin-left: 40px;
        margin-bottom: calc(100vh - 120px);
    }
    100% {
        margin-left: 40px;
        margin-bottom: 0;
    }
}