@media (max-width: 729px) {
  .desk-conf {
    display: none;
  }
  .carte2 {
    height: 180px;
    margin-bottom: 1rem;
  }
  .bg {
    background-image: url("../img/4282.jpg") !important;
    background-repeat: no-repeat;
    background-size: cover;
  }
  .bg_lecture {
    background-image: url("../img/4282.jpg") !important;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom;
  }
  .bg-conf {
    background-image: url("../img/1280.jpg") !important;
    background-repeat: no-repeat;
    background-size: auto;
    background-size: cover;
  }
  .logo-elsa {
    height: 200px;
    margin-bottom: 1rem;
  }
  .logo-elsa2,
  .logo-elsa3 {
    height: 150px;
    margin-bottom: 2rem;
  }
  .position-conf {
    grid-template-columns: repeat(auto-fit, minmax(min(20rem, 100%), 1fr));
    grid-gap: 3rem 1rem;
    display: grid;
    justify-content: center;
  }
  .box-conf {
    width: 90% !important;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 85px;
  }
  .enlarge-image {
    width: 120px;
    height: 220px;
  }
  .pos-mob {
    position: absolute;
    display: grid;
    align-content: center;
    align-items: center;
    top: 50%;
  }
  .pos-mob-c {
    position: static;
    display: grid;
    align-content: center;
    align-items: center;
    opacity: 0.4;
  }
  .image-elsa {
    height: 560px;
  }
  .f3-d {
    display: none;
  }
  .mini-box-f5 {
    height: 470px;
  }
  .carte {
    text-align: center;
    display: flex;
    justify-content: center;
  }
  .carte-desktop {
    display: none !important;
  }
  .carte-tarot {
    width: 20%;
  }
  .modal {
    left: 5%;
    width: 90%;
  }
  .titre-carte {
    /* font: normal normal bold 26px/35px Signika; */
    text-align: center;
  }
  .w-mob {
    width: 100% !important;
  }
  .pt-mob {
    /* padding-top: 70px; */
  }
  .nuage {
    /* margin-top: -250px; */
    margin-top: -205px;
  }
  .position-avant-footer {
    position: relative;
    z-index: 5;
    margin-top: -450px;
  }
  .pos-elsa-conf {
    position: absolute;
    padding-top: 240px;
  }
  .grid {
    width: 400px;
    margin: 0 auto;
  }

  .list {
    height: 652px;
    position: relative;
    list-style-type: none;
    padding-left: 0;
  }

  .card {
    transition: all 1s cubic-bezier(0.68, -0.55, 0.265, 1.55);

    perspective: 1000;
    -ms-transform: perspective(1000px);
    -moz-transform: perspective(1000px);
    -ms-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;

    float: left;
    width: 115px;
    height: 350px;
    /* background-color: #eee; */
    background-image: url("../img/card.png");
    background-repeat: no-repeat;
    background-size: contain;
    background-color: unset !important;
    border: none !important;

    position: absolute;
    right: 50px;
    bottom: 0;
    /* margin: 30px 0 15px 15px; */
    margin: 30px -20px 15px 10px;

    /* &:nth-child(5n) {
      margin-right: 0;
    } */

    &.ani0 {
      right: 40px;
      bottom: 250px;
    }

    &.ani1 {
      right: 70px;
      bottom: 265px;
    }

    &.ani2 {
      right: 100px;
      bottom: 280px;
    }

    &.ani3 {
      right: 130px;
      bottom: 295px;
    }

    &.ani4 {
      right: 160px;
      bottom: 326px;
      z-index: 5;
    }

    &.ani5 {
      right: 190px;
      bottom: 295px;
      z-index: 3;
    }

    &.ani6 {
      right: 220px;
      bottom: 280px;
      z-index: 2;
    }

    &.ani7 {
      right: 250px;
      bottom: 265px;
      z-index: 1;
    }

    &.ani8 {
      right: 280px;
      bottom: 250px;
    }
  }
  .carte_lecture {
    width: 35%;
  }
  .numkit {
    width: 90%;
  }
  .offre_lecture {
    color: #fffbf5;
  }
  .telsms {
    color: #b2ff91 !important;
  }
}
@media (max-width: 430px) {
  .position-avant-footer {
    position: relative;
    z-index: 5;
    margin-top: -355px;
  }
  .bg-conf {
    background-image: url("../img/4282.jpg") !important;
    background-repeat: no-repeat;
    background-size: cover;
  }
  .pos-mob {
    top: 65%;
  }
  .image-elsa {
    background-size: cover;
    height: 375px;
    /* height: 400px; */
  }
  .pos-elsa-conf {
    position: absolute;
    padding-top: 800px;
  }
}
@media (max-width: 390px) {
  .carte2 {
    height: 130px;
  }
  .titre1 {
    font-size: clamp(0.5625rem, 1.3rem + 1.6707vw, 2.25rem);
  }
  .enlarge-image {
    width: 100px;
    height: 200px;
  }
  .txt-f4 {
    font: normal normal 300 12px/18px Signika;
  }
  .txt-promo {
    font: normal normal 600 16px/20px Signika;
  }
  .input-field {
    width: 330px;
  }
  .txt-f5 {
    font: normal normal 300 14px/18px Signika;
  }
  .w-img {
    width: 95%;
  }
  .theme-position {
    grid-gap: 1rem 3rem;
  }
}
@media (max-width: 385px) {
  .bg {
    background-size: auto;
  }
  .grid {
    width: 375px;
    margin: 0 auto;
  }
  .position-avant-footer {
    position: relative;
    z-index: 5;
    /* margin-top: -110px; */
    /* margin-top: -320px; */
    margin-top: -240px;
  }
  .card {
    width: 100px;
    height: 300px;
  }
}
@media (max-width: 320px) {
  .titre-f5 {
    font: normal normal bold 20px / 20px Signika;
  }
  .txt-tarot {
    font: normal normal 600 12px / 15px Signika;
  }
  .titre-carte {
    /* font: normal normal bold 22px / 35px Signika; */
  }
  .theme-position {
    grid-gap: 1rem 3rem;
  }
  .form-check-input {
    width: 1em;
    height: 0.9em;
    margin-left: 1em;
    border: 1px solid rgb(0 0 0);
  }
  .button1 {
    width: 280px;
  }
  .input-field {
    width: 280px;
  }
  .enlarge-image {
    width: 90px;
    height: 170px;
  }
  .w-img {
    width: 90%;
  }
  .carte-tarot {
    width: 23%;
  }
  .position-avant-footer {
    position: relative;
    z-index: 5;
    margin-top: -250px;
  }
  .grid {
    /* width: 315px; */
    width: 230px;
    margin: 0 auto;
  }
  .card {
    width: 70px;
    height: 300px;

    &.ani0 {
      right: 0px;
      bottom: 250px;
    }

    &.ani1 {
      right: 20px;
      bottom: 265px;
    }

    &.ani2 {
      right: 40px;
      bottom: 280px;
    }

    &.ani3 {
      right: 60px;
      bottom: 295px;
    }

    &.ani4 {
      right: 90px;
      bottom: 326px;
      z-index: 5;
    }

    &.ani5 {
      right: 110px;
      bottom: 295px;
      z-index: 3;
    }

    &.ani6 {
      right: 130px;
      bottom: 280px;
      z-index: 2;
    }

    &.ani7 {
      right: 150px;
      bottom: 265px;
      z-index: 1;
    }

    &.ani8 {
      right: 180px;
      bottom: 250px;
    }
  }
}
@media only screen and (max-width: 280px) {
  .position-avant-footer {
    position: relative;
    z-index: 5;
    margin-top: 0px;
  }
  .button1 {
    width: 240px;
  }
  .input-field {
    width: 230px;
  }
  .txt-btn1 {
    font: normal normal 600 16px/24px Signika;
  }
  .enlarge-image {
    width: 95%;
    height: 70%;
  }
  .txt-tarot {
    font: normal normal 600 13px/24px Signika;
  }
  .card-title {
    font: normal normal bold 15px/20px Signika;
  }
  .card-description {
    font: normal normal normal 14px/20px Signika;
  }
  .grid {
    width: 240px;
    margin: 0 auto;
  }
  .card {
    width: 100px;
    height: 300px;
  }
}
