/*** The new CSS Reset - version 1.4.4 (last updated 22.12.2021) ***/

*:where(:not(iframe, canvas, img, svg, video):not(svg *, symbol *)) {
    all: unset;
    display: revert;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

ol,
ul,
menu {
    list-style: none;
}

img {
    max-width: 100%;
}

table {
    border-collapse: collapse;
}

textarea {
    white-space: revert;
}

:where([hidden]) {
    display: none;
}

a {
    cursor: pointer;
}

/*** Actual styles ***/

html,
body {
    height: 100vh;
    padding: 0;
    margin: 0;
    font-family: sans-serif;
}

body {
    background: #000;
    position: relative;
    display: flex;
    flex-direction: column;
}

body:after {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0.4;
    background: transparent url(bg.png) no-repeat center/cover;
    pointer-events: none;
    filter: grayscale(0.8);
}

header {
    position: relative;
    z-index: 2;
    flex: 0 0 auto;
    display: flex;
    justify-content: center;
    padding: 40px;
}

header img {
    width: 380px;
    display: block;
}

main {
    position: relative;
    z-index: 2;
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

main a {
    background: #dfc054;
    font-size: 22px;
    min-width: 280px;
    border-radius: 5px;
    text-align: center;
    display: block;
    padding: 20px;
    box-shadow: 0 5px 10px rgb(0 0 0 / 19%), 0 12px 20px rgb(0 0 0 / 28%);
    transition: 0.5s ease;
}

main a:hover {
    background: #c8a31e;
}

footer {
    position: relative;
    z-index: 2;
    flex: 0 1 20vh;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 50px;
    background: linear-gradient(to top, black, transparent);
}

footer a {
    color: #dfc054;
    display: inline-flex;
    padding: 0 15px;
}
