@charset "utf-8";

* {
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-decoration: none;
    font-family: 'Source Sans Pro', sans-serif;
}

body,
#outerContainer {
    position: fixed;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

#container {
    position: absolute;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    /*    background: black;*/
    overflow: hidden;
    -ms-touch-action: none;
    touch-action: none;
}


#item,
#backgrounds {
    position: absolute;
    width: 3000px;
    height: 3000px;
    -ms-touch-action: none;
    touch-action: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    /*    border: 4px dashed red;*/
}

#item > * {
    pointer-events: none;
}

#item:active {}

#item:hover {
    cursor: move;
}

.link-inner {
    cursor: pointer;
    pointer-events: auto !important;
}

#map1 {
    position: absolute;
    width: 50%;
    height: 50%;
    left: 0%;
    top: 0%;
}

#map2 {
    position: absolute;
    width: 50%;
    height: 50%;
    left: 50%;
}

#map3 {
    position: absolute;
    width: 50%;
    height: 50%;
    top: 50%;
}

#map4 {
    position: absolute;
    width: 50%;
    height: 50%;
    left: 50%;
    top: 50%;
}

.map-headline {
    position: absolute;
    max-width: 50vw;
    font-size: 36px;
    line-height: 1;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    opacity: .5;
    padding: .5em;
}

#map1 .map-headline {
    right: 0;
    bottom: 0;
    text-align: right;
}

#map2 .map-headline {
    left: 0;
    bottom: 0;
}

#map3 .map-headline {
    right: 0;
    top: 0;
    text-align: right;
}

#map4 .map-headline {
    left: 0;
    top: 0;
}

.map-button {
    position: absolute;
    width: auto;
    height: auto;
    background: #959595;
    padding: .3em .5em .45em;
    font-size: 25px;
    font-weight: 600;
    text-align: center;
    line-height: 1.1;
    color: white;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.map-button:hover {
    color: white;
    -webkit-transform: scale(1.1);
    -ms-transform: scale(1.1);
    transform: scale(1.1);
    -webkit-box-shadow: .7em .7em .7em rgba(0, 0, 0, 0.4);
    box-shadow: .7em .7em .7em rgba(0, 0, 0, 0.4);
    -webkit-transition: all .3s;
    transition: all .3s;
}

#map1 .map-button,
#map1.map-bg {
    background: #97a55c;
}

#map2 .map-button,
#map2.map-bg {
    background: #417ba3;
}

#map3 .map-button,
#map3.map-bg {
    background: #f29400;
}

#map4 .map-button,
#map4.map-bg {
    background: #81197f;
}

.map-bg {
    opacity: .85;
}

.btn-in {
    opacity: 1 !important;
    -webkit-transform: scale(1) !important;
    -ms-transform: scale(1) !important;
    transform: scale(1) !important;
    -webkit-transition: all .5s;
    transition: all .5s;
}

.btn-out {
    opacity: 0;
    -webkit-transform: scale(2);
    -ms-transform: scale(2);
    transform: scale(2);
    -webkit-transition: all 1.5s;
    transition: all 1.5s;
}

.map-in {
    opacity: 1 !important;
    -webkit-transform: translate(0, 0) scale(1) !important;
    -ms-transform: translate(0, 0) scale(1) !important;
    transform: translate(0, 0) scale(1) !important;
    -webkit-transition: all 1s;
    transition: all 1s;
}

.map-out {
    opacity: 0;
    /*    transform: translate(0, 0) scale(0) !important;*/
    -webkit-transition: all .1s;
    transition: all .1s;
}

/*buttons*/
#back-btn {
    position: absolute;
    width: 50px;
    height: 50px;
    left: 0;
    top: 0;
    margin: 20px;
    padding: 0;
    color: #bab8b8;
    cursor: pointer;
    background: none;
    display: none;
}

#back-btn:hover {
    color: white;
}

#map1 .placement {
    position: absolute;
    width: 105%;
    height: 107%;
    left: -7%;
    top: -6%;
    -webkit-transform: translate(10%, 10%) scale(.4);
    -ms-transform: translate(10%, 10%) scale(.4);
    transform: translate(10%, 10%) scale(.4);
    -webkit-transform-origin: right bottom;
    -ms-transform-origin: right bottom;
    transform-origin: right bottom;
    -webkit-transition: all 2s;
    transition: all 2s;
}

#btn1-1 {
    left: 87%;
    top: 90%;
}

#btn1-2 {
    left: 64%;
    top: 94%;
}

#btn1-3 {
    left: 68%;
    top: 82%;
}

#btn1-4 {
    left: 51%;
    top: 76%;
}

#btn1-5 {
    left: 79%;
    top: 74%;
}

#btn1-6 {
    left: 47%;
    top: 88%;
}

#btn1-7 {
    left: 24%;
    top: 93%;
}

#btn1-8 {
    left: 90%;
    top: 60%;
}

#btn1-9 {
    left: 31%;
    top: 53%;
}

#btn1-10 {
    left: 72%;
    top: 68%;
}

#btn1-11 {
    left: 54%;
    top: 65%;
}

#btn1-12 {
    left: 31%;
    top: 67%;
}

#btn1-13 {
    left: 71%;
    top: 40%;
}

#btn1-14 {
    left: 27%;
    top: 82%;
}

#btn1-15 {
    left: 69%;
    top: 61%;
}

#btn1-16 {
    left: 50%;
    top: 45%;
}

#btn1-17 {
    left: 70%;
    top: 47%;
}

#btn1-18 {
    left: 50%;
    top: 58%;
}

#btn1-19 {
    left: 75%;
    top: 55%;
}

#btn1-20 {
    left: 27%;
    top: 38%;
}


#map2 .placement {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0%;
    top: 0%;
    -webkit-transform: translate(6%, 10%) scale(.4);
    -ms-transform: translate(6%, 10%) scale(.4);
    transform: translate(6%, 10%) scale(.4);
    -webkit-transform-origin: left bottom;
    -ms-transform-origin: left bottom;
    transform-origin: left bottom;
    -webkit-transition: all 2s;
    transition: all 2s;
}

#btn2-1 {
    left: 20%;
    top: 94%;
}

#btn2-2 {
    left: 37%;
    top: 88%;
}

#btn2-3 {
    left: 24%;
    top: 78%;
}

#btn2-4 {
    left: 23%;
    top: 60%;
}

#btn2-5 {
    left: 46%;
    top: 79%;
}

#btn2-6 {
    left: 63%;
    top: 47%;
}

#btn2-7 {
    left: 40%;
    top: 49%;
}

#btn2-8 {
    left: 17%;
    top: 54%;
}

#btn2-9 {
    left: 43%;
    top: 40%;
}

#btn2-10 {
    left: 22%;
    top: 43%;
}

#btn2-11 {
    left: 48%;
    top: 56%;
}

#btn2-12 {
    left: 66%;
    top: 35%;
}

#btn2-13 {
    left: 73%;
    top: 76%;
}

#btn2-14 {
    left: 61%;
    top: 67%;
}

#btn2-15 {
    left: 32%;
    top: 70%;
}

#btn2-16 {
    left: 34%;
    top: 32%;
}

#btn2-17 {
    left: 65%;
    top: 86%;
}

#map3 .placement {
    position: absolute;
    width: 140%;
    height: 87%;
    left: -22%;
    top: 1%;
    -webkit-transform: translate(-6%, 11%) scale(.4);
    -ms-transform: translate(-6%, 11%) scale(.4);
    transform: translate(-6%, 11%) scale(.4);
    -webkit-transform-origin: right top;
    -ms-transform-origin: right top;
    transform-origin: right top;
    -webkit-transition: all 2s;
    transition: all 2s;
}

#btn3-1 {
    left: 70%;
    top: 56%;
}

#btn3-2 {
    left: 70%;
    top: 38%;
}

#btn3-3 {
    left: 57%;
    top: 26%;
}

#btn3-4 {
    left: 81%;
    top: 63%;
}

#btn3-5 {
    left: 59%;
    top: 47%;
}

#btn3-6 {
    left: 35%;
    top: 42%;
}

#btn3-7 {
    left: 53%;
    top: 37%;
}

#btn3-8 {
    left: 38%;
    top: 31%;
}

#btn3-9 {
    left: 72%;
    top: 29%;
}

#btn3-10 {
    left: 41%;
    top: 49%;
}

#btn3-11 {
    left: 46%;
    top: 56%;
}

#btn3-12 {
    left: 49%;
    top: 20%;
}

#btn3-13 {
    left: 73%;
    top: 48%;
}

#btn3-14 {
    left: 61%;
    top: 63%;
}

#btn3-15 {
    left: 34%;
    top: 63%;
}

#btn3-16 {
    left: 39%;
    top: 22%;
}

#btn3-17 {
    left: 43%;
    top: 69%;
}


#map4 .placement {
    position: absolute;
    width: 130%;
    height: 90%;
    left: -9%;
    top: 2%;
    -webkit-transform: translate(6%, 10%) scale(.4);
    -ms-transform: translate(6%, 10%) scale(.4);
    transform: translate(6%, 10%) scale(.4);
    -webkit-transform-origin: left top;
    -ms-transform-origin: left top;
    transform-origin: left top;
    -webkit-transition: all 2s;
    transition: all 2s;
}

#btn4-1 {
    left: 33%;
    top: 38%;
}

#btn4-2 {
    left: 24%;
    top: 31%;
}

#btn4-3 {
    left: 63%;
    top: 51%;
}

#btn4-4 {
    left: 34%;
    top: 54%;
}

#btn4-5 {
    left: 63%;
    top: 32%;
}

#btn4-6 {
    left: 22%;
    top: 46%;
}

#btn4-7 {
    left: 43%;
    top: 26%;
}

#btn4-8 {
    left: 49%;
    top: 45%;
}

#btn4-9 {
    left: 47%;
    top: 35%;
}

#btn4-10 {
    left: 23%;
    top: 60%;
}

#btn4-11 {
    left: 53%;
    top: 63%;
}




/*infobox*/

#infobox {
    position: absolute;
    width: 90%;
    max-width: 800px;
    height: auto;
    left: 0;
    right: 0;
    bottom: 15%;
    margin: 0 auto;
    border-radius: 1em;
    background: rgba(255, 255, 255, 1);
}

.infobox-in {
    -webkit-transform: scale(1) !important;
    -ms-transform: scale(1) !important;
    transform: scale(1) !important;
    opacity: 1;
    -webkit-transition: all .5s;
    transition: all .5s;
}

.infobox-out {
    -webkit-transform: scale(0) !important;
    -ms-transform: scale(0) !important;
    transform: scale(0) !important;
    opacity: 0;
    -webkit-transition: all .3s;
    transition: all .3s;
}

.close-icon {
    position: absolute;
    width: 25px;
    right: 0;
    padding: 20px;
    opacity: .8;
    cursor: pointer;
}

.info-headline {
    font-size: 150%;
    padding-bottom: .8em;
    margin-right: 20px;
}

.infotext {
    display: block;
    font-size: 20px;
    color: black;
    padding: 2em 2em 1em;
}

.infotext ul {
    padding-left: 1em;
}

.infotext li {
    padding-bottom: 1em;
}

#textcopy {
    text-align: right;
}

#textcopy-text {
    width: auto;
    margin: 20px;
    padding: .3em .8em .45em;
    background: #e8e8e8;
    color: #004d8a;
    text-align: center;
    cursor: pointer;
}

.textcopy-done {
    background: none !important;
}

/*startbox*/
#startbox {
    position: absolute;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -moz-box;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -moz-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -moz-box-pack: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    -webkit-transition: all .1s;
    transition: all .1s;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

#startbox .content {
    width: 90%;
    max-width: 500px;
    height: auto;
    border-radius: 1em;
    background: rgba(255, 255, 255, 1);
    cursor: pointer;
    text-align: center;
    padding-bottom: 40px;
}

.start-button {
    width: 100px;
    margin: 0 auto;
    background: #004c88;
    padding: 0 .5em .1em;
    font-size: 22px;
    font-weight: 600;
    text-align: center;
    line-height: 2;
    color: white;
}

@media only screen and (min-width: 1200px) {
    .infotext {
        font-size: 22px;
    }
}


@media only screen and (max-width: 900px) {
    
    .map-button {
        font-size: 16px;
    }

    #item,
    #backgrounds {
        position: absolute;
        width: 2000px;
        height: 2000px;
        -ms-touch-action: none;
        touch-action: none;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }
}

@media only screen and (max-width: 768px) {
    .map-headline {
        font-size: 26px;
    }

    .info-headline {
        font-size: 130%;
    }

    .infotext {
        font-size: 90%;
        line-height: 1.1;
    }
}

@media only screen and (max-width: 480px) {
    .map-headline {
        font-size: 20px;
    }
}
