.map-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 300px;
}

#map {
    width: 100%;
    height: 100%;
}

#map-dark-mode {
    position: absolute;
    display: var(--show-map);
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 4;
}

#show-map {
    display: var(--show-map);
    position: absolute;
    border-radius: 50px;
    background-color: var(--lighter-color);
    z-index: 5;
    padding: 10px;
    color: var(--main-color);
    text-align: center;
    cursor: pointer;
    box-shadow: 0px 5px 15px black;
    transition: all 0.2s ease-in-out;
    user-select: none;
}

#show-map:hover, #show-map:focus, #show-map:active {
    box-shadow: 0 1px 2px black;
}

#cookie-map {
    position: absolute;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    z-index: 6;
    background-color: var(--map-background);
    color: var(--font-color);
    transition: opacity 0.3s ease-in-out;
}

.cookie-map-title {
    margin-top: -50px;
    margin-bottom: 18px;
    color: var(--font-color);
    text-align: center;
    font-weight: 700;
}

#cookie-consent-map {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 5px;
    background-color: rgba(44, 44, 44,0.9);
    max-width: 500px;
    color: var(--white-color);
    box-shadow: 0 0 15px rgba(0,0,0,0.6);
    transition: opacity 0.3s ease-in-out;
    box-sizing: border-box;
    padding: 10px;
}

.cookie-accept-more-map {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

@media screen and (max-width: 375px) {
    .cookie-accept-more-map {
        width: 100%;
        gap: 5px;
        flex-direction: column-reverse;
    }
    #cookie-consent-map {
        min-height: 120px;
    }
    #cookie-map{
        font-size: 4vw;
    }
}