body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

#HrMap {
    display: none;
}

h2 {
    display: none;
}

#MapButton {
    display: none
}

#background {
    position: absolute;
    height: 100%;
    width: 40%;
    overflow: hidden;
    z-index: 2;
}

#whitebackground {
    background-color: antiquewhite;
    width: 100%;
    height: 100%;
    position: inherit;
    z-index: 2;
}

#TextContainer {
    position: absolute;
    height: inherit;
    width: 40%;
    overflow-y: scroll;
    z-index: 3;
}

#TextContainer::-webkit-scrollbar {
    display: none;
}

#Map::-webkit-scrollbar {
    display: none;
}

#Container {
    position: absolute;
    width: 60%;
    left: 40%;
    display: flex;
    flex-direction: row;
}

#Menu {
    height: inherit;
    position: absolute;
    left: 40%;
    width: fit-content;
    background-color: #e0d0b6;
    z-index: 2;
    box-shadow: 0px 2px 7px 4px rgba(0, 0, 0, 0.23);
}

#Map {
    position: absolute;
    height: 100%;
    width: calc(100% - 213px - 40%);
    right: 0;
    left: auto;
    overflow: scroll;
    background-color: #929494;
}

h1 {
    position: relative;
    font-family: 'Rokkitt', serif;
    font-size: 2.1rem;
    font-weight: bold;
    margin-left: 8px;
    text-align: center;
    text-shadow: 2px 2px 2px #797A70;
}

p {
    position: relative;
    font-size: 1.2rem;
    font-family: 'Montserrat', sans-serif;
    line-height: 40px;
    margin-left: 35px;
    margin-right: 35px;
    font-weight: 500;
}

hr.hrtitle {
    border: 3px solid #9b7b72;
    width: 40%;
    border-radius: 5px;
    -webkit-box-shadow: 0px 3px 2px 1px #191919;
    box-shadow: 0px 3px 2px 1px rgba(0, 5, 5, 0.53);
    opacity: 0%;
}

hr {
    border-top: 2px dashed #5E5E5E;
    width: 40%;
}

hr.hrtitle.prologueline {
    margin-top: 20px;
}

#MapImage {
    position: relative;
    left: auto;
    z-index: 1;
    width: 867px;
    height: auto;
}

#menusvg {
    height: 99%;
    width: auto;

    margin: 8px;
}

.Selected {
    font-style: italic;
    opacity: 0;
}

.Opacity {
    opacity: 1;
    transition: opacity 0.5s;
}

@media screen and (max-height: 990px),  (max-width: 1280px) {
    #menusvg {
        height: 990px;
        width: auto;
    }

    #Menu {
        overflow-y: scroll;
    }
}

/* Large Viewports */
@media screen and (min-width: 1921px) {
    #Menu {
        width: fit-content;
    }

    #Map {
        /*display: -ms-flexbox;*/
        /*display: -webkit-flex;*/
        /*display: flex;*/

        /*-ms-flex-align: center;*/
        /*-webkit-align-items: center;*/
        /*-webkit-box-align: center;*/

        /*align-items: center;*/
    }

    #MapDiv {
        position: relative;
        height: 100%;
    }

    #MapImage {
        width: 3500px;
    }
}

/* Viewports between 768 and 1280 px */
@media screen and (min-width: 768px) and (max-width: 1280px) {
    #Menu {
        height: 50%;
        right: 0;
        left: auto;
    }

    #TextContainer {
        height: 50%;
        width: calc(100% - 207px);
    }

    #background {
        height: 50%;
        width: calc(100% - 190px);
    }

    #whitebackground {
        height: 100%;
    }

    #Map {
        width: 100%;
        height: 50%;
        position: absolute;
        top: 50%;
    }

    #MapImage {
        width: 100%;
    }
}

/* Small Viewports */
@media screen and (max-width: 768px){
    #Menu {
        left: auto;
        right: -180px;
        /*left: calc(100% - 45px);*/
        width: 225px;
        margin-left: 0;
        height: calc(100% - 45px);
        transition: right 0.5s;
        z-index: 7;
    }

    #Menu:hover, .Open {
        right: 0;
        z-index: 7;
    }

    #TextContainer {
        width: calc(100% - 43px);
        height: calc(100% - 45px);
    }

    #background {
        width: calc(100% - 29px);
        height: calc(100% - 45px);
    }

    h2 {
        margin-top: 9px;
        margin-bottom: 10px;
        display: block;
        font-family: 'Rokkitt', serif;
    }

    #Map {
        width: 100%;
        position: absolute;
        top: calc(100% - 45px);
        z-index: 8;
        text-align: center;
        transition: top 0.5s;
        overflow: hidden;
    }

    #Map:hover {
        top: 12.2%;
    }

    #MapTitle {
        width: 100%;
        height: auto;
        z-index: 1;
    }

    #MapDiv {
        overflow: scroll;
        width: 100%;
        height: 90%;
    }

    #MapDiv::-webkit-scrollbar {
        display: none;
    }

    #HrMap {
        display: block;
        margin-bottom: 0;
        width: 100%;
        border: 2px solid #5E5E5E;
    }
}