.bodyparts {
  width: 100%;
  padding: 40px;
  padding-left: 40px;
  padding-right: 40px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

img {
  width: 100%;
  max-width: 100%;
  border-radius: 0;
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(12, 162px);
  grid-template-rows: repeat(2, auto);
  overflow-x: scroll;
  scroll-behavior: smooth;
  gap: 20px;
  backdrop-filter: blur(5px);
  border-radius: 10px;
}

.grid-container {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.grid-container::-webkit-scrollbar {
  display: none;
}

.grid-controller {
  position: relative;
  max-width: 1050px;
  width: 100%;
  margin: 0 auto;
}

.am2-bodypart {
  text-align: center;
  height: 175px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  overflow: hidden;
  border: none;
  transition: background-color 0.25s ease;
  -webkit-transition: background-color 0.25s ease;
  -ms-transition: background-color 0.25s ease;
  flex-direction: column;
  padding: 5px;
}

.am2-bodypart > span {
  font-weight: 400;
  font-size: 17px;
  color: black;
  padding-top: 0;
  padding-bottom: 8px;
  padding-left: 8px;
  padding-right: 8px;
  min-height: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.am2-bodypart:hover {
  background-color: #eee;
}

.bodypart-selected {
  background-color: #ddd !important;
}

.bodypart-image-selected {
  background-color: #eee;
}

.am2-bodypart > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-width: 100%;
  max-height: 100%;
  border-radius: 20px;
  padding: 7px;
  box-sizing: border-box;
  padding-bottom: 2px;

  mix-blend-mode: darken;
}

.grid-swiper {
  position: absolute;
  width: 50px;
  height: 100%;
  background-color: #ff006b;
  opacity: 0.35;
  cursor: pointer;
}

.swipe-next {
  top: 0;
  right: 0;
}

.swipe-prev {
  top: 0;
  left: 0;
  display: none;
}

@media screen and (max-width: 768px) {
  .grid-container {
    grid-template-columns: repeat(12, 90px);
    gap: 15px;
  }

  .am2-bodypart > span {
    font-size: 8px;
    padding-bottom: 10px;
  }

  .am2-bodypart {
    height: 110px;
  }

  .am2-bodypart-image {
    width: 70% !important;
  }
}

@media screen and (max-width: 600px) {
  .bodyparts {
    padding-left: 5%;
    padding-right: 5%;
  }

  .grid-container {
    border-radius: 0;
  }

  .am2-bodypart-display-text {
    padding-left: 0;
    padding-right: 0;
  }

  .grid-swiper {
    width: 35px;
  }

  .am2-swipe-icon {
    scale: 0.8;
  }
}

.am2-bodypart-display {
  display: flex;
  flex-direction: row;
  gap: 60px;
  width: 100%;
  max-width: 1050px;
  margin: 0 auto;
}

.am2-bodypart-display-image {
  min-width: 500px;
  display: flex;
  flex-direction: column;
  padding-top: 7px;
  align-items: center;
  /* position: relative; */
}

.am2-bodypart-image {
  width: 100%;
  max-width: 500px;
  border-radius: 0;
  object-fit: cover;

  opacity: 1;
  transition: opacity 0.25s ease;
}

.am2-bodypart-image.fade-out {
  opacity: 0;
}

.am2-bodypart-display-text {
  display: flex;
  flex-direction: column;
  gap: 13px;

  opacity: 1;
  transition: opacity 0.25s ease;
}

.am2-bodypart-display-text.fade-out {
  opacity: 0;
}

.bp-slider.fade-out {
  opacity: 0;
}

.am2-bodypart-title {
  font-size: 25px;
  font-weight: 600;
}

.am2-bodypart-description {
  font-size: 17px;
  font-weight: 400;
  color: #333;
}

.new-app-text-title {
  font-size: 30px;
}

.new-app-text-subtitle {
  font-weight: 600;
  font-size: 22px;
}

.new-app-text-colored {
  color: #ff006b;
  font-weight: 700;
}

.bodypart-paragraph {
  display: flex;
  flex-direction: column;
}

@media screen and (max-width: 1500px) {
  .am2-bodypart-description {
    font-size: 16px;
  }
}

@media screen and (max-width: 1200px) {
  .am2-bodypart-display-image {
    min-width: 400px;
  }

  .am2-bodypart-description {
    font-size: 15px;
  }
}

@media screen and (max-width: 1100px) {
  .new-app-text-title {
    font-size: 26px;
  }
}

@media screen and (max-width: 1000px) {
  .bodyparts {
    gap: 20px;
  }

  .am2-bodypart-display {
    flex-direction: column;
    gap: 40px;
  }

  .am2-bodypart-display-image {
    min-width: 0;
    /* width: 60%; */
    margin: 0 auto;
    padding-top: 20px;
    gap: 20px;
  }

  .am2-bodypart-description {
    font-size: 14px;
  }
}

@media screen and (max-width: 750px) {
  .new-app-text-title {
    font-size: 22px;
  }

  .new-app-text-subtitle {
    font-size: 18px;
  }

  .am2-bodypart-display-image {
    gap: 15px;
  }

  .am2-bodypart-display {
    gap: 20px;
  }

  .am2-bodypart-title {
    font-size: 20px;
  }
}

@media screen and (max-width: 550px) {
  .am2-bodypart-display-image {
    gap: 1px;
    padding-top: 3px;
  }
}
.bp-slider {
  width: 100%;
  max-width: 500px;
  aspect-ratio: 5/3;
  overflow: hidden;
  position: relative;
  margin-top: 20px;

  opacity: 1;
  transition: opacity 0.25s ease;
}

.bp-slides {
  display: flex;
  transition: transform 0.8s ease-in-out;
  width: 100%;
  height: 100%;
}

.bp-slide {
  min-width: 100%;
  height: 100%;
}

.bp-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* border-radius: 8px; */
}

.bp-arrow {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: rgba(255, 255, 255, 0.45);
  border: none;
  height: 35px;
  border-radius: 50%;
  width: 35px;
  font-size: 24px;
  cursor: pointer;
  z-index: 2;
}

.bp-arrow:hover {
  color: #ffffff;
}

.bp-left {
  left: 5px;
}

.bp-right {
  right: 5px;
}

.bp-nav {
  position: absolute;
  bottom: 1px;
  width: 100%;
  text-align: center;
  font-size: 50px;
}

.bp-nav span {
  margin: 0 4px;
  cursor: pointer;
  color: #ccc;
}

.bp-nav span.active {
  color: #fff;
}

.am2-bodypart-video-wrapper {
  position: relative;
  width: 100%;
  max-width: 500px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  /* border-radius: 8px; */
  /* margin-bottom: 20px; */
  opacity: 1;
  transition: opacity 0.25s ease;
}

.am2-bodypart-video-wrapper.fade-out {
  opacity: 0;
}

.am2-bodypart-video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}
