/*/----RESET ---/*/
*,
::before,
::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
  text-decoration: none;
  list-style-type: none;
  /*  box-shadow: 0 0 0 3px greenyellow inset; */
  accent-color: #673338;
}



/*-----------------------------------*/
/*-----         RECURRENT       -----*/
/*-----------------------------------*/
:root {
  --rose: #f2686e;
  --bleu: #83e1f7;
  --violet: #c792f5;
  --noir: #222;
  --blanc: #fff;
  --marron: #673338;
  --jaunepale: #ffd18d;
  --orangee: #f99d7e;
  --jauneorange: #fcb785;
}

body {

  h2,
  h3,
  h4,
  h5,
  h6,
  p,
  input,
  button,
  textarea,
  label,
  ul,
  li {
    font-family: "Poiret One", serif;
    font-weight: 400;
    font-style: normal;
    font-weight: bold;
    color: var(--blanc);
    text-align: center;
    text-shadow: 1px 1px 1.5px var(--marron);
  }

  textarea,
  input,
  ::placeholder {
    background-color: var(--jaunepale);
    color: var(--marron);
  }

  p>span {
    color: var(--noir);
    text-shadow: 0.5px 0.5px 1px var(--marron);
  }

  h1 {
    font-size: clamp(25px, 12vw, 55px);
    font-family: "Baloo 2", sans-serif;
    font-optical-sizing: auto;
    font-weight: weight;
    font-style: normal;
    text-align: center;
    color: var(--marron);
  }

  section {
    background-color: var(--jaunepale);
    box-shadow: -3px 3px 2px var(--marron);
    border-radius: 15px;
    margin: 1vh auto;
  }

  .btn {
    height: 4vh;
    width: 50%;
    margin: 3vh auto;
    background-color: var(--rose);
    border-radius: 24px;
    border: 3px solid var(--rose);
    box-shadow: -3px 3px 2px var(--marron);
    cursor: pointer;
    transition: transform .02s;
    animation: bounce 3s infinite ease;
  }

  .btn:hover {
    transition: 0.5s ease-in-out;
    background-color: var(--marron);
    color: var(--rose);
  }

  .btn a {
    padding: 5px;
    color: var(--jaunepale);
    text-shadow: 1px 1px 0px var(--marron);
    text-decoration: none;
    font-size: 17px;
  }
}

.bgdeskop {
  display: none;
}

.instruction {
  text-align: center;
  color: var(--marron);
  font-size: 1rem;
  margin: 1vh auto;
  font-weight: bold;
  animation: fadeIn 0.5s ease-in-out;
}

body .container {
  background: linear-gradient(#f2686e, #ffd18d);
  display: flex;
  flex-direction: column;
  max-width: 430px;
  margin: 0 auto;
  padding: 1.5rem;
  z-index: 1;
}

.container .apphoto {
  display: none;
}

.message {
  display: none;
  position: absolute;
  top: 40px;
  left: 15%;
  text-align: center;
  z-index: 12;
  width: 70%;
  padding: 10px;
  border-radius: 5px;
  margin: 10px 0;
}

.message.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.message.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.message.visible {
  display: block;
}

#tarteaucitronManager img {
  display: none;
}


/*-----------------------------------*/
/*-----            main         -----*/
/*-----------------------------------*/


section h2 {
  margin-bottom: 5vh;
}

section h3 {
  margin-top: 1vh;
  margin-bottom: 5vh;
  color: var(--marron);

}

.container img {
  max-width: 100%;
}

.container .logo {
  margin-top: 5vh;
}

.container .gif {
  border-radius: 15px;
}

.container #cgv {
  padding: 0.5vw;
}

.container #cgv a {
  display: flex;
  align-items: center;
}

.container #cgv h1 {
  margin-top: 1.5vh;
  font-size: clamp(25px, 12vw, 35px);
}

.container #cgv h2 {
  color: var(--noir);
  margin-top: 5vh;
}

.container .retour {
  margin: auto;
  background-color: var(--rose);
  box-shadow: -3px 3px 2px var(--marron);
  width: 60%;
  border-radius: 50px;
  border: solid 2px;
  border-color: var(--jaunepale);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .02s;
  animation: bounce 3s infinite ease;
}

.container .retour a {
  display: flex;
  flex-direction: column;
  padding: 5px;
}

.container .retour a>img {
  width: 200px;
}

.processus {
  padding-top: 2vh;
  padding-left: 0.5vw;
  padding-right: 0.5vw;
  background-color: var(--jauneorange);
}

.processus .avantapres {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.processus .avantapres img {
  width: 40%;
  height: 40%;
  border: solid 2px var(--marron);
  border-radius: 15px;
}

.processus p {
  margin: 1vh auto;
}

.processus .mini-slogan {
  padding-bottom: 2vh;
}

/*----- Selection des stikers -----*/


.titrestiker {
  font-size: clamp(28px, 10vw, 35px);
}

.choix-pack {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.choix-pack>.btn {
  position: relative;
  width: 90%;
  height: auto;
  margin: 1vh auto;
  animation: none;
  background: linear-gradient(#fcb785, #ffd18d);
  border: var(--noir) 1px solid;
  padding: 18px;
  text-wrap: nowrap;
  font-size: clamp(14px, 2vw, 12px);
}

.choix-pack>.btn:hover {
  transition: 0.2s ease-in-out;
  background: linear-gradient(#ffd18d, #fcb785);
  color: var(--black);
}

.choix-pack>.btn span {
  font-weight: bolder;
  text-shadow: 1px 1px 1.5px var(--black);
  font-size: clamp(16px, 2.01vw, 12.5px);
  color: var(--marron);
}

.choix-pack #pack10plus>img {
  animation: rebond 4s ease-in-out infinite;
  position: absolute;
  width: 30%;
  left: -10%;
  top: -10%;
}

.choix-pack #pack5 i {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: clamp(26px, 2.01vw, 12.5px);
  background-color: var(--marron);
  border-radius: 50px;
}

.choix-pack #pack5 .moin {
  width: 20%;
  height: 60px;
  left: 5%;
  top: calc(50% - 30px);
}

.choix-pack #pack5 .plus {
  width: 20%;
  height: 60px;
  right: 5%;
  top: calc(50% - 30px);
}

.selection {
  display: flex;
  align-items: center;
  justify-content: space-around;
  margin-top: 30px;
}

.selection>div {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.selection img {
  width: 80px;
}

.custom-checkbox input {
  display: none;
}

.custom-checkbox .checkmark {
  display: inline-block;
  width: 80px;
  height: 80px;
  background-size: cover;
  cursor: pointer;
}

/* Catégorie 1 */
.custom-checkbox.cat1 .checkmark {
  background-image: url('img/checkbox/amour.png');
}

.custom-checkbox.cat1 input:checked+.checkmark {
  background-image: url('img/checkbox/amourcheck.png');
}

/* Catégorie 2 */
.custom-checkbox.cat2 .checkmark {
  background-image: url('img/checkbox/joie.png');
}

.custom-checkbox.cat2 input:checked+.checkmark {
  background-image: url('img/checkbox/joiecheck.png');
}

/* Catégorie 3 */
.custom-checkbox.cat3 .checkmark {
  background-image: url('img/checkbox/colere.png');
}

.custom-checkbox.cat3 input:checked+.checkmark {
  background-image: url('img/checkbox/colerecheck.png');
}

/* Catégorie 4 */
.custom-checkbox.cat4 .checkmark {
  background-image: url('img/checkbox/reaction.png');
}

.custom-checkbox.cat4 input:checked+.checkmark {
  background-image: url('img/checkbox/reactionscheck.png');
}

.toggleAll {
  display: flex;
  align-items: center;
  justify-content: center;
}

.toggleAll img {
  width: 60px;
}

section#amour {
  display: none;
}

section#amour.visible {
  display: block;
}

section#joie {
  display: none;
}

section#joie.visible {
  display: block;
}

section#colere {
  display: none;
}

section#colere.visible {
  display: block;
}

section#reactions {
  display: none;
}

section#reactions.visible {
  display: block;
}

section .stiker {
  display: none;
}

section .stiker.visible {
  display: block;
}

.stikers section {
  padding: 3px;
}

.stikers section>div {
  display: flex;
  align-items: center;
  border: solid 2px var(--marron);
  border-radius: 5px;
  margin: 3px;
  height: 120px;
}

.stikers img {
  width: 30%;
}

.stikers p {
  display: flex;
  justify-content: center;
  padding: 6px;
}

.stikers .sepa {
  height: 120px;
  width: 2px;
  background-color: var(--marron);
  padding: 0px;
  margin: 0;
}

.stikers .nom {
  width: 25%;
}

.stikers .description {
  width: 44%;
}

.btn-valider {
  width: auto !important;
  position: sticky;
  bottom: 5rem;
  height: 60px !important;
  margin: 0 auto;
  display: block;
  background-color: var(--marron);
  color: white;
  font-size: clamp(11px, 1.2vw, 15px);
  padding: 1rem 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  z-index: 10;
}

.btn-valider:hover {
  background-color: #442c1e;
}


/* confirmation */



.rappelcommande h1 {
  margin-top: 40px;
  padding-top: 40px;
  font-size: clamp(28px, 1.5vw, 55px);
}

.rappelcommande h2 {
  margin-top: 20px;
  padding-top: 20px;
  font-size: clamp(12px, 0.8vw, 55px);
  color: var(--noir);
}

.stickers-rappel {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

.sticker-rappel {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 80px;
  margin-bottom: 10px;
}

.sticker-rappel img {
  width: 100px;
  height: 100px;
  object-fit: contain;
}

.sticker-rappel p {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  text-align: center;
}

.codepromo {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.codepromo #promo {
  width: 60%;
  margin-top: 10px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.codepromo .btn {
  animation: none;
}

.rappel {
  display: flex;
  flex-direction: column;
}

.rappel h2 {
  margin-top: 10px;
  color: var(--marron);
  font-size: clamp(12px, 0.8vw, 55px);
}

.rappel ul {
  display: flex;
  flex-direction: column;
}

.rappel li,
.rappel p {
  color: var(--marron) !important;
  padding: 10px;
}

.rappel .btnenvois {
  align-self: center;
  height: auto;
}


/* Formulaire */

.form {
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: auto;
  width: 100%;
}

.form h1 {
  margin: 4vh auto 0vh;
}

.form form {
  width: 100%;
  margin: 0 auto 0;
  padding: 2vw;
  display: flex;
  flex-direction: column;
  text-align: center;
  align-items: center;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}


.form form input {
  width: 100%;
  height: 3vh;
  text-align: center;
  border-radius: 10px;
  font-size: clamp(12px, 0.8vw, 65px);
}

.form form textarea {
  width: 100%;
  height: 25vh;
  font-size: clamp(12px, 0.8vw, 65px);
  border-radius: 10px;
}

.form form button {
  height: auto;
  padding: 13px;
}

.form h2 {
  margin: 2vh auto;
}

.form .reseaux {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  width: 100%;
}

.form .reseaux a {
  padding: 2%;
  display: flex;
  flex-direction: column;
  font-size: clamp(15px, 1.2vw, 35px);
  width: 100%;
  color: var(--marron);
}

.form .reseaux a>i {
  font-size: clamp(15px, 1.8vw, 35px);
}




/* --------------------- */
/* -------  Cube  -------*/
/* --------------------- */

.cube,
.projecteur {
  display: flex;
  place-content: center;
  align-items: center;
  justify-content: space-evenly;
}

.cube h2,
.projecteur h2 {
  font-size: clamp(16px, 1.2vw, 55px);
  text-wrap: nowrap;
  margin-bottom: 0;
}

.cube .avantages {
  width: 100%;
  display: flex;
  padding: 20px;
  justify-content: space-around;
  align-items: center;
}

.gallery {
  --s: clamp(75px, 4vw, 185px);
  display: grid;
  transform-style: preserve-3d;
  --_p: perspective(calc(2.5*var(--s)));
  animation: r 12s infinite cubic-bezier(.5, -0.5, .5, 1.5);
}

.gallery img {
  grid-area: 1/1;
  width: var(--s);
  aspect-ratio: 1;
  object-fit: cover;
  transform: var(--_t, ) translateZ(calc(var(--s)/2));
  border: solid 2px var(--marron);
  border-radius: 5px;
}

.gallery img:nth-child(2) {
  --_t: rotateX(-90deg)
}

.gallery img:nth-child(3) {
  --_t: rotateY(90deg) rotate(-90deg)
}

.gallery img:nth-child(4) {
  --_t: rotateX(180deg) rotate(90deg)
}

.gallery img:nth-child(5) {
  --_t: rotateX(90deg) rotate(90deg)
}

.gallery img:nth-child(6) {
  --_t: rotateY(-90deg)
}

/*  fin cube */


/* --------------------------- */
/* -------  projecteur  -------*/
/* --------------------------- */

.projecteur {
  display: flex;
  flex-direction: column;
  padding-top: 2vw;
}

.projecteur .cont-tv {
  display: flex;
}

.projecteur .tv {
  width: 45%;
}

.container-tv {
  position: relative;
  max-width: 400px;
  aspect-ratio: 1 / 1;
}

.slider {
  position: absolute;
  top: 28%;
  left: 32%;
  width: 38%;
  height: 38%;
  overflow: hidden;
  z-index: 1;
}

.slide-track {
  display: flex;
  flex-direction: column;
  animation: scroll 60s linear infinite;
}

.slide {
  width: 100%;
  height: 100%;
  flex-shrink: 0;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tv-frame {
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 2;
  position: relative;
  pointer-events: none;
}

/*  fin projecteur */



/*-----------------------------------*/
/*-----           footer        -----*/
/*-----------------------------------*/

footer {
  display: flex;
  position: static;
  justify-content: center;
  width: 100%;
  margin: 3vh auto;
}

footer .footer {
  width: 300px;
  display: flex;
  padding-top: 15px;
  align-items: center;
  justify-content: space-evenly;
  background-color: var(--jaunepale);
  box-shadow: -3px 3px 2px var(--marron);
}

footer .footeracceuil {
  border-radius: 15px;
  padding: 1.5vw 5vw;
  flex-direction: column;
  position: fixed !important;
  bottom: 3vh;
  margin: auto;
}

.footer p,
.footer p>a {

  font-family: 'Poiret One', cursive;
  font-weight: bolder;
  color: var(--marron);
  text-shadow: 1px 1px 0px var(--blanc);
  text-wrap: nowrap;
}

.footer p {
  margin: 0.5vh;
}

.footer .emulsion {
  display: flex;
  font-size: clamp(15px, 1vw, 25px);
  align-items: center;
  justify-content: space-around;
}

.footer img {
  width: 120px !important;
}

footer,
footer>.footeracceuil {
  position: static !important;
}

/* SCROLL TO TOP  */

.scrollToTopBtn {
  position: fixed;
  top: calc((100vh - 800px) / 2 + 800px - 120px);
  left: calc((100vw - 430px) / 2 + 430px - 90px);
  width: 50px;
  height: 50px;
  background: var(--marron);
  color: var(--jaunepale);
  border: none;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 24px;
  cursor: pointer;
  box-shadow: -3px 3px 2px var(--noir);
  z-index: 100;
  transform: translateY(50px) scale(1);
  transition: transform 0.3s ease, opacity 0.5s ease;
}

.scrollToTopBtn.show {
  opacity: 1;
  transform: translateY(0) scale(1.1);
}

.scrollToTopBtn.hide {
  opacity: 0;
  transform: translateY(20px) scale(1);
}

section.categorie {
  display: none;
}

section.categorie.visible {
  display: block;
}



/*-----------------------------------*/
/*-----        Responsive       -----*/
/*-----------------------------------*/

@media screen and (min-width: 431px) {
  .bgdeskop {
    display: block;
    position: fixed;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: var(--jaunepale);
    filter: blur(2px);
    opacity: 80%;
  }

  .container {
    border: solid 15px;
    border-style: groove black;
    border-radius: 25px;
    position: fixed;
    top: calc((100vh - 800px) / 2);
    left: calc((100% - 430px) / 2);
    max-height: 800px;
    overflow-x: hidden;
    overflow-y: scroll;
    box-shadow: 5px 5px 6px var(--noir);
  }

  .container .apphoto {
    display: block;
    position: fixed;
    border-radius: 50px;
    left: calc((100% - 20px) / 2);
    background-color: black;
    height: 20px;
    width: 20px;
    z-index: 1;
  }

  .container::-webkit-scrollbar {
    display: none;
  }
}

/*-----------------------------------*/
/*-----        Animations       -----*/
/*-----------------------------------*/


/*  Rebond bouton */

@keyframes bounce {
  0% {
    transform: scale(1);
  }

  30% {
    transform: scale(1.1);
  }

  50% {
    transform: scale(0.95);
  }

  70% {
    transform: scale(1.05);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes rebond {
  0% {
    transform: skew(0deg, 0deg);
  }



  50% {

    transform: skew(4deg, 4deg);

  }



  100% {
    transform: skew(0deg, 0deg);
  }
}

/*  cube */

@keyframes r {

  0%,
  3% {
    transform: var(--_p)
  }

  14%,
  19% {
    transform: var(--_p) rotateX(90deg)
  }

  31%,
  36% {
    transform: var(--_p) rotateX(90deg) rotateZ(90deg)
  }

  47%,
  52% {
    transform: var(--_p) rotateX(90deg) rotateZ(90deg) rotateY(-90deg)
  }

  64%,
  69% {
    transform: var(--_p) rotateX(90deg) rotateZ(90deg) rotateY(-90deg) rotateX(90deg)
  }

  81%,
  86% {
    transform: var(--_p) rotateX(90deg) rotateZ(90deg) rotateY(-90deg) rotateX(90deg) rotateZ(90deg)
  }

  97%,
  100% {
    transform: var(--_p) rotateX(90deg) rotateZ(90deg) rotateY(-90deg) rotateX(90deg) rotateZ(90deg) rotateY(-90deg)
  }
}

/*  TV   */

@keyframes scroll {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-100%);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}