html {
    font-family:sans-serif;
    color:#080808;
    overflow-y: scroll;
    height: 100%;
    font: 100%/1.5 sans-serif;
    word-wrap: break-word;
    margin: 0 auto;
    padding: 1.5em;
}
body {
    margin:0 auto;
    padding:1rem;
    background: #f6f1ec;
    color: black;
    font-size: 18px;
    line-height: 130%;
}


@media (min-width: 768px) {
    html {
        font-size: 125%;
        max-width: 48em;
    }
}

.figure {
    text-align: center;
    font-size: 15px;
    font-style: italic;
}

.figure-number {
    display: none;
}

.container {
    /* padding:1rem; */
   /* text-align: center; */
}

.container pre {
    display: inline;
    justify-content: space-between;
}

main {
    grid-area: main;
}

footer {
    margin-top:2rem;
    text-align:center;
    font-size:.8rem;
    color:#333
    padding-top: 2em;
    grid-area: footer;
}

h1 {
    color: purple;
    text-decoration: none;
    text-align: center;
}

h2 a {
    color: purple;
    text-decoration: none;
}

h2 {
    color: #45818e;
}

h3 {
    color: purple;
}

a:link {
    color: #ce7e00;
    text-decoration: none;
}

a:visited {
    color: #ce7e00;
    text-decoration: none;
}

a:hover {
    color: purple;
}

header a:link {
    color: #f6f1ec;
    text-decoration: none;
}

header a:visited {
    color: #f6f1ec;
    text-decoration: none;
}

header a:hover {
    color: #ce7e00;
}

img {
    margin: auto;
    max-width: 40%;
    display: block;
}

article {
    margin:0 auto;
    max-width:720px;
    line-height:1.3
}
article img,
article video,
article iframe {
    display:block!important;
    margin:0 auto!important;
    max-width:90%
}

pre {
    max-width: 50%;
    color: purple;
}

/* Random quote JS class */
.output a {
    font-size: 16px;
    font-style: italic;
    text-align: center;
    color: grey;
}

/* Tooltip container */
.tooltip {
  position: relative;
  display: inline-block;
  border-bottom: 1px dotted black; /* Add dots under the hoverable text */
  cursor: pointer;
}

/* Tooltip text */
.tooltiptext {
  font-size: 16px;
  visibility: hidden; /* Hidden by default */
  width: 130px;
  background-color: black;
  color: #f6f1ec;
  text-align: center;
  padding: 5px 0;
  border-radius: 6px;
  position: absolute;
  z-index: 1; /* Ensure tooltip is displayed above content */
  top: -5px;
  left: 105%;
}

/* Show the tooltip text on hover */
.tooltip:hover .tooltiptext {
  visibility: visible;
}

/* TOP BAR */
header {
    padding:1rem;
    background: purple;
    display: flex;
    font-size: 20px;
    justify-content: space-between;
}

header .headertitle{
    font-style: italic;
    text-align: center;
    color: #f6f1ec;
}

header nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

header a + a {
    align-items: center;
    justify-content: space-between;
    margin-left: 1rem;
}

header a + div {
    align-items: center;
    justify-content: space-between;
    margin-left: 1rem;
}

@media(max-width:640px) {
    header nav {
        flex-direction: column;
    }
}

/* ARTICLE LIST */
.posts {
    margin: 0;
    list-style: none;
}
.posts .post a {
    display: flex;
    padding: 0.5em 0;
    color: black;
}
.posts .post a:hover, .posts .post a:focus, .posts .post a:active {
    text-decoration: none;
    background: rgba(200, 200, 200, 0.2);
}
.posts .post date {
    vertical-align: middle;
    padding-right: 2rem;
    color: grey;
}

/* VALIDATION FORMAT */
.status {
    text-align: center;
    font-size: 16px;
}


/* GPX map with leaflet */
.leaflet-container {
    max-width: 100%;
}
