* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #1a2f2a;
  padding: 0 32px 32px 32px;
  font-family: "Lucida Console", monospace;
  color: white;
}
h3 {
  margin: 0;
  padding: 1em 0 0.75em;
  font-size: 1.25em;
}
ul {
  margin: -3px;
  padding: 0;
  list-style: none;
}
li {
  float: left;
  margin: 3px;
}
li[data-checked="false"] {
  opacity: 0.5;
}
img {
  display: block;
  width: 92px;
  height: 128px;
  border-radius: 4px;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.4);
}
#large-card {
  position: fixed;
  left: 32px;
  top: 57px;
  width: 223px;
  height: 310px;
  border-radius: 10px;
}

#search-link {
  border: 2px solid white;
  width: 180px;
  height: 40px;
  line-height: 40px;
  font-size: 1.5em;
  text-align: center;
  margin-top: 40px;
  margin-bottom: 40px;
  cursor: pointer;
}

#search {
  margin: 0 auto;
}

#search-popup {
  z-index: 100;
  background-color: black;
  width: 90%;
  height: 500px;
  position: fixed;
  top: 5%;
  left: 5%;
  right: 5%;
  border-radius: 5%;
  padding: 20px;
}

.hidden {
  display: none;
}

#popup-closer {
  text-align: right;
  font-size: 2em;
  cursor: pointer;
}

#search-form {
  margin-left: 5%;
  height: 40px;
  padding: 5px 0;
}

#search-form input {
  border-radius: 5px;
  height: 30px;
  font-size: 1.4em;
}

#search-form button {
  height: 30px;
  font-size: 1.2em;
  border-radius: 5px;
}

#search-text-button {
  height: 30px;
  font-size: 1.2em;
  border-radius: 5px;
}

#search-large-card {
  display: inline-block;
}
#search-large-img {
  width: 223px;
  height: 310px;
  border-radius: 10px;
  margin-top: 30px;
  margin-left: 5%;
  display: inline-block;
}

#search-results {
  display: inline-block;
  height: 360px;
  width: 62%;
  position: absolute;
  margin: 30px 0 0 30px;
  padding: 10px;
}

#search-results h4 {
  margin: 0 0 10px 0;
}

#search-results img {
  width: 92px;
  height: 128px;
}

.card-piles {
  margin-top: 30px;
}

.card-piles li img {
  width: 200px;
  height: 300px;
}

.card-pile-container {
  margin: 20px;
}

.card-pile {
  border: 2px solid white;
  min-height: 310px;
  margin: 0;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.draft-name {
  margin-top: 50px;
  margin-bottom: 10px;
  font-size: 2em;
  text-align: center;
}

.player-turn,
.card-count {
  margin-top: 10px;
  font-size: 2em;
  text-align: center;
}

/* buttons */
.take-pile-btn {
  display: block;
}

.top-btn-row {
  text-align: center;
  margin-top: 20px;
}

.reset-draft-btn {
  margin: auto;
}

.pile-list {
  display: block;
}

/* MODAL */

.modal {
  display: none;
  background-color: black;
  position: absolute;
  top: 20%;
  left: 30%;
  padding: 2%;
  border: solid 2px white;
  border-radius: 5%;
}

.new-draft-radial-option {
  display: block;
  margin: 10px 0;
}

.new-draft-radials {
  float: left;
  width: 50%;
}

.draft-list-dropdown {
  float: right;
  width: 50%;
  margin-top: 10px;
}

.modal-submit {
  display: block;
  margin-top: 90px;
  font-size: 2em;
  width: 160px;
  margin-left: 35%;
}

.modal {
  text-align: center;
}

.modal input[type="text"] {
  margin-top: 50px;
  margin-bottom: 10px;
  font-size: 2em;
  text-align: center;
}
