.infinite-page-title-wrap.infinite-style-medium.infinite-left-align {
    display: none;
}

body {
    background-color: #390E17;
}

nav {
    margin-bottom: 20px;
}

.last-content {
    height: 13vh;
}

.game-mode {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-image: url(/wp-content/plugins/Winer/assets/img/QR/line.svg);
    background-repeat: no-repeat;
    background-position: bottom;
}

.game-mode>h1 {
    color: #fff;
}

.mode-card {
    display: inline-block;
    width: fit-content;
    border: 2px solid #ccc;
    border-radius: 10px;
    margin: 15px 30px;
    background-color: #fff;
    padding: 20px;
    text-align: left;
}

.mode-card h3 {
    color: #390E17;
}

.mode-card p {
    color: #390E17;
}

.mode-card a {
    display: inline-block;
    margin-top: 10px;
    background: #C61533;
    color: white;
    padding: 4px 15px;
    text-decoration: none;
    border-radius: 5px;
}


/* Quizz */

/* Apprentissage */
.container.py-5 {
    padding: 30px 30px !important;
}

.back-to-select {
    display: flex;
    flex-direction: row;
    gap: 7px;
    justify-content: space-between;
    align-items: center;
}

.back-to-select a {
    color: white !important;
}


.select-mode {
    display: flex;
    flex-direction: row;
    gap: 8px;
}

a.btn.btn-outline-danger {
    border: none;
    background: #791C30;
}

div#progress {
    color: white;
}

span#chrono {
    color: white;
}

.title-progress {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-top: 25px;
}

.progress-bar-container {
    width: 100%;
    height: 10px;
    background-color: #F3D0D6;
    border-radius: 999px;
    overflow: hidden;
    margin-top: 15px;
}

#progress-bar {
    height: 100%;
    width: 0%;
    background-color: #C71733;
    border-radius: 999px;
    transition: width 0.3s ease-in-out;
}

div#quiz-wrapper {
    margin: 50px 0px;
    background-color: white;
    border-radius: 10px;
    padding: 20px;
}

.quiz-wrapper {
    margin: 50px 0px;
    background-color: white;
    border-radius: 10px;
    padding: 20px;
}

/* Question */

.question.mb-4.active>h5 {
    font-size: 16px;
    margin-bottom: 0px;
}

p.text-muted.mb-2 {
    font-style: italic;
}

.custom-answer {
    margin-bottom: 12px;
}

.form-check-input {
    display: none;
}

.form-check-label {
    border: 1px solid #3b0a0a !important;
    border-radius: 10px;
    padding: 5px 16px;
    width: 100%;
    transition: all 0.2s ease;
    background-color: #fff;
}

.form-check-label:hover {
    border-color: #5c6ac4;
}

.custom-number {
    font-weight: bold;
    font-size: 18px;
    border-right: 1px solid #3b0a0a !important;
    padding-right: 12px;
    min-width: 28px;
    text-align: center;
    color: #3b0a0a;
}

.custom-text {
    font-size: 18px;
    font-weight: 600;
    color: #3b0a0a;
}

.form-check-input:checked+.form-check-label {
    background-color: #e7e4ff;
    border-color: #6267FF !important;
}

.form-check-input:checked+.form-check-label .custom-number,
.form-check-input:checked+.form-check-label .custom-text {
    color: #5c6ac4;
}

.form-check-input:checked+.form-check-label .custom-number {
    color: #5c6ac4;
    border-right: 2px solid #6267FF !important;
}

.form-check {
    display: block;
    min-height: 1.5rem;
    padding-left: 0 !important;
    margin-bottom: 15px !important;
}

.group-answer {
    margin-top: 30px;
}

button#validate-btn,
button#prev-btn,
button#next-btn,
button#show-score-btn,
a.btn.btn-primary.me-2,
a.btn.btn-outline-secondary {
    background-color: #C61533;
}



/* Réponses */

span.text-success {
    display: flex;
    flex-direction: column;
    align-items: center;
}

h2.rl-aqva {
    font-family: "rl-aqva", sans-serif !important;
    font-weight: 900 !important;
    font-style: normal !important;
    color: #390E17 !important;
    animation: .5s ease-in-out wiggle-wiggle;
}

.justification {
    text-align: center;
    color: #390E17;
}

.degustation-button {
    position: fixed !important;
    right: 25px !important;
    background-color: #F3D0D6 !important;
    border-radius: 99998px !important;
    width: 50px !important;
    height: 50px !important;
}

/* Animation */
.circle,
.circle-green,
.circle-border {
    width: 56px;
    height: 56px;
    border-radius: 50%;
}

.circle {
    z-index: 1;
    position: relative;
    background: #F3D0D6;
    transform: scale(1);
    animation: success-anim 900ms ease;
}

.circle-border {
    z-index: 0;
    position: absolute;
    transform: scale(1.1);
    animation: circle-anim 400ms ease;
    background: #F3D0D6;
}

.circle-green {
    z-index: 1;
    position: relative;
    background: #CAFFCA;
    transform: scale(1);
    animation: success-anim 900ms ease;
}

.circle-border-green {
    z-index: 0;
    position: absolute;
    transform: scale(1.1);
    animation: circle-anim 400ms ease;
    background: #CAFFCA;
}

@keyframes success-anim {
    0% {
        transform: scale(0);
    }

    30% {
        transform: scale(0);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes circle-anim {
    from {
        transform: scale(0);
    }

    to {
        transform: scale(1.1);
    }
}

@keyframes wiggle-wiggle {
    0% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(5deg);
    }

    50% {
        transform: rotate(-5deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

/* Fin de quizz */

.quiz-end .trophy-icon {
    font-size: 60px;
    color: #f5c518;
    margin-bottom: 0.5rem;
}

.quiz-end .score-text {
    font-size: 1.2rem;
    color: #333;
}

.quiz-end-title {
    font-weight: bold;
    font-size: 1.5rem;
    margin-top: 1rem;
}

.quiz-end-message {
    font-size: 1rem;
    color: #555;
    margin-top: 1rem;
}

.quiz-end-actions .btn {
    padding: 0.5rem 1.5rem;
    font-size: 1rem;
}

.floating.rose-claire:after {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    content: "\274c";
    font-size: 150px;
    color: #FFF;
    line-height: 150px;
    text-align: center;
}

.floating.rose-claire {
    animation-name: floating3;
    height: 150px;
    width: 150px;
    position: relative;
}

.floating.rouge-fonce {
    animation-name: floating;
    transform: rotate(90deg);
    height: 150px;
    width: 150px;
    background: rgb(200, 200, 200);
}


.floating.rouge-vif {
    animation-name: floating2;
    border-radius: 50%;
    height: 150px;
    width: 150px;
    background: rgb(200, 200, 200);
}



.floating {
    animation-duration: 3s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
    margin-left: 30px;
    margin-top: 5px;
}

@keyframes floating {
    from {
        transform: translate(0, 0px);
    }

    60% {
        transform: translate(0, 32px);
    }

    to {
        transform: translate(0, -0px);
    }
}

@keyframes floating2 {
    from {
        transform: translate(0, 0px);
    }

    45% {
        transform: translate(0, 15px);
    }

    to {
        transform: translate(0, -0px);
    }
}

@keyframes floating3 {
    from {
        transform: translate(0, 0px);
    }

    50% {
        transform: translate(0, -25px);
    }

    to {
        transform: translate(0, -0px);
    }
}

@keyframes floating4 {
    from {
        transform: translate(0, 0px);
    }

    40% {
        transform: translate(0, -15px);
    }

    to {
        transform: translate(0, -0px);
    }
}

text.insert-score {
    fill: #FFB447;
    font-weight: bold;
    font-size: 20px;
}

.quiz-end-actions.mt-4>a {
    color: white;
}

.alert.alert-info.mt-2 {
    background: #FFE7EB;
    border: none;
    color: black;
}

.end-answer {
    color: black;
}

a.back-to-mode {
    display: flex;
    align-items: center;
    gap: 10px;
}


/* Button Red */

.red-btn.btn-primary {
    background-color: #C61533 !important;
    border: 1px solid #C61533 !important;
}

.red-btn.btn-secondary {
    border: 1px solid #C61533 !important;
    background: #fff !important;
    color: #000;
}

button.btn.red-btn.btn-success.w-100 {
    background: #C61533;
}

/* Header game mode */
.header-mode {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.header-mode>h2 {
    color: #fff !important;
}

.bg-quiz {
    background-image: url(/wp-content/plugins/Winer/assets/img/QR/line.svg);
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: contain;
    /* height: 110vh; */
}

span.badge.bg-secondary {
    background-color: #F3D0D6 !important;
    color:#C61533;
}

/* Button */

.red-btn.btn-success {
    background-color: #C61533 !important;
    border: 1px solid #C61533 !important;
    width: 100%;
}

.end-btn.btn-success {
    background-color: #C61533 !important;
    border: 1px solid #fff !important;
}

.d-inline-block {
    display: inline-block !important;
    width: 100%;
}

li.d-flex.align-items-center.mb-2 {
    gap: 15px;
}

.progress-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: conic-gradient(
        #C61533 calc(var(--progress) * 1%), 
        #FFE7EB 0%
    );
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: inset 0 0 8px rgba(0,0,0,0.1);
}
.progress-inner {
    background: white;
    border-radius: 50%;
    width: 85px;
    height: 85px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.progress-text {
    font-weight: bold;
    color: #333;
    font-size: 1.2rem;
}

/* OLD
.mode-card {
    display: inline-block;
    width: 250px;
    border: 2px solid #ccc;
    border-radius: 10px;
    margin: 15px;
    padding: 20px;
    text-align: left;
}

.mode-card h3 {
    margin-top: 0;
}

.mode-card a {
    display: inline-block;
    margin-top: 10px;
    background: #0073aa;
    color: white;
    padding: 8px 15px;
    text-decoration: none;
    border-radius: 5px;
}
*/
/* Apprentissage / Découverte *

.question {
    display: none;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.question.active {
    display: block;
}

.feedback {
    margin-top: 10px;
    font-style: italic;
}

.justification {
    display: none;
    margin-top: 10px;
    padding: 10px;
    background: #eef6ff;
    border-left: 4px solid #0073aa;
    border-radius: 4px;
}

h1 {
    text-align: center;
}

.navigation {
    margin-top: 20px;
    text-align: center;
}

.navigation button {
    margin: 0 10px;
    padding: 10px 20px;
    font-size: 16px;
}

#progress {
    text-align: center;
    font-size: 1.2em;
    margin-bottom: 20px;
}
/*
/* Mode entrainement

.question {
    display: none;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.question.active {
    display: block;
}

h1 {
    text-align: center;
}

.navigation {
    margin-top: 20px;
    text-align: center;
}

.navigation button {
    margin: 0 10px;
    padding: 10px 20px;
    font-size: 16px;
}

#progress {
    text-align: center;
    font-size: 1.2em;
    margin-bottom: 20px;
}
/*
/* Matchmaking

.question {
    display: none;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.question.active {
    display: block;
}

.navigation {
    margin-top: 20px;
    text-align: center;
}

.navigation button {
    padding: 10px 20px;
    margin: 0 10px;
    font-size: 16px;
}

#progress {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 20px;
}


.question {
    background: #fff;
    padding: 2rem;
    margin: 2rem auto;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
    max-width: 600px;
    font-size: 1.1rem;
}

button {
    padding: 10px 20px;
    margin: 10px;
    border-radius: 8px;
    border: none;
    background-color: #0073aa;
    color: white;
    font-weight: bold;
    cursor: pointer;
}

button:hover {
    background-color: #005f8d;
}
*/