html,
body {
    margin: 0;
    padding: 0;
}

body {
    background: #221c5c;
    width: 100vw !important;
    height: 100vh !important;
    overflow: hidden;
}

body * {
    font-family: aupassataregular !important;
    color: #FDF9CA;
}

svg {
    width: 100%;
    height: 100vh;
}

#desktop {
    text-align: center;
    width: 100vw;
    margin: 0 auto;
}

.logo-container {
    display: none;
    width: 15%;
    position: absolute;
    right: 10px;
    top: 5px;
    bottom: 0;
    z-index: 1;
    pointer-events: none;
}

.logo-container a {
    pointer-events: initial;
}

.logo-container .logo {
    width: 100%;
    cursor: pointer;
}

.logo-container h1 {
    text-align: center;
    font-size: 1vw;
}

#slider-container {
    height: 15%;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #221c5c;
}

#slider {
    -webkit-appearance: none;
    width: 75%;
    display: block;
    height: 6px;
    border-radius: 6px;
    background: #FCFACA;
}

.ui-widget-header {
    /* For some reason, jQuery UI automatically changes the color on the right side of the slider */
    background: #FCFACA;
}

#custom-handle {
    top: -8px;
    border-radius: 100%;
    color: #FFF !important;
    outline: none !important;
    border: 0px solid transparent;
    background: #49bdec;
}

.slider-value {
    position: absolute;
    bottom: 30px;
    left: -12px;
}

#min,
#max {
    position: absolute;
    color: #FFF;
    top: 25px;
    font-size: 14px;
}

#min {
    left: -20px;
}

#max {
    right: -12px;
}

.arrow {
    height: 50px;
    width: 50px;
}

.arrow-left {
    margin-right: 30px;
    transform: rotateY(180deg);
}

.arrow-right {
    margin-left: 30px;
}

@media(max-width: 400px) {
    #slider {
        width: 85%;
    }
}

.title,
.text {
    text-anchor: start !important;
    fill: #FDF9CA;
    font-weight: normal;
}

.title {
    font-size: 14px !important;
}

.text {
    font-size: 10px !important;
}

#mobile {
    position: relative;
}

.topbar {
    width: 100%;
    height: 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    z-index: 9999;
}

.topbar .image {
    height: 80px;
    width: 80px;
    box-sizing: border-box;
    border: 2px solid #FDF9CA;
    margin: 4px 10px;
    padding: 4px;
    cursor: pointer;
    background: #221c5c;
}

.topbar .image:first-child {
    margin-left: 8px;
}

.topbar .image:last-child {
    margin-right: 8px;
}

.topbar svg {
    width: 100%;
    height: 100%;
}

.topbar svg path {
    stroke: none;
}

.text-popup {
    width: 80%;
    margin: 0 auto;
    padding-bottom: 140px;
    display: none;
    position: relative;
}

.text-popup .info {
    padding-top: 150px;
}

.text-popup .close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 100px;
    cursor: pointer;
    color: #FFF;
}

@media(max-width: 400px) {
    .text-popup .close {
        right: 0px;
        top: 0px;
    }
    .text-popup .info {
        padding-top: 100px;
    }
    /* .logo {
        display: none;
    } */
}

#marked-globe {
    display: none;
    text-align: center;
}

#north {
    text-align: center;
}

.selectedArea {
    stroke-width: 2px !important;
    stroke: #FCF8CC !important;
}

/* 
 *  SVG generated edits, so we don't have to change them again in the future,
 *  if we decide to compile it again
*/

.st1,
.st9,
.st10 {
    stroke-width: 1px;
}

/*TODO: CHANGE? */

/* #desktop [parent="Globe"] {
    transform: scale(0.25) translate(200px, 600px);
} */

/*TODO: CHANGE */

text[parent="DanskKoloni"],
text[parent="Trankebar"],
text[parent="VestindiskeOer"],
text[parent="Fredriksnagore"] {
    fill: #f5a04c !important;
}

path[parent="DanskKoloni"],
path[parent="Trankebar"],
path[parent="VestindiskeOer"],
path[parent="Fredriksnagore"] {
    /* fill: #0097cd !important; */
    stroke: "#FFF9D2";
    stroke-width: 1px;
}

#desktop path[parent="DanskKoloni"],
#desktop path[parent="Trankebar"],
#desktop path[parent="VestindiskeOer"],
#desktop path[parent="Fredriksnagore"] {
    /* fill: #0097cd !important; */
    stroke: "#FFF9D2";
    stroke-width: 1px;
}

/* #desktop path[parent="VestindiskeOer"] {
    transform: translate(5px, -40px);
} */

/* #desktop path[parent="Fredriksnagore"] {
    transform: translate(-14px, -14px);
} */

/* #desktop path[parent="Trankebar"] {
    transform: translate(-25px, -20px);
} */

/* #desktop path[parent="DanskKoloni"] {
    transform: translate(-12px, -65px);
} */

#desktop path[parent="Groenland"],
path[parent="Faeroerne"],
path[parent="Island"] {
    transform: translate(-22px, 0);
}

#mobile path[parent="VestindiskeOer"] {
    transform: scale(3) translate(-25px, -182px);
}

#mobile path[parent="Fredriksnagore"] {
    transform: scale(3) translate(-3px, -147px);
}

#mobile path[parent="Trankebar"] {
    transform: scale(3) translate(-15px, -152px);
}

#mobile path[parent="DanskKoloni"] {
    transform: scale(3) translate(-17px, -194px);
}

#mobile text[parent="VestindiskeOer"],
#mobile text[parent="Fredriksnagore"],
#mobile text[parent="Trankebar"],
#mobile text[parent="DanskKoloni"] {
    font-size: 20px !important;
}