:root {
    --color-bg: #ece7df;
    --color-fg: #1c1a18;
    --color-tint: #cfc3af;
    --color-accent: #b57c30;
    --color-mid-1: #5e5a55bb;
    --color-selection: #b57c3022;
}

body {
    max-width: 670px;
    margin-top: 0;
    margin-bottom: 0;
    line-height: 1.3;
    background: var(--color-tint);
    font-family: var(--sans);
}

main {
    margin: 0 -1.5rem;
    padding: 3rem 3rem 0;
}

main .day {
    background: var(--color-bg);
    margin: 2rem -2rem;
    padding: 2.5rem 3rem;
    border-radius: .5rem;
    box-shadow: 0 0 .5rem #00000011;
}

main h1 {
    font-family: Roslindale;
    font-size: 170%;
    font-style: normal;
    font-weight: bold;
    margin: 0;
    text-align: center;
    color: var(--color-accent);
    text-shadow: 1px 1px 0 var(--color-bg);
}

main h2 {
    margin: 0 0 .5rem;
    font-family: var(--sans);
    font-style: normal;
    font-weight: normal;
    color: var(--color-mid-1);
}

main h3 {
    margin-top: 0;
    font-family: var(--sans);
    font-size: 130%;
    font-style: normal;
    font-weight: bold;
}

main p {
    line-height: 1.45;
    font-family: Tiempos;
}

main p.quote {
    text-align: center;
    margin: 1.75rem auto;
    line-height: 1.3;
    font-family: var(--sans);
    color: var(--color-mid-1);
}

main p.quote + p.quote {
    margin-top: -.75rem;
}

main img {
    width: calc(100% + 6rem);
    margin: 1.2rem -3rem .6rem;
}

#cross {
    display: block;
    max-width: 20vw;
    min-width: 70px;
    margin: 0 auto 1.5rem;
    fill: var(--color-bg);
    stroke: var(--color-accent);
    stroke-width: 6px;
}

#info {
    margin: 1.5rem auto;
    max-width: 500px;
    color: var(--color-mid-1);
    text-align: center;
    padding: .4rem 0;
}

.nav {
    display: flex;
    justify-content: center;
    margin: 0 auto;
}

.nav a {
    width: 6rem;
    text-align: center;
    margin: .5rem;
    padding: .5rem .7rem;
    border-radius: .5rem;
    background: #a99370;
    color: var(--color-bg);
    text-decoration: none;
    transition: background .1s, color .1s;
}

.nav a:hover,
.nav a:focus-visible {
    background: var(--color-bg);
    color: var(--color-accent);
    transition: background .1s, color .1s;
}

.gpx {
    width: calc(100% + 6rem);
    margin: 1rem auto 2rem;
}

.gpx .map {
    width: 100%;
    height: 400px;
    margin: 1.5rem 0 1rem -3rem;
}

.gpx .map img {
    margin: 0 !important;
}

a {
    color: var(--color-accent);
    text-decoration-color: transparent;
}

@media (hover: hover) {
    a:hover,
    a:focus-visible {
        text-decoration-color: var(--color-accent);
    }
}

footer {
    font-size: 87%;
    max-width: 550px;
    margin: 0 auto;
    padding-top: 2rem;
    color: var(--color-mid-1);
    text-align: center;
}

@media all and (max-width:1200px) {
    .gpx .map { height: 15rem }
}

@media all and (max-width:680px) {
    body {
        margin: 5vw;
    }

    main {
        margin: 0;
        padding: 5vw 0;
    }

    main .day {
        margin: 2rem -5vw;
        padding: 1.5rem 5vw;
        border-radius: 0;
    }

    main img {
        max-width: calc(100% + 10vw);
        margin: 1.2rem -5vw .6rem;
        border-radius: 0;
    }

    .gpx {
        width: calc(100% + 10vw);
    }
    
    .gpx .map {
        height: 18rem;
        margin-left: -5vw;
    }
}

@media all and (max-width:550px) {
    main .day {
        border-radius: 0;
    }

    #cross {
        margin-bottom: 5vw;
    }
}

/*! Leaflet */
@media(hover:hover){.leaflet-control{opacity:0;transition:opacity .5s ease}.gpx:hover .leaflet-control{opacity:1}}.leaflet-image-layer,.leaflet-layer,.leaflet-pane,.leaflet-pane>canvas,.leaflet-pane>svg,.leaflet-tile,.leaflet-tile-container,.leaflet-zoom-box{position:absolute;left:0;top:0}.leaflet-container{overflow:hidden}.leaflet-tile{-webkit-user-select:none;-moz-user-select:none;user-select:none;-webkit-user-drag:none}.leaflet-tile::selection{background:0 0}.leaflet-safari .leaflet-tile{image-rendering:-webkit-optimize-contrast}.leaflet-safari .leaflet-tile-container{width:1600px;height:1600px;-webkit-transform-origin:0 0}.leaflet-marker-icon,.leaflet-marker-shadow{display:none}.leaflet-container .leaflet-marker-pane img,.leaflet-container .leaflet-overlay-pane svg,.leaflet-container .leaflet-shadow-pane img,.leaflet-container .leaflet-tile,.leaflet-container .leaflet-tile-pane img,.leaflet-container img.leaflet-image-layer{max-width:none!important;max-height:none!important;background:0 0!important}.leaflet-container.leaflet-touch-zoom{-ms-touch-action:pan-x pan-y;touch-action:pan-x pan-y}.leaflet-container.leaflet-touch-drag{-ms-touch-action:pinch-zoom;touch-action:none;touch-action:pinch-zoom}.leaflet-container.leaflet-touch-drag.leaflet-touch-zoom{-ms-touch-action:none;touch-action:none}.leaflet-container{-webkit-tap-highlight-color:transparent}.leaflet-tile{filter:inherit;visibility:hidden}.leaflet-tile-loaded{visibility:inherit}.leaflet-zoom-box{width:0;height:0;-moz-box-sizing:border-box;box-sizing:border-box;z-index:800}.leaflet-overlay-pane svg{-moz-user-select:none}.leaflet-pane{z-index:400}.leaflet-tile-pane{z-index:200}.leaflet-overlay-pane{z-index:400;pointer-events:none!important}.leaflet-shadow-pane{z-index:500}.leaflet-marker-pane{z-index:600}.leaflet-tooltip-pane{z-index:650}.leaflet-map-pane canvas{z-index:100}.leaflet-map-pane svg{z-index:200}.leaflet-vml-shape{width:1px;height:1px}.lvml{behavior:url(#default#VML);display:inline-block;position:absolute}.leaflet-control{position:relative;z-index:800;pointer-events:visiblePainted;pointer-events:auto}.leaflet-bottom,.leaflet-top{position:absolute;z-index:1000;pointer-events:none}.leaflet-top{top:0}.leaflet-right{right:0}.leaflet-bottom{bottom:0}.leaflet-left{left:0}.leaflet-control{float:left;clear:both}.leaflet-right .leaflet-control{float:right}.leaflet-top .leaflet-control{margin-top:10px}.leaflet-bottom .leaflet-control{margin-bottom:10px}.leaflet-left .leaflet-control{margin-left:10px}.leaflet-right .leaflet-control{margin-right:10px}.leaflet-fade-anim .leaflet-tile{will-change:opacity}.leaflet-zoom-animated{-webkit-transform-origin:0 0;-ms-transform-origin:0 0;transform-origin:0 0}.leaflet-zoom-anim .leaflet-zoom-animated{will-change:transform}.leaflet-zoom-anim .leaflet-zoom-animated{-webkit-transition:-webkit-transform .25s cubic-bezier(0,0,.25,1);-moz-transition:-moz-transform .25s cubic-bezier(0,0,.25,1);transition:transform .25s cubic-bezier(0,0,.25,1)}.leaflet-pan-anim .leaflet-tile,.leaflet-zoom-anim .leaflet-tile{-webkit-transition:none;-moz-transition:none;transition:none}.leaflet-zoom-anim .leaflet-zoom-hide{visibility:hidden}.leaflet-interactive{cursor:pointer}.leaflet-grab{cursor:-webkit-grab;cursor:-moz-grab;cursor:grab}.leaflet-crosshair,.leaflet-crosshair .leaflet-interactive{cursor:crosshair}.leaflet-dragging .leaflet-grab,.leaflet-dragging .leaflet-grab .leaflet-interactive,.leaflet-dragging .leaflet-marker-draggable{cursor:move;cursor:-webkit-grabbing;cursor:-moz-grabbing;cursor:grabbing}.leaflet-image-layer,.leaflet-pane>svg path,.leaflet-tile-container{pointer-events:none}.leaflet-image-layer.leaflet-interactive,.leaflet-pane>svg path.leaflet-interactive,svg.leaflet-image-layer.leaflet-interactive path{pointer-events:visiblePainted;pointer-events:auto}.leaflet-container{background:var(--color-bg);outline:0}.leaflet-container a{color:var(--color-fg)}.leaflet-container{font:12px/1.5 var(--sans)}.leaflet-bar{border-radius:4px}.leaflet-bar a,.leaflet-bar a:hover{background-color:var(--color-bg);border-bottom:1px solid var(--color-mid-3);width:26px;height:26px;line-height:26px;display:block;text-align:center;text-decoration:none;color:var(--color-fg)}.leaflet-bar a{background-position:50% 50%;background-repeat:no-repeat;display:block;transition:color .1s}.leaflet-bar a:hover{color:var(--color-accent);transition:color .1s}.leaflet-bar a:first-child{border-top-left-radius:4px;border-top-right-radius:4px}.leaflet-bar a:last-child{border-bottom-left-radius:4px;border-bottom-right-radius:4px;border-bottom:none}.leaflet-bar a.leaflet-disabled{cursor:default;background-color:var(--color-bg);color:var(--color-tint)}.leaflet-touch .leaflet-bar a{width:30px;height:30px;line-height:30px}.leaflet-touch .leaflet-bar a:first-child{border-top-left-radius:2px;border-top-right-radius:2px}.leaflet-touch .leaflet-bar a:last-child{border-bottom-left-radius:2px;border-bottom-right-radius:2px}.leaflet-control-zoom-in,.leaflet-control-zoom-out{font:bold 18px var(--sans);text-indent:1px}.leaflet-touch .leaflet-control-zoom-in,.leaflet-touch .leaflet-control-zoom-out{font-size:22px}.leaflet-touch .leaflet-bar{box-shadow:none}.leaflet-touch .leaflet-bar{background-clip:padding-box}