.gallery {
  width: 45vw;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.gallery .primary_image {
  width: 21.8vw;
  height: 21.8vw;
  margin-bottom: 1vw;

  border: 1px solid #f5f3ef;
}
.image_galleries img:hover,
.image_galleries img:focus,
.image_galleries img:active {
  border: 1px solid black;
  padding: 5px;
  border-radius: 3px;
}

.viewer3d {
  width: 21.8vw;
  height: 21.8vw;
  margin-bottom: 1vw;
  border: 1px solid #f5f3ef;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.viewer3d model-viewer {
  width: 100%;
  height: 100%;
  background-color: #f5f3ef;
}
.loading_3d {
  width: 21.8vw;
  height: 21.8vw;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.loading_3d img {
  width: 100%;
  object-fit: contain;
}
.video_slide {
  position: relative;
  width: 21.8vw;
  height: 21.8vw;
  margin-bottom: 1vw;
  overflow: hidden;
}

.video {
  width: 21.8vw;
  height: 21.8vw;
  margin-bottom: 1vw;
  object-fit: cover;
  display: block;
}

.video_slide .video {
  width: 100%;
  height: 100%;
  margin-bottom: 0;
}

.video_overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.087);
  z-index: 1;
  pointer-events: none;
}

.video_overlay_icon {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  transform: translate(-50%, -50%);
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  pointer-events: auto;
  line-height: 0;
}

.mainModal {
  width: 100%;
  height: 100%;

  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/** BREAKPOINT */
@media only screen and (min-width: 100px) {
}
@media only screen and (max-width: 1420px) {
}
@media only screen and (min-width: 1024px) and (max-width: 1300px) {
  .gallery {
    width: 400px;
  }
  .gallery .primary_image {
    width: 400px;
    height: 400px;
  }
  .gallery .secondary_image {
    width: 200px;
    height: 200px;
  }
  .video_slide {
    width: 100%;
    height: 400px;
  }
  .video {
    width: 400px;
    height: 400px;
  }
  .secondary_image_section {
    width: 210px;
  }
  .viewer3d {
    height: 400px;
    width: 400px;
  }
}

/** MOBILE BREAKPOINT */

@media only screen and (max-width: 1023px) {
  .gallery {
    width: 100%;
    display: unset;
    overflow: hidden;
  }
  .gallery .primary_image {
    width: 100%;
    height: 650px;
  }
  .video_slide {
    width: 100%;
    height: 650px;
  }
  .video {
    width: 100%;
    height: 650px;
  }
  .image_galleries {
    display: none;
  }
  .gallery .secondary_image {
    width: auto;
    height: auto;
  }
}
@media only screen and (max-width: 650px) {
  .gallery .primary_image {
    width: 100%;
    height: auto;
  }

  .video_slide {
    width: 100%;
    height: auto;
    margin-bottom: 0;
  }

  .video {
    width: 100%;
    height: auto;
  }
}
