:root {
  --main-width: 800px;
  --card-width: 150px;
}

body {
  background: pink;
}

.footer {
  width: 100%;
  position: fixed;
  bottom: 0px;
  left: 0px;
  
  background: rgba(150, 50, 100, 0.95);
  border-top: solid 1 plum;
  box-shadow: 0px 2px 2px 10px rgba(150, 50, 100, 0.1), 0px 2px 2px 6px rgba(150, 50, 100, 0.2), 0px 2px 2px 4px rgba(150, 50, 100, 0.4);
}

button {
  font-family: Arial, Helvetica, sans-serif;
  font-size: inherit;
  background-color: rgba(150, 50, 100, 0.99);;
  color : black;
  border: none;
  padding: 3px;
  transition: transform 0.3s;
}
button:hover {
  transform: scale(1.05);
}
button:active {
  transform: scale(1.05) translate(1px, 1px);
  color: grey;
}

.main {
  width: var(--main-width);
  resize: horizontal;
	overflow: auto;
  
  box-shadow: 0px 0px 5px black;
  
  padding: 1em;
  margin: 0px auto;

  background-color: plum;
	background:
      radial-gradient(50% 50% at 100% 0,plum 0%  5% ,pink 6%  15%,plum 16% 25%,pink 26% 35%,plum 36% 45%,
       pink 46% 55%,plum 56% 65%,pink 66% 75%,plum 76% 85%,pink 86% 95%,
       #0000 96%),
      radial-gradient(50% 50% at 0 100%,plum 0%  5% ,pink 6%  15%,plum 16% 25%,pink 26% 35%,plum 36% 45%,
       pink 46% 55%,plum 56% 65%,pink 66% 75%,plum 76% 85%,pink 86% 95%,
       #0000 96%),
      radial-gradient(50% 50%,plum 0%  5% ,pink 6%  15%,plum 16% 25%,pink 26% 35%,plum 36% 45%,
       pink 46% 55%,plum 56% 65%,pink 66% 75%,plum 76% 85%,pink 86% 95%,
       #0000 96%),
      radial-gradient(50% 50%,plum 0%  5% ,pink 6%  15%,plum 16% 25%,pink 26% 35%,plum 36% 45%,
       pink 46% 55%,plum 56% 65%,pink 66% 75%,plum 76% 85%,pink 86% 95%,
       #0000 96%) 24px 24px;
	background-size: 48px 48px;
	background-color: plum;	
}

h1 {
  text-transform: capize;
  font-variant: small-caps;
  
  font-family: Arial, Helvetica, sans-serif;
  font-size: 30px;
  font-weight: bold;

  text-align: center;
}

h2 {
  text-transform: capitalize;
  font-variant: small-caps;
  
  font-family: Arial, Helvetica, sans-serif;
  font-size: 25px;
  font-weight: bold;

  margin-bottom: 3px;
}

p {
  font-family: Arial, Helvetica, sans-serif;
  font-size: inherit;

  margin-top: 3px;
  margin-bottom 3px;
}

h3 {
  margin: 0px;
  padding: 0px;

  text-align: center;

  font-family: sans-serif;
  font-size: 20px;
  font-weight: 700;
  font-variant-caps: small-caps;
  
}
.points {
  text-shadow: none;
  padding: 5px;
}


.card {
  display: inline-block;
  position: relative;
  height: fit-content;
  width: var(--card-width);

  margin: 5px;
  padding: 0px;
  overflow: hidden;

  vertical-align: top;
  user-select: none;
  cursor: pointer;

  border: none;
  border-radius: 10px;
  box-shadow: 3px 2px 2px black;

  background-color: rgba(255, 255, 255, 0.95);
  
  transition: background-color 0.3s;
  transition: border-color 0.3s;
  transition: box-shadow 0.3s;
  transition: transform 0.3s;
  transition: color 0.3s;
}
.card:hover {
  transform: scale(1.05);
}
.card:active {
  transform: scale(1.05) translate(1px, 1px);
  color: grey;
}
.inactive {
  filter: blur(1px);
}
.selected {
  box-shadow: 3px 2px 2px gold, -3px -2px 2px gold, 3px -2px 2px gold, -3px 2px 2px gold;
  background-color: rgba(133, 90, 108, 0.95);
  color: white;
}
.up {
  position: relative;
}
.girlphoto {
  display: block;
  width: var(--card-width);
  height: fit-content;
  max-height: 225px;

  position: relative;
  
  padding: 0px;

  border: none;
  border-radius: 10px 10px 0px 0px; 
  box-shadow: initial;

  margin-left: auto;
  margin-right: auto;
}
.girlname {
  display: flex;
	align-items: center;
  justify-content: center;
	
  width: 90%;
	min-height: 3em;
  
  margin: 5%;
  padding: 0px;

  position: relative;

	xxxbackground-color: rgba(175, 125, 150, 0.5); 
	
  user-select: none;
  text-shadow: hotpink 0px 0px 2px, plum 0px 0px 6px;
}
.realname {
  font-size: 12px;
  font-weight: bold;
  text-align: center;
  font-variant: small-caps;
  margin: 0px;
	padding: 3px;
	66text-shadow: initial;
}
.perk_name {
  padding: 1px;

  text-transform: capitalize;
  font-weight: bold;
  font-style: italic;

  background-color: rgba(255, 155, 255, 0.6);
  border-radius: 3px;
	text-shadow: initial;
	color: inherit;
}
.tag {
  padding: 1px;

  text-transform: capitalize;
  font-weight: bold;
  font-style: italic;

  background-color: rgba(155, 255, 155, 0.6);
  border-radius: 3px;
	text-shadow: initial;
	color: inherit;
}
.tags {
	text-align: center;
	line-height: 150%;
}
.power_name {
  padding: 1px;

  text-transform: capitalize;
  font-weight: bold;

  background-color: rgba(125, 155, 175, 0.6);
  border-radius: 3px;
	text-shadow: initial;
	color: inherit;
}
.girltext {
  display: block;
  height: fit-content;

  position: relative;


  padding: 0px 5px 5px 5px;
  border-radius: 5px;

  font-size: 12px;
}
.extras {
	position: absolute;
	right: 3px;
	
  height: fit-content;
  max-height: 60%;
  width: fit-content;
  margin-top: 5px;
  padding: 2px;

  font-family: sans-serif;
  font-size: 12px;
  font-weight: bold;
  color: black;

  background-color: rgba(255, 155, 255, 0.6);
  border-radius: 4px;
	text-shadow: initial;
	color: inherit;
	
	writing-mode: vertical-rl;
}
.girlcost {
  position: absolute;
  top: 0px;
  left: 0px;

  height: fit-content;
  width: fit-content;
  margin: 0px;
  padding: 2px;

  font-family: sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: white;

  background-color: hotpink;
  border-radius: 10px 0px;
  box-shadow: 1px 1px 1px rgba(255, 255, 255, 0.5);
}

.powers {
  display: block;
  height: 225px;
  width: fit-content;

  position: absolute;
  top: 5px;
  right: 0px;

  margin: 0px auto;
  padding: 0px 2px;
  text-align: center;
}
img.power {
  display: block;
  height: 25px;
  width: 25px;

  margin-top: 0px;
  margin-bottom: -3px;
  padding: 0px;
}
img.powerFilter {
  display: inline-block;
  height: 40px;
  width: 40px;

  margin: 6px;
  padding: 0px;
}
.powerIncluded {
	border: solid 3 darkgreen;
	border-radius: 10px;
	background: green;
}
.powerExcluded {
	border: solid 3 darkred;
	border-radius: 10px;
	background: red;
}
.textFilter {
	margin: 3px;
	display: inline-block;
}


.powercard {
  height: var(--power-width);
  width: var(--power-width);

  vertical-align: top;
}
img.powerphoto {
  display: block;
  height: var(--power-width);
  width: var(--power-width);

  position: absolute;
  top: 0px;
  bottom: 0px;
  
  padding: 0px;

  border: none;
  border-radius: 10px;
  box-shadow: initial;
  margin-left: auto;
  margin-right: auto;
}
.powername {
  display: table-cell;
  width: var(--power-width);
  height: fit-content;
  
  position: absolute;
  bottom: 5px;
  left: 0px;

  margin: 0px;
  padding: 0px;

  transition: border-color 0.3s;
  transition: box-shadow 0.3s;

  user-select: none;
}
.powerimg {
  display: block;
  height: 35px;
  width: 35px;

  position: absolute;
  top: 5px;
  right: 0px;

  margin: 0px auto;
  padding: 0px 2px;
  text-align: center;
}

.powercost {
  position: absolute;
  top: 0px;
  left: 0px;

  height: fit-content;
  width: fit-content;
  margin: 0px;
  padding: 2px;

  font-family: sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: white;

  background-color: black;
  border-radius: 10px 0px;
  box-shadow: 1px 1px 1px rgba(255, 255, 255, 0.5);
}




.extracard {
  display: inline-block;
  width: var(--extra-width);
  min-height: 200px;

  position: relative;

  margin: 5px;
  padding: 0px;

  vertical-align: top;

  user-select: none;
  cursor: pointer;

  border: none;
  border-radius: 10px;

}
img.extraimage {
  display: none;

  position: absolute;
  top: 0px;
  bottom: 0px;
  
  padding: 0px;
}
.extraname {
  position: relative;
  
  display: block;
  width: 170px;
  overflow-x: hidden;
  overflow-wrap: break-word;
  
  
  margin: 0px auto;
  padding: 0px 10px;
}
.extratext {
  display: block;
  height: 125px;
  height: fit-content;

  overflow: hidden;

  padding: 5px;
  border-radius: 5px;

  font-size: 15px;
}
.extracost {
  position: absolute;
  top: 0px;
  left: 0px;

  height: fit-content;
  width: fit-content;
  margin: 0px;
  padding: 2px;

  font-family: sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: white;

  background-color: purple;
  border-radius: 10px 0px;
  box-shadow: 1px 1px 1px rgba(255, 255, 255, 0.5);
}

.drawbackcost {
  position: absolute;
  top: 0px;
  left: 0px;

  height: fit-content;
  width: fit-content;
  margin: 0px;
  padding: 2px;

  font-family: sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: white;

  background-color: darkred;
  border-radius: 10px 0px;
}

.plain_border {
 border: solid plum; 
 background-color: rgba(250, 250, 250, 0.5); 
 display: table;
 padding: 15px;
 border-radius: 1em;
}
.djinn_border {
 border: solid plum; 
 background-color: rgba(150, 50, 100, 0.5); 
 display: table;
 padding: 15px;
 border-radius: 1em;
 font-style: italic;
}

.djinn_photo {
  float:left;
  padding:15px;
  height: 135px;
}


.toggle_button  {
 background-color: rgba(100, 50, 150, 0.25);
 padding: 3px;
 border-radius: 2px;
}
.toggle_button:hover {
 background-color: rgba(100, 50, 150, 0.5); 
}
.toggle_button:after {
  content: "\2796"; /* Unicode character for "minus" sign (-) */
  font-size: 15px;
  color: white;
  float: right;
  margin-left: 5px;
}
.hidden_button:after {
  content: '\02795'; /* Unicode character for "plus" sign (+) */
}
.collapsable {
}

.collapsabled {
  display: block;
	height: 2em;
  overflow: hidden;
  filter: blur(5px);
  pointer-events: none;
}