.panel {
  position: relative;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  flex-basis: 30%;
  min-width: 300px;
  margin: 1vw;
  overflow: hidden;
  border-radius: .5em;
  box-shadow: 0 .4em .7em rgba(0, 0, 0, .3);
}

.panel.clear,
.panel.info {
  box-shadow: none;
  overflow: visible;
  margin: 0px;
}

.darkmode .panel:not(.clear) {
  box-shadow: 0 .2em .5em rgba(0, 0, 0, .5);
}

.panel>.header {
  position: relative;
  min-height: 2em;
  padding: .8em .8em .4em .8em;
  background-color: #555;
  background-size: 230px auto;
  background-position: right bottom;
  overflow: visible;
  /*   border-top-left-radius: .5em;
  border-top-right-radius: .5em; */
}

.panel>.header:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(rgba(0, 0, 0, .2), rgba(0, 0, 0, 0));
  /*   border-top-left-radius: .5em;
  border-top-right-radius: .5em; */
}

.darkmode .panel>.header {
  background-color: #333;
}

.darkmode .panel>.content {
  background-color: rgba(51, 51, 51, 0.876);
  color: #ddd;
}

.panel.rene,
.panel.jake {
  min-width: 200px;
  flex-direction: row;
}

.panel.jake {
  flex-direction: row-reverse;
}

.panel.rene>.header,
.panel.jake>.header {
  min-height: 13em;
  flex-basis: 33%;
  background-size: contain;
  background-position: left bottom;
  background-image: url('../img/rene.png');
}

.panel.jake>.header {
  background-image: url('../img/jake.png');
  background-position: right bottom;
}

.panel.rene>.content,
.panel.jake>.content {
  flex-basis: 67%;
}

.panel>.header>h3 {
  position: relative;
  color: #fff;
  text-shadow: 0 .1em .2em rgba(0, 0, 0, .8);
  z-index: 90;
}

.panel>.content {
  position: relative;
  padding: .8em;
  background-color: rgba(255, 255, 255, .95);
  color: #444;
  line-height: 1.35;
  word-spacing: .2em;
  flex-grow: 1;
  /*   border-bottom-left-radius: .5em;
  border-bottom-right-radius: .5em; */
}

.panel>.content b {
  font-weight: normal;
  color: rgb(0, 123, 180);
}

/* info-panel */
.info-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  min-width: 250px;
  padding: .4em;
  margin: 0 .2em .4em .2em;
  border-radius: .3em;
  box-shadow: 0 .1em .3em rgba(0, 0, 0, .2);
  font-size: .9em;
  background-color: #fff;
  color: #666;
}

.darkmode .info-panel {
  background-color: rgba(0, 0, 0, .3);
  color: #ddd;
}

.info-panel .info-panel {
  min-width: 200px;
}

.info-panel.row {
  flex-direction: row;
}

.info-panel h2,
.info-panel h3 {
  /*   color: #777; */
  padding: 0em .8em .8em .8em;
}