/* Fonts */ 

@font-face {
  font-family: 'General Sans';
  src: url('../fonts/GeneralSans-Light.eot');
  src: url('../fonts/GeneralSans-Light.eot?#iefix') format('embedded-opentype'),
      url('../fonts/GeneralSans-Light.woff2') format('woff2'),
      url('../fonts/GeneralSans-Light.woff') format('woff'),
      url('../fonts/GeneralSans-Light.ttf') format('truetype'),
      url('../fonts/GeneralSans-Light.svg#GeneralSans-Light') format('svg');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'General Sans';
  src: url('../fonts/GeneralSans-Semibold.eot');
  src: url('../fonts/GeneralSans-Semibold.eot?#iefix') format('embedded-opentype'),
      url('../fonts/GeneralSans-Semibold.woff2') format('woff2'),
      url('../fonts/GeneralSans-Semibold.woff') format('woff'),
      url('../fonts/GeneralSans-Semibold.ttf') format('truetype'),
      url('../fonts/GeneralSans-Semibold.svg#GeneralSans-Semibold') format('svg');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'General Sans';
  src: url('../fonts/GeneralSans-Medium.eot');
  src: url('../fonts/GeneralSans-Medium.eot?#iefix') format('embedded-opentype'),
      url('../fonts/GeneralSans-Medium.woff2') format('woff2'),
      url('../fonts/GeneralSans-Medium.woff') format('woff'),
      url('../fonts/GeneralSans-Medium.ttf') format('truetype'),
      url('../fonts/GeneralSans-Medium.svg#GeneralSans-Medium') format('svg');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'General Sans';
  src: url('../fonts/GeneralSans-Regular.eot');
  src: url('../fonts/GeneralSans-Regular.eot?#iefix') format('embedded-opentype'),
      url('../fonts/GeneralSans-Regular.woff2') format('woff2'),
      url('../fonts/GeneralSans-Regular.woff') format('woff'),
      url('../fonts/GeneralSans-Regular.ttf') format('truetype'),
      url('../fonts/GeneralSans-Regular.svg#GeneralSans-Regular') format('svg');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}


/* --------------------------------------------- */



body {
  margin: 0;
  background-color: white;
}

#title-container{

  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 80px;
}

#title-container h1  {
  font-family: 'General Sans';
  font-weight: 500;
  font-size: 10px;
  text-transform: uppercase;
  color: #434344;
  padding:0px;
  margin:0px;
}

#container3D{
  display: flex;
  text-align: center;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  height: 60vh;

}

.qr-label, #messageContainer p {
  opacity:0.5;
  font-family: 'General Sans';
  font-weight: 500;
  font-size: 10px;
  text-transform: uppercase;
  color: #434344;
  padding: 0px;
  margin: 0px;
}

#messageContainer input {
  font-family: 'General Sans';
  font-weight: 500;
  font-size: 16px;
  color: #434344;
  margin-top:14px;
}

#qrCodeImage{
  width: 228px;
  height: auto;
  margin-top: 24px;
}
#gif-container{
  z-index: 3;
  position:absolute;
  width: 0px;
  height:auto;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  display:flex;
}

#gif-container img{
  z-index: 3;
  width:40px;
  height:auto;
  background: rgba(241, 241, 241, 0.5);
  backdrop-filter: saturate(180%) blur(10px);
  filter: drop-shadow(10px 10px 20px rgba(0, 0, 0, 1));
  border-radius: 10px;

}

#picker-label {
  opacity:0.5;
  margin-bottom: 14px;
  font-family: 'General Sans';
  font-weight: 500;
  font-size: 10px;
  text-transform: uppercase;
  /* color: #434344; */

}

#container3D canvas {
  width: 100vw !important;
  height: auto !important;
  position: relative;
  z-index: 1;

}



@supports (-webkit-backdrop-filter: none) or (backdrop-filter: none) {
  #gif-container img {
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
  }
}

#messageContainer {
  width: 100vw;
  text-align: center;
  /* display:flex;  */
  justify-content: center;
  align-items: center;
  flex-direction: column;
  height: 65vh;
  margin-top: 40px;
  margin-bottom:40px;
}

#qrCodeContainer {
  width: 100vw;
  text-align: center;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  height: 65vh;
  /* display:flex; */
}

#info-container{
  position: fixed; /* This can help with stacking context */
  z-index: 2; /* Higher than the canvas */
  /* margin-left: auto;
  margin-right: auto; */
  left: 0;
  right: 0;
  bottom: 80px;
  text-align: center;
}


#goBackButton, #launchARButton {
  cursor: pointer; /* To indicate the image is clickable */
  width: 300px; /* Adjust as needed */
  height: auto;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

#goBackButton:hover {
  color: #74C2F0;
  animation: pulseAnimation 0.8s ease-in-out;
}

#copyButton{
  margin-top:40px;
  z-index:100;
  width: 150px; 
  height: 50px;
  background-color:black;
  color:white;
  cursor: pointer; /* Indicate clickable */
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  flex-direction: row;
  border-radius:100px;
}

#copy-button-icon{
  width:14px;
  height:auto;
}


#messageContainer input {
  font-size: 13px;
  border-radius: 4px;
  line-height: 1.5;
  padding: 5px 10px;
  transition: box-shadow 100ms ease-in, border 100ms ease-in, background-color 100ms ease-in;
  border: 2px solid #EBEBEB;
  color: rgb(14, 14, 16);
  background: #F1F1F1;
  display: flex;
  height: 30px;
  width: 70vw;
  align-self: center;
}

#messageContainer input:hover{
  border-color: #6BABD2;
}

#messageContainer input:focus{
  border-color: #74C2F0;
  background: #fff;
}


#furniturePicker {
  display:flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  width: 140px;
}
.picker {
  display: flex;
  justify-content: space-around;
  margin: 10px;
}
#info-container{

  /* background: red; for debugging */
}

#info-container, #info-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  
}

#picker-container{
  background-color: #F1F1F1;
  border-radius: 100px; 
  border-width: 1px;
  border-color: #EBEBEB;
  padding: 2px;
  width: 140px;
  display:flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
}
.picker-item {
  width: 28px;
  height: 28px;
  border-radius: 50%; /* Makes the item circular */
  background-size: cover; /* Ensures the image covers the circle */
  cursor: pointer;
  border: 2px solid transparent; /* Default border */
  transition: border 0.3s ease-in-out; /* Smooth transition for the border */
 z-index:100;
 display: flex;
 justify-content: center;
 align-items: center;
}

.picker-image {
  width: 22px;
  height: 22px;
  border-radius: 50%; /* Makes the item circular */
  background-size: cover; /* Ensures the image covers the circle */
  cursor: pointer;
  border: 2px solid transparent; /* Default border */
  transition: border 0.3s ease-in-out; /* Smooth transition for the border */
  z-index:100;
  border: 2px solid white;
}



#launchArButton {
  margin-top:40px;
  z-index:100;
  width: 250px; 
  height: 50px;
  background-color:black;
  color:white;
  cursor: pointer; /* Indicate clickable */
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  flex-direction: row;
  border-radius:100px;
}

#launchArButton:hover{
  animation: pulseAnimation 0.8s ease-in-out;
  color: #272727;
}

.button-wrapper {
  display: flex;
  justify-content: start;
  align-items: center;
  flex-direction: row;
}

#button-icon{
  width:24px;
  height:auto;
}

#back-button-icon{
  width:8px;
  height:auto;
}

#button-cta, #copy-button-cta {
  margin-left: 8px;
  font-family: 'General Sans';
  font-weight: 300;
  font-size: 16px;
  color: white;
}

#copy-button-cta {
  margin-left: 8px;
  font-family: 'General Sans';
  font-weight: 300;
  font-size: 16px;
  color: white;
}


#back-button-cta{
  margin-left: 8px;
  font-family: 'General Sans';
  font-weight: 300;
  font-size: 16px;
  text-decoration: underline;
  color: #60A6CF;
}

.selected {
  border: 1px solid #282829; /* Red border for the selected item */
}

/* Animation for expanding and shrinking the border */
@keyframes borderAnimation {
  0% { transform: scale(1); }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

@keyframes pulseAnimation {
  0% { transform: scale(1); }
  50% { transform: scale(1.02); }
  100% { transform: scale(1); }
}

.animate-border{
  animation: borderAnimation 0.6s ease-in-out;
}


#loader {
  position: absolute;
  z-index: 4;
  margin: auto;
  margin-top: 150px;
  box-sizing: border-box;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 4px solid rgba(255, 255, 255, 0.1);
  transform-origin: 50% 50%;
  transform: perspective(200px) rotateX(66deg);
  animation: spinner-wiggle 1.2s infinite;
}
#loader:before,
#loader:after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  box-sizing: border-box;
  border: 4px solid #0000;
  animation: spinner-spin 1.2s cubic-bezier(0.6, 0.2, 0, 0.8) infinite,
    spinner-fade 1.2s linear infinite;
}
#loader:before {
  border-top-color: #fff;
}
#loader:after {
  border-top-color: black;
  /* animation-delay: 0.4s; */
}

@keyframes spinner-spin {
  100% { transform: rotate(360deg)}
}
@keyframes spinner-fade {
  25%, 75% { opacity: 0.1}
  50% { opacity: 1 }
}


@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  opacity: 0; /* Ensure it starts invisible */
  animation-name: fadeInUp;
  animation-duration: 1s;
  animation-fill-mode: forwards; /* Retain the final state */
}

/* Fade In*/
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.fade-in {
  animation: fadeIn 2s ease-out forwards;
}



/* QR Loader*/
#qr-wrapper{
  justify-content: center;
  align-items: center;
  flex-direction: column;
  display:flex;
}
.qr-loader {
  position: absolute; 
  z-index: 0;
  width: 48px;
  height: 48px;
  background: black;
  display: inline-block;
  border-radius: 50%;
  box-sizing: border-box;
  animation: animloader 1s ease-in infinite;
}

@keyframes animloader {
  0% {
    transform: scale(0);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 0;
  }
} 


/* */



/* Mobile */
@media only screen and (max-width: 450px) {
  #info-container {
    width: 100vw;
  } 

  
  
}

/* Tablets and iPads */
@media only screen and (max-width: 600px) {
  #info-container, #info-wrapper {
    width: 100vw !important;
  }
}

/* Small Screens and Laptops */
@media only screen and (max-width: 768px) {
  #info-wrapper {
    width: 500px;
  }
}

/* Desktops and large screens */
@media only screen and (max-width: 1024px) {
  #info-wrapper {
    width: 500px;
  }
}

/* Extra large screens, TV */
@media only screen and (min-width: 1201px) {
  #info-wrapper {
    width: 500px;
  }
}