html,
body {
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
    font-family: sans-serif;
    font-size: 16px;
}

#wrapper {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-align-items: center;
    align-items: center;
    position: relative;
    margin: 0 auto;
    width: 64em;
    max-width: 100%;
    transition: width 0.5s ease-in-out;
    /* min-height: 100vh; */
    font-family: 'Gotham Pro';
}

.sidebar-open #wrapper {
    width: 78em;
}

#main-col {
    flex: 0 1 42.2vw;
}

#side-col {
    max-width: 0;
    overflow: hidden;
    transition: max-width 0.5s ease-in-out;
    flex: 0 1 30vw;
}

.sidebar-open #side-col {
    max-width: 30%;
}

#side-col>div {
    padding: 1em;
    padding-right: 4em;
    white-space: nowrap;
}

#button-col {
    position: relative;
    width: 0px;
    z-index: 50;
    flex: 0 1 0px;
}

#button-toggle-sidebar {
    position: absolute;
    right: 0;
    width: 2em;
    height: 3em;
    margin-top: -1.5em;
    background: #66d8ff url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij48cGF0aCBmaWxsPSIjZmZmZmZmIiBkPSJNNy4zMyAyNGwtMi44My0yLjgyOSA5LjMzOS05LjE3NS05LjMzOS05LjE2NyAyLjgzLTIuODI5IDEyLjE3IDExLjk5NnoiLz48L3N2Zz4=) center center no-repeat;
    background-size: 1.5em;
    color: white;
    transition: transform 0.5s ease-in-out;
    cursor: pointer;
}

.sidebar-open #button-toggle-sidebar {
    transform: scaleX(-1);
}

#button-reset {
    position: absolute;
    right: 0;
    top: 0;
    width: 60px;
    height: 60px;
    border-radius: 0;
    background: #3D86C6 url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij48cGF0aCBmaWxsPSIjRkZGRkZGIiBkPSJNMTMuNSAyYy01LjYyOSAwLTEwLjIxMiA0LjQzNi0xMC40NzUgMTBoLTMuMDI1bDQuNTM3IDUuOTE3IDQuNDYzLTUuOTE3aC0yLjk3NWMuMjYtMy45MDIgMy41MDgtNyA3LjQ3NS03IDQuMTM2IDAgNy41IDMuMzY0IDcuNSA3LjVzLTMuMzY0IDcuNS03LjUgNy41Yy0yLjM4MSAwLTQuNTAyLTEuMTE5LTUuODc2LTIuODU0bC0xLjg0NyAyLjQ0OWMxLjkxOSAyLjA4OCA0LjY2NCAzLjQwNSA3LjcyMyAzLjQwNSA1Ljc5OCAwIDEwLjUtNC43MDIgMTAuNS0xMC41cy00LjcwMi0xMC41LTEwLjUtMTAuNXoiLz48L3N2Zz4=) 41% 50% no-repeat;
    background-size: 60%;
    transition: transform 0.3s ease, opacity 0.3s ease;
    cursor: pointer;
    z-index: 5010;
    /* transform: scale(0.01); */
    opacity: 0;
    pointer-events: none;
}


/* 
.config-start #button-reset {
    transform: scale(1);
    opacity: 1;
    pointer-events: inherit;
} */

.config-start #tip-layer {
    transform: scale(1);
    opacity: 1;
    pointer-events: inherit;
}

#from,
#to {
    font-family: inherit;
    font-size: 1.2em;
    max-width: 100%;
    margin-top: -0.25em;
    margin-bottom: 0.25em;
}

#myearth::after {
    content: "";
    position: absolute;
    top: 11.9%;
    left: 11.9%;
    right: 11.9%;
    bottom: 11.9%;
    border-radius: 50%;
    background-color: #f9f9f9;
}

#tip-layer {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    padding: 0;
    border-radius: 0;
    /* background-color: RGBA(255, 255, 255, 0.94); */
    color: #000000;
    user-select: none;
    pointer-events: none;
    z-index: 5000;
    transition: opacity 0.25s ease;
    opacity: 0;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    flex-direction: column;
    -webkit-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -webkit-justify-content: left;
    justify-content: left;
    -webkit-align-items: left;
    align-items: left;
    align-items: left;
    text-align: left;
    /* box-shadow: 1px 1px 6px 1px rgba(0, 0, 0, 0.233); */
}

#tip-big {
    font-size: 3em;
    letter-spacing: 0.05em;
    max-width: 230px;
}

@media (max-width: 999px) {
    #wrapper {
        display: block;
    }
    #wrapper,
    #side-col {
        width: auto !important;
        max-width: 100% !important;
    }
    #side-col>div {
        padding-top: 0;
        padding-right: 1em;
        margin-top: -1em;
        text-align: center;
    }
    #button-col {
        display: none;
    }
    #tip-layer>div {
        font-size: 2vw;
    }
}

@media (max-width: 719px) {
    #button-reset {
        width: 12%;
        height: 12%;
    }
    #side-col>div {
        font-size: 0.8em;
    }
}

.hotspot {
    display: block;
    width: 3em;
    height: 3em;
    cursor: pointer;
    border-radius: 50%;
    pointer-events: all;
    transform: translate(-50%, -50%);
}

.hotspot::before {
    content: "";
    position: absolute;
    left: 0.75em;
    top: 0.75em;
    width: 1.5em;
    height: 1.5em;
    opacity: 1;
    background-color: #EA7926;
    border-radius: 50%;
}

.hotspot:hover::before {
    opacity: 1;
}

.hotspot::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 1.5em;
    height: 1.5em;
    border: 1px #EA7926 solid;
    opacity: 0.8;
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(1);
    animation: pulse 3s infinite;
}

.hotspot+.hotspot::after {
    animation-delay: 1.5s;
}

@keyframes pulse {
    0% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1);
    }
    50%,
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(2.5);
    }
}