#map {
    position: fixed;
    top: 0;
    bottom: 0;
    width: 100%;
    left: 0;
    right: 0;
    height: 100%;
}

#filter {
}


#filter {

    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 100000;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 5px;
    font-size: 14px;
}

#legend {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    background: rgba(255, 255, 255, 0.8);
    padding: 10px;
    border-radius: 5px;
    font-size: 14px;
}




.mappin {
    width: 30px !important;
    height: 30px !important;
    background-color: var(--pin-color, #000);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: black;
    font-size: 16px;
    opacity: 0.8;
}

.leaflet-div-icon {
    background: none !important;
    border: none !important;
    box-shadow: none !important;
}

.leaflet-div-icon .mappin{
    position: absolute;
    margin-top: -15px !important;
    margin-left: -15px !important;
    top: 50%;
    left: 50%;

}


#page-cover {
    position: fixed;
    top: 0;
    bottom: 0;
    width: 100%;
    left: 0;
    right: 0;
    height: 100%;
    background: rgba(0, 10, 10, 0.8);
    z-index: 10000;
    /* display: none; */
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

#reload {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 99999;
}

#new-coords-wrap {
    position: absolute;
    bottom: 20px;
    left: 10px;
    z-index: 999;
    border-radius: 4px;
    overflow: hidden;
    display: none;
}

body.is-cheating #new-coords-wrap {
    display: block !important;
}

#new-coords-wrap::after {
    background-image: url('../images/copy.svg');
    background-repeat: no-repeat;
    background-position: 50% 100%;
    background-size: contain;
    content: '';
    display: block;
    width: 16px;
    height: 16px;
    position: absolute;
    z-index: 100;
    top: 6px;
    opacity: 0;
    pointer-events: none;
    right: 10px;
    transition: 0.5s;
}

#new-coords-wrap.has-copied::after {
    transition: none;
    opacity: 1;
}


#new-coords {
    border: none;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    font-size: 14px;
    width: 210px;
    padding: 4px;
    transition: 0.5s;
    cursor: pointer;

}

#new-coords:focus {
    outline: none;
}


#new-coords-wrap.has-copied #new-coords {
    outline: 1px solid #378a00;
    background-color: #378a00;
    background-color: #378a00;
    box-shadow: 0px 0px 25px 9px rgba(100,200,100,0.5);
    transition: none;
    color: #fff;
}



/* selection color */
#new-coords::selection {
    background: transparent;
    color: currentColor;
}

body.is-loading  #page-cover {
    opacity: 1;
    pointer-events: all;
}

body.is-loading   .leaflet-marker-icon {
    opacity: 0;
}

body.is-loading  #reload {
    display: none;
}


#berserk {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 9999999;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 145, 0, 0.8);
}

#berserk.is-active {
    display: flex !important;
    flex-direction: column;
}

#berserk img {
    animation: pulse 3s infinite;
    opacity: 0.5;
    overflow: hidden;
}

#berserk h1 {
    font-size: 5rem;
    text-align: center;
    text-transform: uppercase;
    font-weight: 800;
    margin-bottom: 5rem;
    color: #fff;
}

#revert-changes {
    position: absolute;
    bottom: 50px;
    right: 50px;
    z-index: 999999;
}


/* pulse animation */
@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.2;
    }
    100% {
        transform: scale(1);
        opacity: 0.7;
    }
}

/* media query */

@media (max-width: 768px) {
    #reload {
        left: auto;
        right: 10px;

        transform: scale(0.8);
        transform-origin: 100% 100%;
    }

    #filter {
        left: auto;
        right: 10px;
        transform: scale(0.8);
        transform-origin: 100% 100%;
    }

    #legend {
        left: 10px;
        transform: scale(0.8);
        transform-origin: 0 100%;
    }

    .leaflet-control-attribution {
        display: none !important;
    }
}