@font-face {
    font-family: 'antiquityPrint';
    src: url('font/antiquityPrint.ttf') format('truetype');
}

body {
    display: flex;
    gap: 32px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0;
    height: 100vh;
    background-image: url('img/bodyBackground/bodyBackground.png');
    background-position: center;
    background-size: cover;
    font-family: 'antiquityPrint';
}

h1 {
    font-size: 80px;
    color: #968344;
    text-shadow: 6px 6px 10px rgba(0, 0, 0, 0.75); 
    margin: 0;
}

canvas {
    background-color: black;
    display: block;
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
}

#rotate-message {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    background: #000;
    color: #fff;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    text-align: center;
    padding: 0 8px;
    box-sizing: border-box;
}

@media only screen and (max-width: 1280px) {
    canvas {
        width: 100%;
    }
}

@media only screen and (max-width: 768px) and (orientation: portrait) {
    #rotate-message {
        display: flex;
    }
}

@media only screen and (max-height: 680px) {
    canvas {
        height: 100vh;
    }
}