@import url(https://fonts.googleapis.com/css?family=Puritan|EB+Garamond|Passion+One);
@import url(https://unpkg.com/lucide-static@latest/font/lucide.css);

/*@import url(fonts.css);*/
/*@import url(font-awesome.min.css);*/
body {
  margin: 0;
  padding: 0;
  background-color: #999;
  font-family:
    "EB Garamond", "Adobe Garamond Pro", "Hoefler Text", Palatino, serif;
}
body, main, header {
  padding-top: env(safe-area-inset-top);
  background-color: #fcfbfa;
}

#page {
  min-height: 87vh;
  background-color: #fcfbfa;
  padding-bottom: 3rem;
}
@media print {
  body {
    background-color: white;
  }
}

a:has(img[src="oo.svg"]) {
  margin-bottom: 10px;
  z-index: 1;
  position: relative;
  margin-top: -15px;
}
a:has(img[src="oo.svg"]) {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}
a img[src="oo.svg"] {
  animation: rotate-back 1s linear 0.5 backwards;
}
a:hover img[src="oo.svg"] {
  animation: rotate 1s linear 0.5 forwards;
  transform: rotate(180deg);
}
@keyframes rotate-back {
  0% {
    transform: rotate(180deg);
  }
  50% {
    transform: rotate(360deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
i {
  &.icon-globe,
  &.icon-mail {
    vertical-align: -3px;
  }
  * {
    display: none;
  }
  &.icon-at-sign {
    background-color: #606060;
    color: white;
    padding: 2px;
    margin: 2px;
    border-radius: 99px;
  }
}
@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  50% {
    transform: rotate(180deg);
  }
  100% {
    transform: rotate(180deg);
  }
}

.headerlink {
  display: none;
  text-decoration: none;
  padding: 0.5rem;
  color: #ccc;
}

.headerlink:hover {
  color: tan;
}

h2:hover .headerlink {
  display: inline;
}

abbr:hover {
  cursor: help;
}

.chorus {
  font-style: italic;
}
.chorus:before {
  content: "Chorus";
  font-size: 0.6rem;
  font-family: "Puritan", "Gil Sans", Verdana, sans-serif;
  font-weight: bold;
  font-style: normal;
  margin-left: -2.9rem;
  border-radius: 0.2rem;
  background-color: #666;
  color: white;
  padding: 0.1rem 0.2rem;
}

header {
  border-bottom: none dashed #688dc0;
  padding: 3rem 0.5rem 0.2rem 0.5rem;
  margin-bottom: 6rem;
  margin: auto;
  min-width: 16rem;
  max-width: 42rem;
}
@media print {
  header {
    display: none;
  }
}

#posts dt {
  border-bottom: thin dotted black;
}
#posts dt:hover {
  background-color: #eee;
}

#posts dd {
  margin: -1.4rem 0 0 20rem;
  text-align: right;
}

main {
  position: relative;
  color: #333;
  font-size: 18px;
  padding: 0rem 0.5rem 0.2rem 0.5rem;
  text-align: justify;
  min-height: 23rem;
  clear: both;
  margin: auto;
  min-width: 16rem;
  max-width: 42rem;
}

code {
  font-family: Hasklig, monospace;
  text-rendering: optimizeLegibility;
  overflow: scroll;
  font-size: 60%;
  display: block;
  padding: 0.2rem;
  background-color: #fcf4dc;
  border: thin solid #52676f;
  color: #52676f;
}

.drop {
  font-size: 300%;
  float: left;
  line-height: 3rem;
  margin-bottom: -1rem;
  padding: 0 0.2rem 0 0;
}

.frame {
  width: 100%;
  background-color: white;
  padding: 0.2rem;
  border: thin solid #333;
}

figure {
  margin: 0;
}

figcaption {
  font-size: 60%;
  font-family: sans-serif;
}

q {
  font-style: italic;
}

h3 {
  clear: right;
}

#songs li {
  display: inline-block;
}

#clients + ul {
  margin: 0;
  padding: 0;
}

#clients + ul li {
  display: inline;
  padding: 0;
  margin: 0;
}

#clients + ul li:before {
  content: "\00b7";
  padding-right: 0.5rem;
  padding-left: 0.3rem;
}

#clients + ul li:first-child:before {
  content: " ";
}

div#logo a {
  color: #333;
  float: left;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
}

#logo a img {
  height: 2rem;
  margin-top: -0.3rem;
}

#lang-select {
  text-align: right;
}

img.cc {
  height: 0.8rem;
}

header:hover a {
  opacity: 1;
}

nav {
  text-align: right;
}
nav ul,
nav li {
  display: inline;
}
nav li a {
  font-size: 18px;
  font-weight: bold;
  margin-left: 12px;
  text-decoration: none;
  text-transform: uppercase;
  color: #688dc0;
  opacity: 0.3;
}
nav li:hover {
  border-radius: 0.2rem 0.2rem 0 0;
  border-bottom: 0.3rem solid #688dc0;
  background-color: #688dc0;
}
nav li:hover a {
  color: #fff;
}

a {
  color: #333;
  &:not(footer a):not(#logo a) {
    /* Kudos to https://www.inkandswitch.com/ and 
     * https://kizu.dev/svg-linked-parameters-workaround/
     * for the link text-decoration styling
     */
    padding-bottom: 0.1em;
    text-decoration: none;
    /* line-height: 1.5; */
    background: url(/ul.svg) no-repeat bottom / 100% 0.5em;
  }
  &.headerlink,
  &[href^="contact/qrcard.svg"] {
    padding-bottom: 0 !important;
    background: none !important;
  }
}
#lang-select a {
  background: none !important;
}

header,
footer {
  font-family: Puritan, "Gil Sans", Verdana, sans-serif;
}

footer {
  a {
    color: inherit;
  }
  color: white;
  font-size: 0.5rem;
  min-height: 12rem;
  line-height: 0.8rem;
  background: linear-gradient(
    to right,
    /*
        #7953cd 20%,
        #00affa 30%,
        #0190cd 70%,
        #764ada 80%
        */
    #facc11 20%,
    #a9b520 30%,
    #5c9e30 70%,
    #147c3f 80%
  );
  background-size: 500% auto;
  animation: textShine 8s ease-out infinite alternate;
  div {
    padding: 1rem 0.5rem;
    margin: auto;
    min-width: 16rem;
    max-width: 42rem;
  }
}

.imprint {
  clear: both;
  text-align: center;
}

.changed img {
  height: 0.7rem;
  padding-left: 0.2rem;
}

.changed,
.madein {
  clear: both;
  float: right;
  right: 0.5rem;
}

.madein img {
  height: 0.9rem;
}

h1.jumbotron {
  text-align: left;
  margin: 12pt 0 24pt 0;
  font-family:
    "Passion One", "Block Berthold", "Gil Sans Ultra ", "Impact", sans-serif;
  font-weight: normal;
  font-size: 96pt;
  line-height: 90pt;

  background: linear-gradient(
    to right,
    /*
        #7953cd 20%,
        #00affa 30%,
        #0190cd 70%,
        #764ada 80%
        */
    #facc11 20%,
    #a9b520 30%,
    #5c9e30 70%,
    #147c3f 80%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-fill-color: transparent;
  background-size: 500% auto;
  animation: textShine 8s ease-out infinite alternate;
}
@keyframes textShine {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}

@media (max-width: 415px) {
  h1.jumbotron {
    font-size: 48pt;
    line-height: 36pt;
  }
}

h1 {
  font-size: 24px;
}

h2 {
  font-size: 20px;
}

div.info:not(.admonition) {
  color: #555;
  font-size: 14px;
  font-style: italic;
}

#gitrev,
.url {
  display: none;
}

hr {
  border: none;
  border-top: 0.1rem solid #333;
  height: 1px;
}

.figure img {
  width: 30%;
  float: left;
  padding: 0.3rem;
  margin-right: 1rem;
  border: thin solid #333;
}

@media print {
  body,
  #page,
  footer {
    background: white;
  }
  main {
    margin-top: 3rem;
    width: 64%;
    height: 80%;
  }
  footer {
    min-height: 0;
    border-top: none;
    page-break-before: always;
    padding-top: 54rem;
  }
  .url:before {
    content: "Printed from:\0020";
  }
  #gitrev {
    display: inline;
    padding-left: 0.1rem;
  }
  .url,
  .changed {
    display: block;
    float: none;
  }
  .url a {
    text-decoration: none;
  }
  header,
  .imprint,
  .madein {
    display: none;
  }
  hr {
    border-top-style: dotted;
    border-top-width: 0.1rem;
    height: 1px;
  }
  .figure img {
    display: none;
  }
  div.jumbotron {
    background: white;
  }
  h1.jumbotron {
    font-size: 64pt;
    line-height: 60pt;
  }
  h1.jumbotron a {
    color: white;
  }
  section,
  p,
  code {
    page-break-inside: avoid;
  }
  code {
    overflow: visible;
    white-space: pre-wrap;
  }
}

/*
  @page {
      counter-increment: page;
      counter-reset: page 1;
      @top-right {
          content: "Page " counter(page) " of " counter(pages);
      }
  }
*/
