.map-block {
    position: relative;
    overflow: hidden;
}

/* 
    HELPER
*/
/* button */
.map-block--button {
    position: absolute;
    top: 1rem;
    left: 1rem;
    height: 1.5rem;
    width: fit-content;
    z-index: 2;
}

.map-block--button > img {
    width: 1.5rem;
    margin: auto;
}

#map-block-button--minus {
    display: none;
}

.map-block--button.active #map-block-button--plus {
    display: none;
}

.map-block--button.active #map-block-button--minus {
    display: block;
}

/* helper */
.map-block--helper {
    background-color: rgba(0, 0, 0, .75);
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 100vw;
    padding: 4rem;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: 500ms ease-in-out;
    z-index: 1;
}
@media screen and (min-width: 1024px) {
    .map-block--helper {
        width: calc(var(--column-d) * 3 + 2rem);
        padding: 3.5rem 1rem;
    }
}

.map-block--helper.active {
    transform: translateX(0);
}

.map-block--helper_level {
    margin-top: 1rem;
}

.map-block--helper_level > div {
    height: 1rem;
    width: 1rem;
    border-radius: 1rem;
    margin: 0 auto .5rem;
}

/* 
    MAP
*/
#map {
    width: 100%;
    height: 80vh;
}

/* 
MARKER
*/
.map-marker {
    display: block;
    height: 1rem;
    width: 1rem;
    border-radius: 1rem;
}

.map-marker > button {
    height: 100%;
    width: 100%;
}

.marker-level1,
.marker-level1 .map-marker {
    background-color: var(--c-brown);
}

.marker-level2,
.marker-level2 .map-marker {
    background-color: var(--c-red);
}

.marker-level3,
.marker-level3 .map-marker {
    background-color: var(--c-yellow);
}

/* DROP */
.map-marker--drop {
    min-width: fit-content;
    width: 14rem;
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 1rem;
    background-color: rgba(0, 0, 0, .5);
    border-radius: 4px;
    transform: translate(calc(-50% + .5rem), -2.3rem) scale(0);
    transition: 300ms ease-in-out;
}

.map-marker--drop.active {
    transform: translate(calc(-50% + .5rem), -2.3rem) scale(1); 
}

.map-marker-drop_button {
    position: absolute;
    right: .5rem;
    top: .5rem;
}

.map-marker-drop_button img {
    height: 1rem;
}

.map-marker--drop .map-marker {
    margin: 0 auto;
}

.map-marker-drop_title {
    min-width: fit-content;
    margin-top: .5rem;
}

.map-marker-drop_category {
    display: flex;
    margin: .5rem 0;
    padding-top: .5rem;
    border-top: 2px solid white;
}

.map-marker-drop_category img {
    height: 1.5rem;
    width: auto;
    margin: 0 auto;
}

.map-marker-drop_link {
    margin-top: .5rem;
    min-width: max-content;
    background-color: white;
    padding: .3rem .6rem;
    border-radius: 2px;
}