html, body {
  height: 100%;
  font-family: 'Josefin Slab', serif;
  font-size: 16px;
  padding: 1.2em;
  margin-top: 0em;
  padding-bottom: 0em;
}

#content {
  min-height: 100%;
}

#content > .container {
  overflow:auto;
  padding-bottom:3em; /* this needs to be bigger than footer height*/
}

.footer {
  position: relative;
  margin-top: -3em; /* negative value of footer height */
  height: 3em;
  clear:both;
}

a, a:link, a:visited, a:active, a:hover {
  text-decoration: initial;
}

.cvLink {
  margin: 0.3em;
}

img.shadowed {
  -webkit-filter: drop-shadow(12px 12px 7px rgba(0,0,0,0.5));
  filter: drop-shadow(12px 12px 7px rgba(0,0,0,0.5));
  -ms-filter: "progid:DXImageTransform.Microsoft.Dropshadow(OffX=12, OffY=12, Color='#444')";
  filter: "progid:DXImageTransform.Microsoft.Dropshadow(OffX=12, OffY=12, Color='#444')";
}

.swiss {
  display: inline-block;
  overflow: hidden;
  -moz-border-radius-topright: 1.5em;
  -moz-border-radius-bottomleft: 1.5em;
  border-top-left-radius: 1.5em;
  border-bottom-right-radius: 1.5em;
  border-width: 0.1875em;
  border-style: solid;
  margin-top: 2em;
  margin-bottom: 2em;
  padding: 0.4em;
  padding-left: 1.5em;
  padding-right: 1.5em;
}

#shuffle-grid .swiss::before {
  content: '';
  position: absolute;
  display: block;
  width: 60%;
  border-top: 0.2875em solid #FFFCB1;
  top: 1.95em;
  left: 20%;
}

#shuffle-grid .swiss::after {
  content: '';
  position: absolute;
  display: block;
  width: 60%;
  border-bottom: 0.2875em solid #FFFCB1;
  bottom: 1.95em;
  left: 20%;
}

.container .swiss {
  display: table;
}

.swiss .swiss {
  display:  block;
}

img.swiss {
  padding: 0em;
  border: none;
}

.center-block {
  width: fit-content;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  padding: 15px;
}

iframe {
  border: 0px;
}

ul {
  margin: 0.2em;
  margin-left: 1em;
  padding-left: 0.5em;
}

.shuffle-selector.swiss {
  padding: 0px;
  margin: 0px;
  display: flex;
  flex-wrap: wrap;
}

.label-wrapper {
  flex-grow: 1;
  margin: -0.1875em;
  border: solid 0.1875em;
}

input[type=radio] {
  position: absolute;
  visibility: hidden;
  display: none;
}

label {
  cursor: pointer;
  padding: 5px 20px;
  display: flex;
}

.hidden_description{
  visibility: hidden;
}

#portrait {
  height: 10em;
  width: 9.03225em;
  opacity: 1;
  /* transition: opacity 5s ease-in-out, height 5s ease-in-out; */
  float: left;
  margin-right: 1em;
  margin-bottom: -0.4em;
}

#portrait:not(.hidden_description) {
  animation: show_portait 4.5s;
}

@keyframes show_portait {
  /* You could think of as "step 1" */
  0% {
    height: 0em;
    opacity: 0;
  }
  65% {
    height: 10em;
    opacity: 0;
  }
  /* You could think of as "step 2" */
  100% {
    opacity: 1em;
  }
}

#portrait.hidden_description {
  height: 0em;
  opacity: 0;
}

.type_target {
  white-space: pre-line;
}

.type_target::after {
  content: "|";
  animation: blink 1s infinite step-start;
  display: inline-block;
  width: 0px;
}

@keyframes blink {
  50% { opacity: 0; }
}
