@import 'header.css';
@import url('https://fonts.googleapis.com/css2?family=Permanent+Marker&family=Roboto&display=swap');

body {
  background-color: #FFF;
  margin: 0px;
  font-family: 'Roboto', sans-serif;
  font-size: 16pt;

  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  width: 850px;
  padding-left: 20px;
  padding-right: 20px;
  max-width: calc(100vw - 40px);
  margin: auto;
  background-color: #DDD;
  margin-top: -80px;
  padding-top: 80px;
  flex-grow: 1;
}

.superheader {
  font-family: 'Permanent Marker', cursive;
  text-align: center;
  line-height: 1;
  margin-bottom: 10px;
}

h1:not(.superheader) {
  margin-top: 0px;
}

nav {
  flex-wrap: wrap;
  font-family: 'Permanent Marker', cursive;
  display: flex;
  justify-content: space-around;
  max-width: 450px;
  margin: -15px auto 0 auto;
}

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

p {
  text-indent: 4ex;
}

ul {
  margin: 0px
}

.caption {
  text-align: center;
  margin-top: 0px;
  font-style: italic;
  filter: contrast(60%);
  font-family: serif;
}

.post.inline {
  padding: 10px;
  background-color: #CCC;
  display: flex;
  flex-direction: column;
  color: white;
  text-decoration: none;
  text-shadow: 1px 1px 2px black;
  margin-top: 10px;
}
.post h1 {
  font-size: 30pt;
  margin-bottom: -20px;
}
.post.inline h2 {
  font-size: inherit;
  color: unset;
  margin: 0px;
}
.post.inline:hover h2 {
  text-decoration: underline;
}

#goat-tales:not(:hover) a {
  text-decoration: underline;
}
#goat-tales:not(:hover) .goat-tales-dropdown {
  display: none;
}
.goat-tales-dropdown {
  background-color: #FFF;
  position: absolute;
  padding: 0px;
  margin: 0px;
  width: 140px;
  transform: translateX(-50%) translateX(55px) translateY(-5px);
  text-align: center;
  list-style: none;
}
.goat-tales-dropdown li {
  border: 1px solid black;
  margin: 2px;
}
.goat-tales-dropdown .temp {
  font-size: 12pt;
}

footer {
  margin: auto;
  margin-top: 10px;
  padding-top: 10px;
  margin-bottom: 10px;

  border-top: 1px solid black;
  max-width: max-content;
  text-align: center;
}

.media-container {
  display: flex;
}
.media-container > div {
  padding: 10px;
}
.media-container p.caption {
  margin-bottom: 0px;
}
.media-container:not(.dynamic) > div {
  flex-basis: 50%;
}

body {
  background-color: #ca9448;
}
h1, h2, h3, h4, h5, h6 {
  color: #004a00;
}
a, a:visited {
  color: green;
}

#subscribe-email {
  text-align: center;
}
.error {
  color: red;
}
