* {
    margin: 0;
    padding: 0;
}

html,
body {
    overflow: hidden;
}

.webgl {
    position: fixed;
    top: 0;
    left: 0;
    outline: none;
}

.jitter {
    animation-duration: 0.3s;
    animation-timing-function: ease-in-out;
    animation-fill-mode: forwards;
    animation-iteration-count: infinite;
    animation-name: jittery;
    z-index: -10;
}

.interface-wrapper {
    width: 100%;
    top: 64px;
    left: 64px;
}

.icon-control-container {
    height: 26.5px;
    width: 26.5px;
}

@media only screen and (max-width: 768px) {
    .interface-wrapper {
        width: 100%;
        top: 24px;
        left: 24px;
    }

    .icon-control-container {
        height: 19.5px;
        width: 19.5px;
    }
}

@keyframes jittery {
    10% {
        transform: translate(-0.1px, -0.15px) scale(1, 1);
    }

    20% {
        transform: translate(0.15px, 0.1px) scale(1, 1);
    }

    30% {
        transform: translate(-0.2px, -0.25px) scale(1, 1);
    }

    40% {
        transform: translate(0.05px, 0.1px) scale(1, 1);
    }

    50% {
        transform: translate(-0.025px, -0.05px) scale(1, 1);
    }

    60% {
        transform: translate(0px, 0.075px) scale(1, 1);
    }

    70% {
        transform: translate(-0.075px, -0.1px) scale(1, 1);
    }

    80% {
        transform: translate(0.075px, 0.125px) scale(1, 1);
    }

    90% {
        transform: translate(-0.125px, -0.075px) scale(1, 1);
    }

    100% {
        transform: translate(0.075px, 0.025px) scale(1, 1);
    }
}

/* Interface 2D de la scene.
   Couleurs et police reprises du kit logo (2/public/brand/), pour que
   l'habillage de la scene suive la meme charte que le site. */
@font-face {
    /* Syne, graisse 700 : police des titres, la meme que sur le site. */
    font-family: 'Syne UI';
    src: url(assets/fonts/be1f73a793f6d6a1.woff2) format('woff2-variations');
    font-weight: 400 800;
    font-display: swap;
}

@font-face {
    /* Montserrat auto-hebergee, sous-ensemble latin : texte courant de
       l'interface, proche du logotype FORASTECH. */
    font-family: 'Montserrat UI';
    src: url(assets/fonts/a838cfed199e32f6.woff2) format('woff2-variations');
    font-weight: 100 900;
    font-display: swap;
}

:root {
    --fat-navy-900: #0a1730;
    --fat-blue-600: #2f6bff;
    --fat-teal-500: #12c2b0;
    --fat-orange-600: #ff7a1a;
    --fat-slate-200: #d7dde6;
}

h1,
h2,
h3,
h4,
h5,
p {
    font-family: 'Montserrat UI', ui-sans-serif, system-ui, sans-serif;
    font-weight: 600;
    font-style: normal;
    letter-spacing: 0.01em;
    /* Etait rgb(58, 46, 219), un bleu-violet sans origine. */
    color: var(--fat-navy-900);
    /* mobile friendly font size */
    font-size: 16px;
}

/* if on mobile */
@media only screen and (max-width: 768px) {
    h1,
    h2,
    h3,
    h4,
    h5,
    p {
        font-size: 10px;
    }
}

br {
    padding-top: 8px;
    padding-bottom: 8px;
    height: 16px;
}

.loading::after {
    display: inline-block;
    animation: dotty steps(1, end) 1s infinite;
    content: '';
}

@keyframes dotty {
    0% {
        content: '   ';
    }
    25% {
        content: '. ';
    }
    50% {
        content: '.. ';
    }
    75% {
        content: '...';
    }
    100% {
        content: '   ';
    }
}
/* Etait #fff dans une boite blanche : invisible. */
.blinking-cursor {
    background-color: var(--fat-teal-500);
    width: 0.8em;
    height: 0.15em;
    -webkit-animation: 0.65s blink step-end infinite;
    -moz-animation: 0.65s blink step-end infinite;
    -ms-animation: 0.65s blink step-end infinite;
    -o-animation: 0.65s blink step-end infinite;
    animation: 0.65s blink step-end infinite;
}

@keyframes blink {
    from,
    to {
        background-color: transparent;
    }
    50% {
        background-color: var(--fat-teal-500);
    }
}

@-moz-keyframes blink {
    from,
    to {
        background-color: transparent;
    }
    50% {
        background-color: var(--fat-teal-500);
    }
}

@-webkit-keyframes blink {
    from,
    to {
        background-color: transparent;
    }
    50% {
        background-color: var(--fat-teal-500);
    }
}

@-ms-keyframes blink {
    from,
    to {
        background-color: transparent;
    }
    50% {
        background-color: var(--fat-teal-500);
    }
}

@-o-keyframes blink {
    from,
    to {
        background-color: transparent;
    }
    50% {
        background-color: var(--fat-teal-500);
    }
}

.bios-start-button {
    background-color: var(--fat-navy-900);
    border: 4px solid var(--fat-teal-500);
    border-width: 4px 3px 4px 3px;
}

.bios-start-button p {
    box-sizing: border-box;
    padding: 8px;
    /* La regle globale met <p> en navy : sur le fond navy du bouton, le
       libelle deviendrait invisible. La couleur est donc forcee ici. */
    color: #ffffff;
}

.bios-start-button:hover p {
    background-color: var(--fat-teal-500);
    cursor: pointer;
    color: var(--fat-navy-900);
}

.loading-screen-header {
    padding: 48px;
}

.loading-screen-body {
    padding-left: 48px;
    padding-right: 48px;
}

.loading-screen-footer {
    padding: 48px;
    padding-bottom: 64px;
}

.info-wrapper {
    top: 64px;
    left: 64px;
}

/* if on mobile make all loading screen elements have a padding of 16 */
@media only screen and (max-width: 768px) {
    .loading-screen-header {
        padding: 16px;
    }

    .info-wrapper {
        top: 16px;
        left: 16px;
    }

    .blinking-cursor {
        background-color: var(--fat-teal-500);
        width: 0.4em;
        height: 0.08em;
        -webkit-animation: 0.65s blink step-end infinite;
        -moz-animation: 0.65s blink step-end infinite;
        -ms-animation: 0.65s blink step-end infinite;
        -o-animation: 0.65s blink step-end infinite;
        animation: 0.65s blink step-end infinite;
    }
    
    .loading-screen-body {
        padding-left: 16px;
        padding-right: 16px;
    }

    .loading-screen-footer {
        padding: 16px;
        padding-bottom: 32px;
    }
}



/* Couleurs de marque, reprises du kit logo (2/public/brand/).
   Une seule definition ici : l'intro, le fond de la scene et la barre de
   progression doivent rester alignes sur la charte si elle evolue. */
:root {
    --fat-navy-900: #0a1730;
    --fat-blue-600: #2f6bff;
    --fat-teal-500: #12c2b0;
    --fat-orange-600: #ff7a1a;
}

@font-face {
    font-family: 'ModernSans-Light';
    src: url(assets/fonts/8b74dc20bfce2481.otf) format('opentype');
}
@font-face {
    font-family: 'VenusRising-Regular';
    src: url(assets/fonts/6e445fb5f9c09315.ttf) format('truetype');
}

#intro-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* dvh suit la barre d'outils mobile qui se replie : avec 100% seul,
       l'overlay depassait le bas de l'ecran sur iOS et le texte centre
       n'etait plus centre. Declare apres, donc ignore la ou dvh manque. */
    height: 100dvh;
    background: var(--fat-navy-900);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: opacity 0.8s ease;
}

#intro-overlay.intro-hidden {
    opacity: 0;
    pointer-events: none;
}

#intro-message {
    position: relative;
    width: 100%;
    height: 100%;
}

#intro-message h3 {
    position: absolute;
    margin: 0;
    color: white;
    font-size: 7vw;
    font-family: 'VenusRising-Regular';
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    white-space: nowrap;
}

/* Les lettres mises en avant reprennent le teal du logotype, ou le O de
   FORASTECH est entoure de teal. L'ancien #389ac8 ne venait pas du kit. */
#intro-message h3 span {
    color: var(--fat-teal-500);
}

/* Mobile et tablette recoivent la meme intro que le bureau. 7vw y donne un
   texte minuscule (~27px sur un telephone) perdu au milieu de l'ecran : on
   remonte la taille, le mot le plus long (SOLUTION) tenant encore sur une
   ligne sans retour, ce que white-space: nowrap impose. */
@media (max-width: 900px) {
    #intro-message h3 {
        font-size: 12vw;
    }
}


/*# sourceMappingURL=main.css.map*/