* {
    box-sizing: border-box;
}

body {
    background-color: beige;
    transition: background-color .3s;
    margin: 0px;
}

p {
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    text-align: center;
    font-size: 50px;
    margin: 0;
    color: red;
    text-shadow: -2px -2px 0 #fcd705, 2px -2px 0 #fcd705, -2px 2px 0 #fcd705, 2px 2px 0 #fcd705;
    filter: drop-shadow(3px 3px 0px black)
    
}

p:hover {
    cursor: pointer;
}

.background {
    width: 100vw; 
    height:100vh; 
    position:fixed; 
    z-index: -1;
    transition: opacity 1s 4.8s;
}

.background.reveal {
    opacity: 0;
}

.glasses {
    width: 100vw; 
    height:100vh;
    position: fixed;
    z-index: 1;
    animation: reveal 5s ease-in-out 1;
    animation-play-state:paused;
    animation-fill-mode: forwards;
}

.glasses.reveal {
    animation-play-state:running;
}

.off {
    width: 100vw; 
    height:100vh;
    position: fixed;
    opacity: 0%;
    z-index: 0;
    animation: disappear 5s ease-in-out 1;
    animation-play-state:paused;
    animation-fill-mode: forwards;
}

.off.disappear {
    animation-play-state:running;
}

.revealed {
    width: 100vw; 
    height:100vh; 
    position:fixed; 
    z-index: -2;
}

@keyframes reveal {
    0% {
        transform: translateY(100vh);
    }
    50% {
        transform: translateY(0vh);

    }
    99.5% {
        transform: scale(5) translateY(5vh);
        
        opacity: 1;
        z-index: 5;
    }
    100% {
        opacity: 0;
        z-index: -5;
    }   
}

@keyframes disappear {
    0% {
        transform: scale(5) translateY(100vh);
        opacity: 0;
    }
    0.5% {
        transform: scale(5) translateY(5vh);
        opacity: 1;
    }
    50% {
        transform: scale(1) translateY(0vh);
        opacity: 1;
        z-index: 5;

    }
    100% {
        transform: translateY(100vh);
        opacity: 1;
    }
}

.greyscale {
    width: 100vw; 
    height:100vh;
    position: fixed;
    z-index: -5;
    opacity: 0;
    transition: opacity 3s;
    animation-fill-mode: forwards;
}

.greyscale.reveal {
    z-index: 0;
    opacity: 1;
}

.cat{
    width: 200px;
    position: fixed;
    bottom: 0px;
    right: 0px;
    opacity: 0;
    transition: opacity .3s;
}

.hidden{
    width: 100vw; 
    height:100vh;
    position: fixed;
    opacity: 0%;
    transition: opacity 1s 5.5s;
    z-index: -1;
}

.hidden.reveal{
    opacity: 100%;
}

.draggable {
    position: fixed;
    opacity: 0%;
    transition: opacity 1s 5s;
    z-index: -1;
}

.draggable.reveal{
    opacity: 100%;
}

.draggable:hover{
    cursor: grab;
}

.finalwords{
    opacity: 0;
    transition: opacity 2s 3s;
}

.finalwords.reveal{
    opacity: 100%;
}