@font-face {
    font-family: 'ourple';
    src: url('fonts/ourple.ttf') format('truetype');
}

html {
    cursor: url("img/cursors/ourple-cursor.png"), auto;
}

body {
    background: url("img/bg.png") no-repeat fixed center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 100px;
}

.lettabox-down-strip {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100vw;
    height: 85px;
    pointer-events: none;
    z-index: 1000;
    background: url("img/lettabox.png") repeat-x left bottom;
    background-size: 91px, 85px;
    animation: move-down-lettabox 2s linear infinite;
}

.lettabox-up-strip {
    position: fixed;
    width: 100vw;
    height: 85px;
    left: 0;
    top: 0;
    pointer-events: none;
    z-index: 1000;
    background: url("img/lettabox2.png") repeat-x left bottom;
    background-size: 91px, 85px;
    animation: move-up-lettabox 2s linear infinite;
}

.title-shadow {
    position: absolute;
    width: 100%;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'ourple';
    font-size: 82px;
    text-align: center;
    color: rgba(0, 0, 0, 0.5);
    z-index: 1;
    text-shadow: 5px 5px 0 rgba(0, 0, 0, 1);
    -webkit-font-smoothing: antialiased;

    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 and IE 11 */
    user-select: none; /* Standard syntax */
}

.title {
    position: absolute;
    width: 100%;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'ourple';
    font-size: 82px;
    text-align: center;
    z-index: 2;

    background: linear-gradient(90deg, #ff0000, #ff9900, #ffff00, #33ff00, #00ffff, #3300ff, #ff00cc, #ff0000);
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-font-smoothing: antialiased;
    color: transparent;
    -webkit-text-fill-color: transparent;
    animation: rainbow-text 3s linear infinite;

    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 and IE 11 */
    user-select: none; /* Standard syntax */
}

.main-box {
    width: 1330px;
    height: 860px;
    background: rgba(204, 0, 255, 0.7);
    border-radius: 16px;
    border: 4px solid #a357ab;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.75);
    z-index: 3;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 170px;
}

.credits {
    font-family: 'ourple';
    font-size: 24px;
    color: #fff;
    text-align: center;
    text-shadow: 3px 3px 0 rgba(0, 0, 0, 1);
}

#fullscreen-button {
    font-family: 'ourple';
    font-size: 18px;
    color: #fff;
    background-color: rgba(204, 0, 255, 0.7);
    text-decoration: underline;
    border-radius: 8px;
}

@keyframes rainbow-text {
    to {
        background-position: 200% center;
    }
}

@keyframes move-down-lettabox {
    from { background-position-x: 0; }
    to { background-position-x: -91px; }
}

@keyframes move-up-lettabox {
    from { background-position-x: 0; }
    to { background-position-x: 91px; }
}
