@font-face {
  font-family: "BrilliantCutPro";
  src: url("./fonts/BrilliantCutPro-Black.otf") format("opentype");
}

body,
html {
  margin: 5px;
  font-family: "BrilliantCutPro", sans-serif !important;
}

/* This keeps child nodes hidden while the element loads */
:not(:defined) > * {
  display: none;
}
model-viewer {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  overflow-x: hidden;
  /*background-color: gray;*/
}
#ar-button {
  background-image: url(images/AR.svg);
  background-repeat: no-repeat;
  background-size: 70px 70px;
  background-position: 6px 50%;
  background-color: #fff;
  position: absolute;
  right: 20px;
  top: 140px;
  white-space: nowrap;

  transform: scale(1.5);
  transform-origin: top right;

  padding: 0px 80px 0px 00px;
  font-family: Roboto Regular, Helvetica Neue, sans-serif;
  font-size: 14px;
  color: #000;
  height: 36px;
  line-height: 36px;
  border-radius: 18px;
  border: 1px solid #000;
  animation: pulse-blue 2s infinite;
}
#ar-button.hidden {
  display: none;
}

@keyframes pulse-blue {
  0% {
    /*transform: scale(0.95);*/
    box-shadow: 0 0 0 0 rgba(233, 164, 76, 0.7);
  }

  70% {
    /*transform: scale(1);*/
    box-shadow: 0 0 0 10px rgba(233, 164, 76, 0);
  }

  100% {
    /*transform: scale(0.95);*/
    box-shadow: 0 0 0 0 rgba(233, 164, 76, 0);
  }
}
#ar-button:active {
  background-color: #e8eaed;
}
#ar-button:focus {
  outline: none;
}
#ar-button:focus-visible {
  outline: 1px solid #4285f4;
}
@keyframes circle {
  from {
    transform: translateX(-50%) rotate(0deg) translateX(50px) rotate(0deg);
  }
  to {
    transform: translateX(-50%) rotate(360deg) translateX(50px) rotate(-360deg);
  }
}
@keyframes elongate {
  from {
    transform: translateX(100px);
  }
  to {
    transform: translateX(-100px);
  }
}
model-viewer > #ar-prompt {
  position: absolute;
  left: 50%;
  bottom: 175px;
  animation: elongate 2s infinite ease-in-out alternate;
  display: none;
  margin-bottom: 20px;
}
model-viewer[ar-status="session-started"] > #ar-prompt {
  display: block;
}
model-viewer > #ar-prompt > img {
  animation: circle 4s linear infinite;
}
model-viewer > #ar-failure {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 175px;
  display: none;
}
model-viewer[ar-tracking="not-tracking"] > #ar-failure {
  display: block;
}
.slider {
  position: absolute;
  bottom: 0;
  padding-bottom: 35px;
  width: 100%;
  text-align: center;
  background: rgba(255, 255, 255, 0.6);
  padding-top: 10px;
  overflow: hidden;
}
.slides {
  display: flex;
  justify-content: center;
  height: 100%;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}
.slide {
  scroll-snap-align: center;
  flex-shrink: 0;
  width: calc(100vw / 5 - 14px);
  height: calc(100vw / 5 - 14px);
  max-width: 60px;
  max-height: 60px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-color: #fff;
  margin-left: 7px;
  margin-right: 7px;
  border-radius: 50%;
  /*border: solid 2px transparent;*/
  display: flex;
  padding: 0;
  outline: none;
}
.slide_1 {
  background-image: url("buttons/1.jpeg");
}
.slide_2 {
  background-image: url("buttons/2.jpeg");
}
.slide_3 {
  background-image: url("buttons/3.jpeg");
}
.slide_4 {
  background-image: url("buttons/4.jpeg");
}
.slide_5 {
  background-image: url("buttons/5.jpeg");
}
.slide.selected {
  /*border: 2px solid black;*/
}
.slide:focus-visible {
  /*outline: 1px solid #4285f4;*/
}
.slide::before {
  content: "";
  top: 0;
  left: 0;
  opacity: 0;
  /*position: absolute;*/
  border-radius: 50%;
  height: 100%;
  width: 100%;
  border: 2px solid #000;
  transition: opacity 0.15s ease-out;
  box-sizing: border-box;
  cursor: pointer;
}
.slide::before:focus {
  border: 2px solid #4285f4;
}
.slide.selected::before {
  opacity: 1;
}
.demo {
  grid-area: demo;
  top: 0;
  flex: 1;
  display: flex;
  justify-content: center;
  border: 0px solid #555;
  box-sizing: border-box;
}
div.stretchy-wrapper {
  width: 100%;
  padding-bottom: 125%; /* 16:9 */
  position: relative;
  /*background: blue;*/
}
/*.color-title {*/
/*    !*background-color: yellow;*!*/
/*    width: 100%;*/
/*    text-align: center;*/
/*    position: absolute;*/
/*    bottom: 40px;*/
/*    cursor: pointer;*/
/*}*/
/*.color-text {*/
/*    font-size: 1.4rem;*/
/*    !*font-size: font-size: clamp(1rem, 0.8500rem + 0.6667vw, 1.2rem);*!*/
/*    font-family: DinCondensed, sans-serif;*/
/*    font-style: normal;*/
/*    font-weight: 400;*/
/*    text-transform: uppercase;*/
/*}*/

.desktop-modal {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.85);
  z-index: 2;
  display: none;
  align-items: center;
  justify-content: center;
}

.desktop-modal .modal-content {
  width: 83%;
  max-width: 500px;
}
.desktop-modal img {
  width: 100%;
  margin-bottom: 10px;
  border-radius: 15px;
}
.desktop-modal p {
  text-transform: uppercase;
  color: #000000;
  font-size: 17px;
  text-align: center;
}

.close-modal {
  position: absolute;
  right: 20px;
  top: 20px;
  width: 40px;
  padding: 10px;
}

.close-modal img {
  width: 100%;
}
