
@font-face {
  font-family: 'TT Norms Pro, Light';
  src: url(static/fonts/TT_Norms_Pro_Light.otf);
}

html, body {
    width: 100vw;
    height: 100vh;
    margin: 0;
    padding: 0;
    background: transparent;
    color: white;
    font-family: "TT Norms Pro, Light", sans-serif;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
}

body {
  overflow: hidden;
}

h3 {
    text-align: center;
}
#niraEmbedContainer {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 0;
  margin: 0;
  padding: 0;
}

#niraEmbedContainer iframe {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 0;
  margin: 0;
  padding: 0;
}

@media screen and (max-width: 768px) {
  #configinputs_container {
    width: 100vw !important;
    top: 0 !important;
    left: 0;
    right: 0 !important;
  }

  .configinput input[type='text'],
  .configinput input[type='date'] {
    font-size: 16px;
  }

  .configinputs_container_expanded {
    height: calc(100vh - (100vh - 100%)) !important;
  }

  .configinputs_container_contracted {
    height: unset !important;
  }

  .configinputs_expanded {
    font-size: 1.2em !important;
  }

  .configinputs_contracted {
    width: calc(100% - 60px) !important;
  }

  .info_modal {
    left: 0 !important;
    top: 0 !important;
    transform: unset !important;
    width: calc(100vw - 20px) !important;
    height: calc(100vh - 10px) !important;
  }

  #contact_button_container {
    width: calc(100vw - 60px) !important;
    height: 20px !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    margin-top: 2px !important;
  }

  #share_button_container {
    width: calc(100vw - 60px) !important;
    height: 20px !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    margin-top: 2px !important;
  }
}

#share_button_container {
  visibility: hidden;
  cursor: pointer;
  background-color: #333333CC;
  padding: 14px;
  padding-left: 30px;
  padding-right: 30px;
  text-align: center;
  width: calc(100% - 60px);
  margin-top: 4px;

  backdrop-filter: blur(10px);
}

.share_button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #fff;
  text-transform: uppercase;
  justify-content: center;
}

#contact_button_container {
  visibility: hidden;
  cursor: pointer;
  background-color: #333333CC;
  padding: 14px;
  padding-left: 30px;
  padding-right: 30px;
  text-align: center;
  width: calc(100% - 60px);
  margin-top: 4px;

  backdrop-filter: blur(10px);
}

.contact_button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #fff;
  text-transform: uppercase;
  justify-content: center;
}

#configinputs {
  visibility: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  user-select: none;
  font-size: 1em;
  background-color: #333333CC;
  padding: 10px 30px;
  width: calc(100% - 60px);
  height: calc(100% - 60px);
  overflow-y: auto;

  backdrop-filter: blur(10px);

  scrollbar-width: thin;
  scrollbar-color: #686868 #333333;
}

#configinputs_container {
  visibility: hidden;
  position: fixed;
  right: 10px;
  top: 10px;
  height: calc(100vh - 16px);
  width: 380px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.configinputs_container_contracted {
  height: unset !important;
}

.configinputs_container_contracted #share_button_container {
  display: none;
}

.configinputs_container_contracted #contact_button_container {
  display: none;
}

*::-webkit-scrollbar {
  width: 12px;
}

*::-webkit-scrollbar-track {
  background: #333333;
}

*::-webkit-scrollbar-thumb {
  background-color: #686868;
  border-radius: 2px;
}

.configinputs_contracted {
  display: none !important;
}

.configinputs_title_container {
  padding: 12px 0;
  background-color: #333333CC;
  text-align: center;
  user-select: none;
}

.configinputs_title {
  text-decoration: underline;
  text-underline-position: under;
  text-transform: uppercase;
  text-align: center;
  font-size: 22px;
  margin: 0px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.control_icon {
  width: 20px;
  transform: rotate(180deg);
  filter: invert(0.9);
  cursor: pointer;
}

.control_icon_contracted {
  transform: unset;
  margin-top: 4px;
}

.configinput {
  padding: 20px 0;
  border-bottom: 1px solid white;
}

.configinput div:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.checkbox_root {
  position: relative;
}

.checkbox_root label {
  width: 25px;
  height: 25px;
  cursor: pointer;
  position: absolute;
  outline: 1px solid white;
  top: 0;
  left: 0;
}

.checkbox_root label:after {
  opacity: 0;
  content: '';
  position: absolute;
  width: 12px;
  height: 6px;
  background: transparent;
  top: 6px;
  left: 5px;
  border: 3px solid #fff;
  border-top: none;
  border-right: none;

  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

.checkbox_root input:checked + label:after {
  opacity: 1;
}

.configinput div:first-child div:first-child {
  display: flex;
  align-items: center;
  gap: 5px;
  text-transform: uppercase;
}

.configinput div:first-child div:first-child img {
  width: 20px;
  filter: invert(0.9);
}

.configinput div:first-child div:first-child span {
  margin-left: 4px;
}

select#tentsize, select#tentsize option {
  text-transform: none;
}

.configinput input[type='date'] {
  padding: 6px;
  width: 100%;
  background-color: inherit;
  color: #fff;
  margin-top: 10px;
  border: 1px solid white;
  text-align: center;
  display:block;
  -webkit-appearance: textfield;
  -moz-appearance: textfield;
  min-height: 2.375rem;
}

.configinput input[type='text'] {
  width: 100%;
  background-color: inherit;
  color: #fff;
  margin-top: 10px;
  border: 1px solid white;
  text-align: center;
  padding: 6px;
}

.configinput select {
  width: 100%;
  margin-top: 10px;
  padding: 5px;
  font-size: 14px;
  text-align: center;
  text-transform: uppercase;
  background-color: #333333;
  color: #fff;
  border: 1px solid white;
}

.configinput select option {
  font-size: 15px;
}

.configinput:last-child {
  border-bottom: unset;
}

#configinputs input[type='checkbox'] {
  width: 25px;
  height: 25px;
  margin: 0;
  visibility: hidden;
}

.share_button img {
  width: 20px;
  margin-bottom: 3px;
  filter: invert(0.9);
}

.contact_button img {
  width: 20px;
  margin-bottom: 3px;
  filter: invert(0.9);
}

#copied_to_clipboard_label {
  justify-content: center;
  display: inline-flex;
  align-items: flex-start;
  gap: 5px;
  text-transform: uppercase;
}

#copied_to_clipboard_label img {
  margin-bottom: -3px;
  width: 20px;
  filter: invert(0.9);
}

.info_button {
  cursor: pointer;
}

.info_modal_background {
  position: relative;
  width: 100vw;
  height: 100vh;
  background-color: #00000088;
  backdrop-filter: blur(10px);
  overflow: hidden;
  z-index: 2;
}

.info_modal {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 350px;
  padding: 5px 10px;
  background-color: #222222cc;
  overflow-y: auto;
  z-index: 3;
  visibility: hidden;

  scrollbar-width: thin;
  scrollbar-color: #686868 #333333;
}

.info_modal_content {
  text-align: center;
  width: 85%;
  margin: auto;
}

.info_modal_title_bar {
  position: sticky;
  top: 0;
  height: 0;
  overflow: visible;
}

.info_modal_close_button img {
  cursor: pointer;
  filter: invert(0.9);
  width: 20px;
  position: absolute;
  right: 10px;
  top: 16px;
}

.contact_modal_close_button img {
  cursor: pointer;
  filter: invert(0.9);
  width: 22px;
  vertical-align: bottom;
  padding-right: 6px;
}

.contact_modal {
  position: absolute;
  left: 0;
  top: 0;
  width: 100vw;
  height: calc(100vh - 48px);
  background-color: #222222cc;
  z-index: 3;
  visibility: hidden;

  scrollbar-width: thin;
  scrollbar-color: #686868 #333333;
}

.contact_modal_content {
  text-align: center;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}

.contact_modal_bottom_bar {
  position: fixed;
  bottom: 0;
  overflow: visible;
  background-color: #282828;
  width: 100%;
  cursor: pointer;
  height: 48px;
  font-size: 22px;
  text-align: center;
  border-top: 1px solid black;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

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

#iframe_loader_container {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#loading_spinner {
  animation: spin 2s linear infinite;
  filter: invert(0.9);
  width: 28px;
}

#contact_form_iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  background: transparent;
}
