@font-face {
  font-family: "VenturisSans";
  src: url("fonts/VenturisSansADF-Regular.otf");
}
@font-face {
  font-family: "VenturisSans";
  src: url("fonts/VenturisSansADF-Italic.otf");
  font-style: italic;
}
@font-face {
  font-family: "VenturisSans";
  src: url("fonts/VenturisSansADF-Bold.otf");
  font-weight: bold;
}
@font-face {
  font-family: "VenturisSans";
  src: url("fonts/VenturisSansADF-BoldItalic.otf");
  font-weight: bold;
  font-style: italic;
}
@font-face {
  font-family: "FiraMono";
  src: url("fonts/FiraMono-Regular.otf");
}
@font-face {
  font-family: "FiraMono";
  src: url("fonts/FiraMono-Bold.otf");
  font-weight: bold;
}

html {
  height: 100%;
}

body {
  height: 100%;
  margin: 0;
  font-family: "VenturisSans", sans-serif;
  font-size: 105%;
  background-color: FloralWhite;
}

header {
  margin-top: 0;
  margin-bottom: 1em;
  margin-left: 0;
  margin-right: 0;
  padding-top: 1ex;
  text-align: center;
}

header h1 {
  font-size: 250%;
}

header.software {
  background-color: LightCoral;
}

header.music {
  background-color: CornflowerBlue;
}

header.writing {
  background-color: LightSeaGreen;
}

header.villancicos {
  background-color: Thistle;
}

header h1 a {
  text-decoration: none;
  color: black;
}

header h2 {
  font-size: 175%;
  font-style: italic;
  padding-bottom: 1em;
}

main {
  margin-left: 1em;
  margin-right: 1em;
}

main p {
  max-width: 40em;
}

div.streams {
  margin-left: -1em;
  margin-right: -1em;
  display: flex;
  flex-direction: column;
}

section.stream {
  min-height: 30%;
  padding: 1em;
}

section.stream.software {
  background-color: LightCoral;
}

section.stream.music {
  background-color: CornflowerBlue;
}

section.stream.writing {
  background-color: LightSeaGreen;
}

section.stream h1 {
  font-size: 200%;
  margin-top: 0;
  margin-left: 1em;
}

section.stream p {
  width: 80%;
  margin-left: 4em;
  margin-right: 1em;
}

section.stream a {
  display: block;
  text-align: right;
  padding-right: 1em;
  padding-bottom: 1em;
  color: white;
  text-decoration: none;
}

section.stream a::after {
  content: " ⇒";
}

a.panel {
  text-decoration: none;
  color: inherit;
}

footer {
  text-align: center;
}

footer p {
  font-size: 80%;
}

div.card-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, 22em);
}

section.card {
  width: 19em;
  height: 30em;
  border: 1px solid black;
  padding: 1em;
  margin: 1ex;
  overflow: scroll;
  background: DimGray;
  color: white;
  border-radius: 1ex;
  display: grid;
  grid-template-rows: 2em 5em auto 10em 2em;
}

section.card h1, h2, img, ul, a.highlight {
  display: block;
}

section.card a {
  color: PaleTurquoise;
}

section.card a.highlight {
  color: Turquoise;
  font-size: 120%;
  font-weight: bold;
}

section.card code {
  font-family: "FiraMono", monospace;
  font-size: 82%;
}

section.card h1 {
  font-size: 150%;
  margin-top: 0;
}

section.card h2 {
  font-size: 125%;
}

section.card ul {
  font-size: 90%;
  padding-left: 1.5em;
}

section.card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

section h1 {
  font-size: 160%;
}

section h2 {
  font-size: 130%;
}

td + td {
  padding-left: 1em;
}

table.cv {
  border-top: 1px solid Gray;
  border-bottom: 1px solid Gray;
  padding-left: 1ex;
  padding-right: 1ex;
}

table.cv td:nth-child(1) {
  width: 30%;
}

table.cv td:nth-child(2) {
  width: 30%;
}

table.cv td:nth-child(3) {
  width: 20%;
}

ul.pubinfo {
  list-style: none;
}

iframe {
  margin-left: auto;
  margin-right: auto;
  width: 25em;
  height: 15em;
}
