html, body {
  margin: 0;
  padding: 0;
  height: 100%; /* alltid full höjd */
  background-color: #d8d8d8;
}

.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  width: 100%;
  background-color: #f0f0f0;
}

#map {
  width: 100%;
  height: 100%;
  max-width: 1600px;   /* begränsa på desktop */
  margin: 0 auto;      /* centrera på breda skärmar */
}

/* Mobilanpassning */
@media (max-width: 768px) {
  #map {
    max-width: 100%;   /* ta bort begränsning på mobil */
    width: 100%;
    height: 100dvh;    /* fyll hela skärmen på mobil */
  }
}



.button {
    background-color: #007bff;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    cursor: pointer;
    text-align: center;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s;
    margin-top: 10px;
}
 
.button:hover {
    background-color: #0056b3;
}
.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    height: 100vh;
    width: 100%;
    /*min-width: 1200px;*/
    background-color: #f0f0f0;
}

/* Define a bouncing animation */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-15px);
    }
    60% {
        transform: translateY(-7px);
    }
}

/* Apply the animation to the marker element */
.bounce-marker {
    animation: bounce 2s infinite;
}