@media only screen and (min-width: 500px) and (max-width: 599px) {
  .desk-conf {
    display: none;
  }
  .bg {
    background-image: url("../img/428.jpg") !important;
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
  }
  .bg_lecture {
    background-image: url("../img/428.jpg") !important;
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
  }
  .position-avant-footer {
    margin-top: -110px !important;
  }
}
@media only screen and (min-width: 600px) and (max-width: 640px) {
  .desk-conf {
    display: none;
  }
  .bg {
    background-image: url("../img/428.jpg") !important;
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
  }
  .bg_lecture {
    background-image: url("../img/428.jpg") !important;
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
  }
  .position-avant-footer {
    position: relative;
    z-index: 5;
    margin-top: 0px !important;
  }
}
@media only screen and (min-width: 700px) and (max-width: 929px) {
  .position-conf {
    grid-template-columns: repeat(auto-fit, minmax(min(27rem, 100%), 1fr));
    grid-gap: 3rem 1rem;
    display: grid;
    justify-content: center;
  }
  .desk-conf {
    display: none;
  }
  .carte2 {
    height: 250px;
    margin-bottom: 1rem;
  }
  @media only screen and (max-height: 2000px) {
    .position-avant-footer {
      position: relative;
      z-index: 5;
      margin-top: -280px;
    }
  }
  @media only screen and (max-height: 1200px) {
    .position-avant-footer {
      position: relative;
      z-index: 5;
      margin-top: -250px;
    }
  }
  @media only screen and (max-height: 500px) {
    .position-avant-footer {
      position: relative;
      z-index: 5;
      margin-top: -110px;
    }
  }

  .bg {
    background-image: url("../img/428.jpg") !important;
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
  }
  .bg_lecture {
    background-image: url("../img/428.jpg") !important;
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
  }
  .bg-conf {
    background-image: url("../img/1280.jpg") !important;
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
  }
  .logo-elsa {
    height: 135px;
    margin-bottom: 1rem;
    margin-top: 1rem;
  }
  .logo-elsa2 {
    height: 115px;
    margin-bottom: 1rem;
    margin-top: 1rem;
  }
  .logo-elsa3 {
    height: 150px;
  }
  .titre1,
  .titre-carte {
    text-align: center;
    font: normal normal bold 34px/45px Signika;
  }
  .titre2 {
    text-align: center;
    font: normal normal bold 24px/30px Signika;
  }
  .pos-mob {
    position: absolute;
    display: grid;
    align-content: center;
    align-items: center;
    top: 50%;
  }
  /* .image-elsa {
    height: 660px;
    background-size: contain;
  } */
  .image-elsa {
    height: 590px;
    background-size: contain;
    background-position: right;
    position: relative;
    top: 0px;
    left: 130px;
  }
  .image-elsa-pos {
    overflow: hidden;
  }
  .f3-d {
    display: none;
  }
  .carte-mobile {
    display: none !important;
  }
  .mini-box-f5 {
    height: 400px;
    width: 100% !important;
  }
  .carte {
    text-align: center;
    display: flex;
    justify-content: space-evenly;
    width: 100%;
  }
  .carte-tarot {
    width: 20%;
  }
  .btn-footer {
    font: normal normal bold 13px/24px Signika;
  }
  .modal {
    left: 7%;
    width: 88%;
  }
  .pt-mob {
    padding-top: 50px;
  }
  .w-ipad {
    width: 75% !important;
  }
  .box-conf {
    width: 90% !important;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 85px;
  }
  .pos-elsa-conf {
    position: absolute;
    padding-top: 205px;
  }
  .acc {
    min-height: 65vh;
  }
  .grid {
    width: 300px;
    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: 150px;
    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: 326px;
    }

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

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

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

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

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

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

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

    &.ani8 {
      right: 280px;
      bottom: 326px;
    }
  }
  .carte_lecture {
    width: 35%;
  }
  .numkit {
    width: 50%;
  }
  .offre_lecture {
    color: #881a1a;
  }
  .telsms {
    color: #445f00 !important;
  }
}
@media only screen and (min-width: 930px) and (max-width: 1199px) {
  @media only screen and (max-height: 1366px) {
    .acc {
      min-height: 90vh;
    }
    .position-avant-footer {
      position: relative;
      z-index: 5;
      margin-top: -630px;
    }
    .pos-elsa-conf {
      position: absolute;
      bottom: -200px;
    }
  }
  @media only screen and (max-height: 800px) {
    .position-conf {
      grid-template-columns: repeat(auto-fit, minmax(min(30rem, 100%), 1fr));
      grid-gap: 3rem 1rem;
      display: grid;
      justify-content: center;
    }
    .bg {
      background-image: url("../img/428.jpg") !important;
      background-repeat: no-repeat;
      background-position: center top;
      background-size: cover;
    }
    .bg_lecture {
      background-image: url("../img/428.jpg") !important;
      background-repeat: no-repeat;
      background-position: center top;
      background-size: cover;
    }
    .bg-conf {
      background-image: url("../img/1280.jpg") !important;
      background-repeat: no-repeat;
      background-position: center top;
      background-size: cover;
    }
    .logo-elsa {
      height: 208px;
      margin-bottom: 1rem;
    }
    .logo-elsa2 {
      height: 150px;
      margin-bottom: 1rem;
    }
    .logo-elsa3 {
      height: 150px;
      margin-bottom: 4rem;
    }
    .titre1,
    .titre-carte {
      text-align: center;
      font: normal normal bold 34px/45px Signika;
    }
    .titre2 {
      text-align: center;
      font: normal normal bold 24px/30px Signika;
      padding-left: 100px;
      padding-right: 100px;
      filter: drop-shadow(0 0 1rem white);
    }
    .pos-mob {
      position: absolute;
      display: grid;
      align-content: center;
      align-items: center;
      top: 50%;
    }
    /* .image-elsa {
      height: 560px;
      background-size: contain;
    } */
    .image-elsa {
      height: 590px;
      background-size: contain;
      background-position: right;
      position: relative;
      top: 0px;
      left: 130px;
    }
    .image-elsa-pos {
      overflow: hidden;
    }
    .f3-d {
      display: none;
    }
    .carte-mobile {
      display: none !important;
    }
    .mini-box-f5 {
      height: 400px;
      width: 100% !important;
    }
    .carte {
      text-align: center;
      display: flex;
      justify-content: space-evenly;
      width: 100%;
    }
    .carte-tarot {
      width: 20%;
    }
    .pt-mob {
      padding-top: 50px;
    }
    .w-ipad {
      width: 75% !important;
    }
    .box-conf {
      width: 90% !important;
      padding-left: 20px;
      padding-right: 20px;
      padding-top: 85px;
    }
    .pos-elsa-conf {
      position: absolute;
      padding-top: 240px;
      bottom: 0;
    }
    .position-avant-footer {
      position: relative;
      z-index: 5;
      margin-top: -480px;
    }
    .acc {
      min-height: 100vh;
    }
  }
  .position-conf {
    /* grid-template-columns: repeat(auto-fit, minmax(min(20rem, 100%), 1fr)); */
    grid-gap: 3rem 1rem;
    display: grid;
    justify-content: center;
  }
  .desk-conf {
    display: none;
  }

  .carte2 {
    height: 300px;
    margin-bottom: 1rem;
  }
  .grid {
    width: 200px;
    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: 180px;
    height: 320px;
    /* 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: 326px;
    }

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

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

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

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

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

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

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

    &.ani8 {
      right: 280px;
      bottom: 326px;
    }
  }
  .carte_lecture {
    width: 35%;
  }
  .numkit {
    width: 50%;
  }
  .offre_lecture {
    color: #881a1a;
  }
  .telsms {
    color: #445f00 !important;
  }
}
