@font-face {
    font-family: 'Comic Sans MS';
    src: url('fonts/Comic-Sans-MS.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: 'Comic Sans MS', sans-serif;
    background-color: #000000;
}

img.main-image {
    max-width: 100%;
}

* {
    box-sizing: border-box;
}

body, html {
    margin: 0;
    padding: 0;
    min-height: 100%;
}

div#connect_wrapper {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 170px;
    width: 508px;
    height: 619px;
    padding: 264px 186px 172px 161px;
    background-image: url("images/login-background.png");
}

div#goToQuizz {
    position: absolute;
    bottom: 30px;
    right: 30px;
}

img#commencer,
img#goToQuizz {
    cursor: pointer;
    opacity: 1;
    transition: all 0.3s ease;
}

.disabled {
    opacity: 0.3 !important;
}

input#name {
    width: 161px;
    height: 48px;
    background-color: transparent;
    border: none;
    padding-left: 15px;
    font-size: 190%;
}

select#age {
    height: 50px;
    width: 149px;
    padding-left: 10px;
    font-size: 190%;
    background-color: transparent;
    border: none;
}

select#age option {
    max-height: 400px;
    background-color: white;
    border: none;
}

div#age-wrapper {
    margin-top: 25px;
}

button {
    background-color: transparent;
    border: none;
    cursor: pointer;
}

button#commencer img {
    width: 212px;
    height: auto;
    margin-top: 39px;
}

#footer-content {
    margin-top: -52px;
    margin-right: 20px;
    text-align: right;
    color: #fff;
}

.fixed-image {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    transform: translate(-50%, -50%);
    opacity: 0;
    animation: fade 0.5s ease-in-out forwards;
}

@keyframes fade {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

div#start-wrapper-quizz {
    text-align: center;
    margin-top: 30px;
}

#quizz-wrapper {
    position: absolute;
    width: 1024px;
    height: 419px;
    left: 50%;
    transform: translate(-50%, -50%);
    top: 50%;
    font-size: 230%;
    background-image: url("images/modal-background.png");
    background-repeat: no-repeat;
    padding: 0px 50px 0px 50px;
}

#quizz-title-wrapper {
    position: absolute;
    left: 50%;
    transform: translate(-50%, -30%);
    top: 30%;
    background-repeat: no-repeat;
    padding: 0px 50px 0px 50px;
}

#quizz-title-wrapper #quizz-title {
    width: 600px;
    height: 205px;
}

#quizz-title-wrapper #quizz-title-start {
    width: 212px;
    height: 64px;
    cursor: pointer;
}

#progress-bar-wrapper {
    z-index: 1;
    position: absolute;
    top: 30px;
    right: 50px;
}

img#progress-bar {
    position: absolute;
    top: 8px;
    left: 16px;
    height: 14px;
}

#compatibility-wrapper img {
    max-width: 120px;
}

#compatibility-wrapper {
    display: none;
    position: absolute;
    top: 90px;
    text-align: center;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2222;
}


@media only screen and (max-width: 475px) {
    
    #container-page1 .fixed-image {
        object-position: center;
        object-position: calc(50% + -333px) center;
    }
    
    #container-page2 .fixed-image {
        object-position: center;
        object-position: calc(50% + 333px) center;
    }
    
    #container-page3 .fixed-image {
        object-position: center;
        object-position: calc(50% + 243px) center;
    }
    
    #container-page4 .fixed-image {
        object-position: center;
        object-position: calc(50% + 203px) center;
    }
    
    #container-page5 .fixed-image {
        object-position: center;
        object-position: calc(50% + 323px) center;
    }    
    
    #container-page6 .fixed-image {
        object-position: center;
        object-position: calc(50% + 253px) center;
    }
    
    #container-page7 .fixed-image {
        object-position: center;
        object-position: calc(50% + 253px) center;
    }
    
    #container-page8 .fixed-image {
        object-position: center;
        object-position: calc(50% + -387px) center;
    }
    
    #container-page9 .fixed-image {
        object-position: center;
        object-position: calc(50% + -97px) center;
    }
    
    #container-page10 .fixed-image {
        object-position: center;
        object-position: calc(50% + 173px) center;
    }
    
    #container-page11 .fixed-image {
        object-position: center;
        object-position: calc(50% + -117px) center;
    }
    
    #container-page12 .fixed-image {
        object-position: center;
        object-position: calc(50% + 183px) center;
    }
    
    #container-page13 .fixed-image {
        object-position: center;
        object-position: calc(50% + -287px) center;
    }
    
    #container-page14 .fixed-image {
        object-position: center;
        object-position: calc(50% + -287px) center;
    }
    
    #container-page15 .fixed-image {
        object-position: center;
        object-position: calc(50% + 13px) center;
    }
    
    #container-page16 .fixed-image {
        object-position: center;
        object-position: calc(50% + -118px) center;
    }
    
    #container-page17 .fixed-image {
        object-position: center;
        object-position: calc(50% + -198px) center;
    }
    
    #container-page18 .fixed-image {
        object-position: center;
        object-position: calc(50% + -98px) center;
    }
    
    #container-page19 .fixed-image {
        object-position: center;
        object-position: calc(50% + -138px) center;
    }
    
    #container-page20 .fixed-image {
        object-position: center;
        object-position: calc(50% + 416px) center;
    }
    
    #container-page21 .fixed-image {
        object-position: center;
        object-position: calc(50% + 116px) center;
    }
    
    #container-page22 .fixed-image {
        object-position: center;
        object-position: calc(50% + 6px) center;
    }
    
    #container-page23 .fixed-image {
        object-position: center;
        object-position: calc(50% + 6px) center;
    }
    
  div#connect_wrapper {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        bottom: 170px;
        width: 368px;
        height: auto;
        padding: 247px 135px 172px 116px;
        background-image: url("images/login-background.png");
        background-size: 368px auto;
        background-repeat: no-repeat;
        background-position: center;
    }
    
    #compatibility-wrapper {
        display: block !important;
    }
    
    input#name {
        width: 121px;
        height: 34px;
        padding-left: 10px;
        font-size: 150%;
    }
    
    #age-wrapper {
        margin-top: 20px !important;
    }
    
    select#age {
        height: 36px;
        width: 113px;
        padding-left: 5px;
        font-size: 150%;
    }
    
    #connect_wrapper button {
        padding: 0;
    }
    
    img#commencer {
        max-width: 118px !important;
        margin-top: 12px !important;
    }
    
    div#connect_wrapper {
        bottom: 60px;
    }
    
    div#progress-bar-wrapper {
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%) !important;
    }
    
    .navigation-mobile {
        display: block !important;
    }
    
    .navigation-desktop {
        display: none !important;
    }
    
    #quizz-title-wrapper #quizz-title {
        width: 390px !important;
        height: auto !important;
    }
    
    #quizz-wrapper {
        width: 90%;
        height: 550px;
        background-size: 100% 550px;
        background-repeat: no-repeat;
        background-position: center;
    }
    
    form#quizForm {
        font-size: 70% !important;
    }
    
    .custom-radio {
        font-size: 80% !important;
    }
    
    .custom-radio .radio-checkmark {
        width: 25px;
        height: 25px;
    }
    
    form#quizForm {
        padding: 0 10px;
    }
    
    .good-response,
    .bad-response {
        margin-top: 30px !important;
        margin-left: 0px !important;
        font-size: 80% !important;
    }
    
    #feedback-image-good,
    #feedback-image-bad {
        height: 70px;
    }
    
    #nextPage {
        width: 232px !important;
    }
    
    div#feedback {
        padding-top: 190px !important;
    }
    
    #feedback-image-bad img, #feedback-image-good img {
        margin-top: -48px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
    }
    
    .transport-final button.previous {
        left: 50%;
        transform: translateX(-50%);
    }
    
}

@media only screen and (min-width: 476px) and (max-width: 1024px) {
    
    #container-page1 .fixed-image {
        object-position: center;
        object-position: calc(50% + -233px) center;
    }
    
    #container-page2 .fixed-image {
        object-position: center;
        object-position: calc(50% + 333px) center;
    }
    
    #container-page3 .fixed-image {
        object-position: center;
        object-position: calc(50% + 243px) center;
    }
    
    #container-page4 .fixed-image {
        object-position: center;
        object-position: calc(50% + 153px) center;
    }
    
    #container-page5 .fixed-image {
        object-position: center;
        object-position: calc(50% + 323px) center;
    }    
    
    #container-page6 .fixed-image {
        object-position: center;
        object-position: calc(50% + 253px) center;
    }
    
    #container-page7 .fixed-image {
        object-position: center;
        object-position: calc(50% + 253px) center;
    }
    
    #container-page8 .fixed-image {
        object-position: center;
        object-position: calc(50% + -387px) center;
    }
    
    #container-page9 .fixed-image {
        object-position: center;
        object-position: calc(50% + -7px) center;
    }
    
    #container-page10 .fixed-image {
        object-position: center;
        object-position: calc(50% + 93px) center;
    }
    
    #container-page11 .fixed-image {
        object-position: center;
        object-position: calc(50% + -141px) center;
    }
    
    #container-page12 .fixed-image {
        object-position: center;
        object-position: calc(50% + 93px) center;
    }
    
    #container-page13 .fixed-image {
        object-position: center;
        object-position: calc(50% + -157px) center;
    }
    
    #container-page14 .fixed-image {
        object-position: center;
        object-position: calc(50% + -127px) center;
    }
    
    #container-page15 .fixed-image {
        object-position: center;
        object-position: calc(50% + 13px) center;
    }
    
    #container-page16 .fixed-image {
        object-position: center;
        object-position: calc(50% + 12px) center;
    }
    
    #container-page17 .fixed-image {
        object-position: center;
        object-position: calc(50% + -198px) center;
    }
    
    #container-page18 .fixed-image {
        object-position: center;
        object-position: calc(50% + 2px) center;
    }
    
    #container-page19 .fixed-image {
        object-position: center;
        object-position: calc(50% + -48px) center;
    }
    
    #container-page20 .fixed-image {
        object-position: center;
        object-position: calc(50% + 326px) center;
    }
    
    #container-page21 .fixed-image {
        object-position: center;
        object-position: calc(50% + 16px) center;
    }
    
    #container-page22 .fixed-image {
        object-position: center;
        object-position: calc(50% + 0px) center;
    }
    
    #container-page23 .fixed-image {
        object-position: center;
        object-position: calc(50% + 6px) center;
    }
    
  div#connect_wrapper {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        bottom: 170px;
        width: 368px;
        height: auto;
        padding: 247px 135px 172px 116px;
        background-image: url("images/login-background.png");
        background-size: 368px auto;
        background-repeat: no-repeat;
        background-position: center;
    }
    
    #compatibility-wrapper {
        display: block !important;
    }
    
    input#name {
        width: 121px;
        height: 34px;
        padding-left: 10px;
        font-size: 150%;
    }
    
    #age-wrapper {
        margin-top: 20px !important;
    }
    
    select#age {
        height: 36px;
        width: 113px;
        padding-left: 5px;
        font-size: 150%;
    }
    
    #connect_wrapper button {
        padding: 0;
    }
    
    img#commencer {
        max-width: 118px !important;
        margin-top: 12px !important;
    }
    
    div#connect_wrapper {
        bottom: 60px;
    }
    
    div#progress-bar-wrapper {
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%) !important;
    }
    
    .navigation-mobile {
        display: none !important;
    }
    
    .navigation-desktop {
        display: block !important;
    }
    
    #quizz-title-wrapper #quizz-title {
        width: 390px !important;
        height: auto !important;
    }
    
    #quizz-wrapper {
        width: 90%;
        height: 550px;
        background-size: 100% 550px;
        background-repeat: no-repeat;
        background-position: center;
    }
    
    form#quizForm {
        font-size: 70% !important;
    }
    
    .custom-radio {
        font-size: 80% !important;
    }
    
    .custom-radio .radio-checkmark {
        width: 25px;
        height: 25px;
    }
    
    form#quizForm {
        padding: 0 10px;
    }
    
    .good-response,
    .bad-response {
        margin-top: 30px !important;
        margin-left: 0px !important;
        font-size: 80% !important;
    }
    
    #feedback-image-good,
    #feedback-image-bad {
        height: 70px;
    }
    
    #nextPage {
        width: 232px !important;
    }
    
    div#feedback {
        padding-top: 190px !important;
    }
    
    #feedback-image-bad img, #feedback-image-good img {
        margin-top: -48px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
    }
    
    .transport-final button.previous {
        left: 50%;
        transform: translateX(-50%);
    }
    
}


.navigation-mobile {
    display: none;
}
    
.navigation-desktop {
    display: block;
}


div#compatibility-txt {
    color: #fff;
    text-align: center;
    margin-top: 10px;
    font-size: 110%;
}

img#progress-bar.page-1 {
    width: 14.913px;
}

img#progress-bar.page-2 {
    width: calc( 14.913px * 2);
}

img#progress-bar.page-3 {
    width: calc( 14.913px * 3);
}


img#progress-bar.page-4 {
    width: calc( 14.913px * 4);
}


img#progress-bar.page-5 {
    width: calc( 14.913px * 5);
}


img#progress-bar.page-6 {
    width: calc( 14.913px * 6);
}


img#progress-bar.page-7 {
    width: calc( 14.913px * 7);
}


img#progress-bar.page-8 {
    width: calc( 14.913px * 8);
}


img#progress-bar.page-9 {
    width: calc( 14.913px * 9);
}


img#progress-bar.page-10 {
    width: calc( 14.913px * 10);
}


img#progress-bar.page-11 {
    width: calc( 14.913px * 11);
}


img#progress-bar.page-12 {
    width: calc( 14.913px * 12);
}


img#progress-bar.page-13 {
    width: calc( 14.913px * 13);
}


img#progress-bar.page-14 {
    width: calc( 14.913px * 14);
}


img#progress-bar.page-15 {
    width: calc( 14.913px * 15);
}


img#progress-bar.page-16 {
    width: calc( 14.913px * 16);
}


img#progress-bar.page-17 {
    width: calc( 14.913px * 17);
}


img#progress-bar.page-18 {
    width: calc( 14.913px * 18);
}


img#progress-bar.page-19 {
    width: calc( 14.913px * 19);
}


img#progress-bar.page-20 {
    width: calc( 14.913px * 20);
}


img#progress-bar.page-21 {
    width: calc( 14.913px * 21);
}


img#progress-bar.page-22 {
    width: calc( 14.913px * 22);
}

img#progress-bar.page-23 {
    width: calc( 14.913px * 23);
}


form#quizForm {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
}

p.question {
    color: #ffffff;
    text-align: center;
    margin-bottom: 30px;
    margin-top: 0px;
}


textarea:focus, input:focus, select:focus{
    outline: none;
}

input,
select {
  -webkit-background-clip: text !important;
  background-clip: text !important;
}

.transport img {
    max-width: 70px;
}

button.previous img,
button.next img {
    height: 70px;
}

button.previous {
    position: absolute;
    left: 20px;
}

button.next {
    position: absolute;
    right: 20px;
}

button.transport {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

#transport-wrapper {
    position: absolute;
    width: 100%;
    bottom: 96px;
}

img#commencer {
    max-width: 153px;
    margin-top: 23px;
}

input[type="radio"] {
    height: 30px;
    width: 30px;
}


.custom-radio input[type="radio"] {
    display: none;
}

.custom-radio {
    display: block;
    position: relative;
    padding-left: 50px;
    margin-right: 20px;
    font-size: 29px;
    cursor: pointer;
    user-select: none;
    font-family: Comic Sans MS, sans-serif;
    color: #decbc3;
    padding-bottom: 10px;
}

.custom-radio .radio-checkmark {
    position: absolute;
    top: 50%;
    left: 0;
    width: 30px;
    height: 30px;
    background-color: #decbc3;
    border-radius: 50%;
    transform: translateY(-50%);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.custom-radio:hover .radio-checkmark {
    background-color: #fc7401;
}


.custom-radio:hover {
    color: #fc7401;
}

.custom-radio input:checked + .radio-checkmark {
    background-color: #decbc3;
    border-color: #decbc3;
}

.custom-radio .radio-checkmark::after {
    content: "✔";
    font-size: 50px;
    margin-left: 10px;
    margin-top: -5px;
    color: #fc7401;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -60%);
    display: none;
}

.custom-radio input:checked + .radio-checkmark::after {
    display: block;
}

.custom-radio input:checked + .radio-checkmark + span {
    color: #c90000;
}

.bad-response {
    margin-bottom: 10px;
    color: #f71829;
    text-align: center;
    margin-top: 130px;
    margin-left: 80px;
}

.good-response {
    margin-bottom: 10px;
    color: #21c759;
    text-align: center;
    margin-top: 130px;
    margin-left: 80px;
}

#feedback-image-bad img,
#feedback-image-good img {
    margin-top: -48px;
    max-width: 70px;
    position: absolute;
}

#feedback-image-bad,
#feedback-image-good {
    display: none;
}

#feedback {
    text-align: center;
}

#nextPage {
    display: none;
    position: absolute;
    bottom: 97px;
    left: 50%;
    transform: translateX(-50%);
}

#quizz-image {
    position: absolute;
    transform: translateX(-50%);
    left: 50%;
    top: -60px;
}

div#quizz-image img {
    max-width: 300px;
}

#final-note-wrapper {
    position: absolute;
    width: 400px;
    height: 456px;
    left: 50%;
    transform: translate(-50%, -50%);
    top: 50%;
    font-size: 270%;
}

div#final-note-wrapper .final-note {
    width: 400px;
}

img.final-note-get {
    position: absolute;
    top: 329px;
    left: 50%;
    width: 100px;
    transform: translateX(-50%);
}