* {
  font-family: 'Familjen Grotesk', sans-serif;
  font-weight: 600;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  box-sizing: border-box;
}
html {
  font-size: 20px;
  font-size: clamp(12px, 2.4vh, 20px);
}
html,
body {
  padding: 0;
  margin: 0;
  height: 100%;
  overflow: hidden;
}

.pv {
  padding: 1.6rem;
  width: 100%;
  height: 100%;
  display: flex;
  flex-flow: column;
  align-items: center;
}

.viewer {
  width: 100%;
  flex: 1;
  position: relative;
}

ar-viewer {
  height: 100%;
  width: 100%;
}

ar-viewer.hide {
  opacity: 0;
}

.logo img {
  margin: 0 auto;
  width: 100%;
  max-width: 10rem;
}

.actions {
  z-index: 2;
  width: 100%;
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
}

.actions.show {
  display: block;
}

.actions a {
  display: flex;
  justify-content: center;
  align-items: center;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  height: 1rem;
  color: #fff;
  background-color: #000000;
  width: 100%;
  max-width: 15rem;
  margin-top: 1.6rem;
  border-radius: 10rem;
}
.actions a span:first-child {
  margin-right: 0.4rem;
  font-size: 1rem;
  line-height: 1rem;
}

.actions a span:last-child {
  font-size: 0.9rem;
  font-weight: bold;
  line-height: 1.2rem;
}

.switcher {
  z-index: 2;
  width: 100%;
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
}
.switcher > div {
  display: flex;
  flex-flow: row wrap;
  align-items: center;
  justify-content: center;
}
.switcher > div div {
  cursor: pointer;
  width: 6rem;
  height: 6rem;
  position: relative;
  border: 3px solid rgba(0, 0, 0, 0.25);
  display: flex;
  flex-flow: row wrap;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: border-color 0.15s;
}
.switcher > div div.active {
  border-color: #000;
}
.switcher > div div img {
  height: 70%;
}
.switcher > div div.smaller img {
  height: 70%;
}
.switcher > div div + div {
  margin-left: 1rem;
}
@media (max-width: 479px) {
  .switcher > div div {
    width: 3.25rem;
    height: 3.25rem;
    border-width: 2px;
  }
  .switcher > div div + div {
    margin-left: 0.5rem;
  }
}

.loading {
  display: inline-block;
  position: absolute;
  width: 4rem;
  height: 4rem;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
}
.loading div {
  box-sizing: border-box;
  display: block;
  position: absolute;
  width: 3.2rem;
  height: 3.2rem;
  margin: 0.4rem;
  border: 0.4rem solid #000000;
  border-radius: 50%;
  animation: loading 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  border-color: #000000 transparent transparent transparent;
}
.loading div:nth-child(1) {
  animation-delay: -0.45s;
}
.loading div:nth-child(2) {
  animation-delay: -0.3s;
}
.loading div:nth-child(3) {
  animation-delay: -0.15s;
}
@keyframes loading {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.arrow-left,
.arrow-right {
  position: fixed;
  top: 0;
  bottom: 0;
  cursor: pointer;
  margin: auto;
  width: 3rem;
  height: 3rem;
  z-index: 1;
  display: flex;
  flex-flow: row;
  justify-content: center;
}

.arrow-left img,
.arrow-right img {
  height: 100%;
}

.arrow-left {
  left: 0;
}

.arrow-right {
  right: 0;
}
