:root {
  --foreground-color: #fff;
  --background-color: #000;
  --background-opacity: 0.7;
  --loading-color: rgb(102, 102, 102);
  --loading-foreground-color: #fff;
  --bottom-offset: 50px;
  --top-offset: 150px;
}

body {
  font-family: 'Montserrat', sans-serif;
  margin: 0;
  background-color: var(--background-color);
  touch-action: none;
}

#main-container {
  display: none;
  overflow: hidden;
  position: absolute;
  width: 100%;
  height: 100%;
}

#permissions div h1 {
  font-size: 18px;
  letter-spacing: 0.9px;
  line-height: 36px;
  font-weight: normal;
}

.page {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: max(100%, 100vh);
  background-color: var(--background-color);
  color: var(--foreground-color);
  display: none;
  text-align: center;
}

#ui.page {
  height: 100% !important;
}

.button {
  background-color: var(--foreground-color);
  opacity: var(--background-opacity);
  color: var(--background-color);
  padding: 20px 40px 20px 40px;
  border-radius: 50px;
  text-transform: uppercase;
  font-size: 10px;
  border: 0;
  height: 55px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.87;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.44px;
}

#ui {
  display: none;
  background-color: transparent;
  z-index: 999;
  opacity: 0;
}

#ui .middle {
  position: absolute;
  top: 50%;
  text-transform: uppercase;
  margin-top: -50px;
}

#ui .dots {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

#ui .dots .dot {
  width: 6px;
  height: 6px;
  border-radius: 100%;
  border: 1px solid var(--foreground-color);
  background-color: #fff;
  opacity: 0.3;
}

#ui .dots .dot.active {
  background-color: var(--foreground-color);
  opacity: 1;
}

.button.black {
  background-color: var(--background-color);
  color: var(--foreground-color);
}

#ui .bold {
  font-size: 35px;
  letter-spacing: 1.2px;
  margin-top: 5px;
  font-weight: 500;
}

#ui .black {
  background-color: #000;
}

#ui .outlinks {
  margin-left: -15px;
  margin-right: -15px;
  height: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-left: 25px;
  padding-right: 25px;
}

#ui p {
  margin-top: 0px;
  margin-bottom: 0;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.9px;
}

#ui a,
#ui a:hover,
#ui a:active,
#ui a:focus,
#ui a:visited {
  font-size: 10px;
  color: var(--foreground-color);
  text-decoration: none;
  letter-spacing: 1px;
}

a,
a:hover,
a:active,
a:focus,
a:visited {
  color: var(--background-color);
  text-decoration: none;
}

.bkg {
  background-image: url("../data/img/PEEK_A_BOOK_oriz.png");
  background-size: cover;
  background-position: 50% 50%;
}

#splash {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--background-color);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.page-loader {
  width: 100px;
  height: 1px;
  background-color: var(--loading-color);
  margin-top: 50px;
  position: absolute;
  left: 50%;
  margin-left: -50px;
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility:    hidden;
  -ms-backface-visibility:     hidden;
  backface-visibility: hidden;
}

.page-loader.indeterminate {
  width: 100px;
  height: 4px;
  background-color: var(--loading-color);
  margin-top: 50px;
  position: absolute;
  left: 50%;
  margin-left: -50px;
  overflow: hidden;
}

.middle .page-loader {
  margin-top: 120px;
}

.page-loader .page-progress {
  width: 0px;
  height: 3px;
  background-color: var(--loading-foreground-color);
  position: absolute;
  transform-origin: top center;
  /* top: -2px; */
  left: 50%;
  /* margin-left: -50%; */
}

.page-loader .page-progress.progress25 {
  animation: progress25 ease 250ms forwards;
}

.page-loader .page-progress.progress50 {
  animation: progress50 ease 250ms forwards;
}

.page-loader .page-progress.progress75 {
  animation: progress75 ease 250ms forwards;
}

.page-loader .page-progress.progress100 {
  animation: progress100 ease 250ms forwards;
}

@keyframes progress25 {
  0% {
    width: 0px;
    margin-left: 0%;
  }
  100% {
    width: 25px;
    margin-left: -12.5%;
  }
}

@keyframes progress50 {
  0% {
    width: 25px;
    margin-left: -12.5%;
  }
  100% {
    width: 50px;
    margin-left: -25%;
  }
}

@keyframes progress75 {
  0% {
    width: 50px;
    margin-left: -25%;
  }
  100% {
    width: 75px;
    margin-left: -37.5%;
  }
}


@keyframes progress100 {
  0% {
    width: 75px;
    margin-left: -37.5%;
  }
  100% {
    width: 100px;
    margin-left: -50%;
  }
}

.page-loader .page-progress.indeterminate {
  width: 100%;
  height: 100%;
  background-color: var(--loading-foreground-color);
  animation: indeterminateAnimation 1s infinite linear;
  transform-origin: -50% 50%;
}

@keyframes indeterminateAnimation {
  0% {
    transform:  translateX(40%) scaleX(0);
  }
  40% {
    transform:  translateX(40%) scaleX(0.4);
  }
  100% {
    transform:  translateX(120%) scaleX(0.5);
  }
}

#start::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--background-color);
  opacity: var(--background-opacity);
  z-index: -1;
}

.flex-col {
  display: flex;
  flex-direction: column;
}

#start div img {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 64px;
  width: 154px;
}

#start div h1 {
  margin-bottom: 0px;
  font-size: 31px;
  letter-spacing: 1.65px;
  line-height: 36px;
  font-weight: 600;
}

#start div p {
  margin-top: 10px;
  font-size: 16px;
  letter-spacing: 0.8px;
  line-height: 26px;
  font-weight: 500;
}

#unsupported {
  display: none;
}

#unsupported::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--background-color);
  opacity: var(--background-opacity);
  z-index: -1;
}

#unsupported div {
  display: flex;
  flex-direction: column;
  width: 100%;
}


#unsupported img {
  margin: auto;
  margin-bottom: 40px;
}

#unsupported h1 {
  font-size: 40px;
  letter-spacing: 2px;
  line-height: 36px;
  margin-bottom: 16px;
  font-weight: 600;
}

#unsupported p {
  font-size: 16px;
  letter-spacing: 0.8px;
  line-height: 26px;
  margin-bottom: 32px;
}

#unsupported .button {
  margin-bottom: 30px;
}

#unsupported-browser::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--background-color);
  opacity: var(--background-opacity);
  z-index: -1;
}

#unsupported-browser h1 {
  font-weight: 600;
  margin-bottom:10px;
}

#unsupported-browser p {
  margin:0;
}

#unsupported-browser > div{
  justify-content: space-around;
  align-items: center;
  height: 100%;
  width: 100%;
}

#unsupported-browser .links {
  margin-bottom:45px;
}


#camera-error {
  display: none;
}

#camera-error div.fill-h {
  justify-content: space-between;
  display:flex;
  height: 100%;
  margin-top:70px;
  margin-bottom: 70px;
}


#camera-error h1 {
  font-size: 18px;
  letter-spacing: 0.9px;
  line-height: 36px;
  font-weight: normal;
}

#camera-error img {
  margin-left: auto;
  margin-right: auto;
}

@media (orientation: landscape) {
  .page > div {
    overflow: auto;
  }

  #start > div {
    width: 100%;
    padding-top: 30px;
    padding-bottom: 30px;
  }

  #start div img {
    margin-bottom: 14px;
  }

  #permissions div {
    width: 100%;
    margin-top: 30px;
    margin-bottom: 30px;
  }

  #ui.page {
    justify-content: center;
  }

  #ui .header {
    position: absolute;
    left: 50%;
    top: 25px;
    margin-left: -75px;
  }

  #ui .audio-toggle {
    position: absolute;
    right: 63px;
    top: 30px;
    width: 28px;
    height: 28px;
  }

  #ui .bottom {
    display: flex;
    flex-direction: column;
    width: 100%;
    justify-content: flex-end;
    align-items: stretch;
    overflow: hidden;
  }

  #ui .selector {
    display: flex;
    width: 100%;
    flex-direction: row;
    align-content: space-around;
    justify-content: space-between;
    margin-bottom: 20px;
    filter: drop-shadow(0px 0px 4px #000);
    padding-left:25px;
    padding-right:25px;
  }

  #ui .bottom a .button {
    margin-bottom: 13px;
  }

  .selector_container{
    min-width: 300px;
  }

  #ui .selector #selector_current {
    flex-grow: 1;
    margin-top:27px;
  }
  #ui .outlinks {
    padding-left:45px;
    padding-right:45px;
  }
}

@media (orientation: portrait) {

  .ui {
    justify-content: end;
    align-items: stretch;
  }

  .page {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-left: 30px;
    padding-right: 30px;
  }

  .page > div {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }


  #start {
    display: none;
    position: absolute;
    width: 100%;
    height: 100%;
    text-align: center;
    flex-direction: column;
    /* justify-content: center; */
    align-items: center;
    z-index: 1;

    color: var(--foreground-color);
    opacity: 0;
    padding-left: 30px;
    padding-right: 30px;
  }

  #start div {
    display: flex;
    flex-direction: column;
  }

  #start div h1 {
    margin-top:50px;
  }

  /* #start div p {
    margin-bottom: 190px;
  } */

  .m190 {
    margin-bottom: 190px;
  }

  #permissions {
    position: absolute;
    width: 100%;
    height: 100%;
    display: none;
    flex-direction: column;
    justify-content: start;
    background-color: var(--background-color);
    color: var(--foreground-color);
    text-align: center;
    opacity: 0;
  }

  #permissions div {
    height: 100%;
    justify-content: start;
    align-content: flex-start;
  }

  #permissions img {
    width: 120px;
    height: 102px;
    margin: auto;
    margin-bottom: 16px;
    margin-top: 70px;
  }

  #permissions h1 {
    margin-bottom: 250px;
    font-weight: normal;
  }

  #ui.page {
    justify-content: flex-end;
    margin-left: 0;
    margin-right: 0;
    padding-left: 8px;
    padding-right: 8px;
  }

  #ui .bottom {
    width: 100%;
  }

  #ui .header {
    position: absolute;
    top: 25px;
    left: 50%;
    width: 150px;
    margin-left: -75px;
  }

  #ui .audio-toggle {
    position: absolute;
    top: 30px;
    right: 15px;
    width: 28px;
    height: 28px;
  }

  #ui .selector {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-bottom: 20px;
    margin-left: 15px;
    margin-right: 15px;
    filter: drop-shadow(0px 0px 4px #000);
  }

  #ui .selector div {
    /* min-height: 80px; */
    justify-content: end;
  }

  /* #ui .selector div:first-child,
  #ui .selector div:last-child {
    margin-top: 15px;
  } */

  #ui .selector #selector_current {
    flex-grow: 1;
  }

  #ui a,
  #ui a:hover,
  #ui a:active,
  #ui a:focus,
  #ui a:visited {
    /* margin-top: 27px;
    margin-bottom: 27px; */
  }

  .ar-ui-scanning {
    /* margin-top:200px !important; */
  }

  #ui .bottom .flex-col a:first-child {
    margin-top: 30px;
  }

  #ui .bottom .flex-col a:last-child {
    margin-bottom: 27px;
    margin-top: 27px;
  }

  .portrait-spacer {
    flex-grow:1;
  }

}

.flip {
  transform: rotateY(180deg);
}

.fade-in {
  animation: fadeIn ease 1s forwards;
  -webkit-animation: fadeIn ease 1s forwards;
  -moz-animation: fadeIn ease 1s forwards;
  -o-animation: fadeIn ease 1s forwards;
  -ms-animation: fadeIn ease 1s forwards;
}

.a-loader-title {
  color: transparent;
}

@keyframes loading {
  0% {
    transform: scaleX(0%);
  }

  100% {
    transform: scaleX(100%);
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}
.-mt30 {
  margin-top:-30px;
}

.clipContainer {
  clip-path: inset(0px 0px 0px 0px);
}

.appearFromBelow {
  animation: appearFromBelow 0.6s cubic-bezier(0.12, 0, 0.39, 0) forwards;
  -webkit-animation: appearFromBelow 0.6s cubic-bezier(0.12, 0, 0.39, 0) forwards;
  -moz-animation: appearFromBelow 0.6s cubic-bezier(0.12, 0, 0.39, 0) forwards;
  -o-animation: appearFromBelow 0.6s cubic-bezier(0.12, 0, 0.39, 0) forwards;
  -ms-animation: appearFromBelow 0.6s cubic-bezier(0.12, 0, 0.39, 0) forwards;
}

@keyframes appearFromBelow {
  0% {
    transform: translateY(100%);
  }
  100% {
    transform: translateY(0);
  }
}

.appearFromAbove {
  animation: appearFromAbove 0.6s cubic-bezier(0.12, 0, 0.39, 0) forwards;
  -webkit-animation: appearFromAbove 0.6s cubic-bezier(0.12, 0, 0.39, 0) forwards;
  -moz-animation: appearFromAbove 0.6s cubic-bezier(0.12, 0, 0.39, 0) forwards;
  -o-animation: appearFromAbove 0.6s cubic-bezier(0.12, 0, 0.39, 0) forwards;
  -ms-animation: appearFromAbove 0.6s cubic-bezier(0.12, 0, 0.39, 0) forwards;
}

.fadeAppearFromAbove {
  animation: fadeAppearFromAbove 0.6s cubic-bezier(0.12, 0, 0.39, 0) forwards;
  -webkit-animation: fadeAppearFromAbove 0.6s cubic-bezier(0.12, 0, 0.39, 0) forwards;
  -moz-animation: fadeAppearFromAbove 0.6s cubic-bezier(0.12, 0, 0.39, 0) forwards;
  -o-animation: fadeAppearFromAbove 0.6s cubic-bezier(0.12, 0, 0.39, 0) forwards;
  -ms-animation: fadeAppearFromAbove 0.6s cubic-bezier(0.12, 0, 0.39, 0) forwards;
}

.fadeAppearFromBelow {
  animation: fadeAppearFromBelow 0.6s cubic-bezier(0.12, 0, 0.39, 0) forwards;
  -webkit-animation: fadeAppearFromBelow 0.6s cubic-bezier(0.12, 0, 0.39, 0) forwards;
  -moz-animation: fadeAppearFromBelow 0.6s cubic-bezier(0.12, 0, 0.39, 0) forwards;
  -o-animation: fadeAppearFromBelow 0.6s cubic-bezier(0.12, 0, 0.39, 0) forwards;
  -ms-animation: fadeAppearFromBelow 0.6s cubic-bezier(0.12, 0, 0.39, 0) forwards;
}

.clipFromAbove {
  animation: appearFromAboveFasterClip 2s cubic-bezier(0.46, 0.49, 0, 1.03) forwards;
  -webkit-animation: appearFromAboveFasterClip 2s cubic-bezier(0.46, 0.49, 0, 1.03) forwards;
  -moz-animation: appearFromAboveFasterClip 2s cubic-bezier(0.46, 0.49, 0, 1.03) forwards;
  -o-animation: appearFromAboveFasterClip 2s cubic-bezier(0.46, 0.49, 0, 1.03) forwards;
  -ms-animation: appearFromAboveFasterClip 2s cubic-bezier(0.46, 0.49, 0, 1.03) forwards;
}

.disappearAndClipAbove {
  animation: disappearToAboveClip 0.6s linear forwards;
  -webkit-animation: disappearToAboveClip 0.6s linear forwards;
  -moz-animation: disappearToAboveClip 0.6s linear forwards;
  -o-animation: disappearToAboveClip 0.6s linear forwards;
  -ms-animation: disappearToAboveClip 0.6s linear forwards;
}

.appearAndClip {
  animation: appearClipAbove 0.6s cubic-bezier(0.12, 0, 0.39, 0) forwards;
  -webkit-animation: appearClipAbove 0.6s cubic-bezier(0.12, 0, 0.39, 0) forwards;
  -moz-animation: appearClipAbove 0.6s cubic-bezier(0.12, 0, 0.39, 0) forwards;
  -o-animation: appearClipAbove 0.6s cubic-bezier(0.12, 0, 0.39, 0) forwards;
  -ms-animation: appearClipAbove 0.6s cubic-bezier(0.12, 0, 0.39, 0) forwards;
}

.appearAndClipFaster {
  animation: appearClipFaster 0.6s cubic-bezier(0.12, 0, 0.39, 0) forwards;
  -webkit-animation: appearClipFaster 0.6s cubic-bezier(0.12, 0, 0.39, 0) forwards;
  -moz-animation: appearClipFaster 0.6s cubic-bezier(0.12, 0, 0.39, 0) forwards;
  -o-animation: appearClipFaster 0.6s cubic-bezier(0.12, 0, 0.39, 0) forwards;
  -ms-animation: appearClipFaster 0.6s cubic-bezier(0.12, 0, 0.39, 0) forwards;
}

@keyframes appearClipFaster {
  0% {
    transform: translateY(-100%);
    clip-path: inset(0 0px 50% 0px);
  }
  100% {
    transform: translateY(0);
    clip-path: inset(0 0px 0% 0px);
  }
}

@keyframes appearClipAbove {
  0% {
    transform: translateY(-50%);
    clip-path: inset(0 0px 100% 0px);
  }
  100% {
    transform: translateY(0);
    clip-path: inset(0 0px 0% 0px);
  }
}

@keyframes appearFromAbove {
  0% {
    transform: translateY(-100%);
  }
  100% {
    transform: translateY(0);
  }
}

@keyframes fadeAppearFromAbove {
  0% {
    transform: translateY(-100%);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes disappearToAboveClip {
  0% {
    transform: translateY(0);
    clip-path: inset(0 0px 0% 0px);
  }
  100% {
    transform: translateY(-50px);
    clip-path: inset(0 0px 130% 0px);
  }
}

@keyframes fadeAppearFromBelow {
  0% {
    transform: translateY(100%);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes appearFromAboveFasterClip {
  0% {
    clip-path: inset(0 0px 100% 0px);
  }
  100% {
    clip-path: inset(0% 0px 0% 0px);
  }
}

@-moz-keyframes fadeIn {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@-webkit-keyframes fadeIn {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@-o-keyframes fadeIn {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@-ms-keyframes fadeIn {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

.fade-out {
  animation: fadeOut ease 0.8s forwards;
  -webkit-animation: fadeOut ease 0.8s forwards;
  -moz-animation: fadeOut ease 0.8s forwards;
  -o-animation: fadeOut ease 0.8s forwards;
  -ms-animation: fadeOut ease 0.8s forwards;
}

.ar-ui-scanning {
  flex-direction: column;
  background: none !important;
  /* background: url('img/mirino.svg') !important;
  background-repeat: no-repeat;
  background-size: 100% 100% !important; */
  width: 80% !important;
  height: 70% !important;
  color: var(--foreground-color) !important;
  font-size: 18px;
  letter-spacing: 0.9px;
}

@media(orientation: landscape) {
  .ar-ui-scanning p {
    margin-top: 50px;
    text-transform: uppercase;
    font-size: 18px;
    line-height: 36px;
    text-align: center;
    filter: drop-shadow(5px 4px 6px #000);
  }

  .ar-scanning-container {
    position: relative;
    width: 30%;
  }

  .ar-scanning-container.vertical {
    width: 15% !important;
  }
}
@media(orientation: portrait) {
  .ar-ui-scanning p {
    margin-top: 0px;
    text-transform: uppercase;
    font-size: 18px;
    line-height: 36px;
    text-align: center;
    filter: drop-shadow(5px 4px 6px #000);
  }
}

.ar-ui-scanning::before, .ar-ui-scanning::after {
  content: none !important;
  animation: none !important;
}

@keyframes fadeOut {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

@-moz-keyframes fadeOut {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

@-webkit-keyframes fadeOut {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

@-o-keyframes fadeOut {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

@-ms-keyframes fadeOut {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

.absolute {
  position:absolute;
}

@media(orientation: portrait) {
  .bottom {
    bottom: var(--bottom-offset);
  }
}
@media(orientation: landscape) {
  .bottom {
    bottom: 50px;
  }
  
}

.top {
  top: var(--top-offset);
}

.center {
  left: 50%;
  transform: translateX(-50%);
}

#discover_more {
  text-transform: uppercase;
  font-weight: 600;
}

#discover_more > span {
  vertical-align: middle;
  font-size:12px;
}

#discover_more > img {
  vertical-align: middle;
}

.hidden {
  opacity: 0;
}

.ar-ui-loading .loader{
  width: 100px;
  height: 4px;
  background-color: var(--loading-color);
  margin-top: 50px;
  position: absolute;
  left: 50%;
  margin-left: -50px;
  overflow: hidden;
}

.ar-ui-loading .loader .progress.indeterminate {
  width: 100%;
  height: 100%;
  background-color: var(--loading-foreground-color);
  animation: indeterminateAnimation 1s infinite linear;
  transform-origin: -50% 50%;
}

.energy-saver::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000000 0% 0% no-repeat padding-box;
  border-radius: 20px;
  opacity: 0.7;
  z-index: -1;
}

.energy-saver {
  display: none !important;
  flex-direction: column;
  position:absolute;
  top: 50%;
  left: 50%;
  width: 90%;
  transform: translate(-50%, -50%);
  text-align: center;
  font: normal normal medium 16px/27px Montserrat;
  letter-spacing: 0.8px;
  color: #FFFFFF;
  padding:20px;
  padding-bottom: 60px;
  z-index: 9999;
  line-height: 25px;
}

.energy-saver .close-popup {
  width: 100%;
  text-align: right;
}

.energy-saver .error-img {
  margin-bottom: 25px;
}

.ar-scanning-container {
  position: relative;
}

.ar-scanning-container.vertical {
  position: relative;
  width: 65%;
}

.ar-scanning-container img {
  width: 100%;
  opacity: 0.5;
}

.crosshair {
  position: absolute;
  right: -10px;
  bottom: -5px;
  top: -10px;
  width: 50%;
}

.crosshair-vertical {
  position: absolute;
  right: -10px;
  bottom: -5px;
  top: -10px;
  left: -10px;
  width: auto !important;
}

.crosshair div {
  background: url(./img/mirino.svg) no-repeat;
  width: 30px;
  height: 30px;
}

.lt {
  position: absolute;
  left: 0px;
  top: 0px;
}

.rt {
  position: absolute;
  right: 0px;
  top: 0px;
  transform: rotate(90deg);
}

.lb {
  position: absolute;
  left: 0px;
  bottom: 0px;
  transform: rotate(270deg);
}

.rb {
  position: absolute;
  right: 0px;
  bottom: 0px;
  transform: rotate(180deg);
}
.debug {
  display:none;
}