body {
    margin: 0;
    padding: 0;
}

#map {
    width: 100%;
    height: 100vh;
    position: relative;
}

.marker {
    background-color: rgb(3, 3, 3);
    border-radius: 50%;
    width: 10px;
    height: 10px;
    position: absolute;
    transform: translate(-50%, -50%);
    border: 2px solid black;
}

.marker-amber {
    background-color: rgb(255, 174, 0);
    border: 2px solid black;
}

.marker-green {
    background-color: green;
    border: 2px solid black;
}

#center-marker {
    background-image: url('https://narratour.arymor.com/assets/svg/centre-point/15.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    pointer-events: none;
}

#center-marker.green {
  /*  background-color: rgba(128, 128, 128, 0.2); */
    background-image: url('https://narratour.arymor.com/assets/svg/centre-point/15b.svg');
   
}
/* Adjust for desktop (e.g., min width 769px) */
@media screen and (min-width: 769px) {
    #center-marker {
        top: calc(50% - 0px); /* Keep default for desktop */
        left: calc(50% - 0px); /* Center horizontally */
    }
}
/* Adjust for mobile browsers (e.g., max width 768px) */
@media screen and (max-width: 768px) {
    #center-marker {
        top: calc(50% + 32px); /* Offset differently for mobile */
        left: calc(50% - 0px); /* Center horizontally */
    }
}


#distance-meter-container {
    position: fixed;
    bottom: 0px;
    left: -5px;
    width: 100%;
    display: flex;
    gap: 1px;
    z-index: 1000;
    justify-content: space-between;
    padding: 0 5px;
}

.distance-block {
    flex: 1;
    height: 10px;
    transition: background-color 0.3s ease;
}


#distance-box {
    position: fixed;
    top: 10px;
    left: 10px;
    background: #0000008f;
    color: white;
    border-radius: 5px;
    padding: 10px;
    font-size: 14px;
    font-family: Arial, sans-serif;
    z-index: 1000;
}

#recenter-button {
    position: fixed;
    bottom: 60px;
    right: 10px;
    background: #0000008f;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 10px 15px;
    font-size: 14px;
    font-family: Arial, sans-serif;
    cursor: pointer;
    z-index: 1000;
}


#wake-lock {
position: fixed;
bottom: 60px;
left: 10px;
background: #0000008f;
color: white;
border: none;
border-radius: 5px;
padding: 10px 15px;
font-size: 14px;
font-family: Arial, sans-serif;
cursor: pointer;
z-index: 1000;
}

#toggle {
position: fixed;
bottom: 60px;
left: 10px;
    background: #0000008f;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 10px 15px;
    font-size: 14px;
    font-family: Arial, sans-serif;
    cursor: pointer;
    z-index: 1000;
}

