@font-face {
    font-family: "terminal";
    src: url("../fonts/terminal.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "terminalBold";
    src: url("../fonts/terminal_bold.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "terminalAlt";
    src: url("../fonts/terminal_alt.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

body {
    margin: 0;
    background: #000;
    color: #fff;
    font-family: "terminal", monospace;
    overflow: hidden;

    display: flex;
    align-items: flex-start;
    justify-content: flex-start;

    width: 100vw;
    height: 100vh;
}

#status {
    padding: 20px;
    font-size: 42px;
    user-select: none;
}

#footer {
    position: fixed;
    left: 20px;
    bottom: 20px;

    display: flex;
    gap: 20px;

    font-size: 14px;
}

#footer a {
    color: #d8d8d8;
    text-decoration: none;
    transition: color 0.2s ease;
}

#footer a:hover {
    color: #ffffff;
    text-decoration: underline;
}

#eventMessage {
    position: fixed;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);

    font-size: 48px;

    display: none;
    user-select: none;
    text-align: center;
    z-index: 1000;
}

#audioUnlock {
    position: fixed;
    bottom: 50px;
    left: 20px;
    color: #e22011;
    font-size: 18px;
    user-select: none;
}


/* Page mentions légales */

.legal {
    width: 90%;
    max-width: 900px;
    margin: 60px auto;
    padding: 30px;
    color: #f0f0f0;
    line-height: 1.7;
    text-align: left;
}


/* Titres */

.legal h1 {
    text-align: center;
    color: white;
    margin-bottom: 40px;
}


.legal h2 {
    color: #ffffff;
    margin-top: 35px;
    margin-bottom: 15px;
}


/* Paragraphes */

.legal p {
    margin-bottom: 15px;
}


/* Liens */

.legal a {
    color: #ddd;
    text-decoration: underline;
}


/* Permet le défilement sur les pages longues */

body {
    overflow-y: auto;
}


/* topBar et Horloge */

#topBar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5px;
    box-sizing: border-box;
}


/* Texte Connexion / Connecté */

#status {
    color: white;
    font-size: 2rem;
}


/* Horloge */

#clock {
    color: #888;
    font-size: 2rem;
    margin-right: 40px;
}

/* Mentions légales et crédits, couleurs */


/* Titre principal */
.legal h1 {
    color: #ffff55;
}


/* Sous-titres */
.legal h2 {
    color: #cc6503;
}

.credits h1 {
    color: #ffff55;
}

.credits h2 {
    color: #cc6503;
}


::selection {
    background: #0100fc;
    color: white;
}

/* Status */

#messageStatus {
    position: fixed;
    bottom: 85px;
    left: 40px;
    color: #fff;
    font-size: 1.5rem;
    line-height: 1.5;
    max-width: 600px;
    text-align: left;
    white-space: nowrap;
}