*, ::after, ::before {
  box-sizing: border-box;
  font-family: "YRTWideRule", serif;
}

body {
  margin: 0;
  border: none;
  padding: 0;
  background-color: #29247E;
  /* overflow: hidden; */
}

/* Modal */

.modal {
  position: absolute;
  width: 100vw;
  height: 100dvh;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 200;
}

.modal-content {
  margin: 0 1rem;
  background-color: #29247E;
  border-radius: 1.5rem;
  padding: 3rem 2rem;
  overflow-y: auto;
  max-height: 80vh;
}

.modal-content .diageo  {
  max-width: 352px;
  margin-top: 1rem;
}
.modal-content .logo  {
  width: 300px;
  margin: 0 auto 2rem;
  display: block;

}

.modal-content-steps {
  border: 1px solid #E2C484;
  max-width: 320px;
  border-radius: 1.5rem;
  padding: 1rem;
  text-align: center;
  margin: 1rem;
  color: #ffffff;
}
.modal-content-steps ul, .modal-content-steps ol{
  list-style-position: inside;
  margin: 0;
  padding: 0;
}
.modal-content-steps ol{
  list-style-type: decimal;
}
.modal-content-steps ul li, .modal-content-steps ol li{
  margin: 1rem 0;
}
.modal-content-actions{
  text-align: center;
}

.modal-content-actions button {
  background-color: #FF760E;
  color: #ffffff;
  border-radius: 1.5rem;
  padding: 0.5rem 1.5rem;
  font-size: 20px;
  margin: 1rem 0 0;
  border: none;
}
.modal .bg {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: -1;
}

.container-scene {
  width: 100vw;
  height: 100vh;
  position: relative;
  overflow: hidden;
}

.startExperience {
  height: 100vh;
  display: grid;
  place-content: center;
  overflow: hidden;
}

.startExperience__content {
  z-index: 200;
  background-color: red;
  padding: 20px;
  border-radius: 20px;
}
.hidden {
  display: none;
}

/* canvas {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
} */
video, canvas {
  width: 100%; /* or a desired percentage */
  height: auto; /* Maintains aspect ratio */
  object-fit: cover; /* Prevents cropping but fills the container */
}
/* video {
  aspect-ratio: 9/16;
  width: 100%;
  height: 100%;
  object-fit: cover;
} */


img {
  max-width: 100%;
  height: auto;
  width: auto;
  vertical-align: middle;
}

/* Camera */
.camera-actions {
  position: fixed;
  bottom: 20px;
  z-index: 100;
  width: 100%;
  text-align: center;
}

.camera-actions button {
  background-color: #d11818;
  border: 5px solid #ffffff;
  padding: 2rem;
  border-radius: 50%;
}

.camera-actions .timer {
  background: rgba(0, 0, 0, 0.5);
  border-radius: 15px;
  display: flex;
  align-items: center;
  padding: 0.3rem 0.7rem;
  color: #E2C484;
  position: absolute;
  top: 50%;
  left: calc(50% - 74px);
  transform: translate(-50%, -50%);
}

/* Utils */
@font-face {
  font-family: "YRTWideRule";
  src: url(statics/YRTWideRule.otf);
  font-weight: normal;
}

.loader {
  width: 20px;
  height: 20px;
  border: 2px solid #29247e;
  border-top: 2px solid #ff760e;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  display: block;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
.hidden {
  display: none;
}