* {
  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(253, 200, 47);
  --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(30, 30, 30);
  --slider_items_hover: rgb(25, 25, 25);
  --slider_items_active: rgb(20, 20, 20);

  /* 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: rgb(255, 255, 255);
  --message_small_background: rgb(30, 30, 30);

  /* 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(253, 200, 47);
  --point_border_active: rgb(30, 30, 30);
  --point_clicked_background: rgb(126, 126, 126);

  /* 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 */
}

.main {
  position: relative;
  min-width: 100%;
  /* Allow the content to overflow horizontally */
  height: 100%;
  display: flex;
  justify-content: center;
  /* Center the image within the main container */
  align-items: center;
}

.main_test {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  width: 100%;
  /* Allow the image to overflow horizontally */
  height: 100%;
  /* Maintain aspect ratio */
  object-fit: cover;
}

.main img {
  position: absolute;
  top: 0;
  left: 0;
  min-width: 100%;
  /* Allow the image to overflow horizontally */
  height: 100%;
  /* Maintain aspect ratio */
  object-fit: cover;
}

.main video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 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: flex;
  width: 100%;
  height: 100%;
}

.area1_sequence1_points {
  display: flex;
  width: 100%;
  height: 100%;
}

.area1_sequence2_points {
  display: none;
  width: 100%;
  height: 100%;
}

.area1_sequence3_points {
  display: none;
  width: 100%;
  height: 100%;
}

/* CONTROLS BUILDING */

.controls {
  display: flex;
  position: fixed;
  justify-content: center;
  align-items: center;
  height: 45px;
  width: 400px;
  bottom: 33px;
  left: calc(50% - 200px);
  gap: 10px;
  z-index: 80;
}

.main_controls {
  display: flex;
  position: relative;
  justify-content: center;
  align-items: center;
  width: auto;
  padding-right: 20px;
  padding-left: 20px;
  height: 100%;
  gap: 0px;
  border-radius: 30px;
  background-color: var(--slider_background);
}

.main_slider_title {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 50%;
  width: auto;
  font-size: 0.9rem;
  font-weight: 600;
  padding-right: 20px;
  color: var(--slider_text);
  background-color: var(--slider_background);
  border-right: 2px solid var(--slider_items);
}

/*
.main_slider_title:hover {
  color: var(--slider_text_hover);
}

.main_slider_title:active {
  color: var(--slider_text_active);
}
*/
.main_slider_degree_left {
  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: 20px;
  padding-right: 0px;
}

.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;
  height: 44px;
  padding: 20px;
  border-radius: 50px;
  position: relative;
}

/* Base input reset (important for Safari/iOS) */
#controls .main_slider_container #slider {
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  width: 220px;
  /* optional: whatever your width is */
  height: 30px;
  /* big enough to comfortably drag */
  cursor: pointer;
  z-index: 999;
}

/* Track */
#controls .main_slider_container #slider::-webkit-slider-runnable-track {
  height: 2px;
  background-color: rgb(240, 240, 240);
}

#controls .main_slider_container #slider::-moz-range-track {
  height: 2px;
  background-color: rgb(240, 240, 240);
}

#controls .main_slider_container #slider::-ms-track {
  height: 2px;
  background-color: rgb(240, 240, 240);
  border: none;
  color: transparent;
}

/* Thumb (one block only) */
#controls .main_slider_container #slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: rgb(0, 0, 0);
  border: 3px solid rgb(255, 255, 255);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  margin-top: -8px;
  /* centers over 2px track */
  z-index: 999;
}

#controls .main_slider_container #slider::-webkit-slider-thumb:hover {
  background-color: rgb(0, 0, 0);
}

#controls .main_slider_container #slider::-webkit-slider-thumb:active {
  background-color: rgb(0, 0, 0);
}

#controls .main_slider_container #slider::-moz-range-thumb {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: rgb(255, 255, 255);
  border: 3px solid rgb(255, 255, 255);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  z-index: 999;
}

#controls .main_slider_container #slider::-ms-thumb {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: rgb(255, 255, 255);
  border: 3px solid rgb(255, 255, 255);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  z-index: 999;
}

/* Scoped track */
.main_slider_container .slider::-webkit-slider-runnable-track {
  width: 100%;
  height: 2px;
  background-color: var(--slider_track);
}

.main_slider_container .slider::-moz-range-track {
  width: 100%;
  height: 2px;
  background-color: var(--slider_track);
}

.main_slider_container .slider::-ms-track {
  width: 100%;
  height: 2px;
  background-color: var(--slider_track);
  border: none;
}

/* Scoped thumb (knob) */
.main_slider_container .slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: rgb(0, 0, 0);
  border: 3px solid white;
  /* white ring around */
  cursor: pointer;
  margin-top: -7px;
  /* centers thumb over 2px track */
  z-index: 100;
}

.main_slider_container .slider::-webkit-slider-thumb:hover {
  background: black;
}

.main_slider_container .slider::-webkit-slider-thumb:active {
  background: black;
}

.main_slider_container .slider::-moz-range-thumb {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: rgb(0, 0, 0);
  border: 3px solid white;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.main_slider_container .slider::-moz-range-thumb:hover {
  background: black;
}

.main_slider_container .slider::-moz-range-thumb:active {
  background: black;
}

.main_slider_container .slider::-ms-thumb {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: rgb(0, 0, 0);
  border: 3px solid white;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.main_slider_container .slider::-ms-thumb:hover {
  background: black;
}

.main_slider_container .slider::-ms-thumb:active {
  background: black;
}

/* Thumb (scoped) */
.main_slider_container .slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: black;
  border: 5px solid black;
  cursor: pointer;
  margin-top: 10px;
}

.main_slider_container .slider::-webkit-slider-thumb:hover {
  background-color: black;
  border-color: black;
}

.main_slider_container .slider::-webkit-slider-thumb:active {
  background-color: black;
  border-color: black;
}

.main_slider_container .slider::-moz-range-thumb {
  width: 20px;
  height: 10px;
  border-radius: 50%;
  background: rgba(100, 100, 100, 1);
  cursor: pointer;
}

.step-indicator {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--slider_track);
  z-index: 0;
}

.step1 {
  left: calc(0% + 20px);
  /* first step */
}

.step2 {
  left: calc(50% - 3.5px);
  /* Second step */
}

.step3 {
  left: calc(100% - 27px);
  /* Last step */
}

/* .step4 {
  left: calc(100% - 27px); 
} */

.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);
}

/* 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;
}

/* FILTERS */

.filter_container {
  display: block;
  margin: 0px;
  padding: 20px;
  border-top-right-radius: 25px;
  border-bottom-right-radius: 25px;
  width: 100%;
  height: 100%;
  color: rgb(255, 255, 255);
}

.filter_container label {
  display: flex;
  margin: 10px 0;
  padding-left: 5px;
  padding-top: 5px;
  padding-bottom: 5px;
  line-height: 15px;
  font-size: 1rem;
  font-weight: 300;
  color: rgb(255, 255, 255);
}

.checkbox_text {
  display: inline-block;
  padding-left: 8px;
  transform: translateY(-2px);
  font-weight: 600;
}

.filter_container .option-group {
  margin-bottom: 10px;
  border-radius: 15px;
  padding: 7px;
  padding-top: 10px;
  padding-left: 15px;
}

.filter_container .option-group:last-child {
  margin-bottom: 0px;
}

.filter_container .option-group .group-header .group-toggle {
  cursor: pointer;
  font-weight: bold;
  margin-bottom: 5px;
  padding-left: 25px;
  padding-top: 5px;
  font-size: 1rem;
  display: flex;
  width: 90%;
  align-items: flex-end;
  justify-content: space-between;
}

.filter_container .option-group .group-header .arrow {
  transition: transform 0.3s ease;
}

.filter_container .option-group .group-content {
  display: none;
  padding-left: 20px;
}

.filter_container .option-group.open .group-header .arrow {
  transform: rotate(180deg);
}

.header_toggle_title {
  display: inline-block;
  font-size: 1.1rem;
  font-weight: 600;
  width: 100%;
  padding-left: 5px;
}

.filter_title {
  display: block;
  text-align: center;
  position: relative;
  width: 100%;
  color: black;
  font-size: 1.2rem;
  font-weight: 500;
  padding-bottom: 15px;
}

.filter_btn_container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  padding-bottom: 20px;
}

.filter_btn {
  background-color: none;
  padding: 10px;
  border-radius: 10px;
  color: var(--modal_button_text);
  background-color: transparent;
  font-size: 1rem;
}

.filter_btn:hover {
  background-color: var(--modal_button_background_hover);
}

.filter_btn:active {
  background-color: var(--modal_button_background_active);
}

.clr_yellow {
  display: none;
  stroke-width: 0px;
  stroke: rgb(252, 231, 96);
  fill: rgba(253, 200, 47, 0.5);
  background-color: var(--slider_background);
  z-index: 50;
}

.clr_yellow:hover {
  stroke-width: 2px;
  stroke: rgb(252, 231, 96);
  fill: rgba(253, 200, 47, 0.5);
  background-color: var(--slider_background);
  z-index: 50;
}

.clr_yellow:active {
  stroke-width: 1px;
  stroke: rgb(252, 231, 96);
  fill: rgba(253, 200, 47, 0.5);
  background-color: var(--slider_background);
  z-index: 50;
}

.clr_yellow_filter {
  stroke-width: 0px;
  stroke: rgb(252, 231, 96);
  fill: rgba(253, 200, 47, 0.5);
  background-color: var(--slider_background);
  z-index: 50;

}

.clr_orange {
  display: none;
  stroke-width: 0px;
  stroke: rgb(255, 255, 255);
  fill: rgba(236, 135, 89, 0.5);
  background-color: rgb(231, 155, 54);
  z-index: 50;
}

.clr_orange:hover {
  stroke-width: 2px;
  stroke: rgb(236, 216, 89);
  fill: rgba(236, 135, 89, 0.5);
  background-color: rgb(231, 155, 54);
  z-index: 50;
}

.clr_orange:active {
  stroke-width: 1px;
  stroke: rgb(236, 216, 89);
  fill: rgba(236, 135, 89, 0.5);
  background-color: rgb(231, 155, 54);
  z-index: 50;
}

.clr_orange_filter {
  stroke-width: 0px;
  stroke: rgb(255, 255, 255);
  fill: rgba(236, 135, 89, 0.5);
  background-color: rgb(231, 155, 54);
  z-index: 50;
}

.clr_blue {
  display: none;
  stroke-width: 0px;
  stroke: rgb(255, 255, 255);
  fill: rgba(55, 121, 175, 0.5);
  background-color: rgb(73, 150, 212);
  z-index: 50;
}

.clr_blue:hover {
  stroke-width: 2px;
  stroke: rgb(92, 213, 250);
  fill: rgba(55, 121, 175, 0.5);
  background-color: rgb(73, 150, 212);
  z-index: 50;
}

.clr_blue:active {
  stroke-width: 1px;
  stroke: rgb(178, 217, 231);
  fill: rgba(55, 121, 175, 0.5);
  background-color: rgb(73, 150, 212);
  z-index: 50;
}

.clr_blue_filter {
  stroke-width: 0px;
  stroke: rgb(255, 255, 255);
  fill: rgba(55, 121, 175, 0.5);
  background-color: rgb(73, 150, 212);
  z-index: 50;
}

.clr_roze {
  display: none;
  stroke-width: 0px;
  stroke: rgb(255, 255, 255);
  fill: rgba(231, 129, 197, 0.5);
  background-color: rgb(223, 130, 195);
  z-index: 50;
}

.clr_roze:hover {
  stroke-width: 2px;
  stroke: rgb(252, 189, 233);
  fill: rgba(231, 129, 197, 0.5);
  background-color: rgb(223, 130, 195);
  z-index: 50;
}

.clr_roze:active {
  stroke-width: 1px;
  stroke: rgb(143, 126, 196);
  fill: rgba(231, 129, 197, 0.5);
  background-color: rgb(223, 130, 195);
  z-index: 50;
}

.clr_roze_filter {
  stroke-width: 0px;
  stroke: rgb(255, 255, 255);
  fill: rgba(231, 129, 197, 0.5);
  background-color: rgb(223, 130, 195);
  z-index: 50;
}

.clr_groen {
  display: none;
  stroke-width: 0px;
  stroke: rgb(161, 228, 98);
  fill: rgba(111, 170, 63, 0.5);
  background-color: rgb(115, 170, 63);
  z-index: 50;
}

.clr_groen:hover {
  stroke-width: 2px;
  stroke: rgb(161, 228, 98);
  fill: rgba(111, 170, 63, 0.5);
  background-color: rgb(115, 170, 63);
  z-index: 50;
}

.clr_groen:active {
  stroke-width: 1px;
  stroke: rgb(161, 228, 98);
  fill: rgba(111, 170, 63, 0.5);
  background-color: rgb(115, 170, 63);
  z-index: 50;
}

.clr_groen_filter {
  stroke-width: 0px;
  stroke: rgb(161, 228, 98);
  fill: rgba(111, 170, 63, 0.5);
  background-color: rgb(115, 170, 63);
  z-index: 50;
}

.clr_rood {
  display: none;
  stroke-width: 0px;
  stroke: rgb(255, 255, 255);
  fill: rgba(201, 55, 65, 0.5);
  background-color: rgb(201, 55, 65);
  z-index: 50;
}

.clr_rood:hover {
  stroke-width: 2px;
  stroke: rgb(201, 55, 65);
  fill: rgba(201, 55, 65, 0.5);
  /* background-color: rgb(201, 55, 65); */
  z-index: 50;
}

.clr_rood:active {
  stroke-width: 1px;
  stroke: rgb(201, 55, 65);
  fill: rgba(201, 55, 65, 0.5);
  /* background-color: rgb(201, 55, 65); */
  z-index: 50;
}

.clr_rood_filter {
  stroke-width: 0px;
  stroke: rgb(255, 255, 255);
  fill: rgba(201, 55, 65, 0.5);
  background-color: rgb(201, 55, 65);
  z-index: 50;
}

.filter_hidden {
  display: none;
}

.filter_icon {
  display: inline-flex;
  justify-self: center;
  align-self: center;
  width: 30px;
  height: 30px;
  padding: 0px;
  object-fit: contain;
}

/* Base styles */
input[type="checkbox"] {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  /* Slightly rounded corners */
  appearance: none;
  /* Remove default styling */
  background-color: #ffffff;
  /* Default background */
  cursor: pointer;
  position: relative;
  /* Needed for positioning the ::after pseudo-element */
  transition: all 0.3s ease;
  /* Smooth animations */
}

/* Checked state */
input[type="checkbox"]:checked {
  background-color: var(--modal_checkbox_background);
}

/* Add a centered checkmark */
input[type="checkbox"]:checked::after {
  content: "";
  /* Adds the checkmark */
  position: absolute;
  top: 40%;
  /* Start at the vertical center */
  left: 50%;
  /* Start at the horizontal center */
  width: 3px;
  /* Adjust width of the checkmark */
  height: 7px;
  /* Adjust height of the checkmark */
  border: solid var(--modal_checkbox_checkmark);
  /* Checkmark color */
  border-width: 0 2px 2px 0;
  /* Only draw the bottom-right corner */
  transform: translate(-50%, -50%) rotate(45deg);
  /* Center and rotate the checkmark */
}

/* FILTER COLORS */
.koopwoningen,
.huurwoningen,
.socialehuurwoningen,
.gastenhuis,
.Recreatiewoningen,
.commercielevoorzieningen {
  display: flex;
}

.koopwoningen,
.huurwoningen,
.Recreatiewoningen {
  border-color: rgb(236, 216, 89) !important;
  background-color: rgb(236, 216, 89) !important;
}

.commercielevoorzieningen {
  border-color: rgb(143, 126, 196) !important;
  background-color: rgb(143, 126, 196) !important;
}

/* MAIN STORY */

.main_story_container {
  display: none;
  position: fixed;
  justify-content: center;
  align-items: start;
  width: 330px;
  height: 100%;
  max-height: 90vh;
  /* Ensure the overall container doesn't exceed viewport height */
  top: 26px;
  right: 30px;
  z-index: 90;
  overflow: visible;
  /* Prevent content from overflowing outside */
}

.main_story_container img {
  display: block;
  width: calc(100% + 26px);
  transform: translate(-13px, -13px);
  height: 100%;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.main_story {
  display: flex;
  flex-direction: column;
  /* Stack elements vertically */
  width: auto;
  max-height: 100%;
  /* Allow content to expand fully within the container */
  padding: 12px;
  border-radius: 10px;
  background-color: var(--message_large_background);
  border: 1px solid var(--message_large_background);
}

.main_story_image {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0px;
}

.story_content {
  display: block;
  position: relative;
  width: 100%;
  height: auto;
  /* Let it fit the content */
}

.main_story_title {
  display: block;
  font-size: 1.3rem;
  font-weight: 700;
  padding-bottom: 5px;
  color: var(--message_large_text);
}

.main_story_link a {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  padding-bottom: 10px;
  text-decoration: none;
  color: var(--message_large_link);
}

.main_story_link a:hover {
  text-decoration: underline;
}

.main_story_text {
  display: block;
  width: 100%;
  overflow-y: auto;
  /* Enable scrolling only for this element */
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--message_large_text);
}

.main_story {
  display: block;
  margin-top: 3px;
}

.close_btn_story {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  width: 22px;
  height: 22px;
  right: 10px;
  top: 10px;
  margin-left: 13px;
  margin-right: 0px;
  border-radius: 50%;
  z-index: 10;
  background-color: rgba(0, 0, 0, 0);
}

.close_btn_story svg path {
  fill: var(--button_close_fill);
}

.close_btn_story svg path:hover {
  fill: var(--button_close_fill_hover);
}

.close_btn_story svg path:active {
  fill: var(--button_close_fill_active);
}

/* 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(--textblack);
}

.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_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);
}

/* MAIN MESSAGE */

.main_message_container {
  display: none;
  position: fixed;
  justify-content: center;
  align-items: start;
  width: 300px;
  height: auto;
  top: 20px;
  left: calc(50% - 150px);
  z-index: 100;
}

.main_message {
  width: 100%;
  height: auto;
  padding: 12px;
  border-radius: 10px;
  background-color: var(--message_small_background);
}

.main_title {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  width: 90%;
  color: var(--message_small_text);
}

.main_text {
  display: block;
  font-size: 0.8rem;
  font-weight: 400;
  margin-top: 5px;
  color: var(--message_small_text);
}

.main_link {
  display: block;
  margin-top: 3px;
}

.main_link a {
  font-size: 0.8rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--message_small_text);
}

.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: 22px;
  height: 22px;
  right: 7px;
  top: 7px;
  margin-left: 13px;
  margin-right: 0px;
  border-radius: 50%;
  z-index: 10;
}

.close_btn svg path {
  fill: var(--button_close_fill);
}

.close_btn svg path:hover {
  fill: var(--button_close_fill_hover);
}

.close_btn svg path:active {
  fill: var(--button_close_fill_active);
}

/* 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: flex;
  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(--label_background);
  /*pointer-events: none;*/
}

.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_view {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  width: auto;
  height: 55px;
  padding-top: 0px;
  padding-right: 15px;
  padding-bottom: 0px;
  border-radius: 20px;
  z-index: 80;
  background-color: rgba(255, 255, 255, 0);
}

.label_view img {
  display: inline;
  position: relative;
  float: left;
  width: 55px;
  height: 55px;
  padding: 7px;
  min-width: auto;
  object-fit: contain;
}

/* LABELS */

.label {
  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::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.5);
  /* 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_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 img {
  display: none;
  position: relative;
  float: left;
  width: 35px;
  height: 35px;
  padding: 7px;
  min-width: auto;
  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: left;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--label_text);
}

.label_status {
  display: block;
  position: relative;
  text-align: left;
  font-size: 0.5rem;
  font-weight: 500;
  color: var(--label_text);
}

/* POINTS */

.point {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  width: 30px;
  height: 30px;
  border: 2px solid rgb(253 200 47);
  border-radius: 50%;
  z-index: 10;
  background-color: rgb(253 200 47);
}

.large_point {
  width: 40px;
  height: 40px;
}

.point svg path {
  fill: var(--point_path);
}

.point:hover {
  border: 2px 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: black !important;
  border: 2px solid black !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%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 100;
}

.viewer_content {
  display: flex;
  position: relative;
  justify-content: center;
  align-items: center;
  width: 90%;
  margin-left: 40px;
  margin-right: 40px;
  height: calc(100% - 80px);
}

.viewer_image_container,
.viewer_video_container,
.viewer_blend_container {
  position: relative;
  display: none;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
}

.viewer_vr_container {
  display: none;
  width: calc(100vw - 80px);
  height: 100%;
}

.viewer_image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  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: 30px;
  height: 30px;
  margin-left: 13px;
  margin-right: 0px;
  border-radius: 50%;
  z-index: 100;
  box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.4);
}

.close_btn_viewer_image svg path {
  fill: var(--button_close_fill);
}

.close_btn_viewer_image svg path:hover {
  fill: var(--button_close_fill_hover);
}

.close_btn_viewer_image svg path:active {
  fill: var(--button_close_fill_active);
}

/* SETTINGS */

.settings {
  left: 0px;
  top: 0px;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 80;
}

.settings_container {
  position: relative;
}

.settings_topbar {
  display: block;
  width: 500px;
  height: 50px;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  background-color: var(--settings_head_background);
}

.settings_title_container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}

.settings_title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--settings_head_text);
}

.settings_content {
  display: flex;
  justify-content: start;
  flex-direction: column;
  align-items: flex-start;
  width: 500px;
  height: auto;
  padding: 25px;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  background-color: var(--settings_content_background);
}

.main_settings_text {
  display: block;
  width: 100%;
  height: auto;
  font-weight: 400;
  font-size: 1.1rem;
  padding-bottom: 10px;
  color: var(--settings_content_text);
}

.main_settings_link a {
  display: block;
  width: 100%;
  height: auto;
  font-size: 0.9rem;
  color: var(--settings_content_text);
  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: 12px;
  right: 12px;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  z-index: 100;
}

.close_btn_settings_image svg path {
  fill: var(--button_close_fill);
}

.close_btn_settings_image svg path:hover {
  fill: var(--button_close_fill_hover);
}

.close_btn_settings_image svg path:active {
  fill: var(--button_close_fill_active);
}

@media screen and (max-width: 950px) {
  .main_scroll {
    height: 96%;
  }

  .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.6rem;
  }

  .label::after {
    height: 7vh;
    /* Length of the vertical line */
  }

  .label_area::after {
    height: 7vh;
    /* Length of the vertical line */
  }

  .controls {
    bottom: 12%;
    width: 300px;
    left: calc(50% - 150px);
  }

  .main_controls {
    width: auto;
    padding-right: 20px;
    padding-left: 20px;
  }

  .main_message_container {
    width: 90%;
    left: 5%;
  }

  .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: 7px;
    right: 7px;
    width: 25px;
    height: 25px;
    border-radius: 50%;
  }

  .close_btn img {
    width: 25px;
    height: 25px;
  }

  /* 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;
  }

  .filter_container .option-group {
    padding: auto;
    padding-top: 12px;
    padding-bottom: 12px;
    border-radius: 30px;
  }

  .filter_container {
    padding-bottom: 70px;
  }

  /* SETTINGS */

  .settings {
    width: 90vw;
    height: auto;
    top: 20px;
    left: calc(50% - 45vw);
    z-index: 100;
  }

  .settings_title {
    font-size: 1.2rem;
  }

  .settings_topbar {
    width: 90vw;
  }

  .settings_content {
    width: 90vw;
  }

  .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;
  }

  .close_btn_settings_image img {
    width: 23px;
    height: 23px;
  }

  .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 {
    font-size: 1.4rem;
  }

  .main_story_text {
    font-size: 1.1rem;
    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%;
  }

  .main_slider_container {
    width: 150px;
  }

  /* 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%;
  }
}