* {
    box-sizing: border-box;
}

body{
    font-family: Arial, Helvetica, sans-serif;   
    background-color: #f4f4f4;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-image: url("../images/wallpaper2.jpg");
    background-size: cover;    
}

a{
    color: white;
}
 
#hello{
    position: absolute;
    top: 20px;
    left: 20px;
    color: white;
    font-size: 24px;
}

#question{
    display: block;
    margin: auto 0;
    border-radius: 20px 20px 5px 5px;
    padding: 50px;
    border:  2px solid white;
    background-color: transparent;
    color: white;
    cursor: pointer;
}

input::placeholder {
    color: white;
  }

.connection{
    color: white;
    background-color: transparent;
    border:  2px solid white;
    backdrop-filter: blur(20px);
    padding: 20px;
    border-radius: 30px;
    box-shadow: 8px 8px 8px rgba(0, 0, 0, 0.1);
    width: 400px;
    text-align: center;
}

.username{
    width: 100%;
    display: flex;
    align-items: center;
}

.username input{
    width: 100%;
    padding: 5% 5% 5% 40px;
    margin: 10px 0;
    border:  2px solid white;
    background-color: transparent ;
    color: white;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.bxs-user{
    position: absolute;
    top : var(username);
    left: 8%;
}

.password{
    width: 100%;
    display: flex;
    align-items: center;
}

.password input{
    width: 100%;
    padding: 5% 5% 5% 40px;
    margin: 10px 0;
    border:  2px solid white;
    background-color: transparent ;
    color: white;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.password input::-ms-reveal {
    filter: invert(100%);
}

.bxs-lock-alt{
    position: absolute;
    top : var(username);
    left: 8%;
}

.submitBtn{
    display: block;
    width: 100%;
    margin: 10px 0;
    border:  2px solid white;
    background-color: transparent ;
    color: white;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    padding: 4% 5% 4% 5%;
    font-size: 24px;
    text-decoration: none;
    text-align: center;
}

.submitBtn:hover{
    background-color: white;
    color: black;
    font-weight: bold;
}

.register{
    display: flex ;
    justify-content: space-around;

}

#quizContainer{
    background-color: transparent;
    border:  2px solid white;
    backdrop-filter: blur(20px);
    padding: 20px;
    border-radius: 30px;
    box-shadow: 8px 8px 8px rgba(0, 0, 0, 0.1);
    width: 600px;
    text-align: center;
}

.choice{
    display: block;
    width: 100%;
    margin: 10px 0;
    border:  2px solid white;
    background-color: transparent ;
    color: white;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    padding: 5%;
    font-size: 24px;
}

.choice:hover{
    background-color: white;
    color: black;
    font-weight: bold;
}

div.choice {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: default;
}


.barreChargement {
    width: var(choice);
    height: 20px;
    margin: 0px 0px 10px 0px;
    border:  2px solid white;
    background-color: transparent;
    border-radius: 5px;
    overflow: hidden;
}

.progres {
    width: 0;
    height: 100%;
    background-color: white;
    animation: fill 33s ;
}

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

#ET-container{
    display: flex;
    width: 100%;
    height: 100%;
    margin: 0 0;
    align-items: stretch;
}

#timer{
    
    text-align: center;
    display: block;
    float: left;
    width: 100%;
    height: 100%;
    margin: 0px 5px 0px 0px;
    border:  2px solid white;
    background-color: transparent ;
    color: white;
    border-radius: 5px 5px 5px 20px;
    padding: 5%;
    font-size: 24px;
}

#Elo{
    text-align: center;
    display: block;
    float: right;
    width: 100%;
    height: var(timer);
    margin: 0px 0px 0px 5px;
    padding-left: 20px;
    border:  2px solid white;
    background-color: transparent ;
    color: white;
    border-radius: 5px 5px 20px 5px;
    padding: 5%;
    font-size: 24px;
}

/* Bouton du leaderboard */
.leaderboard {
    position: absolute;
    top: 20px;
    right: 20px;
    border: 2px solid white;
    background-color: transparent;
    color: white;
    border-radius: 5px;
    padding: 15px 25px;
    font-size: 18px;
    text-decoration: none;
    backdrop-filter: blur(10px);
    box-shadow: 8px 8px 8px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s, color 0.3s;
}
.leaderboard:hover {
    background-color: white;
    color: black;
    font-weight: bold;
}
