
body {
    padding: 0;
    margin: 0;

    font-family: "Pixelify Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 200;
    font-style: normal;

    overflow: hidden;
}

#fade {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    transition: background-color 1s;
    width: 0vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0);
    z-index: 999;
}


#fade.fading {
    background-color: rgba(0, 0, 0, 1);
    width: 100vw;
}

main {
    padding: 0;
    margin: 0;
    background-image: radial-gradient(#484094, #1c0963);
    width: 100vw;
    height: 100vh;
}

#non-proot {
    margin: auto;
    width: 25%;
    height: 100%;
}

.display-none {
    display: none;
    position: absolute;
}

.proot-icon {
    display: inline-block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 0;
    margin: auto;
    background-repeat: no-repeat;
    background-size: 100%;
    image-rendering: pixelated;
    animation-iteration-count: 1;
    width: 25%;
    height: 100%;
    opacity: 100%;
    overflow: hidden;
}

#proot-icon-padding {
    padding-top: 125%;
}

#proot-icon-waking {
    background-image: url("assets/waking.webp");
    z-index: 2;
    transition: opacity 0.2s;
}

#proot-icon-sleep {
    background-image: url("assets/sleep.webp");
    z-index: 1;
}

.zooming {
    transition: all 2s;
    transform: scale(7);
}

.invisible {
    opacity: 0;
}

#proot-snoot-container {
    display: block;
    margin: auto;
    padding: 0;
    position: relative;
    bottom: 6vw;
    width: 5vw;
    height: 4vw;
    z-index: 3;
}

#proot-snoot {
    display: block;
    width: 100%;
    height: 100%;
}

#proot-boop-the-snoot {
    display: block;
    position: relative;
    text-align: center;
    font-size: 2rem;
    bottom: 4vw;
}

@media screen and (max-width: 1200px) {
    .zooming {
        transform-origin: 50% -5%;
    }
}

@media screen and (max-width: 600px) {
    #proot-icon-padding {
        padding-top: 325%;
    }

    #proot-boop-the-snoot {
        font-size: 20px;
        width: 100%;
        bottom: 20vw;
    }


    #proot, .proot-icon {
        width: 65%;
    }

    #proot-snoot-container {
        bottom: 22vw;
        width: 25vw;
        height: 24vw;
    }
}
