@keyframes background-scroll
{
    from { background-position: 0 0; }
    to { background-position: 400px 400px; }
}
@keyframes disclaimer-box
{
    0% {transform: scale(0%, 0%);}
    50% {transform: scale(110%, 110%);}
    100% {transform: scale(100%, 100%);}
}
@keyframes disclaimer-content
{
    0% {opacity: 0%;}
    80% {opacity: 0%;}
    100% {opacity: 100%;}
}
@keyframes simple-fade
{
    from {visibility: hidden; opacity: 0%;}
    to {visibility: visible; opacity: 100%;}
}
@keyframes background-fade
{
    from {background-color: black}
    to {background-color: rgba(0, 0, 0, 0)}
}

body.disclaimer
{
    image-rendering: pixelated;
    background-image: url("../spr_finalrankBG_confused.png");
    background-attachment: fixed;
    animation: background-scroll 16s linear infinite;   
    /* background-color: black; */
    color: white;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    text-align: center;
    text-shadow: 0px 3px 0px rgba(0, 0, 0, .5);
}
h2, h1
{
    margin-top: 0px;
    margin-bottom: 25px;
}

a:link, a:visited
{
    color: yellow;
}
a:hover
{
    color:rgb(255, 255, 180);
}
a:active
{
    color:rgb(180, 180, 0);
}

.limit-size
{
    display: inline-block;
    width: 100%;
    max-width: 1000px;
}

a.doc
{
    background-image: url("http://www.google.com/s2/favicons?domain=docs.google.com/document");
    background-repeat: no-repeat;
    background-size: 16px;
    background-position-y: calc(50% - 1px);
    padding-left: 20px;
}
div.box
{
    width: 80%;
    padding: 25px;
    margin: auto;
    margin-bottom: 10px;
    border-radius: 10px;
    border-width: 5px;
    border-style:solid;
    border-color: rgba(0, 0, 0, .5);
    background-color: rgba(0, 0, 0, .75);
    transform: scale(0%, 0%);

    animation-name: disclaimer-box;
    animation-timing-function: ease-in-out;
    animation-duration: .3s;
    animation-fill-mode: forwards;
}

div.box span
{
    animation-name: disclaimer-content;

    animation-timing-function: ease-in-out;
    animation-duration: .3s;
    animation-fill-mode: forwards;
    animation-delay: inherit;
}

footer
{
    animation-name: simple-fade;
    animation-timing-function: linear;
    animation-fill-mode: forwards;
    animation-duration: .1s;
    font-size: 12px;
    opacity: 0%;
}

.fade
{
    position: fixed; 
    background-color: black;
    z-index: 1;
    left: 0;
    top: 0;
    
    height: 100%;
    width: 100%;
    margin: auto;
    padding: auto;

    animation-name: simple-fade;
    animation-timing-function: linear;
    animation-fill-mode: forwards;
    animation-duration: .2s;
    animation-direction: reverse;
    font-size: 12px;
    opacity: 100%;
}

@keyframes rainbow
{
    0% {background-position-x: 0em;}
    100% {background-position-x: 16em;}
}
.rainbow
{
    background-position: center;
    /* colors taken from nowhere in particular... */
    background-image: repeating-linear-gradient(to right, #ef5350, #f48fb1, #7e57c2, #2196f3, #26c6da, #43a047, #eeff41, #f9a825, #ff5722, #ef5350);
    background-clip: text;
    background-size: 16em;
    animation-name: rainbow;
    animation-duration: 3s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
    color: transparent;
    text-shadow: none;
}

div.gallery
{
    overflow: hidden;
}
img.gallery
{
    position: relative;
    image-rendering: auto;
    max-width: 95%;
}

@keyframes unspoiler
{
    0% {filter: blur(2rem) brightness(50%);}
    100% {filter: none}
}
img.spoilered
{
    animation-name: unspoiler;
    animation-play-state: paused;
    animation-duration: 0.1s;
    animation-timing-function: linear;
    animation-fill-mode: forwards;
    cursor: pointer;
}

/* https://www.w3schools.com/howto/howto_css_hide_scrollbars.asp */
::-webkit-scrollbar
{
    display: none;
}
*
{
    -ms-overflow-style: none;
    scrollbar-width: none;
} 

img.fit
{
    margin-top: 8px;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    image-rendering: auto;
}
