body {
    margin: 0;
    font-family: "Departure Mono";
    background: #000000;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

#container {
    position: relative;
    width: 50%;
    text-align: center;
}

/* ----- TITRE ----- */

h1 {
    font-size: 36px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); 
    color: #ffffff;
    /* Animation */
    transition: all 0.8s cubic-bezier(.35, 0, .25, 1);
    opacity: 1;
    text-transform: uppercase;
    top: 60px;

     animation: fadeIn 0.6s ease forwards;
}



.startBtn {
color: #ffffff;
padding: 40px 10px;
width: 50%;
font-family: 'VG5000';
border: none;
color: rgb(7, 7, 7);
font-size: 40px;
border-radius:0px;
cursor: pointer;
position: absolute;
top: -100px;
  animation: shake linear .1s infinite;
  border-radius: 0px;
}

/* Quand on passe au questionnaire → le titre remonte */
h1.topTitle {
    top: 40px;
    transform: translate(-50%, 0);
    font-size: 28px;
    opacity: 1;
    text-transform: uppercase;
}


/* ----- ÉCRAN D'ACCUEIL ----- */

#startScreen {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    

    animation: fadeIn 0.6s ease forwards;
    animation: shake linear .1s infinite;
}


/* ----- QUESTIONNAIRE ----- */

.hidden {
    display: none;
}

#questionScreen {
    margin-top: 150px;
    opacity: 0;
    animation: fadeIn 0.6s ease forwards;
}

#wrapper {
    background: white;
    padding: 25px 35px;
    width: 360px;
    margin: auto;
    border-radius: 0px;
    box-shadow: 0 0 12px rgba(0,0,0,0.1);
    text-align: left;
}

p {
    font-size: 20px;
}

input, select {
    width: 100%;
    padding: 10px;
    margin-top: 12px;
    border-radius: 6px;
    border: 1px solid #ddd;
    font-size: 16px;
}

.wrapper, button {
    padding: 12px 20px;
    width: 100%;
    background: #ffffff;
    border: none;
    color: rgb(0, 0, 0);
    font-size: 18px;
    border-radius: 0px;
    cursor: pointer;
    margin-top: 20px;
    font-family: 'VG5000';
}

button:hover {
    background: #000000;
    color: #ffffff;
}

/* ----- ANIMATIONS ----- */

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}


@keyframes shake {
    0%    { transform:  translateX(0px) }
    33%   { transform:  translateX(2px) }
    66%   { transform:  translateX(-2px) }
}