.card {
  border: 1px black solid;
  margin: 2px;

  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: left;
}

.card.large {
  padding: 20px;
  border-radius: 25px;
  width: 114px;
  height: 180px;
  font-size: 2em;
}

.card.small {
  padding: 10px;
  border-radius: 12px;
  width: 50px;
  height: 85px;
  font-size: 1.5em;
}

.card.blue {
  background-color: #92c5ea;
}

.card.yellow {
  background-color: #fff795;
}

.card.pink {
  background-color: #e8a1f5;
}

.card.green {
  background-color: #64a200;
}

.card.rockets {
  background: url("https://upload.wikimedia.org/wikipedia/commons/9/9a/Soyuz_TMA-9_launch.jpg");
  background-size: 50%;
  background-repeat: no-repeat;
  background-position: center;
}

.card .rotated {
  transform: rotate(180deg);
}

.hint {
  border: 1px solid red;
  width: 50px;
  height: 50px;
  background-color: green;
  border-radius: 50%;
  color: white;
  vertical-align: middle;
  line-height: 50px;
}

.cardContainer .hint {
  position: relative;
  left: 55px;
}

.hint.highest {
  top: 30px;
}

.hint.lowest {
  top: 245px;
}

.hint.only {
  top: 140px;
}

.hint.used {
  background-color: red;
  border-color: green;
}

.hintlink {
  text-align: center;
}

.player {
  text-align: center;
  width: 200px;
  border: 1px dashed black;
  float: left;
  margin-right: 20px;
}

.player .commander img {
  width: 100px;
}

.player .hintContainer {
  width: 100px;
  margin-left: 75px;
  margin-right: 75px;
}

.player .cardContainer {
  margin-left: 23px;
  margin-right: 23px;
}

.hand {
  position: absolute;
  bottom: 0px;
  right: 0px;
}

.hand .cardContainer {
  float: left;
}
