* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #ffff;
    width: 100%;
    background-image: url('/images/BG.png');
    @media (min-width: 600px) {
        background-repeat: no-repeat;
        background-size: cover;
    }
}

header {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.5rem 7px;
    flex-direction: column;
}

header .logo {
    width: 150px;
}

.user-form,
.quiz-form,
.result-container {
    position: relative;
    background: linear-gradient(135deg, #0c4084, #1e5bb8);
    color: #ffff;
    border-radius: 7px;
    margin: 1rem;
    overflow: hidden;
    padding: 2rem 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.8);
    width: 90%;
    max-width: 700px;
    margin: 15px auto;
}

.user-form .form-group,
.quiz-form .form-group,
.result-container .form-group {
    margin: 10px 0;
}

.user-form .btn-custom-white,
.quiz-form .btn-custom-white,
.result-container .btn-custom-white {
    text-align: center;
    font-weight: bold;
    margin: 1rem auto 0 auto;
    width: 100%;
}

.btn-custom-red {
    background: #0f2c62;
    color: white;
    border-color: #0c4084 !important;
}

.btn-custom-red:hover,
.btn-custom-red:active,
.btn-custom-red:focus {
    background: #0c4084 !important;
    border-color: #ffff;
}

.btn-custom-white {
    color: #0c4084;
    background: #ffff;
}

.btn-custom-white:focus,
.btn-custom-white:active,
.btn-custom-white:hover {
    color: #0f2c62;
    background: #ffff;
    border-color: #0c4084;
}

.result-container {
    padding: 2rem 1rem;
}

.img-center {
    width: 75px;
    height: 75px;
    object-fit: cover;
    display: flex;
    margin: 15px auto;
}
.main-container {
    position: relative;
    margin: 15px auto;
    width: 70%;
}
@media (max-width: 600px) {
    .main-container {
        width: 90%;
    }
}
.admin-container {
    position: relative;
    padding: 2rem 1rem;
    background: linear-gradient(135deg, #0c4084, #1e5bb8);
    color: #ffff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.8);
    border-radius: 7px;
}

.admin-container h3 img{
    width: 35px;
    height: 35px;
    object-fit: cover;
    margin: 0 15px;
}
.statistiques {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin: 2rem 0;

}
.statistiques .box {
    position: relative;
    color: #1e293b;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 7px;
    padding: 7px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 150px;
    height: 150px;
    background-color: #ffff;
    flex-direction: column;
    margin: 10px;
}