@charset "UTF-8";

.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
}


.grid-container .brand-contents {
  z-index: 1;
}

.image-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-image {
  position: absolute;
  width: 100%;
  transition: transform 0.5s ease;
  transform: translate(0px, 0px);
  will-change: transform;
}

.simplism-block .image-wrapper .phone-image {
  width: 100%;
} 

.black-phone-case {
  left: 30%;
  top: 10%;
}

.black-flip-phone-case {
  left: -50%;
  top: -5%;
}

.white-phone-case {
  left: 20%;
  top: 35%;
}

.amulet-block .image-wrapper .phone-image {
  width: 150%;
  max-width: 900px;
} 

.pink-flip-phone-case {
  left: -40%;
  top: 10%;
}

.brown-flip-phone-case {
  left: 15%;
  top: 0;
}

.ajouter-block .image-wrapper .phone-image {
  width: 40%;
} 

.blue-phone-case {
  left: 30%;
  top: -5%;
}

.clear-phone-case {
  left: 20%;
  top: 5%;
}

.pink-phone-case {
  left: 50%;
  top: 30%;
}

@media screen and (min-width: 768px) {
  .reverse > div:nth-child(1) {
    order: 2;
  }
  
  .reverse > div:nth-child(2) {
    order: 1;
  }

  .blue-phone-case {
    top: 12%;
  }
  .clear-phone-case {
    top: 34%;
  }
  .pink-phone-case {
    top: 60%;
  }
}