@import url('https://fonts.googleapis.com/css?family=Roboto:300,400,700');
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
a {
  text-decoration: none;
}
.add-button .circle {
  border-style: solid;
  border-color: #FFC107;
  border-radius: 50px;
  position: relative;
  cursor: pointer;
}
.add-button .circle .cross-bar {
  position: absolute;
  background-color: #FFC107;
  border-radius: 50px;
}
.add-button .circle .cross-bar:first-child {
  transform: rotate(90deg);
}
.accept-button {
  position: relative;
  cursor: pointer;
}
.accept-button::before,
.accept-button::after {
  position: absolute;
  content: "";
}
.accept-button::before {
  transform: rotate(60deg);
}
.accept-button::after {
  transform: rotate(-55deg);
}
.overlay {
  display: none;
  z-index: 100;
}
html body {
  font-family: 'Roboto', sans-serif;
  color: white;
  font-size: 14px;
  background-color: #000421;
}
html body main {
  padding: 50px 5vw;
}
html body main .add-deck-button {
  position: absolute;
  bottom: 3vw;
  right: 3vw;
}
html body main .add-deck-button .circle {
  border-width: 4px;
  width: 50px;
  height: 50px;
}
html body main .add-deck-button .circle .cross-bar {
  position: absolute;
  top: 19px;
  left: 5px;
  width: 32px;
  height: 4px;
}
html body main .filters {
  margin-bottom: 50px;
}
html body main .filters .filter-types {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
}
html body main .filters .filter-types .filter-type input {
  display: none;
}
html body main .filters .filter-types .filter-type input:checked + label {
  border-color: #FFC107;
}
html body main .filters .filter-types .filter-type label {
  display: block;
  padding: 6px;
  border: 2px solid #000421;
}
html body main .filters .filter-types .filter-type label img {
  display: block;
  cursor: pointer;
}
html body main .decks {
  display: flex;
  justify-content: space-around;
}
html body main .decks .deck {
  width: 100%;
  max-width: 250px;
  border: 1px solid #FFC107;
  padding: 10px;
  padding-bottom: 50px;
  position: relative;
}
html body main .decks .deck .deck-types {
  text-align: center;
  margin-bottom: 15px;
}
html body main .decks .deck .deck-types img {
  vertical-align: text-bottom;
  padding: 5px;
}
html body main .decks .deck .deck-cards {
  border-collapse: collapse;
  width: 100%;
}
html body main .decks .deck .deck-cards .card {
  height: 20px;
}
html body main .decks .deck .deck-cards .card .card-quantity {
  text-align: center;
  width: 30px;
}
html body main .decks .deck .deck-cards .card .card-name {
  padding: 0 10px;
}
html body main .decks .deck .deck-cards .card .card-set {
  width: 20px;
  height: 20px;
}
html body main .decks .deck .deck-cards .card .card-set .delete-card-button {
  width: 20px;
  height: 20px;
  position: relative;
  cursor: pointer;
}
html body main .decks .deck .deck-cards .card .card-set .delete-card-button::before,
html body main .decks .deck .deck-cards .card .card-set .delete-card-button::after {
  background-color: #FFC107;
  height: 2px;
  border-radius: 50px;
  width: 15px;
  position: absolute;
  content: "";
  top: 9px;
  right: 0;
}
html body main .decks .deck .deck-cards .card .card-set .delete-card-button::before {
  transform: rotate(45deg);
}
html body main .decks .deck .deck-cards .card .card-set .delete-card-button::after {
  transform: rotate(-45deg);
}
html body main .decks .deck .add-card-wrap {
  margin-top: 5px;
  min-height: 20px;
}
html body main .decks .deck .add-card-wrap .add-card {
  position: relative;
  display: none;
}
html body main .decks .deck .add-card-wrap .add-card input {
  border: none;
}
html body main .decks .deck .add-card-wrap .add-card .add-card-quantity {
  width: 30px;
  margin-right: 2px;
  padding: 2px 0;
  text-align: center;
  -moz-appearance: textfield;
}
html body main .decks .deck .add-card-wrap .add-card .add-card-quantity::-webkit-outer-spin-button,
html body main .decks .deck .add-card-wrap .add-card .add-card-quantity::-webkit-inner-spin-button {
  display: none;
}
html body main .decks .deck .add-card-wrap .add-card .add-card-name {
  padding: 2px 20px 2px 7px;
  margin-left: 3px;
  width: calc(100% - 35px);
}
html body main .decks .deck .add-card-wrap .add-card .accept-button {
  position: absolute;
  top: 0;
  right: 0;
  width: 20px;
  height: 20px;
}
html body main .decks .deck .add-card-wrap .add-card .accept-button::before,
html body main .decks .deck .add-card-wrap .add-card .accept-button::after {
  background-color: #13ad43;
  height: 2px;
}
html body main .decks .deck .add-card-wrap .add-card .accept-button::before {
  width: 8px;
  top: 11px;
  left: 2px;
  border-top-left-radius: 50px;
  border-bottom-left-radius: 50px;
}
html body main .decks .deck .add-card-wrap .add-card .accept-button::after {
  width: 13px;
  top: 9px;
  left: 5px;
  border-top-right-radius: 50px;
  border-bottom-right-radius: 50px;
}
html body main .decks .deck .controls {
  height: 30px;
  bottom: 10px;
  position: absolute;
  width: calc(100% - 20px);
}
html body main .decks .deck .controls .button {
  width: 30px;
  height: 30px;
  border: 1px solid #FFC107;
  cursor: pointer;
  position: absolute;
  transition: 0.3s;
}
html body main .decks .deck .controls .button::before,
html body main .decks .deck .controls .button::after {
  position: absolute;
  content: "";
  background-color: #FFC107;
  height: 2px;
  transition: 0.3s;
}
html body main .decks .deck .controls .button.deck-delete-button {
  left: 0;
  opacity: 0;
  visibility: hidden;
}
html body main .decks .deck .controls .button.deck-delete-button::before {
  content: "del";
  top: 6px;
  left: 5px;
  background: none;
  height: auto;
  color: #FFC107;
}
html body main .decks .deck .controls .button.deck-cancel-button {
  right: 0;
  opacity: 0;
  z-index: 1;
  visibility: hidden;
}
html body main .decks .deck .controls .button.deck-cancel-button::before,
html body main .decks .deck .controls .button.deck-cancel-button::after {
  top: 13px;
  left: 4px;
  width: 21px;
  border-radius: 50px;
}
html body main .decks .deck .controls .button.deck-cancel-button::before {
  transform: rotate(45deg);
}
html body main .decks .deck .controls .button.deck-cancel-button::after {
  transform: rotate(-45deg);
}
html body main .decks .deck .controls .button.deck-edit-save-button {
  right: 0;
  z-index: 2;
}
html body main .decks .deck .controls .button.deck-edit-save-button::before {
  top: 19px;
  left: 10px;
  width: 2px;
  border-radius: 50px;
}
html body main .decks .deck .controls .button.deck-edit-save-button::after {
  top: 11px;
  left: 10px;
  width: 13px;
  transform: rotate(-55deg);
  border-radius: 50px;
}
html body main .decks .deck.edit .add-card {
  display: block;
}
html body main .decks .deck.edit .controls .deck-delete-button {
  opacity: 1;
  visibility: visible;
}
html body main .decks .deck.edit .controls .deck-cancel-button {
  right: 40px;
  opacity: 1;
  visibility: visible;
}
html body main .decks .deck.edit .controls .deck-edit-save-button::before {
  top: 17px;
  left: 6px;
  width: 9px;
  transform: rotate(60deg);
}
html body main .decks .deck.edit .controls .deck-edit-save-button::after {
  top: 13px;
  left: 9px;
  width: 17px;
}
