/* From Uiverse.io by kennyotsu-monochromia */
.wrapper-map {
    position: absolute;
    bottom: 5%;
    left: 50%;
    width: 60px;
    height: 60px;
    --black: #000000;
    --ch-black: #141414;
    --eer-black: #1b1b1b;
    --night-rider: #2e2e2e;
    --white: #ffffff;
    --af-white: #f3f3f3;
    --ch-white: #e1e1e1;
    z-index: 21;
}

footer .demo {
    position: absolute;
    bottom: 10px;
    width: 500px;
    margin: 0 auto;
}

footer .demo a {
    text-align: center;
    color: #000;
    text-decoration: none;
    font-weight: 100;
    border-bottom: 1px solid #000;
}

.circle {
    display: block;
    position: relative;
    padding: 0;
    z-index: 98;
    margin: 0 auto;
    -webkit-box-shadow: 0 6px 10px 0 rgba(0, 0, 0, 0.3);
    box-shadow: 0 6px 10px 0 rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    height: 60px;
    width: 60px;
    background-color: var(--white);
    transition: 0.2s;
    text-align: center;
}

.circle:active {
    transform: scale(0.9);
    box-shadow: 0 2px 15px 0 rgba(0, 0, 0, 0.3);
}

.circle:hover {
    cursor: pointer;
    background-color: var(--af-white);
    box-shadow: 0 8px 15px 0 rgba(0, 0, 0, 0.3);
}

.circle .svg {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -15px;
    margin-top: -15px;
    width: 30px;
    height: 30px;
    transition: 0.5s;
    transform: rotate(180deg);
}

.circle svg image {
    filter: brightness(50%);
}

.sub-circle {
    z-index: 0;
    position: absolute;
    height: 50px;
    width: 50px;
    overflow: hidden;
    border-radius: 50%;
    transition: 0.3s;
    transform: scale(0.5);
    opacity: 0;
    padding: 0;
    margin: 0;
    box-shadow: 0 6px 10px 0 rgba(0, 0, 0, 0.1);
    border: none;
}

.sub-circle label {
    background-color: var(--af-white);
    display: block;
    color: white;
    width: 100%;
    height: 100%;
    line-height: 40px;
    transition: 0.5s;
    padding: 0.3rem;
}

.sub-circle label:hover {
    cursor: pointer;
    background-color: var(--ch-white);
}

.subs {
    left: -20px;
    top: -50px;
    width: 40px;
    height: 40px;
    text-align: center;
    z-index: 0;
    margin: 0 auto;
    position: relative;
}

.hidden-sub-trigger {
    display: none;
}

.hidden-sub-trigger:checked ~ label {
    background-color: var(--white);
}

.hidden-trigger {
    display: none;
}

.hidden-trigger:checked ~ .circle {
    transform: scale(0.9);
    cursor: pointer;
    background-color: var(--white);
    box-shadow: 0 8px 15px 0 rgba(0, 0, 0, 0.1);
}

.hidden-trigger:checked ~ .circle .svg {
    transform: rotate(45deg);
}

/* handle 5 menu */
/* default state */
.subs button {
    position: absolute;
    opacity: 0;
    transform: scale(0);
    transition: 0.25s;
}

/* on trigger */
.hidden-trigger:checked ~ .subs button {
    opacity: 1;
    transform: scale(1);
}

/* 1: Far Left  (-) */
.hidden-trigger:checked ~ .subs button:nth-of-type(1) {
    transform: translate(-150px, -20px) scale(1);
    transition-delay: 0.05s;
}

/* 2: Left-Up  (\) */
.hidden-trigger:checked ~ .subs button:nth-of-type(2) {
    transform: translate(-90px, -80px) scale(1);
    transition-delay: 0.1s;
}

/* 3: Center-Up  (|) */
.hidden-trigger:checked ~ .subs button:nth-of-type(3) {
    transform: translate(0px, -110px) scale(1);
    transition-delay: 0.15s;
}

/* 4: Right-Up  (/) */
.hidden-trigger:checked ~ .subs button:nth-of-type(4) {
    transform: translate(90px, -80px) scale(1);
    transition-delay: 0.2s;
}

/* 5: Far Right  (-) */
.hidden-trigger:checked ~ .subs button:nth-of-type(5) {
    transform: translate(150px, -20px) scale(1);
    transition-delay: 0.25s;
}

.button-container {
    display: flex;
    position: absolute;
    right: 1rem;
    top: 0.5rem;
    background-color: #ffff;
    width: 100px;
    height: 40px;
    align-items: center;
    justify-content: space-around;
    border-radius: 10px;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    /* rgba(245, 73, 144, 0.5) 5px 10px 15px; */
}

.button {
    outline: 0 !important;
    border: 0 !important;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all ease-in-out 0.3s;
    cursor: pointer;
}

.button:hover {
    transform: translateY(-1px);
}

.icon {
    font-size: 20px;
    color: #000000;
}
