html {
  box-sizing: border-box;
  font-size: 16px;
}
*,
:after,
:before {
  box-sizing: inherit;
}
body {
  margin: 1rem;
  font-family: sans-serif;
  line-height: 1.5;
}
img {
  height: auto;
  max-width: 100%;
}
:root {
  --color-red: #ff5252;
  --font-monospace: "Roboto Mono", monospace;
  --border-style: 1px solid rgba(0, 0, 0, 0.15);
  --grouping-title-margin-top: 40px;
  --snippet-offset: 20px -20px;
  --pre-padding: 16px 20px;
  --demo-title-padding: 24px 10% 24px 0;
  --heading-h1-margin-top: 40px;
  --browser-support-desc-margin-top: 40px;
  --browser-support-icons-margin-top: 16px;
  --button-size: 36px;
  --icon-size: 28px;
  --header-height: 72px;
  --toggle-visibility: hidden;
  --og-sidebar-width: 300px;
  --neg-sidebar-width: 0px;
  --sidebar-width: 300px;
  --sidebar-speed: 0.15s;
  --border-style-dark: 1px solid rgba(0, 0, 0, 0.5);
}
body {
  font-family: Rubik, sans-serif;
  font-size: 16px;
  line-height: 24px;
  color: rgba(0, 0, 0, 0.87);
  margin: 0;
  padding: 0;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
* {
  box-sizing: border-box;
}
a {
  cursor: pointer;
  text-decoration: none;
  color: var(--color-red);
}
b {
  font-weight: 500;
}
.size-24 {
  width: 24px;
  height: 24px;
}
model-viewer:focus {
  outline: 0;
}
.demo {
  grid-area: demo;
  position: sticky;
  top: 0;
  height: 100vh;
  flex: 1;
  display: flex;
  justify-content: center;
  border: 0 solid #555;
  box-sizing: border-box;
}
.demo-title {
  padding: var(--demo-title-padding);
}
.demo-title:before {
  background: #222;
  height: 2px;
  width: 40px;
  content: "";
  display: block;
  margin-bottom: 16px;
}
.icon-button {
  width: var(--button-size);
  height: var(--button-size);
  background-repeat: no-repeat;
  display: inline-block;
  background-size: var(--icon-size);
  cursor: pointer;
  background-position: 50% 50%;
  opacity: 0.87;
}
.icon-button:hover {
  opacity: 1;
}
.icon-modelviewer {
  background-image: url(https://highfalutin-fallacious-telescope.glitch.me/assets/ic_modelviewer_red.svg);
}
.demo model-viewer {
  width: 100%;
  height: 90%;
  background-color: #eee;
}
.content {
  grid-area: content;
  position: relative;
  padding-top: 20px;
}
.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.border-bottom {
  border-bottom: var(--border-style);
}
@media only screen and (min-width: 1664px) {
  :root {
    --snippet-offset: 40px -40px;
    --pre-padding: 28px 40px;
  }
  body {
    font-size: 18px;
    line-height: 26px;
  }
}

@media only screen and (min-width: 801px) {
  .slides{justify-content: center;}
}

@media only screen and (max-width: 800px) {
  :root {
    --grouping-title-margin-top: 20px;
    --demo-title-padding: 8px 12px 24px 0;
    --snippet-offset: 0;
    --heading-h1-margin-top: 0;
    --browser-support-desc-margin-top: 20px;
    --browser-support-icons-margin-top: 8px;
    --header-height: 56px;
    --sidebar-width: 0;
    --overlay-width: 0;
  }
  body {
    font-size: 14px;
    line-height: 22px;
  }
  .demo {
    position: relative;
    flex-direction: column-reverse;
    background-color: #455a64;
  }
  .content {
    max-width: unset;
    padding-top: 16px;
  }
  .demo {
  height: 90vh;
  }
  }

:not(:defined) > * {
  display: none;
}
model-viewer {
  background-color: #eee;
  overflow-x: hidden;
}
#ar-button {
  background-image: url(https://modelviewer.dev/assets/ic_view_in_ar_new_googblue_48dp.png);
  background-repeat: no-repeat;
  background-size: 20px 20px;
  background-position: 12px 50%;
  background-color: #ffffff;
  position: absolute;
  top: 5%;
  transform: translateX(-50%);
  white-space: nowrap;
  bottom: 132px;
  padding: 0 16px 0 40px;
  font-family: Roboto Regular, Helvetica Neue, sans-serif;
  font-size: 14px;
  color: #4285f4;
  height: 36px;
  line-height: 36px;
  border-radius: 18px;
  border: 1px solid #dadce0;
}
#ar-button:active {
  background-color: #e8eaed;
}
#ar-button:focus {
  outline: 0;
}
#ar-button:focus-visible {
  outline: 1px solid #4285f4;
}
@keyframes circle {
  from {
    transform: translateX(-50%) rotate(0) translateX(50px) rotate(0);
  }
  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;
}
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 {
  width: 100%;
  text-align: center;
  overflow: hidden;
  position: absolute;
  bottom: 10px;
}
.slides {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}
.slide {
  scroll-snap-align: start;
  flex-shrink: 0;
  width: 75px;
  height: 75px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-color: #fff;
  margin-right: 10px;
  border-radius: 10px;
  border: none;
  display: flex;
}
.slide.selected {
  border: 2px solid #4285f4;
}
.slide:focus {
  outline: 0;
}
.slide:focus-visible {
  outline: 1px solid #4285f4;
}
