@import url(fonts.css);
@import url(keyframes.css);

:root {
    --background: #272727cf;
    --background-active: #171717cf;
    --border: #3f3f3f;
    --light-blue: #60f7df;
    --dark-blue: #10bfc7;
}

.background-image {
    position: fixed;
    height: 100vh;
    width: 100vw;
    margin-top: -8px;
    margin-left: -8px;
    background: url(/assets/jpg/Urchin_Underpass.jpg);
    background-size: cover;
    filter: blur(16px) brightness(0.5);
    transform: scale(1.1);
    z-index: -1;
}

p, button {
    color: white;
    font-family: Nintendo, sans-serif;
    font-weight: bold;
    font-size: 24px;
    line-height: 40px;
    letter-spacing: -0.025em;
}

.dialog {
    position: absolute;
    width: 770px;
    height: 355px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--background);
    backdrop-filter: blur(4px);
    border: 1px solid var(--border);
    border-radius: 4px;
}

.dialog > .error-code {
    margin-top: 40px;
    margin-left: 60px;
    color: lightgray;
    font-size: 16px;
}

.dialog > .description {
    margin-left: 68px;
    margin-right: 32px;
}

.dialog > p > br {
    margin-bottom: 0.75em;
}

.dialog button {
    position: absolute;
    bottom: 0;
    background-color: transparent;
    border: 0;
    border-top: 2px solid var(--border);
    width: 100%;
    height: 74px;
}

.dialog button.left, .dialog button.right {
    width: 50%;
}

.dialog button.left {
    border-right: 1px solid var(--border);
}

.dialog button.right {
    border-left: 1px solid var(--border);
    left: 50%;
}

.dialog button:hover {
    background-color: var(--background-active);
    border-radius: 4px;
    outline: 5px solid;
    box-shadow: 0 0 12px var(--light-blue);
    animation: 500ms infinite alternate ease-out hover-outline;
}

.dialog button:focus, .dialog button:active {
    outline: none;
    box-shadow: none;
}

.dialog button:focus {
    transition: 100ms;
    background-color: transparent;
}

.dialog button:active {
    transition: none;
    background-color: #274747cf;
}