.fond_quizz {
  background-image: url("img/fond-IfSUo7b.jpg");
  background-position: top;
  color: var(--blue-500);
  font-size: 16px;
  line-height: 24px;

  .breadcrumb {
    color: white;

    a {
      color: white;
    }
  }

  .quizz {
    width: 850px;
    margin: 10px auto 0;
    padding-bottom: 50px;
  }

  .cover_quizz {
    display: flex;
    backdrop-filter: blur(50px);
    -webkit-backdrop-filter: blur(15px);
    position: relative;

    h1 {
      display: inline-block;
      margin: 0;
      vertical-align: top;
      padding: 0 40px 0 50px;

      .titre {
        position: relative;
        top: 30px;
        width: 427px;
      }
    }

    .text_cover {
      display: inline-block;
      vertical-align: top;
      padding: 40px 50px 0 0;

      h2 {
        font-size: 25px;
        line-height: 33px;
        color: white;
        margin: 0;
      }
    }
  }

  .pres_quizz {
    background-color: white;
    padding: 0 0 1px;

    .citation {
      font-family: Caveat;
      font-size: 25px;
      line-height: 34px;
      display: inline-block;
      padding: 40px 70px 30px;
      vertical-align: middle;
      position: relative;
    }

    .signature {
      position: absolute;
      bottom: 40px;
      right: -20px;
    }

    .emoti {
      display: inline-block;
      margin: 0 0 0 5px;
      position: relative;
      top: 5px;
    }

    .bloc_velo {
      margin: 40px 60px;

      .chemin_velo {
        width: 100%;
        height: 1px;
        background-color: var(--grey-400);
        position: relative;
        margin: 40px 0;

        .velo {
          background-image: url("img/velo-Mg_kwwQ.svg");
          position: relative;
          width: 65px;
          height: 36px;
          background-repeat: no-repeat;
          bottom: 22px;
          left: -50px;
          margin-left: 0;
          transition: all 0.5s;

          span {
            position: absolute;
            color: white;
            bottom: 2px;
            right: 3px;
            font-size: 14px;
            font-family: Lato-Black;
            text-align: center;
            display: block;
            width: 20px;
          }
        }

        .etape_velo {
          background-color: white;
          border: solid 1px #bab9b9;
          height: 8px;
          width: 8px;
          border-radius: 10px;
          position: absolute;
          top: -4px;
          left: 0;

          .drapeau {
            position: absolute;
            bottom: 9px;
            right: -10px;
          }
        }

        #etape_velo_2 {
          margin-left: 8.3%;
        }

        #etape_velo_3 {
          margin-left: 16.6%;
        }

        #etape_velo_4 {
          margin-left: 24.9%;
        }

        #etape_velo_5 {
          margin-left: 33.2%;
        }

        #etape_velo_6 {
          margin-left: 41.5%;
        }

        #etape_velo_7 {
          margin-left: 49.8%;
        }

        #etape_velo_8 {
          margin-left: 58.1%;
        }

        #etape_velo_9 {
          margin-left: 66.4%;
        }

        #etape_velo_10 {
          margin-left: 74.7%;
        }

        #etape_velo_11 {
          margin-left: 83%;
        }

        #etape_velo_12 {
          margin-left: 91.3%;
        }

        #etape_velo_13 {
          margin-left: 99%;
        }
      }
    }
  }

  @media (max-width: 970px) {
    .quizz {
      width: auto;
      margin: 10px 50px 50px;

      .cover_quizz {
        h1 {
          .titre {
            width: 350px;
          }
        }

        .text_cover {
          padding: 25px 0 0 0;

          h2 {
            font-size: 22px;
            line-height: 29px;
            padding-right: 40px;
          }
        }
      }

      .pres_quizz {
        .citation {
          font-size: 23px;
          text-align: left;
          padding: 50px 50px 20px;
        }

        h3 {
          text-align: left;
          font-size: 18px;
          line-height: 25px;
          width: 35%;
          padding: 0 0 20px;
        }

        .signature {
          right: -20px;
          width: 50px;
          bottom: 25px;
        }
      }
    }
  }

  @media (max-width: 820px) {
    .quizz {
      margin: 10px 0 0;
      padding-bottom: 0;

      .cover_quizz {
        flex-direction: column;
        padding: 35px 35px 35px;
        margin: 0 35px 35px;

        h1,
        .titre {
          margin: 0 auto;
          display: block;
          float: none;
          position: static;
        }

        .text_cover {
          display: block;

          br {
            display: none;
          }
        }
      }

      .pres_quizz {
        padding: 0;

        .citation {
          width: 90%;

          br {
            display: none;
          }

          .signature {
            right: 0;
          }
        }
      }
    }
  }

  @media (max-width: 700px) {
    .bloc_velo {
      display: none;
    }
  }

  @media (max-width: 560px) {
    .quizz {
      margin: 10px 0 0;

      .cover_quizz {
        margin: 0 30px 30px;
        padding: 25px 25px 25px;

        h1 {
          padding: 0;

          .titre {
            width: 260px;
            max-width: 100%;
          }
        }

        .text_cover {
          h2 {
            font-size: 20px;
            line-height: 26px;
          }
        }
      }

      .pres_quizz {
        .emoti {
          width: 21px;
        }

        .pres_quizz h3 {
          font-size: 16px;
          line-height: 22px;
          padding: 0;
          margin: 0 30px 25px;
          width: auto;
        }

        .citation {
          font-size: 19px;
          line-height: 26px;
          padding: 0;
          margin: 50px 30px 15px;
          width: auto;

          .signature {
            right: 0;
            width: 40px;
            bottom: -5px;
          }
        }

        .signature {
          bottom: 0;
          right: 20px;
          width: 40px;
        }
      }
    }
  }
}

.form_quizz {
  background-color: var(--grey-50);
  margin: 0 10px 10px;
  padding: 25px 55px;
  text-align: left;
  background-image: url("img/feuille-Qkf_-23.svg");
  background-repeat: no-repeat;
  background-position: right -10px bottom 5px;

  .etape_quizz {
    .question {
      font-family: Lato-Bold;
      color: var(--grey-800);
      font-size: 20px;
      line-height: 24px;
      padding: 10px 0 0 0;
    }

    .liste_reponses {
      padding: 20px 0 0;
      text-align: center;

      br {
        display: none;
      }

      .reponse {
        width: 22.9%;
        height: 110px;
        background-color: white;
        border: solid 1px #707070;
        border-radius: 5px;
        display: inline-block;
        margin: 0 2.3% 0 0;
        vertical-align: top;
        cursor: pointer;
        box-sizing: border-box;
        position: relative;

        .contour {
          position: absolute;
          top: -1px;
          right: -1px;
          width: 100%;
          height: 100%;
          border-radius: 5px;
        }

        .img_Q {
          max-width: 100%;
        }

        br {
          display: block;
        }

        span {
          display: block;
          text-align: center;
          font-family: Lato-Bold;
          line-height: 20px;
          padding: 22px 20px 0;
        }

        .ico_response {
          position: absolute;
          right: -10px;
          bottom: -10px;
        }
      }

      .response_der {
        margin: 0;
      }

      .reponse:hover {
        background-color: var(--blue-300);
        color: white;
        transition: all 0.3s;
      }

      .reponsegd {
        height: 130px;
      }

      .reponseimg {
        height: 150px;

        span {
          padding: 0 20px 0;
        }
      }

      .reponse1li {
        span {
          padding: 40px 20px 0;
        }
      }

      .reponsegd1li {
        span {
          padding: 50px 20px 0;
        }
      }

      .reponse2li {
        span {
          padding: 30px 20px 0;
        }
      }

      .reponse4li {
        span {
          padding: 12px 15px 0;
        }
      }
    }

    .confirm {
      .bonnes_reponses {
        color: var(--grey-600);
        padding: 30px 0 20px;
      }

      .iframe,
      video {
        width: 445px;
        margin: 0 auto;
        height: 350px;
        display: block;
        z-index: 1000;
        position: relative;
      }

      .header_confirm {
        position: relative;

        .avatar_alice_question {
          display: inline-block;
          vertical-align: middle;
          width: 112px;
        }

        .text_header_confirm {
          display: inline-block;
          vertical-align: middle;
          padding: 0 0 0 20px;
          font-family: Lato-Bold;
          color: var(--green-500);
          font-size: 20px;

          .gif {
            position: absolute;
            top: 110px;
            left: -30px;
          }

          strong {
            font-family: Caveat;
            color: var(--blue-500);
            font-size: 25px;
            display: block;
            font-weight: normal;
            padding: 5px 0 0;
          }
        }
      }

      .header_confirm_faux .text_header_confirm,
      .header_confirm_incomplet .text_header_confirm {
        color: red;
      }

      .cta {
        width: 190px;
        margin: 40px auto 15px;
      }

      .cta_score {
        width: 220px;
      }

      .response_explication {
        padding: 0 0 0 130px;
        color: var(--grey-800);
        z-index: 1000;
        position: relative;

        p {
          margin: 0;
          padding: 0 0 20px;

          a {
            color: var(--grey-800);
            text-decoration: underline;
          }
        }

        .source {
          font-size: 12px;
          padding: 0;
        }

        ul {
          margin: 0;
          padding: 0 0 20px 40px;
        }

        .encart_savoir_plus {
          padding: 20px 0 0;

          .savoir_plus {
            display: inline-block;
            vertical-align: middle;
            width: 110px;
          }

          a {
            display: inline-block;
            color: var(--blue-500);
            font-family: Lato-Bold;
            text-decoration: underline;
            vertical-align: middle;
            width: calc(60% + 20px);
            padding: 0 0 0 20px;
            cursor: pointer;

            .cesure {
              text-decoration: underline;
            }
          }
        }
      }
    }

    .cta {
      display: block;
      margin: 50px auto 30px;
      width: 140px;
    }

    .source {
      font-size: 12px;
      font-weight: normal;
      text-align: right;
      font-family: Lato-Regular;
      height: 20px;
    }

    .source a {
      color: var(--grey-800);
    }
  }

  #quizz_1 {
    display: block;
  }

  @media (max-width: 970px) {
    .etape_quizz {
      .liste_reponses {
        text-align: center;

        br {
          display: block;
        }

        .reponse {
          margin: 0 1.5% 10px 0;
          width: 164px;

          span {
            font-size: 14px;
            padding: 25px 10px 0;
            line-height: 18px;
          }
        }

        .reponseimg {
          height: 140px;

          span {
            padding: 0 20px 0;
          }
        }

        .reponsegd1li {
          span {
            padding: 50px 20px 0;
          }
        }

        .reponse1li {
          span {
            padding: 40px 20px 0;
          }
        }

        .reponse2li {
          span {
            padding: 32px 10px 0;
          }
        }

        .reponse4li {
          span {
            padding: 17px 10px 0;
          }
        }
      }

      .confirm {
        .response_explication {
          font-size: 14px;
        }

        .header_confirm {
          .text_header_confirm {
            .gif {
              display: none;
            }
          }
        }
      }
    }
  }

  @media (max-width: 820px) {
    position: relative;
    top: 1px;
    margin: 0;

    .etape_quizz {
      .liste_reponses {
        .reponsedroit {
          margin: 0 0 10px 0 !important;
        }
      }

      .confirm {
        .response_explication {
          padding: 0;
        }

        .header_confirm {
          margin: 0 0 10px;
        }
      }
    }
  }

  @media (max-width: 560px) {
    padding: 25px;

    .etape_quizz {
      .question {
        font-size: 17px;
        line-height: 21px;
      }

      .cta {
        margin: 40px auto 30px;
        width: 140px;
      }

      .liste_reponses {
        .reponse {
          margin: 0 4% 10px 0;
          width: 46%;
          max-width: 164px;

          .ico_response {
            width: 30px;
            right: -5px;
            bottom: -5px;
          }
        }
      }

      .confirm {
        .header_confirm {
          .avatar_alice_question {
            display: inline-block;
            vertical-align: middle;
            width: 70px;
          }

          .text_header_confirm {
            font-size: 18px;
            padding: 0 0 0 10px;

            strong {
              font-size: 19px;
              padding: 2px 0 0;
              width: 230px;
            }
          }
        }

        iframe,
        video {
          width: 315px;
          height: 280px;
        }

        .response_explication {
          .encart_savoir_plus {
            .savoir_plus {
              width: 90px;
            }
          }
        }
      }
    }
  }

  @media (max-width: 470px) {
    background-size: 75px;
  }
}

.videos {
  display: flex;
  flex-direction: column;
  gap: 22px;
  background-color: var(--grey-50);
  margin: 0 0 0;
  font-size: 16px;
  font-family: Lato-Bold;
  font-weight: normal;
  line-height: 24px;
  font-style: normal;
  color: var(--grey-800);

  .videos-text {
    display: flex;
    flex-direction: column;
    gap: 22px;
    margin-top: 63px;
    padding: 0 90px 0 90px;

    .videos-text-title {
      font-family: Lato-Bold;
      font-weight: normal;
      text-align: left;
      font-size: 26px;
      line-height: 33px;
      color: var(--blue-500);
    }

    .videos-text-subtitle {
      font-size: 18px;
      font-family: Lato-Bold;
      font-weight: normal;
      line-height: 28px;
      font-style: normal;
      color: var(--blue-500);
    }
  }

  .videos-container {
    padding: 0 90px 0 90px;

    display: flex;
    justify-content: space-between;
    gap: 60px;

    .left {
      display: flex;
      flex-direction: column;
      gap: 2px;

      .source {
        font-family: Lato-Regular;
        font-size: 12px;
        font-weight: 400;
        height: 20px;
        text-align: right;

        a {
          text-decoration: none;
          color: #292929;
        }
      }
    }

    .right {
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      flex-grow: 1;

      & > div {
        button {
          background-color: transparent;
          border: none;
          margin: 0;
          width: 156px;
          height: 90px;
        }

        display: flex;
        gap: 12px;
        align-items: center;

        > div {
          flex-shrink: 0;
        }
      }

      .right-videos-wrapper {
        display: none !important;
      }

      .right-button-wrapper {
        img {
          margin: auto;
        }
      }
    }
  }

  .title__desktop {
    padding: 0 90px 0 90px;
    position: relative;
    top: -30px;
  }

  .title__mobile {
    display: none;
  }

  @media (max-width: 1139px) {
    video {
      width: 100%;
    }

    .videos-container {
      -webkit-box-orient: vertical;
      -webkit-box-direction: normal;
      flex-direction: column;
      gap: 2px;

      .right {
        flex-direction: row;

        > div {
          flex-direction: column;
          align-items: start;
        }
      }
    }

    .title__desktop {
      display: none;
    }

    .title__mobile {
      display: inline-block;
      padding-top: 10px;
    }
  }

  @media (max-width: 970px) {
    .videos-text {
      .videos-text-title {
        font-size: 25px;
        line-height: 32px;
      }
    }
  }

  @media (max-width: 820px) {
    .videos-text {
      padding: 0 35px 0 35px;
    }

    .videos-container {
      padding: 0 35px 35px;

      .right {
        font-size: 13px;
        line-height: 16px;
        display: block;
        text-align: center;

        .right-button-wrapper {
          display: inline-block;
          padding: 10px;
          text-align: left;
          vertical-align: top;

          #video-title {
            padding: 5px 0 0;
            width: 144px;
          }
        }
      }
    }
  }

  @media (max-width: 590px) {
    .videos-text {
      margin-top: 30px;

      .videos-text-title {
        font-size: 20px;
        line-height: 26px;
      }
    }

    .videos-container {
      .right {
        > div {
          button {
            width: 130px;
          }
        }

        .right-button-wrapper {
          padding: 5px;

          #video-title {
            width: 130px;
          }
        }
      }
    }
  }
}

.articles {
  display: flex;
  flex-direction: column;
  gap: 22px;

  padding: 8px 90px 30px 90px;
  margin-top: 28px;

  .articles-title {
    font-family: Lato-Bold;
    font-weight: normal;
    font-size: 18px;
    line-height: 28px;
    font-style: normal;
    color: var(--blue-500);
  }

  .slider-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 1260px;
    margin: auto;

    .swiper {
      display: flex;
      transition: transform 0.3s ease;
      height: 260px;

      .swiper-slide {
        flex: 0 0 auto;
        width: 277px;
        height: 155px;
        position: relative;
        font-size: 16px;
        line-height: 22px;

        a {
          color: var(--grey-800);
          text-decoration: none;

          img {
            width: 90%;
            height: 100%;
            object-fit: cover;
          }

          div {
            padding: 5px 0 0;
            width: 90%;
          }
        }
      }

      .swiper-pagination-bullet {
        height: 10px;
        margin: 0 4px;
        width: 10px;
        position: relative;
      }

      .swiper-pagination-bullet-active {
        background: var(--blue-200);
      }
    }

    @media (max-width: 1024px) {
      .swiper {
        height: 245px;

        .swiper-slide {
          width: 220px;
          height: 133px;
        }
      }
    }
  }

  .paginator {
    text-align: center;
    padding: 0 0 40px;

    .dot {
      display: inline-block;
      width: 10px;
      height: 10px;
      background-color: var(--grey-400);
      border-radius: 50%;
      margin: 0 4px;
      cursor: pointer;

      &.active {
        background-color: var(--blue-250);
      }
    }
  }

  @media (max-width: 820px) {
    padding: 0 35px 35px 35px;
  }
}

.encart_score {
  text-align: center;
  padding: 40px 0 70px;

  .score {
    display: inline-block;
    background-image: url("img/couronne_feuilles-MUkYTRy.svg");
    width: 245px;
    height: 262px;
    background-size: 100% auto;
    font-family: Lato-Bold;
    font-size: 20px;
    vertical-align: middle;

    #note {
      font-size: 40px;
      padding: 110px 0 5px;
    }
  }

  .text_score {
    display: inline-block;
    width: 48%;
    text-align: left;
    padding: 0 0 0 40px;
    vertical-align: middle;

    h3 {
      font-weight: normal;
      font-size: 20px;
      margin: 0;
      padding: 0 0 20px;
      font-family: Lato-Bold;
    }

    p {
      font-family: Caveat;
      font-size: 24px;
      line-height: 34px;
      margin: 0;
      position: relative;

      .signature {
        bottom: -30px;
      }
    }
  }

  @media (max-width: 970px) {
    .score {
      width: 200px;
      height: 212px;
      margin: 0 0 10px;

      #note {
        padding: 85px 0 5px;
      }
    }

    .text_score {
      h3 {
        width: 100% !important;
      }

      p {
        font-size: 23px;
      }
    }
  }

  @media (max-width: 700px) {
    .score {
      display: block;
      margin: 0 auto 20px;
    }

    .text_score {
      width: 80%;
      padding: 0 50px 40px;

      p {
        .signature {
          right: 20px;
        }
      }
    }
  }

  @media (max-width: 560px) {
    padding: 40px 0 0;

    .text_score {
      width: 95%;
      padding: 0 30px 40px;

      p {
        font-size: 19px;
        line-height: 26px;
      }

      h3 {
        font-size: 17px;
      }
    }
  }
}

.pres_alice {
  display: flex;
  gap: 60px;
  justify-content: center;
  align-items: center;
  background-color: white;
  padding: 40px 35px;
  text-align: center;
  color: var(--blue-500);
  font-size: 16px;
  line-height: 24px;

  .avatar_alice {
    display: inline-block;
    vertical-align: middle;
    max-height: 150px;
  }

  .contenu_pres_alice {
    width: 445px;
    text-align: left;
    vertical-align: middle;
    display: inline-block;

    h2 {
      font-size: 24px;
      line-height: 33px;
      margin: 0;
      padding: 0 0 30px;
    }

    p {
      margin: 0;
      padding: 0;
    }
  }

  .mob_pres {
    display: none;
  }

  .citation2 {
    display: inline-block;
    vertical-align: middle;
    max-height: 150px;
  }

  .citation2_mob {
    display: none;
  }

  @media (max-width: 820px) {
    flex-direction: column;
    gap: 30px;

    .avatar_alice {
      width: unset;
    }

    .contenu_pres_alice {
      width: 100%;
    }
  }
}

/* General highlight class for correct responses */
.good-response {
  box-shadow: rgb(47, 204, 120) 2px 2px 0 inset,
    rgb(47, 204, 120) -2px -2px 0 inset;
  border: 1px solid rgb(47, 204, 120);
}

/* Special highlight class for false responses */
.false-response {
  background-color: rgb(0, 61, 165);
  color: white;
  box-shadow: rgb(229, 72, 72) 2px 2px 0 inset,
    rgb(229, 72, 72) -2px -2px 0 inset;
  border: 1px solid rgb(229, 72, 72);
}
