/* good rune - Stylesheet */
/* Last updated: April 2023 */
/* Author: Alex Kaiser */

/*
html5doctor.com Reset Stylesheet
v1.6.1
Last Updated: 2010-09-17
Author: Richard Clark - http://richclarkdesign.com
Twitter: @rich_clark
*/
* {
  box-sizing: border-box;
}

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
    margin:0;
    padding:0;
    border:0;
    outline:0;
    font-size:100%;
    vertical-align:baseline;
    background-color: #ff5555;
}

article,aside,details,figcaption,figure,
footer,header,hgroup,menu,nav,section {
    display:block;
}

ul {
    list-style:none;
}

blockquote, q {
    quotes:none;
}

blockquote:before, blockquote:after,
q:before, q:after {
    content:'';
    content:none;
}

a {
    margin:0;
    padding:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
}

/* change colours to suit your needs */
ins {
    background-color:#ff9;
    color:#000;
    text-decoration:none;
}

/* change colours to suit your needs */
mark {
    background-color:#ff9;
    color:#000;
    font-style:italic;
    font-weight:bold;
}

del {
    text-decoration: line-through;
}

abbr[title], dfn[title] {
    border-bottom:1px dotted;
    cursor:help;
}

table {
    border-collapse:collapse;
    border-spacing:0;
}

/* change border colour to suit your needs */
hr {
    display:block;
    height:1px;
    max-width: 90%;
}

input, select {
    vertical-align:middle;
}

p {font-size: 1.2em;}
pre {font-size: 1.2em;}
h1 {font-size: 2em;}
h2 {font-size: 1.7em;}
h3 {font-size: 1.3em;}

/* Styles for goodrune website*/
/* created by DrAK, April 2023 */

body {
  font-size: 100%;
  font-family: Verdana, sans-serif;
  min-width: 300px;
  line-height:1;
  background-color: #ff3333;
}

/* Kopfteil der Seite */

header {
      background-color: #ff0000;
      padding:  0.5rem 5vw;
      display: flex;
      justify-content: space-between;
}

header img{
  height: 48px;
}

/* Hauptteil der Seite */

main {
  background-color: #ff5555;
  padding: 40px 10px;
}

main a {
 width: 8em;
 padding: 10px 3px;
 margin: 8px 4px;
 color: #000000;
 background-color: #ff0000;
 border-style: solid;
 border-width: 1px;
 border-radius: 5px;
 font-family: sans-serif;
 font-size: 1.2em;
 text-align: center;
 text-decoration: none;
 transition: all 0.4s;
}

main a.hidden {
 width: 8em;
 padding: 10px 3px;
 margin: 8px 4px;
 background-color: #ff5555;
 border-style: none;
 border-width: 1px;
 border-radius: 5px;
}

main a:hover {
  background-color: #ff7777;
}

main a.hidden:hover {
  background-color: #ff5555;
}

main > h1, main > h2, main > h3 {
  font-weight: normal;
  text-align: center;
}

main > h1 {
  padding-bottom: 0.5rem;
}

main > h2 {
  padding-top: 1rem;
}

.flex-container {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  max-width: 50vw;
  min-height: 20vh;
  margin: 2em auto;
  justify-content: space-around;
  align-content: space-around;
}

.flex-container-vertical {
  display: flex;
  flex-wrap: nowrap;
  flex-direction: column;
  /* max-width: 50vw;
  min-height: 20vh;
  margin: 2em auto; */
  /* justify-content: space-around;
  align-content: center; */
}

.flex-container-vertical > h3 {
  max-width: 230px;
  text-align: center;
  margin-bottom: 0.5em;
}

.flex-container-vertical > p {
  max-width: 230px;
  text-align: center;
  margin-bottom: 1.5em;
}

.flex-container-letter {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  max-width: 50vw;
  min-height: 20vh;
  margin: 0.5rem 0px;
  justify-content: flex-start;
  align-content: flex-start;
}

.flex-container-artphone {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  max-width: 80vw;
  min-height: 20vh;
  margin-top: 0.5rem;
  margin-bottom: 2rem;
  justify-content: space-between;
  align-content: flex-start;
}

.flex-container-poem {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    max-width: 80vw;
    min-height: 20vh;
    margin-top: 0.5rem;
    margin-bottom: 2rem;
    align-items: flex-start;
  }

/*
p.left {
  text-align: left;
  padding-left: 10%;
  font-size: 90%;
  line-height: 1.1;
} */

pre {
  font-family: Georgia, serif;
  padding-top: 5px;
  padding-bottom: 15px;
  padding-right: 5%;
  margin-bottom: 20px;
  line-height: 1.3;
  tab-size:8;
}

article {
  padding-left: 20%;
  text-align: left;
}

article > h2 {
  padding-bottom: 30px;
  font-weight: normal;
}

article > h3 {
  font-weight: normal;
}

article > p {
  font-size: 1em;
  line-height: 1.2em;
  text-align: justify;
  padding: 0.2em 20% 0.5em 0;
  hyphens: auto;
}

article.left {
  padding-left: 10%;
}

article > ul {
  font-size: 1em;
  line-height: 1.2em;
  padding: 0.2em 20% 0.5em 2rem;
  text-align: left;
  hyphens: auto;
  list-style: initial;
}

article > ul > li {
  padding-bottom: 1rem;
}

a.article {
  all: revert;
  color: black;
  font-weight: bold;
  font-variant: small-caps;
}

a.article:hover {
  background-color: red;
  color: white;
}

p.note {
   font-size: 70%;
   color: #333333;
   position: fixed;
   bottom: 47px;
   background-color: inherit;
 }

 p.bottomspace {
   margin-bottom: 1.5rem;
 }

 p.bottomspace > br {
   margin-bottom: 0.5rem;
 }

 img.artphone {
   width: 180px;
   /* height: 432px; */
   margin-bottom: 1em;
 }

 img.mainimg {
   width: 35em;
   margin-bottom: 1em;
 }

 img.subhead {
   height: 20rem;
 }

 a.small {
   font-size: 0.9em;
 }

 .white {
   background-color: white;
 }

 .white:hover {
   background-color: #ccc;
 }

 .gold {
   background-color: #ffd700;
 }

 .gold:hover {
   background-color: #fff7cc;
 }

 .purple {
   background-color: #dcd0ff;
 }

 .purple:hover {
   background-color: #9f80fa;
   color: white;
 }

 .green {
   background-color: #669856;
 }

 .green:hover {
   background-color: #aecca5;
 }

 .fuchsia {
   background-color: #df19cb;
 }

 .fuchsia:hover {
   background-color: #f49aeb;
 }

 .lightblue {
   background-color: #b3f0ff;
 }

 .lightblue:hover {
   background-color: #00b8e6;
 }

 .large {
   font-size: 150%;
   background-color: inherit;
 }

 .smaller {
   font-size: 80%;
   background-color: inherit;
 }

 .hyphens {
   hyphens: auto;
 }

.fett {
  font-weight: bold;
  background-color: transparent;
}

.super {
  vertical-align: super;
}

/* hr {
   width: 10px;
   border: 1px solid black;
 } */

/* #wrapper {
width: 100%;
margin: 0 auto;
} */

/* .column {
    flex: 1;
    padding: 2em;
    text-align: center;
    box-sizing: border-box;
    border: 1px solid;
  } */

footer {
  position: fixed;
  width: 100vw;
  bottom: 0;
  padding: 10px;
  background-color: #ff0000;
  text-align: center;
  text-align: -moz-center;
}

footer > ul {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-around;
  align-content: space-between;
  background-color: inherit;
  max-width: 600px;
}

footer > ul > li {
  background-color: inherit;
}

footer ul > li > a {
  width: 6em;
  padding: 4px 2px;
  color: #000000;
  border-style: solid;
  border-width: 1px;
  border-radius: 5px;
  background-color: inherit;
  font-family: sans-serif;
  text-align: center;
  position: relative;
  text-decoration: none;
  display:inline-block;
  transition: all 0.4s;
}

footer ul > li > a:hover {
 background-color: #ff7777;
 }

.impressum {
      background-color: #ff5555;
}

.impressum > h1,.impressum > h2,.impressum > h3,.impressum > h4 {
  padding: 0.5em 0 0.1em 5vw;
  text-align: left;
  font-weight: normal;
}

.impressum > p {
  font-size: 0.9em;
  line-height: 1.2em;
  text-align: justify;
  padding: 0.2em 20% 0.5em 5vw;
  hyphens: auto;
}

.impressum > ul {
  font-size: 0.9em;
  line-height: 1.1em;
  padding: 0.2em 0 0.5em 5vw;
  text-align: left;
  hyphens: auto;
  max-width: 80vw;
}

.impressum > p > a {
  all: revert;
  color: black;
}

.impressum > p > a:hover {
  background-color: red;
  color: white;
}

@media screen and (max-width: 64em /*1024px*/) {
  body {
    font-size: 95%;
  }
}

@media screen and (max-width: 50em /*800px*/) {
  body {
    font-size: 90%;
  }
}

@media screen and (max-width: 40em /*640px*/) {
  .flex-container, .flex-container-letter {
    max-width: 80vw;
  }

  img.mainimg {
    width: 22em;
    margin-bottom: 1em;
  }
}

@media screen and (max-width: 30em /*480px*/) {
  body {
    font-size: 85%;
  }
  article{
    padding-left: 5%;
  }
  article > h2 {
    padding-bottom: 10px;
    font-size: 1.5em;
  }
  pre {
    padding-bottom: 10px;
    line-height: 1.2;
    font-size: 1.1em;
    tab-size:8;
  }
  footer > ul > li {
    margin: 2px;
  }
}

@media screen and (max-width: 20em /*360px*/) {
  article{
    padding-left: 2%;
  }
  article > h2 {
    padding-bottom: 5px;
    font-size: 1.5em;
  }
  pre {
    padding-bottom: 10px;
    line-height: 1.1;
    font-size: 1.1em;
    tab-size:8;
  }
  p.note {
     bottom: 77px;
  }
}

@media print {
  footer {
    display: none;
  }

  html, body, main, h1, h2, .flex-container {
    background-color: transparent;
  }

}
