:root {
    --hover-trans-timing: cubic-bezier(0.42,0,1,1);
    --hover-trans: 0.35s;
}

.noise-overlay {
    z-index: 1000;
}

main {
    background-color: black;
    border-image: url("/res/bg/border-blur.avif") 50 / 100px / 100px;
    width: 450px;
    height: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

h1 {
    transform: scaleY(2) scaleX(1.3);
    filter: var(--hover-shadow);
    transition: 1.5s;
    cursor: default;
    margin-bottom: 10px;
}

h1:hover {
    transform-origin: center center;
    transform: scaleY(2) scaleX(1.3) skewX(-15deg);
    filter: var(--hover-shadow) drop-shadow(0px 0px 15px #ff56135e) brightness(1.1);
    transition: 1.5s;
}

dt {
    font-size: 1.4em;
    transform: scaleY(1.4);
    filter: var(--hover-shadow);
    margin-bottom: -2px;
    transition: 1.5s;
    width: fit-content;
    cursor: default;
}

dt:hover {
    transform-origin: center center;
    transform: scaleY(1.4) skewX(-15deg);
    filter: var(--hover-shadow) drop-shadow(0px 0px 15px #ff56135e) brightness(1.1);
    transition: 1.5s;
}

dd {
    margin-bottom: 20px;
    margin-left: 0;
    border: dashed 1px var(--glow);
    padding: 15px;
}

a, a:hover {
    transition: 1s;
    filter: none;
}

#last-updated {
    transition: var(--hover-trans);
    transition-timing-function: var(--hover-trans-timing);
}

#last-updated:hover {
    letter-spacing: 0px;
    cursor: help;
    transition: var(--hover-trans);
    transition-timing-function: var(--hover-trans-timing);
    filter: var(--hover-shadow);
}

#email {
    letter-spacing: 0.2em;
    filter: var(--hover-shadow);
    text-decoration: underline;
    text-decoration-style: wavy;
    text-decoration-thickness: 1px;
    text-decoration-color: var(--glow);
    margin-bottom: 10px;
    display: block;
    text-align: center;
    user-select: all;
    transition: var(--hover-trans);
    transition-timing-function: var(--hover-trans-timing);
    cursor: help;
}

#email:hover {
    transform: scaleY(1.2);
    transition: var(--hover-trans);
    transition-timing-function: var(--hover-trans-timing);
    filter: var(--hover-shadow) drop-shadow(0 0 5px var(--glow));
}

@media screen and (max-width: 580px) {
    main {
        width: 100%;
    }

    #back-button {
        left: 10px;
    }
}