* {
  box-sizing: border-box;
  margin: 0px;
  padding: 0px;
  border: 0px;
  font-family: "Figtree", sans-serif;
}

html,
body {
  height: 100%;
  width: 100%;
  margin: 0px;
  padding: 0px;
  overflow: hidden;
  -webkit-touch-callout: none;
  -webkit-text-size-adjust: none;
}

:root {
  /* BACK BUTTON */
  --button_back_text: rgb(255, 255, 255);
  --button_back_background: rgb(30, 30, 30);
  --button_back_background_hover: rgb(40, 40, 40);
  --button_back_background_active: rgb(30, 30, 30);

  /* CLOSE BUTTON */
  --button_close_fill: rgb(255, 255, 255);
  --button_close_fill_hover: rgb(245, 245, 245);
  --button_close_fill_active: rgb(235, 235, 235);

  /* SLIDER */
  --slider_background: rgb(130, 130, 130);
  --slider_text: rgb(255, 255, 255);
  --slider_text_hover: rgb(235, 235, 235);
  --slider_text_active: rgb(215, 215, 215);
  --slider_track: rgb(240, 240, 240);
  --slider_items: rgb(190, 46, 46);
  --slider_items_hover: rgb(165, 39, 39);
  --slider_items_active: rgb(133, 31, 31);

  /* OVERLAY */
  --overlay_background: rgba(190, 46, 46, 0.5);

  /* VIEWER */
  --viewer_text: rgb(255, 255, 255);

  /* LABEL & LABEL AREA */
  --label_text: rgb(255, 255, 255);
  --label_background: rgb(30, 30, 30);
  --label_background_hover: rgb(40, 40, 40);
  --label_background_active: rgb(30, 30, 30);

  /* SETTINGS HEAD */
  --settings_head_text: rgb(255, 255, 255);
  --settings_head_background: rgb(30, 30, 30);

  /* SETTINGS CONTENT */
  --settings_content_text: rgb(255, 255, 255);
  --settings_content_background: rgb(40, 40, 40);

  /* MESSAGE SMALL */
  --message_small_text: var(--darktext1);
  --message_small_background: var(--darkgray1);

  /* MESSAGE LARGE */
  --message_large_text: rgb(255, 255, 255);
  --message_large_link: rgb(200, 200, 200);
  --message_large_background: rgb(30, 30, 30);

  /* REFERENCE */
  --reference_title: rgb(255, 255, 255);
  --reference_background: rgb(30, 30, 30);
  --reference_background_hover: rgb(40, 40, 40);
  --reference_background_active: rgb(30, 30, 30);

  /* POINT */
  --point_path: rgb(255, 255, 255);
  --point_border: rgb(30, 30, 30);
  --point_border_hover: rgb(40, 40, 40);
  --point_border_active: rgb(30, 30, 30);
  --point_clicked_background: rgb(30, 30, 30);

  /* MODAL HEAD*/
  --modal_head_text: rgb(255, 255, 255);
  --modal_head_background: rgb(30, 30, 30);
  --modal_head_background_hover: rgb(40, 40, 40);
  --modal_head_background_active: rgb(30, 30, 30);

  /* MODAL CONTENT */
  --modal_content_text: rgb(255, 255, 255);
  --modal_content_background: rgb(40, 40, 40);

  /* MODAL BUTTON */
  --modal_button_text: rgb(255, 255, 255);
  --modal_button_background_hover: rgb(35, 35, 35);
  --modal_button_background_active: rgb(30, 30, 30);

  /* MODAL FILTER */
  --modal_checkbox_background: rgb(30, 30, 30);
  --modal_checkbox_checkmark: rgb(255, 255, 255);
}

.center {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* MAIN */

.main_scroll {
  position: relative;
  display: flex;
  justify-content: flex-start; /* Prevent centering here */
  align-items: center;
  width: 100vw; /* Full viewport width */
  height: 100vh; /* Full viewport height */
  overflow-x: scroll; /* Enable horizontal scrolling */
  overflow-y: hidden; /* Disable vertical scrolling */
  scroll-behavior: smooth;
  overscroll-behavior: none; /* Prevent bounce effect horizontally */
  touch-action: pan-x; /* Restrict scrolling to horizontal direction */
  -webkit-overflow-scrolling: touch; /* Enable smooth scrolling on iOS */
}

.main1 {
  position: relative;
  min-width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.main_test {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.main1 img {
  position: absolute;
  top: 0;
  left: 0;
  min-width: 100%;
  height: 100%;
  object-fit: cover;
}

.main video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cls-1 {
  fill: rgba(255, 255, 255, 0);
  z-index: 50;
  stroke-width: 0px;
  stroke: rgba(255, 255, 255, 1);
}

.cls-1:hover {
  fill: rgba(194, 76, 76, 0.4);
  stroke-width: 1px;
  stroke: rgba(255, 255, 255, 1);
}

.cls-1:active {
  fill: rgba(194, 76, 76, 0.6);
}

/* HIDE SCROLLBAR */
.hide-scrollbar {
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* Internet Explorer 10+ */
}

.hide-scrollbar::-webkit-scrollbar {
  display: none; /* Chrome, Safari, and Edge */
}

/* MAIN */

.main_1 {
  display: flex;
  width: 100%;
  height: 100%;
}

.main_2 {
  display: none;
  width: 100%;
  height: 100%;
}

/* SEQUENCES */

.labels {
  display: none;
}

.area1_sequences {
  display: none;
}
.area1_sequence2_points {
  display: none;
}
.area1_sequence3_points {
  display: none;
}
.area1_sequence4_points {
  display: none;
}

.area2_sequences {
  display: none;
}
.area2_sequence2_points {
  display: none;
}
.area2_sequence3_points {
  display: none;
}
.area2_sequence4_points {
  display: none;
}

.area3_sequences {
  display: none;
}
.area3_sequence2_points {
  display: none;
}
.area3_sequence3_points {
  display: none;
}
.area3_sequence4_points {
  display: none;
}

.area4_sequences {
  display: none;
}
.area4_sequence2_points {
  display: none;
}
.area4_sequence3_points {
  display: none;
}
.area4_sequence4_points {
  display: none;
}

.area5_sequences {
  display: none;
}
.area5_sequence2_points {
  display: none;
}
.area5_sequence3_points {
  display: none;
}
.area5_sequence4_points {
  display: none;
}

/* CONTROLS BUILDING */

.controls {
  display: none;
  position: fixed;
  justify-content: center;
  align-items: center;
  height: 45px;
  width: auto;
  bottom: 70px;
  left: 50%;
  transform: translateX(-50%);
  gap: 10px;
  z-index: 80;
}

.main_controls {
  display: flex;
  position: relative;
  justify-content: center;
  align-items: center;
  width: auto;
  height: 100%;
}

.main_slider_title {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 40px;
  width: 80px;
  border-radius: 25px;
  position: absolute;
  left: 50%;
  bottom: 50px;
  transform: translateX(-50%);
  font-size: 0.9rem;
  font-weight: 600;
  color: black;
  background-color: var(--lightgray1);
  z-index: 10;
}

.main_slider_title:hover {
  background-color: var(--lightgray1_hover);
}

.main_slider_title:active {
  background-color: var(--lightgray1_active);
}

.main_slider_degree_right {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: auto;
  font-size: 0.9rem;
  color: var(--slider_text);
  font-weight: 600;
  padding-left: 0px;
  padding-right: 0px;
}

.main_slider_container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: auto;
  position: relative;
}

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 2px;
  border-radius: 5px;
  outline: none;
  position: relative;
  z-index: 1;
}

/* Track styling */
input[type="range"]::-webkit-slider-runnable-track {
  width: 100%;
  height: 2px;
  background-color: var(--slider_track);
}

input[type="range"]::-moz-range-track {
  width: 100%;
  height: 2px;
  background-color: var(--slider_track);
}

input[type="range"]::-ms-track {
  width: 100%;
  height: 2px;
  background-color: var(--slider_track);
  border: none;
}

/* Thumb styling */
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: var(--slider_items);
  cursor: pointer;
  margin-top: -8.5px;
}

input[type="range"]::-webkit-slider-thumb:hover {
  background-color: var(--slider_items_hover);
}

input[type="range"]::-webkit-slider-thumb:active {
  background-color: var(--slider_items_active);
}

input[type="range"]::-moz-range-thumb {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background-color: var(--slider_items);
  cursor: pointer;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

input[type="range"]::-moz-range-thumb:hover {
  background-color: var(--slider_items_hover);
}

input[type="range"]::-moz-range-thumb:active {
  background-color: var(--slider_items_active);
}

input[type="range"]::-ms-thumb {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background-color: var(--slider_items);
  cursor: pointer;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

input[type="range"]::-ms-thumb:hover {
  background-color: var(--slider_items_hover);
}

input[type="range"]::-ms-thumb:active {
  background-color: var(--slider_items_active);
}

.main_slider_button_container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 45px;
  width: 120px;
}

.main_slider_button {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  color: var(--slider_text);
  font-size: 1rem;
  font-weight: 600;
  border-radius: 30px;
  background-color: var(--slider_background);
}

.main_slider_button:hover {
  background-color: var(--slider_text_hover);
}

.main_slider_button:active {
  background-color: var(--slider_text_active);
}

.main_slider_container.curved {
  padding: 0;
  height: 100px;
}

.slider-dot {
  fill: white;
  cursor: pointer;
  transition: fill 0.2s ease;
}

.slider-dot.hover {
  fill: rgb(0, 0, 0);
}

text {
  transition: opacity 0.2s ease;
  user-select: none;
  pointer-events: none;
  font-weight: 700;
}

/* BUTTON BACK */

.btnBack_container {
  display: none;
  position: fixed;
  justify-content: center;
  align-items: center;
  height: 45px;
  width: 400px;
  bottom: 50px;
  left: calc(50% - 200px);
  gap: 10px;
  z-index: 50;
}

.btnBack {
  display: flex;
  position: relative;
  justify-content: center;
  align-items: center;
  width: auto;
  padding-right: 20px;
  padding-left: 10px;
  height: 100%;
  gap: 0px;
  border-radius: 30px;
  background-color: var(--button_back_background);
}

.btnBack_title {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 50%;
  width: auto;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--button_back_text);
  background-color: var(--button_back_background);
}

.btnBack_title:hover {
  color: var(--button_back_background_hover);
}

.btnBack_title:active {
  color: var(--button_back_background_active);
}

.btnBack_icon {
  width: 28px;
  height: auto;
  padding: 10px;
  margin-right: 10px;
}

/* --- FILTER --- */

.option-group .group-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 6px;
  width: 100%;
  height: 100%;
  margin-bottom: 10px;
  margin-top: 10px;
  border: 1px white;
  cursor: pointer;
}

.group-header input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  background-color: var(--darkgray1);
  border: none;
  width: 30px;
  height: 30px;
  border-radius: 15px;
  margin-right: 10px;
  cursor: pointer;
  flex-shrink: 0;
  display: inline-block;
  position: relative;
  outline: none;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  background-image: none; /* default no image */
}

.group-header input[type="checkbox"]:checked {
  background-color: rgba(42, 42, 42, 1);
  background-image: url("https://content.beeldenfabriek.nl/assets/images/icons/beeldenfabriek/icon_beeldenfabriek_checkmark.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 14px 14px;
}

.header_toggle_title {
  flex-grow: 1;
  font-size: 1.2rem;
  font-weight: 500;
  display: flex;
  color: rgba(255, 255, 255, 1);
  align-items: center;
  cursor: pointer;
}

.filter_icon {
  width: 25px;
  height: 25px;
  object-fit: contain;
  padding-right: 5px;
}

.filter_title {
  display: block;
  text-align: center;
  position: relative;
  width: 100%;
  color: black;
  font-size: 1.2rem;
  font-weight: 500;
  padding-bottom: 15px;
}

/* panel closed by default */
.information.collapsed {
  transform: translateX(100%);
  transition: transform 0.3s ease;
}
.information.expanded {
  transform: translateX(0);
  transition: transform 0.3s ease;
}

/* hide/show helpers */
.hide {
  display: none !important;
}

.filter_btn_container {
  display: flex;
  justify-content: left;
  align-items: center;
  gap: 5px;
  height: 40px;
}
.filter_btn {
  display: inline-block;
  background-color: none;
  padding: 10px 15px;
  border-radius: 50px;
  color: var(--darktext1);
  background-color: transparent;
  font-size: 1rem;
  margin-right: 5px;
  background-color: var(--darkgray1);
}
.filter_btn:hover {
  background-color: var(--darkgray1_hover);
}
.filter_btn:active {
  background-color: var(--darkgray1_active);
}

#previous-item,
#next-item {
  display: none;
}

.clr_Appartementen,
.clr_Appartementen_filter {
  background-color: #773735;
  z-index: 50;
  border-radius: 50px;
}
.clr_Buurtplein,
.clr_Buurtplein_filter {
  background-color: #b9b74a;
  z-index: 50;
  border-radius: 50px;
}
.clr_Gezondheidscentrum,
.clr_Gezondheidscentrum_filter {
  background-color: #b33c3b;
  z-index: 50;
  border-radius: 50px;
}
.clr_Halte_OV,
.clr_Halte_OV_filter {
  background-color: #000000;
  z-index: 50;
  border-radius: 50px;
}
.clr_Kanaalweg,
.clr_Kanaalweg_filter {
  background-color: #7b964f;
  z-index: 50;
  border-radius: 50px;
}
.clr_Mobiliteitshub,
.clr_Mobiliteitshub_filter {
  background-color: #6b5e59;
  z-index: 50;
  border-radius: 50px;
}
.clr_Park,
.clr_Park_filter {
  background-color: #3f8c56;
  z-index: 50;
  border-radius: 50px;
}
.clr_School,
.clr_School_filter {
  background-color: #b75080;
  z-index: 50;
  border-radius: 50px;
}
.clr_Sporthal,
.clr_Sporthal_filter {
  background-color: #b56e3d;
  z-index: 50;
  border-radius: 50px;
}
.clr_Supermarkt,
.clr_Supermarkt_filter {
  background-color: #2c4883;
  z-index: 50;
  border-radius: 50px;
}
.clr_Waterverbinding,
.clr_Waterverbinding_filter {
  background-color: #3c87b7;
  z-index: 50;
  border-radius: 50px;
}
.clr_Wijkcultuurhuis,
.clr_Wijkcultuurhuis_filter {
  background-color: #483c7c;
  z-index: 50;
  border-radius: 50px;
}
.clr_Impressies,
.clr_Impressies_filter {
  background-color: #cccccc;
  z-index: 50;
  border-radius: 50px;
}
.clr_Labels,
.clr_Labels_filter {
  background-color: #202020;
  z-index: 50;
  border-radius: 50px;
}

.overlay6,
.overlay7,
.overlay8,
.overlay10,
.overlay11 {
  display: none;
}

/* FILTER COLORS */
.Appartementen,
.Buurtplein,
.Gezondheidscentrum,
.Halte_OV,
.Kanaalweg,
.Mobiliteitshub,
.Park,
.School,
.Sporthal,
.Supermarkt,
.Waterverbinding,
.Wijkcultuurhuis {
  display: flex;
}

.Appartementen {
  border-color: #ffffff !important;
  background-color: #773735 !important;
}
.Buurtplein {
  border-color: #ffffff !important;
  background-color: #b9b74a !important;
}
.Gezondheidscentrum {
  border-color: #ffffff !important;
  background-color: #b33c3b !important;
}
.Halte_OV {
  border-color: #ffffff !important;
  background-color: #000000 !important;
}
.Kanaalweg {
  border-color: #ffffff !important;
  background-color: #7b964f !important;
}
.Mobiliteitshub {
  border-color: #ffffff !important;
  background-color: #6b5e59 !important;
}
.Park {
  border-color: #ffffff !important;
  background-color: #3f8c56 !important;
}
.School {
  border-color: #ffffff !important;
  background-color: #b75080 !important;
}
.Sporthal {
  border-color: #ffffff !important;
  background-color: #b56e3d !important;
}
.Supermarkt {
  border-color: #ffffff !important;
  background-color: #2c4883 !important;
}
.Waterverbinding {
  border-color: #ffffff !important;
  background-color: #3c87b7 !important;
}
.Wijkcultuurhuis {
  border-color: #ffffff !important;
  background-color: #483c7c !important;
}

.filter_hidden {
  display: none !important;
}

/* MAIN STORY */

.main_story_container {
  display: none;
  position: fixed;
  top: 10px;
  right: 10px;
  width: 330px;
  height: auto;
  max-height: 90vh;
  z-index: 3000;
}

.main_story {
  position: relative;
  display: none;
  flex-direction: column;
  width: 100%;
  height: auto;
  background-color: var(--darkgray1);
  border-radius: 10px;
  border: 1px solid var(--darkgray2);
  margin-top: 10px;
}

.main_story:hover {
  border: 1px solid var(--darkgray2_hover);
}

.main_story_image {
  position: relative; /* Required for absolutely positioning the hover image */
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.main_story_image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.main_story_sequenceBtn {
  padding-bottom: 10px;
  padding-left: 10px;
  padding-right: 10px;
}

.main_story_sequenceBtn a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 40px;
  background-color: var(--darkgray2);
  border-radius: 5px;
  color: var(--darktext1);
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
}

.main_story_sequenceBtn a:hover {
  background-color: var(--darkgray2_hover);
}
.main_story_sequenceBtn a:active {
  background-color: var(--darkgray2_active);
}

.main_story_sequenceBtn button {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 40px;
  background-color: var(--darkgray2);
  border-radius: 5px;
  color: var(--darktext1);
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
}

.main_story_sequenceBtn button:hover {
  background-color: var(--darkgray2_hover);
}
.main_story_sequenceBtn button:active {
  background-color: var(--darkgray2_active);
}

/* Hover preview icon container */
.hover_preview {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: none; /* Hidden by default */
  z-index: 2;
  width: 30px;
  height: 30px;
  pointer-events: none; /* Ensures it doesn't interfere with hover */
}

/* Show preview only on hover */
.main_story_image:hover .hover_preview {
  display: block;
}

.close_btn_story {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 24px;
  height: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.3);
  z-index: 10;
  cursor: pointer;
}

.close_btn_story img {
  width: 14px;
  height: 14px;
  object-fit: contain;
}

.main_story_title_container {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  width: 100%;
  padding: 16px;
}

.main_story_status_container {
  display: block;
  height: 100%;
}

.main_story_status_text {
  font-size: 0.7rem;
  font-weight: 700;
  color: rgb(130, 130, 130);
  text-align: right;
}

.main_story_status {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--darktext1);
  text-align: right;
}

.main_story_title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--darktext1);
}

.main_story_link a {
  display: block;
  font-size: 1rem;
  font-weight: 500;
  color: var(--darktext1);
  text-decoration: none;
}

.main_story_link a:hover {
  text-decoration: underline;
  color: var(--darktext1);
}

.story_content {
  padding: 0 16px 12px;
  height: auto;
}

.main_story_text {
  font-size: 0.9rem;
  color: var(--darktext1);
}

.close_btn_story {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  width: 30px;
  height: 30px;
  right: 10px;
  top: 10px;
  margin-left: 13px;
  margin-right: 0px;
  border-radius: 50%;
  z-index: 10;
  background-color: var(--darkgray1);
}

.close_btn_story img {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

/* DRAG MODAL */

.modal {
  position: fixed;
  bottom: 0;
  right: 30px;
  width: 330px;
  height: 70px; /* Start at 70px of the screen */
  max-height: 80%; /* Max height is 80% of the screen */
  transition: height 0.3s ease; /* Add smooth transition */
  z-index: 95;
  border-top-left-radius: 25px;
  border-top-right-radius: 25px;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: row;
  padding-left: 10px;
  padding-right: 10px;
  height: 70px;
  position: relative;
  font-size: 1.2rem;
  color: var(--darktext1);
}

.header_container {
  display: block;
  text-align: center;
  width: 100%;
  cursor: pointer;
  border-top-left-radius: 25px;
  border-top-right-radius: 25px;
  background-color: rgb(30, 30, 30);
  border-bottom: 1px solid rgb(30, 30, 30);
}

.header_container:hover {
  background-color: rgb(20, 20, 20);
}

.icon_sharing {
  position: absolute;
  right: 0;
  top: 0;
  margin: 20px;
  width: 35px;
  height: 35px;
}

.drag_container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.drag-handle {
  width: 30px;
  height: 5px;
  transform: translateY(15px);
  background-color: var(--modal_head_text);
  border-radius: 5px;
}

.modal-content {
  overflow: scroll;
  height: 100%;
  background-color: rgb(50, 50, 50);
}

.scroll-container {
  overflow-y: auto;
  height: auto%;
}

.project_title_container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 80%;
  height: 100%;
}

.project_title {
  font-weight: 500;
  color: var(--modal_head_text);
  user-select: none;
}

.project_settings_icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 20px;
  height: 20px;
  margin-left: 18px;
  margin-right: 13px;
  border-radius: 50%;
  z-index: 10;
  background-color: rgba(0, 0, 0, 0);
}

.project_settings_icon img {
  width: 25px;
  height: 25px;
  object-fit: contain;
}

.project_sound {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 22px;
  height: 22px;
  margin-left: 13px;
  margin-right: 13px;
  border-radius: 50%;
  z-index: 10;
  background-color: rgba(0, 0, 0, 0);
}

.project_sound img {
  width: 25px;
  height: 25px;
  object-fit: contain;
}

/* MAIN MESSAGE */

.main_message_container {
  display: none;
  position: fixed;
  justify-content: center;
  align-items: start;
  width: 300px;
  height: auto;
  top: 15px;
  left: calc(50% - 150px);
  z-index: 3000;
}

.main_message {
  width: 300px;
  height: auto;
  padding: 12px;
  border-radius: 15px;
  background-color: var(--darkgray1);
}

.main_title {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  width: 90%;
  color: var(--darktext1);
}

.main_text {
  display: block;
  font-size: 0.8rem;
  font-weight: 400;
  margin-top: 5px;
  color: var(--darktext1);
}

.main_link {
  display: block;
  margin-top: 3px;
}

.main_link a {
  font-size: 0.8rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--darktext1);
}

.main_link a:hover {
  text-decoration: underline;
}

.main_link a:active {
  text-decoration: none;
}

.close_btn {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  width: 25px;
  height: 25px;
  right: 6px;
  top: 6px;
  margin-left: 13px;
  margin-right: 0px;
  border-radius: 50%;
  z-index: 10;
  background-color: var(--darkgray2);
}

.close_btn:hover {
  background-color: var(--darkgray2_hover);
}

.close_btn:active {
  background-color: var(--darkgray2_active);
}

.close_btn img {
  width: 15px;
  height: 15px;
  object-fit: contain;
}

/* LOGO */

.logo {
  display: flex;
  position: fixed;
  justify-items: center;
  align-items: center;
  width: 200px;
  height: 40px;
  top: 30px;
  left: 30px;
  z-index: 70;
  gap: 10px;
}

.logo img {
  width: auto;
  height: 35px;
  object-fit: contain;
}

.source {
  display: inline;
  z-index: 90;
  font-size: 18px;
  color: rgb(255, 255, 255);
}

.logo_client {
  display: none;
  justify-content: end;
  align-items: center;
  position: fixed;
  width: auto;
  top: 30px;
  right: 30px;
}

.logo_client img {
  width: auto;
  height: 35px;
  object-fit: contain;
}

/* LABEL AREA */

.label_area {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  width: auto;
  height: 30px;
  padding-top: 0px;
  padding-right: 10px;
  padding-bottom: 0px;
  padding-left: 10px;
  border-radius: 7px;
  z-index: 75;
  background-color: var(--darkgray1);
}

.label_area::after {
  content: "";
  display: block;
  width: 2px; /* Thickness of the vertical line */
  height: 10vh; /* Length of the vertical line */
  background-color: rgba(255, 255, 255, 0.7); /* Color of the line */
  position: absolute; /* Position relative to the label */
  left: 50%; /* Align the line to the center horizontally */
  transform: translateX(-50%); /* Ensure it's perfectly centered */
  top: 100%; /* Start at the bottom edge of the label */
}

.label_anchor {
  position: absolute;
  transform: translate(-50%, 0);
  z-index: 70;
  display: block;
  pointer-events: none;
}

.label_anchor > .label {
  pointer-events: auto;
}

.label_anchor::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0px;
  z-index: -1;
  pointer-events: none;
}

.label_anchor::after {
  content: "";
  position: absolute;
  height: 10px;
  width: 10px;
  border-radius: 5px;
  background: black;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

.label_view {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: absolute;
  width: auto;
  height: auto;
  padding: 0;
  border-radius: 20px;
  z-index: 80;
  background-color: transparent;
}

.label_view img {
  display: inline;
  position: relative;
  float: left;
  width: 45px;
  height: 45px;
  padding: 7px;
  min-width: auto;
  object-fit: contain;
}

/* LABELS */

.label {
  position: relative;
  bottom: 10vh; /* Move label upward (same as ::after height) */
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 3px 5px;
  border-radius: 5px;
  z-index: 75;
  background-color: var(--darkgray1);
  border: 1px solid transparent;
}

.label:hover {
  background-color: rgb(50, 50, 50);
  color: rgb(30, 30, 30);
}
.label:active {
  background-color: rgb(30, 30, 30);
}

.label::after {
  content: "";
  position: absolute;
  top: 100%; /* Directly below the label */
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 10vh;
  background-color: rgba(0, 0, 0, 1);
}

.label_start {
  background-color: var(--label_background);
}

.label_start:hover {
  background-color: var(--label_background_hover);
}

.label_start:active {
  background-color: var(--label_background_active);
}

.label_image {
  background-color: rgb(30, 30, 30);
  border-radius: 50px;
  margin: 5px;
}

.label img {
  display: none;
  position: relative;
  float: left;
  width: 25px;
  height: 25px;
  padding: 10px;
  object-fit: contain;
}

.label_area img {
  display: none;
  position: relative;
  float: left;
  width: 35px;
  height: 35px;
  padding: 7px;
  min-width: auto;
  object-fit: contain;
}

.label_container {
  display: inline;
  position: relative;
  width: auto;
  height: auto;
  float: right;
}

.label_title {
  display: block;
  position: relative;
  text-align: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: rgb(255, 255, 255);
}

.label_view:hover .label_title {
  background-color: var(--darkgray2_hover); /* Highlight on hover */
}

.label_view_title {
  display: block;
  position: relative;
  text-align: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: rgb(255, 255, 255);
  background-color: rgb(30, 30, 30);
  padding: 4px 8px;
  border-radius: 20px;
  border: 1px solid transparent;
}

.label_view_title:hover {
  background-color: rgb(50, 50, 50);
}

.label_view_title:active {
  background-color: rgb(30, 30, 30);
}

.label_status {
  display: block;
  position: relative;
  text-align: center;
  font-size: 0.5rem;
  font-weight: 500;
  color: rgb(255, 255, 255);
}

/* POINTS */

.point {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  width: 30px;
  height: 30px;
  border: 2px solid var(--point_border);
  border-radius: 50%;
  z-index: 10;
  background-color: var(--point_border);
}

.point svg path {
  fill: var(--point_path);
}

.point:hover {
  border: 3px solid var(--point_border_hover);
}

.point svg path:hover {
  fill: var(--point_path);
  border: 2px solid var(--point_border_hover);
}

.point:active {
  border: 2px solid var(--point_border_active);
}

.point svg path:active {
  fill: var(--point_path);
  border: 2px solid var(--point_border_active);
}

.point.clicked {
  background-color: var(--point_clicked_background) !important;
  border: 2px solid var(--point_clicked_background) !important;
}

.point.clicked svg path {
  fill: var(--point_path) !important;
}

/* REFERENCE */

.reference {
  display: none;
  position: fixed;
  justify-content: start;
  align-items: center;
  height: 35px;
  width: 175px;
  top: 25px;
  left: calc(50% - 82px);
  text-decoration: none;
  gap: 10px;
  border-radius: 20px;
  z-index: 60;
  background-color: var(--reference_background);
}

.reference:hover {
  background-color: var(--reference_background_hover);
}

.reference:active {
  background-color: var(--reference_background_active);
}

.reference_icon_link {
  width: 16px;
  height: auto;
  margin-left: 12px;
}

.reference_title {
  color: var(--reference_title);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
}

.reference_title:hover {
  color: var(--reference_title);
}

.reference_title:active {
  color: var(--reference_title);
}

.reference_icon_right {
  width: 8px;
  height: auto;
}

/* VIEWER */

.viewer {
  display: none;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  max-width: 100vw;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 5000;
}

.viewer_content {
  display: flex;
  position: relative;
  justify-content: center;
  align-items: center;
  width: auto;
  margin-left: 40px;
  margin-right: 40px;
  height: calc(100% - 80px);
}

.viewer_image_container,
.viewer_video_container {
  position: relative;
  display: none;
  width: 100%;
  height: 100%;
}

.viewer_vr_container {
  display: none;
  width: calc(100vw - 80px);
  height: 100%;
}

.viewer_image {
  display: block;
  width: auto;
  max-width: 100vw;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.viewer_video {
  display: block;
  width: auto;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.viewer_vr {
  display: block;
  height: 100%;
  width: 100%;
  border-radius: 10px;
}

.viewer_image_info {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-direction: column;
  position: absolute;
  bottom: 0;
  left: 0;
  height: 80px;
  width: 100%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.8) 100%);
  z-index: 100;
  gap: 5px;
  border-bottom-right-radius: 10px;
  border-bottom-left-radius: 10px;
}

.viewer_image_title {
  color: var(--viewer_text);
  padding-left: 20px;
  font-size: 1.2rem;
  font-weight: 600;
}

.viewer_image_text {
  color: var(--viewer_text);
  padding-left: 20px;
  font-size: 1rem;
}

.close_btn_viewer_image {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 20px;
  margin-left: 13px;
  margin-right: 0px;
  z-index: 100;
  background-color: var(--darkgray1);
  cursor: pointer;
}

.close_btn_viewer_image:hover {
  background-color: var(--darkgray1_hover);
}

.close_btn_viewer_image:active {
  background-color: var(--darkgray1_active);
}

.close_btn_viewer_image img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

/* SETTINGS */

.settings {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: none; /* stays hidden until shown */
  z-index: 3000;
  pointer-events: auto;
}

.settings_container {
  width: 500px;
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);

  display: flex;
  flex-direction: column; /* stack topbar and content vertically */
}

.settings_topbar {
  display: block;
  width: 500px;
  height: 50px;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
  background-color: var(--darkgray1);
}

.settings_title_container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}

.settings_title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--darktext1);
}

.settings_content {
  display: flex;
  justify-content: start;
  flex-direction: column;
  align-items: flex-start;
  width: 500px;
  height: auto;
  padding: 25px;
  border-top: 1px solid var(--darkgray2);
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
  background-color: var(--darkgray2);
}

.main_settings_text {
  display: block;
  width: 100%;
  height: auto;
  font-weight: 400;
  font-size: 1.1rem;
  padding-bottom: 10px;
  color: var(--darktext1);
}

.main_settings_link a {
  display: block;
  width: 100%;
  height: auto;
  font-size: 0.9rem;
  color: var(--darktext1);
  text-decoration: none;
}

.main_settings_link a:hover {
  text-decoration: underline;
}

.close_btn_settings_image {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 8px;
  right: 8px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  z-index: 100;
  background-color: var(--darkgray2);
}

.close_btn_settings_image img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.close_btn_settings_image:hover {
  background-color: var(--darkgray2_hover);
}

.close_btn_settings_image:active {
  background-color: var(--darkgray2_active);
}

@media screen and (max-width: 950px) {
  .intro {
    display: none;
    position: fixed;
    justify-content: center;
    align-items: center;
    height: 45px;
    width: auto;
    left: 50%;
    bottom: 20px;
    transform: translateX(-50%);
    white-space: nowrap; /* Prevents text from wrapping to a new line */
  }

  .main_intro_project {
    font-size: 1rem;
  }

  .project_settings_icon_status {
    padding: 1px;
  }

  .project_settings_icon {
    width: 25px;
    height: 25px;
  }

  .project_sound_status {
    padding: 2px;
  }

  .project_sound {
    width: 27px;
    height: 27px;
  }

  /* AREA */

  .label_area {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    width: auto;
    height: 30px;
    padding-top: 0px;
    padding-right: 10px;
    padding-bottom: 0px;
    padding-left: 10px;
    border-radius: 7px;
    z-index: 75;
    background-color: var(--label_background);
    /*pointer-events: none;*/
  }

  .label_area img {
    display: none;
    position: relative;
    float: left;
    width: 32px;
    height: 32px;
    padding: 7px;
    object-fit: contain;
  }

  .label_title {
    font-size: 0.7rem;
  }

  .label_status {
    font-size: 0.5rem;
  }

  .label_area::after {
    height: 7vh; /* Length of the vertical line */
  }

  .cls-1 {
    display: inline-block; /* Ensure it's not hidden */
    stroke-width: 1px;
    stroke: rgba(255, 255, 255, 1);
  }

  .controls {
    bottom: 10%;
  }

  .main_controls {
    width: auto;
  }

  .main_message_container {
    width: 94%;
    left: 3%;
  }

  .main_message {
    position: relative;
    width: 300px;
  }

  .main_message_title {
    font-size: 1.2rem;
  }

  .main_message_text {
    font-size: 1rem;
    margin-top: 7px;
  }

  .main_message_link {
    margin-top: 7px;
  }

  .main_message_link a {
    font-size: 1rem;
  }

  .viewer img {
    object-fit: contain;
  }

  .close_btn {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 10px;
    right: 10px;
    width: 29px;
    height: 29px;
    border-radius: 50%;
  }

  /* VIEWER */

  .viewer_content {
    width: 100%;
    height: 100%;
  }

  .viewer_image_container,
  .viewer_video_container,
  .viewer_vr_container {
    display: none;
    width: 100vw;
    height: 100vh;
  }

  .viewer_image {
    border-radius: 0px;
    width: 100%;
  }

  .viewer_video {
    border-radius: 0px;
  }

  .viewer_vr {
    border-radius: 0px;
  }

  .viewer_image_info {
    border-bottom-right-radius: 0px;
    border-bottom-left-radius: 0px;
  }

  .close_btn_viewer_image {
    right: 30px;
    top: 30px;
  }

  .main_slider_container.curved svg {
    width: auto;
    padding: 5px;
  }

  /* SETTINGS */

  .settings {
    width: 94%;
    height: auto;
    top: 15px;
    left: 3%;
    transform: translate(0, 0);
  }

  .settings_title {
    font-size: 1.2rem;
  }

  .settings_topbar {
    width: 100%;
  }

  .settings_content {
    width: 100%;
  }

  .settings_container {
    width: 100%;
  }

  .close_btn_settings_image {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    z-index: 100;
  }

  .main_title {
    font-size: 1.3rem;
    padding-bottom: 8px;
  }

  .main_text {
    font-size: 1rem;
    padding-bottom: 8px;
  }

  .main_link a {
    font-size: 1rem;
  }

  .main_story_container {
    width: 90vw;
    height: 100%;
    top: 20px;
    left: calc(50% - 45vw);
  }

  .close_btn_story {
    width: 30px;
    height: 30px;
  }

  .main_story_title {
  }

  .main_story_text {
    font-size: 0.9rem;
    padding-bottom: 10px;
  }

  .main_story_link a {
    font-size: 1rem;
  }

  .modal {
    left: 0px;
    width: 100%;
    height: 10%;
  }

  /* FILTERS */

  .filtering {
    display: none;
  }

  .header_toggle_title {
    width: 73%;
  }

  /* LOGO */

  .source {
    display: none;
  }

  .logo_client img {
    height: 30px;
  }

  /* REFERENCE */

  .reference {
    height: 40px;
    width: 184px;
    top: 28px;
    left: calc(50% - 92px);
    gap: 12px;
    border-radius: 24px;
  }

  .reference_icon_link {
    width: 18px;
    height: auto;
    margin-left: 14px;
  }

  .reference_title {
    font-size: 1rem;
  }

  .reference_icon_right {
    width: 8px;
    height: auto;
  }

  /* POINTS */

  .point {
    width: 30px;
    height: 30px;
  }
}

@media screen and (max-width: 450px) {
  .main_message {
    width: 100%;
  }
}
