
/* Load custom font */
@font-face {
    font-family: 'Wiltype';
    src:
    url('../fonts/Wiltype-9MA1y.woff2') format('woff2'),
    url('../fonts/Wiltype-9MA1y.woff') format('woff'),
    url('../fonts/Wiltype-9MA1y.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

:root {
    --cube-blue: rgb(0, 255, 255);
    --moustache-grey: #666666;
    --dark-grey: #3f3f3f;

    --logo-size: 640px;
    --moustache-width: 640px;
}

html, body {
    margin: 0;
    height: 100%;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent;
    font-family: 'Wiltype', sans-serif;
    color: var(--dark-grey);
}

.page {
    text-align: center;
}

h1 {
    margin: 0 0 16px;
    font-size: 72px;
    font-weight: normal;
    line-height: 1;
    letter-spacing: 0.02em;
}

h1 .splendid {
    color: #cc66cc;
}

h1 .cube{
    color: #66cccc;
    text-decoration: underline;
    text-decoration-color: #cccc66;
    text-decoration-thickness: 6px;
    text-underline-offset: 8px;
}

p {
    margin: 16px 0 0;
    font-size: 36px;
    color: var(--dark-grey);
    letter-spacing: 0.04em;
    color: #666666;
}

#logo-wrap {
    width: var(--logo-size);
    height: var(--logo-size);
    position: relative;
    margin: 0 auto;
}

#logo-cube,
#logo-cube canvas {
    width: 100%;
    height: 100%;
    display: block;
}

/* Moustache overlay */
#logo-wrap > svg {
    position: absolute;
    left: 50%;
    top: 50%;
    width: var(--moustache-width);
    height: auto;
    transform: translate(-50%, -50%);
    pointer-events: none;
    display: block;
}
