@font-face {
	font-family: 'Orbitron';
	src: url('../font/Orbitron-VariableFont_wght.ttf');
}

body {
    background-color: #000;
    margin: 0;
    position: relative;
    font-size: 16px;
    font-family: sans-serif;
    font-family: Orbitron, sans-serif;
    font-weight: 500;

    background-image: url(../img/background.webp);
    background-attachment: fixed;
    background-size: cover;
    background-repeat: no-repeat;
}

#background {
    position: fixed;
    top: 0;
    right: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;

    visibility: visible;
    opacity: 1;

    transition: visibility 4s 0s, opacity 4s;

    &.hide {
        visibility: hidden;
        opacity: 0;
    }
}

#canvas-holder {
    position: absolute;
    top: 0;
    right: 0;
}

#canvas {
    width: 100% !important;
    height: 100% !important;
}

#content {
    box-sizing: border-box;
    position: relative;
    min-height: 100vh;
    max-width: 29rem;
    margin: 0 auto;
    padding: 1rem 1rem 4rem 1rem;

    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
}

img {
    max-width: 100%;
    height: auto;
    margin: 1rem 0;
}

.button {
    display: block;
    margin: .5rem 0;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, .8);
    border-radius: .5rem;
    padding: .7rem 1rem;
    color: #f0f0f0;
    text-decoration: none;
    background-color: rgba(0, 0, 0, .7);
    transform: scale(1);

    transition: color .5s, transform .5s;

    &:hover {
        color: #fefefe;
        transform: scale(1.06);
    }
}
