html, body{
  padding: 0;
  margin: 0;
  width: 100%;
  min-height: 100%;
  height: auto;
  overflow: auto; /* this hides the scroll bar on iframe page when not needed */
  align-items: left;
  align-content: top;
  background-color: rgba(31, 31, 31, 0.2)!important;  /* this controls the modal background transparency */
}

#root {
  padding: 0;
  margin: 0;
  width: 100%;
  height: 100%;
  overflow: auto; /* this hides the scroll bar on iframe page when not needed */
  align-items: left;
  align-content: top;
  background-color: black;
}

canvas {
  width: 100vw !important;
  height: 100vh !important;
}

a {
  color:#fff;
  font-weight: 700;
}

/*body.loading {
  overflow: hidden;
}*/

.branding{
  display: none;
  z-index: 1000;
  visibility: visible;
  color: white;
  margin-left: 50px;
  top:10;
  position:fixed;
}

.logo {
  font-family: "Lay Grotesk";
  font-style: normal;
  font-weight: 300;
  align-items: top!important;
  font-size: 2rem!important;
  line-height: 1;
  letter-spacing: -.1rem;
  margin-bottom:1rem;
}

.h1 {
  font-family: "Lay Grotesk";
  font-style: normal;
  font-weight: 300;
  align-items: top!important;
  font-size: 2rem!important;
  line-height: 1.2;
  letter-spacing: -.1rem;
  margin-bottom:1rem;
}

.h3 {
  font-family: "Lay Grotesk";
  font-weight: 100;
  font-size:10px!important;
}

/* Modal Styling */
.App {
  text-align: center;
  padding-top: 2rem;
}

.modal-overlay {
  position: fixed;
  top: -30px;
  left: 0;
  z-index: 2040;
  width: 100vw;
  height: 100vh;
}

.modal-overlay h1, p{
  margin-top:40px;
  margin-left:14px;
  margin-right:14px;
  margin-bottom:30px;
}

.iframe {
  position: fixed;
  background: rgba(245, 241, 241, 0.3); 
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height:100%;
}

.modal-wrapper {
  display: none;
  position: fixed;
  background: transparent;
  top: 0;
  left: 0;
  z-index: 1050;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  outline: 0;
}

.modal {
  display: none;
  background: transparent;
  margin: 1.75rem auto;
  border-radius: 3px;
  max-width: 500px;
  height:400px;
  padding: 2rem;
}

.modal-content {
  display: none;
  background: transparent;
  max-width: 500px;
  height: 400px;
  border: 0px red;
  z-index: 2075;
}

.modal-header {
  display: flex;
  justify-content: flex-end;
}

.modal-close-button {
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1em;
  color: #a70909;
  border: 1px;
  border-color:#a70909;
  opacity: .9;
  cursor: pointer;
  border: 0px;
  display: block;
  flex-wrap: end;
  z-index: 20000;
  margin-left:96vw;
  position:inherit;
  margin-top:50px;
}

button {
  font-size: 1.4rem;
  font-weight: 700;
  border: none;
  border-radius: 3px;
  padding: .3rem .8rem;
  margin-left: 96vw;
  margin-top:4px;
}

.button-default {
  background: #247BA0;
  color: #fff;
}

/* Typewriter  Effect */
.typed-cursor {
  font-weight: 700;
  font-family:monospace;
  box-shadow: 0px 1px;
  font-size: 1.3em;
}

.lifted-text {
  position: relative;
  font-size: 26px; /* adjust font size as needed */
  font-family: "Lay Grotesk"; /* adjust font family as needed */
  transform: translateY(5px); /* adjust lift height */
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* New Modal Styles */
/* modal for polaroid */
.modal__bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(28, 28, 28, 0.19);
  backdrop-filter: blur(6px);
  opacity: 1;
  animation-timing-function: ease-out;
  animation-duration: 0.3s;
  animation-name: modal-video;
  -webkit-transition: opacity 0.3s ease-out;
  -moz-transition: opacity 0.3s ease-out;
  -ms-transition: opacity 0.3s ease-out;
  -o-transition: opacity 0.3s ease-out;
  transition: opacity 0.3s ease-out;
  z-index: 100;
}

.modal__align {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.modal__content {
  width: 800px;
  height: 500px;
  box-shadow: 0px 100px 80px rgba(184, 184, 184, 0.07),
    0px 25.8162px 19px 4px rgba(178, 178, 178, 0.0456112),
    0px 7.779px 7.30492px rgba(0, 0, 0, 0.035),
    0px 1.48838px 2.0843px rgba(0, 0, 0, 0.0243888);
  border-radius: 20px;
  background: transparent;
  color: #000;
  margin: 0rem 4rem;
}

.modal__close {
  background-color: white;
  border-radius: 50%;
  cursor: pointer;
  position: relative;
  bottom: 50px;
  width: 32px;
  height: 32px;
  padding: 0;
}

.modal__video-align {
  display: flex;
  position: relative;
  bottom: 37px;
}

.modal__video-style {
  border-radius: 20px;
  z-index: 100;
}

.modal__spinner {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.modal__spinner {
  animation: spin 2s linear infinite;
  font-size: 40px;
  color: #1b6aae;
}

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

@media screen and (max-width: 800px) {
  .modal__content {
    margin: 0rem 1rem;
    width: 100%;
  }
  .modal__video-style {
    width: 100%;
  }
}

@media screen and (max-width: 499px) {
  .modal__content {
    background: transparent;
    height: auto;
  }
  .modal__video-align {
    bottom: 0px;
  }
  .modal__video-style {
    height: auto;
  }
}

/* Mobile fullscreen video styles */
@media screen and (max-width: 1024px) and (orientation: landscape) {
  body.mobile-video-fullscreen {
    overflow: hidden;
    margin: 0;
    padding: 0;
    background: black;
  }

  body.mobile-video-fullscreen .site {
    min-height: 100vh;
    height: 100vh;
    display: flex;
    flex-direction: column;
    background: black;
  }

  body.mobile-video-fullscreen .main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    width: 100%;
    padding: 0;
    margin: 0;
    background: black;
  }

  body.mobile-video-fullscreen .container,
  body.mobile-video-fullscreen .main > div {
    width: 100%;
    height: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
  }

  body.mobile-video-fullscreen video {
    width: 100vw;
    height: 100vh;
    object-fit: contain;
    background: black;
  }

  body.mobile-video-fullscreen .site__footer {
    position: absolute;
    bottom: 10px;
    right: 10px;
    height: auto;
    padding: 5px 10px;
    background: rgba(0,0,0,0.5);
    border-radius: 4px;
    font-size: 0.8rem;
    color: white;
  }

  body.mobile-video-fullscreen .site__footer p {
    margin: 0;
  }
}