
body {
  background: #23566b;
}

.container {
    display: flex;
    flex-direction: column;
}

.page-header {
  font-family: 'Rubik Glitch';
  font-size: 72px;
  text-align: center;
}

#searchbox {
  grid-area: searchbox;
}

#searchbox input {
  height: 100%;
  width: 100%
}

#syndicate {
  grid-area: syndicate;
  display: flex;
  flex-direction: column;
}

#type {
  grid-area: type;
}

#subtype {
  grid-area: subtype;
}

#talent {
  grid-area: talent;
}

#edition {
  grid-area: edition;
}

#search-results {
  grid-area: pool;
  display: flex;
  flex-wrap: wrap;
  height: 70vh;
  overflow-y: scroll;
  z-index: 0;
}

#energy-cost {
  grid-area: energy;
}

#rarity {
  grid-area: rarity;
}

#set {
  grid-area: set;
}

#energy-cost, #rarity, #set, #edition {
  display: flex;
  justify-content: center;
  align-items: center;
  width: auto;
  z-index: 0;
}

.card-search {
  display: grid;
  grid-gap: 2%;
  grid-template-areas: 'blank type subtype talent searchbox searchbox edition'
                       'syndicate pool pool pool pool pool pool'
                       'syndicate energy energy set set rarity rarity';
}

.card-search label {
  display: block;
  border:solid 1px gray;
  height:auto;
  width: auto;
  border-radius:40px;
  -webkit-font-smoothing: antialiased; 
  margin-top:2%;
  margin-right: 2%;
  font-family:Arial,Helvetica,sans-serif;
  color:gray;
  background-color: #003926;
  text-align:center;
  padding: 2%;
  text-wrap: nowrap;
}

input[type=checkbox] {
  display: none;
}

input[type=radio] {
  display: none;
}

input:checked + label {
  border: solid 2px #ffe200;
  color: #ffe200;
}

.card-profile {
    display: grid;
    grid-template: auto auto / auto auto;
    align-items: center;
    justify-content: space-evenly;
}

.card-profile img {
    width: 20rem;
}

.card-info {
    display: flex;
    flex-direction: column;
    margin: 1px;
    padding: 5em;
    background: black;
    color: white;
}

.card-results {
    display: flex;
    flex-wrap: wrap;
}

.card-results a {
  text-decoration: none;
  color: white;
}

.card-results a h6 {
    background-color: black;
    text-align: center;
    border-radius: 10px;
}

.card-block {
    display: flex;
    flex-direction: column;
    padding: 1rem;
    width: 10rem;
    position: relative;
}

nav {
  margin-bottom: 5%;
  display: flex;
}

nav ul {
  list-style-type: none;
  display: flex;
  flex-wrap: wrap;
}

.button-block {
  text-decoration: none;
  color: white;
  background-color: black;
  border-radius: 10px;
  text-align: center;
  margin: 1rem;
  padding: 1rem;
  display: inline;
}

.button-block button {
  color: white;
}

.section > img {
  width: 25%;
  min-width: 375px;
}

.deck-name {
  background-color: #003926;
}

* { box-sizing: border-box; }
.tabs {
  position: relative;
  clear: both;
  margin: 50px;
}
.tab {
  float: left;
  position: relative;
}
.tab label {
  padding: 10px 30px;
  cursor: pointer;
  text-align: center;
  display: block;
  position: relative;
}
.tab label i {
  font-style: normal;
  font-size: 10px;
  color: #aaa;
  position: absolute;
  right: 18px;
  top: 12px;
}
.tab [type="radio"] {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  margin: 0;
  z-index: 1;
}
.content {
  position: absolute;
  top: 100%;
  opacity: 0;
  left: 0;
  background: #333;
  color: white;
  padding: 20px;
}
.content ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.content a {
  color: white;
  display: block;
  white-space: nowrap;
  text-decoration: none;
  border-bottom: 1px solid #999;
  padding: 5px;
}
[type="radio"]:checked ~ label {
  z-index: 2;
}
[type="radio"]:checked ~ label ~ .content {
  z-index: 1;
  opacity: 1;
}

.close-tab {
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.close-tab label {
  background: #333;
  color: white;
}
[type="radio"]:checked ~ label ~ .close-tab {
  z-index: 3;
}

.builder {
  display: inline-flex;
}

.card-pool {
  width: 80vw;
}

.deck-list {
  display: flex;
  flex-direction: column;
  width: 20vw;
  padding: 0 2%;
}

.deck-card-list {
  display: flex;
  flex-direction: column;
  padding: 2% 0;
}

.deck-list-item {
  display: flex;
  justify-content: space-between;
  border: 1px solid black;
  padding: 3px;
  margin: 3px;
}

.deck-skills {
  display: inline-flex;
  flex-wrap: wrap;
}

.deck-skills p {
  padding: 2%;
}

.deck-card-count {
  display: flex
}

.deck-grid {
  display: flex;
  flex-wrap: wrap;
}
  
.deck-block {
  display:flex;
  flex-direction: column;
  margin: 2%;
  width: 25%;
  min-width: 200px;
  border-radius: 25px 0;
  text-align: center;
  background-color: #04AA6D;
  color: #003926;
}

.deck-block > a {
  text-decoration: none;
  color: #003926;
}

.deck-block .block-header {
  border-radius: 25px 0;
  font-family: 'Rubik Gltch';
  font-size: 24px;
  background-color: #003926;
  color: #04AA6D;
}

.home-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.home-block {
  width: 30%;
  min-width: 250px;
  padding: 2%;
  margin: 2%;
  background-color: #003926;
}

.home-block img {
  width: 100%;
}

summary {
  font-size: 48px;
}

.card-count {
  position: absolute;
  top: 30px;
  right: 10px;
  background-color: #009d3d;
  color: black;
  padding: 2% 5%;
  border: 1px solid black;
  border-radius: 10px;
}

.deck-creator {
  margin-bottom: 3%;
}

nav input[type='checkbox'], .nav-label {
  display: none;
}

@media (max-width: 600px) {
  nav {
    flex-direction: row;
    flex-wrap: wrap;
    margin-left: 0;
    margin-right: 0;
  }

  nav ul {
    display: block;
    width: 100%;
    flex-basis: 100%;
  }

  nav ul li {
    margin-bottom: 5%;
    width: 100%;
    text-align: right;
    padding: 1%;
  }

  .nav-label {
    text-align: left;
    display: block;
    padding: 3%;
    line-height: 1.5%;
    align-self: center;
  }

  nav input[type='checkbox']:checked label {
    background-color: #003926;
  }

  input[type='checkbox']:not(:checked) + ul {
    display: none;
  }

}

#id_honeypot {
    display: none;
}

.card-detail {
  display: none;
  position: absolute;
  background: rgba(0, 0, 0, 0.75); /* Black see-through */
  transition: .5s ease;
  opacity:1;
  color: white;
  font-size: 20px;
  padding: 20px;
  z-index: 10;
}

.card-detail-editions, .card-detail-talents, .card-detail-related {
  display: flex;
}

.card-detail-editions img, .card-detail-talents img, .card-detail-related img {
  width: 25rem;
}

.user-deck {
  padding-bottom: 5rem;
}

.skill-grid {
    display: flex;
    flex-wrap: wrap;
}

.skill-block {
  display: flex;
  margin: 1rem;
  border: 2px solid red;
  max-width: 30rem;
  min-width: 30rem;
  background: green;
  padding: 1rem;
}

.skill-data {
  display: flex;
  flex-direction: column;
  margin-left: 1rem;
  width: 100%;
}

.skill-title {
  display: flex;
  justify-content: space-between;
  font-size: 30px;
  border-bottom: 2px dotted;
}

.skill-title p {
  border: 1px solid blue;
  padding: 0px 8px;
  height: max-content;
  border-radius: 1rem;
}
