* {
    box-sizing: border-box;
}

body {
    position: relative;
    font-family: sans-serif;
    margin-left: 0;
}

@font-face {
    font-family: heraldRegular;
    src: url(../fonts/herald.ttf);
}

@font-face {
    font-family: iwona;
    src: url(../fonts/IwonaCondHeavy-Regular.ttf);
}

.drawer {
    color: #70acb9;
    background-color: rgba(13, 37, 46, 0.8);
    font-family: iwona, sans-serif;
    text-shadow: #2a7385 0 0 5px;
    border: 1px solid grey;
    transition: 0.5s;
}

.drawer a {
    color: #70acb9;
    text-decoration: none;
}

.drawer a:hover {
    text-decoration: underline;
    color: #cdd0d2;
}

a.toggle {
    font-family: heraldRegular, sans-serif;
    text-decoration: none;
    color: white;
    position: absolute;
    top: 2px;
    bottom: 2px;
    background-color: #2a7385;
}

a.toggle:hover {
    text-decoration: none;
}

.drawer.left .toggle {
    right: 2px;
    border-bottom-right-radius: 4px;
    border-top-right-radius: 4px;
}

.drawer.right .toggle {
    left: 2px;
    border-bottom-left-radius: 4px;
    border-top-left-radius: 4px;
}

.drawer ul {
    list-style-type: none;
}

.drawer.left {
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
}

.drawer.right {
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
}

#options {
    --drawer-width: 40rem;
    z-index: 999;
    bottom: 20px;
    position: fixed;
    width: var(--drawer-width);
    min-width: 30rem;
    padding: 10px 15px 10px 10px;
}

h1 {
    font-family: heraldRegular, sans-serif;
    text-shadow: none;
    color: #ff76c6;
    text-align: center;
}

.pink {
    color: #ff76c6;
}

#options legend {
    font-size: 20px;
}

.drawer.left.opened {
    left: 0;
}

.drawer.left.closed {
    left: calc(var(--drawer-width) * -1 + 1rem)
}

.drawer.right.opened {
    left: calc(100% - var(--drawer-width))
}

.drawer.right.closed {
    left: calc(100% - 1rem);
}

fieldset {
    padding-bottom: 1rem;
}

#locations {
    --drawer-width: 17rem;
    z-index: 990;
    bottom: 20px;
    position: fixed;
    width: var(--drawer-width);
    min-width: 15rem;
    border-bottom-color: #ccc;
    padding: 10px 15px 10px 10px;
    transition: 0.5s;
}

#locationsWrapper {
    padding: 8px;
}

label {
    padding-right: 10px;
}

button {
    margin-left: 5px;
}

#viewer {
    width: 2048px;
    text-align: center;
}

#main-canvas {
    background-image: url(../images/map_background-compressed.jpg);
    background-size: 100%;
}

input[type="file"]::file-selector-button {
    font-family: iwona, sans-serif;
    font-size: 1.3rem;
    text-transform: uppercase;
    background-color: #2a7385;
    color: #002a49;
    padding: 10px 20px;
    border: none;
    border-radius: 0.6rem;
    cursor: pointer;
    line-height: 0.3rem;
}
