@font-face {
    font-family: 'neon';
    src: url('../POLICE/Neon.ttf');
}

body {
    font-family: 'neon';
    font-size: 15px;
    color: #333333;
    line-height: 150%;
    background-color: #fdfae0 ;
    margin : 0%;
    padding : 0%;

}
.tete {
    color: #ffffff;
    background-color: white;
    display: block;
    font-size: 150%;
    font: bold;
    text-transform: uppercase;

}

footer {
    color: #888888;
    background-color: #072821;
    border-color: #000000;
    height : 30px;
    bottom : 0;
}
body{
    text-align: center;
}

.menu_position,.tete
{
    left:0px;
    right:0px;
}
.menu_position
{
    top: 0px;
}

.menus
{
    margin: 0px;
    background-color: #072821;
    text-align: center;
    line-height: 300%;
    color : white;
    
}
.liens
{
    padding-right: 20px;
    padding-left: 20px;
    display:inline-block;
    color : white;
    text-decoration: none;

}

.liens:hover{
    background-color: #489521;
    color : white;
}

.quizz div{
    background-color : #fdfae0;
    font-weight: bold;
    font-size: 150%;

}

.top div{
    background-color : #fdfae0;
    font-weight: bold;
    text-decoration: none;
    font-size: 150%;
}

img {
    display : block;
    width: 100%;
}

.lien{
    text-decoration: none;
    color : white;
    line-height: 30px;
}

.footer-container:hover{
    background-color: #489521;
}

.footer-container a:hover{
    background-color: none;
    color : white;
}

.footer-container {
    margin-left : 40%;
    margin-right : 40%;
}

.accueil{
    background-color: #072821;
    color : white;
    line-height: 300%;
    
}

body {
    font-family: 'neon';
    font-size: 20px;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #fdfae0;
}

.quiz-container {
    width: 600px;
    background-color: #489521;
    border-radius: 20px;
    box-shadow: 0 0 10px #326d14;
    padding: 20px;
    text-align: center;
    margin-left: 30%;
}

.question-container {
    margin-bottom: 20px;
    font-weight: bold;
    font-size: 24px;
}

.answer-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    justify-content: center;
}

.answer {
    padding: 10px 20px;
    border: none;
    border-radius: 10px;
    background-color: #d8cd2c;
    color: #0a5416;
    cursor: pointer;
    font-family: 'neon';
    font-size: 18px;
    transition: background-color 0.3s;
}


.answer:hover {
    background-color: #5FD82C;
}

.feedback {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 18px;
    text-align: center;
    padding: 10px;
    background-color: #5FD82C;
    color: #fff;
    border-radius: 5px;
    opacity: 0;
    transition: opacity 0.3s, transform 0.3s;
}
.feedback.show-feedback {
    opacity: 1;
    transform: translateX(-50%) translateY(-20px);
}

.progress-bar {
    width: 100%;
    height: 10px;
    background-color: #c3eac9;
    border-radius: 5px;
    margin-bottom: 20px;
    position: relative;
}

.progress {
    height: 100%;
    width: 0;
    background-color: #5FD82C;
    border-radius: 5px;
    transition: width 0.3s;
}

.lives {
    font-weight: bold;
    color: red;
}

.timer {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
    font-weight: bold;
    margin-bottom: 10px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}