body,
html {
  margin: 5px;
  font-family: "Roboto", sans-serif;
  overflow: hidden;
}
@font-face {
  font-family: DinCondensedBold;
  src: url(fonts/FontsFree-Net-D-DINCondensed-Bold.ttf);
}
@font-face {
  font-family: DinCondensed;
  src: url(fonts/DINCondensed-Regular.ttf);
}
@font-face {
  font-family: OpenSans;
  src: url(fonts/OpenSans-SemiBold.ttf);
}
@font-face {
  font-family: Decathlon;
  src: url(fonts/Decathlon.otf);
}

/* This keeps child nodes hidden while the element loads */
:not(:defined) > * {
  display: none;
}

.title {
  margin-top: 0;
  font-size: 32px;
  position: relative;
  z-index: 5;
}

.center {
  text-align: center;
}

.logo {
  width: 600px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}
.logo img {
  width: 40%;
  max-width: 180px;
  height: auto;
}

model-viewer {
  width: 100%;
  height: 70%;
  margin: 0 auto;
  position: absolute;
  top: 15%;
  bottom: 0;
  left: 0;
  right: 0;
  overflow-x: hidden;
  /*background-color: gray;*/
}

@keyframes pulse-blue {
  0% {
    /*transform: scale(0.95);*/
    box-shadow: 0 0 0 0 rgba(52, 100, 224, 0.7);
  }

  70% {
    /*transform: scale(1);*/
    box-shadow: 0 0 0 10px rgba(52, 100, 224, 0);
  }

  100% {
    /*transform: scale(0.95);*/
    box-shadow: 0 0 0 0 rgba(52, 100, 224, 0);
  }
}

@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;
  /* 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;
}
.shoes-title {
  font-family: OpenSans;
  text-transform: uppercase;
  font-width: 700;
  font-size: 20px;
  margin-top: 28px;
  margin-bottom: 49px;
}
.buttons-wrapper {
  position: absolute;
  bottom: 12px;
  left: 0;
  right: 0;
  padding-top: 20%;
  z-index: 9999;
}
.slider {
  width: 100%;
  text-align: center;
  /* background: rgba(255, 255, 255, 0.6); */
  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 / 3 - 14px);
  height: calc(100vw / 3 - 14px);
  max-width: 102px;
  max-height: 102px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  /* background-color: #fff; */
  margin-left: 20px;
  margin-right: 20px;

  /*border: solid 2px transparent;*/
  display: flex;
  padding: 0;
  outline: none;
}
/*.slide_2 {*/
/*  background-image: url("buttons/icons_vans_01.png");*/
/*}*/
/*.slide_1 {*/
/*  background-image: url("buttons/icons_vans_02.png");*/
/*}*/
/*.slide_3 {*/
/*  background-image: url("buttons/icons_vans_03.png");*/
/*}*/
.slide.selected {
  /*border: 2px solid black;*/
  position: relative;
  z-index: 4;
}
.slide:focus-visible {
  /*outline: 1px solid #4285f4;*/
}
.slide::before {
  content: "";
  top: 0;
  left: 0;
  opacity: 0;
  /*position: absolute;*/
  height: 100%;
  width: 100%;
  transition: opacity 0.15s ease-out;
  box-sizing: border-box;
  cursor: pointer;
}
.slide::before:focus {
  border: 2px solid #4285f4;
}
.slide.selected::before {
  opacity: 1;
  border: none;
}
.slide.selected::after {
  content: "";
  top: calc(100% - 12px);
  left: 50%;
  transform: translateX(-50%);
  opacity: 1;
  position: absolute;
  height: 6px;
  width: 43px;
  background-color: #1abfef;
  z-index: 5;
  box-shadow: 0px 0px 7px 0px #1abfef;
}
.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 {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;

  font-size: 1.6rem;
  font-family: DinCondensed, sans-serif;
  font-style: normal;
  font-weight: 400;
  text-transform: uppercase;
}
.buttons {
  display: flex;
  justify-content: center;
  flex-direction: column;
  margin: 0 auto;
  width: 600px;
  padding: 0 7px;
  box-sizing: border-box;
  font-weight: bold;
}
.button {
  width: 200%;
  height: 48px;
  outline: 0;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  cursor: pointer;
  font-size: 18px;
  letter-spacing: .05em;
  border-radius: 2px;
  font-family: decathlon,  sans-serif!important;
}
.buttons a {
  text-decoration: none;
  width: 100%;
}

.buttons>img {
  width: 70%;
  min-width: 250px;
  text-align: center;
  margin: 0 auto;
}

.button span {
  text-decoration: none !important;
}
.button__shop button {
  background: #000;
  color: #fff;
  width: 100%;
  text-transform: uppercase;
}
.button__shop .shop-icon {
  height: 22px;
  width: 19px;
  margin-right: 9px;
}
.button__tryon {
  margin-bottom: 24px;
  margin-top: 0px;
}
.button__tryon button {
  width: 200px;
  height: 48px;
  border: 2px solid #fff;
  background: #fff0;
  color: #ffffff !important;
  margin: 0 auto;

}
.button__tryon button span {
  display: inline-flex;
  align-items: flex-end;
  margin-top: -2px;
  baseline-shift: super;
}
.button__tryon .tryon-icon {
  height: 24px;
  width: 24px;
  margin-right: 4px;
  margin-left: 4px;
}
.modal {
  position: fixed;
  display: none;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  cursor: auto;
  opacity: 1;
  z-index: 199;
}
.modal .scan {
  width: 373px;
  height: 373px;
}
.modal .scan img {
  width: 100%;
  height: 100%;
}
.modal-body {
  box-sizing: border-box;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  position: fixed;
  max-width: 1600px;
  padding: 10px;
  background: #fff;
}
.modal-body p {
  margin: 0;
}
.modal-body .close {
  position: absolute;
  top: 5px;
  right: 5px;
  cursor: pointer;
}
.modal-overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(255, 255, 255, 0.5);
  z-index: 0;
}

@media screen and (max-width: 600px) {
  .buttons,
  .logo {
    width: 100%;
  }
  .slide {
    width: calc(100vw / 3 - 24px);
    height: calc(100vw / 3 - 24px);
  }
}
main {
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}
