/* Inaktivera markering för allt innehåll */
body, * {
    user-select: none; /* Förhindrar markering av text eller element */
}

html, body {
    height: 100vh;
    margin: 0;
    padding: 0;
    overflow: hidden;
      font-family: 'Derome', sans-serif;
  font-weight: 400;
}

@font-face {
  font-family: 'Derome';
  src: url('fonts/Derome-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
}

/* Anpassa rotation-image för att alltid skala till webbläsarens fulla bredd */
#rotation-image {
    max-height: 100vh;   /* Anpassa till fönstrets höjd */
    width: auto;         /* Behåll proportionerna */
    display: block;      /* Gör att margin fungerar */
    margin: 0 auto;      /* Centrera bilden horisontellt */
    object-fit: contain; /* Viktigt för att undvika beskärning */
      z-index: 100;
}



#image-title {
    font-family: 'Arial Black', sans-serif;
    color: #8f3141;
    text-transform: uppercase;
    text-align: center;
    position: fixed;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    font-size: 8vw;
    z-index: 250;
    transition: opacity 2s ease;
}



/* Gemensam stil för alla knappar */
.standard-button {
  padding: 8px 14px;
  width: 170px;
  height: 45px;
  background-color: #fdfdfc; /* Inaktiv standardfärg */
  color: #343434;
  border: none;
  font-family: inherit;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-weight: bold;
}

/* Hover-effekt */
.standard-button:hover {
  background-color: #f7f5f0;
}

/* Aktiv knapp */
.standard-button.active {
  background-color: #328953;
  color: white;
}

/* Inaktiv (valfri klass om du sätter den manuellt) */
.standard-button.inactive {
  background-color: white;
  color: #343434;
;
}



#controls-container {
  position: static;
  width: 600px;
  margin: 10px auto; /* centrerar horisontellt */
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}


/* Date buttons i rad utan mellanrum */
#date-buttons {
  display: flex;
  width: 100%;
}

.date-button {
  flex: 1;
  margin: 0;
  padding: 10px 0;
  text-align: center;
}

/* Slidercontainer */
#slider-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

/* Tidsangivelser ovanför slider */
#slider-labels {
  display: flex;
  justify-content: space-between;
  font-size: 16px;
  padding: 0 5px;
  margin-bottom: 4px;
  color: #343434;
  font-family: inherit;
}

/* Själva slidern */
#image-slider {
  width: 95%;
  -webkit-appearance: none;
    margin: 10px auto;
  height: 10px;
  background: #f1ebe3;
  border-radius: 3px;
  outline: none;
  transition: background 0.3s;
}

#image-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #005c46;
  cursor: pointer;
  border: none;
  transition: background 0.3s;
}

#image-slider::-moz-range-thumb {
  width: 18 px;
  height: 18px;
  border-radius: 50%;
  background: #005c46;
  cursor: pointer;
  border: none;
}


/* Container för våningsknappar */
#floor-buttons {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  display: flex;
  gap: 0px;
}








