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

}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    overflow: hidden;
}

/*****************************INTRO INDEX***********************/

.reboot-container {
    text-align: center;
    font-family: 'easvhs';
    max-width: 80%; /* Largeur maximale pour les écrans larges */
    padding: 20px;
    margin: 20px; /* Marge pour les écrans plus petits */
}

.neon-box {
    background-color: #000;
    padding: 20px;
    border: 5px solid #ff0000; /* Bordure de néon rouge */
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.3);
    position: relative;
    animation: glitch-background 0.5s alternate infinite;
}

.glitch-txt {
    position: relative;
    animation: glitch-txt 1s infinite;
    font-size: 3vw; /* Texte plus gros */
    color: #ff0000; /* Couleur de néon rouge */
}

.loading-bar {
    background-color: #ff0000; /* Couleur de néon rouge */
    width: 0;
    height: 10px;
    position: absolute;
    bottom: 0;
    left: 0;
    animation: loading 3s linear forwards, stopGlitch 2s linear 5s forwards;
}

@keyframes loading {
    0% { width: 0; }
    100% { width: 100%; }
}

@keyframes glitch-background {
    0%, 100% {
        transform: translateX(0);
    }
    10% {
        transform: translateX(-1.5px); /* Effet de glitch grille */
    }
    20% {
        transform: translateX(1.5px); 
    }
    30% {
        transform: translateX(0);
    }
}

@keyframes glitch-text {
    0%, 100% {
        transform: translateX(-1px);
    }
    50% {
        transform: translateX(1px); /* Effet de glitch du texte */
    }
}



/*****************************END OF INDEX***********************/

