html {
    overscroll-behavior: none;
}

body {
    background-color: purple;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: none;
    background-image: url("img/graveyardPattern.png");
    background-size: cover;
}

body.has-active #blur {
    opacity: 1;
    pointer-events: auto; /* so clicking it can dismiss */
}

#bodyFade {
    background-color: black;
}

#titleHeader {
    font-family: "Blackadder ITC", "ITC Blackadder", cursive, serif;
    font-size: 10em;
    color: black;
    font-weight: normal;
}

.graves {
    height: clamp(16px, 18vh, 200px);
    width: clamp(160px, 9vw, 160px);
}

.clickAnim {
    scale: 1.0;
    animation-fill-mode: forwards;
}

#blur {
    position: fixed;
    opacity: 1;
    pointer-events: none;
    z-index: 1000;
    inset: 0;
}

.blur {
    animation: blurAnim 1.5s ease-out;
    animation-fill-mode: forwards;
}

.unblur {
    animation: unBlurAnim 1.5s ease-out;
    animation-fill-mode: forwards;
}

.grow{
    animation: growAnim 1.5s ease-out;
    animation-fill-mode: forwards;
    z-index: 9999;
}

.shrink {
    animation: shrinkAnim 1.5s ease-out;
    animation-fill-mode: forwards;
}

@keyframes growAnim{
   100% {
    scale: 5.0;
    z-index: 9999;
   }
}

@keyframes shrinkAnim {
    0% {
    scale: 5.0;
    z-index: 9999;
   }
    99% {
    scale: 1.0;
    z-index: 9999;
   }   
    100% {
    scale: 1.0;
   }
}

@keyframes blurAnim {
    100% {
        filter: blur(10px);
        background: rgba(0, 0, 0, 0.4);
    }
}

@keyframes unBlurAnim {
    0% {
        filter: blur(10px);
        background: rgba(0, 0, 0, 0.4);
    }
    100% {
        filter: blur(10px);
    }
}