/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : 2017.03.02., 23:13:27
    Author     : clegane
*/

/* 
* Page setup
*/

a {
	color: gold;
}

@font-face {
     font-family: Warnock;
     src: url('WarnockPro-Capt.otf'); 
}

@font-face {
     font-family: Stencil;
     src: url('StencilStd.otf'); 
}

@font-face {
     font-family: Square;
     src: url('square.ttf'); 
}

@font-face {
     font-family: Charlemagne;
     src: url('CharlemagneStd-Bold.otf'); 
}

canvas {
  display: block;
  top: 0px;
  position: absolute;
  z-index: 7000;
  pointer-events: none;
}

.plancom{
    z-index: 2000;
}

.glowcom{
    -webkit-filter: drop-shadow(0px 0px 7px rgba(255, 255, 0, 1));
     filter: drop-shadow(0px 0px 7px rgba(255, 255, 0, 1));
}

.dim{
    display: none;
    height:100%;
    width:100%;
    position:fixed;
    left:0;
    top:0;
    z-index:1000;
    background-color:black;
    opacity: 0.4;
}

.dim.show{
    display: block;
    -webkit-animation: endfadeIn 2s;
    animation: endfadeIn 2s;
}

@-webkit-keyframes endfadeIn {
    0% { opacity: 0; }
    100% { opacity: 0.4; }
}  
@keyframes endfadeIn {
    0% { opacity: 0; }
    100% { opacity: 0.4; }
}

.endim{
    display: none;
    height:100%;
    width:100%;
    position: relative;
    text-align: center;
    left:0;
    top:0;
    z-index:6000;
    
}

.endimage{
    position: absolute;
    vertical-align: middle;
    display: block;
    top: 50%;
    left: 50%;
    transform: translate(-50%, 20%);
    -webkit-transform: translate(-50%, 20%);
    -webkit-box-shadow: 0px 0px 44px 24px rgba(0,0,0,0.75);
    -moz-box-shadow: 0px 0px 44px 24px rgba(0,0,0,0.75);
    box-shadow: 0px 0px 44px 24px rgba(0,0,0,0.75);
}

.gratu, .score, .rectext, .record, .newrec{
    position: absolute;
    width: 100%;
    left: -10px;
    text-align: center;
    font-family: "Warnock";
    color: white;
    z-index:7000;
    
    text-shadow: 2px 2px 2px #000 , -2px -2px 2px #000 , 2px -2px 2px #000 , -2px 2px 2px #000, 0px 2px 2px #000 , 0px -2px 2px #000 , 2px 0px 2px #000 , -2px 0px 2px #000;
    
  
}

.endtext{
    display: none;
}

.gratu{
    font-size: 100px;
    top: 125px;
    color: gold;
}

.score{
    font-size: 50px;
    top: 240px;
    color: gold;
}

.rectext{
    font-size: 35px;
    top: 430px;
    left: 350px;
    color: red;
}

.newrec{
    font-size: 35px;
    top: 520px;
    left: 350px;
    color: red;
}

.record{
    font-size: 35px;
    top: 475px;
    left: 350px;
    color: gold;
}

html {
  background: url("../images/elements/fff.jpg") no-repeat center center fixed; 
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

body {
  font-family: sans-serif;
  font-size: 10px;
}


div::-webkit-scrollbar {
    width: 8px;
    
}
 
::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3); 
    border-radius: 10px;
}
 
::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background-color: rgba(200,200,255,0.1);
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5); 
}

::-webkit-scrollbar-thumb:hover {

    background-color: rgba(200,200,255,0.4);

}

::selection { background: transparent; }
::-moz-selection { background: transparent; }

/* 
* Arrange areas
*/

.ffwd {
    transition: all 0.3s ease-in-out;
    opacity: 0.5;
}

.ffwd:hover{
    -webkit-filter: drop-shadow(0px 0px 7px rgba(130, 177, 222, 1));
     filter: drop-shadow(0px 0px 7px rgba(130, 177, 222, 1));
     transform: scale(1.1);
    opacity: 1;
}



.cardhold {
  top: 200px;
  left: 100px;
  position: absolute;
  background-color: rgba(0, 0, 0, 0.3);
  box-shadow: 0px 0px 8px rgba(0,0,0,1);
  transition: box-shadow 0.3s ease-in-out;
  border-radius: 15px;
}



.cardhold.highlight {
  box-shadow: 0 0 5px 2px rgba(0,150,220,0.8);
}

.cardhold.highlightalert {
  box-shadow: 0 0 5px 2px rgba(255,255,0,1);
}

#ministats{
    height: 210px;
}

.miniblackbg{
  overflow: hidden;
  position: relative;
  z-index: 80;  
  width: 400px;
  height: 210px;
  border-radius: 15px;
  background: black;
}

#crew{
  top: 50px;
  left: 100px;   
}

#logarea{
  top: 200px;
  left: 600px;  
}

#button{
  top: 50px;
  left: 600px;   
}

#stattext{
  top: 30px;
  left: 10px; 
  position: absolute;
  z-index: 105;
  width: 350px;
  text-align: center;
    
}

#zene{
  position: absolute;
  z-index: 105;
}

#kisstattext{
 top: 10px;
  left: -10px; 
  position: absolute;
  z-index: 105;
  width: 400px;
  text-align: center;  
  white-space: nowrap  
}

#tryicons{
 top: 142px;
  left: 0px; 
  position: absolute;
  z-index: 105;
  width: 370px;
  text-align: center;    
}

.dieholder {
    padding-left: 10px;
    padding-top: 6px;
}

.die, .dieroll {
    margin: 6px;
    border-radius: 10px;
    width: 40px;
    transition: box-shadow 0.3s ease-in-out;
    box-shadow: 0 0 6px 5px #000;
    display: inline-block;
}

.die.highlight{
    box-shadow: 0 0 6px 3px gold;
}

#shrlog, #explog, #evcount, .ok, .sxp, .closest, .closemini {
  color: cornflowerblue;  
  font-size: 16px;
  display: inline-block;
  position: relative;
  font-family: 'Montserrat', sans-serif;
  transition: opacity 0.3s ease-in-out,
              color 0.2s ease-in-out;
  cursor: pointer;
  
}

#dismiss {
    color: red; 
    padding-left: 10px;
}

#evcount {
    cursor: default;
}

.ok:hover, .sxp:hover, sellone:hover, #shrlog:hover, #explog:hover, #dismiss:hover { 
    color: yellow;
}



#face {
  top: 0px;
  left: 0px; 
}

#shrlog{
  
   top: 0px;
   left: 178px;
}

#explog{

   top: 0px;
   left: 198px;
}

/* 
* Style small stuff
*/

.gomb {
    
}

sellone{
  cursor: pointer;
  color: cornflowerblue;
  transition: opacity 0.3s ease-in-out,
              color 0.2s ease-in-out;
}


#rargem {
  top: 503px;
  left: 15px; 
  position: absolute;
  z-index: 105;
  width: 30px;
  -webkit-filter: drop-shadow(0px 0px 2px #FFD700);
  filter: drop-shadow(0px 0px 2px #FFD700);
  cursor: pointer;
}

.difficon  {
  position: relative;
  z-index: 905;
  padding-left: 4px;
  width: 38px;
  -webkit-filter: drop-shadow(0px 0px 3px #000);
  filter: drop-shadow(0px 0px 3px #000);
  display: inline-block;
  float: right;
}

.difficon.left {
    float: none;
} 


#difficonholder {
  position: absolute; 
  top: 496px;
  left: 300px;  
  display: inline-block;
  cursor: pointer;
  width: 340px;
  left: 50px;
  
}

#difficonholder.planet {
    width: 180px;
    left: 200px;
}

#difficonholder type{
  display: inline-block;
  position: relative;
  top: 8px;
  font-family: 'Cinzel', serif;
  padding-left: 12px;
  padding-right: 5px;
  color: white;
  font-size: 20px;
  float: right;
  text-shadow: rgb(0, 0, 0) 0px 2px 5px,
                 rgb(0, 0, 0) 2px 0px 5px,
                 rgb(0, 0, 0) -2px 0px 5px,
                 rgb(0, 0, 0) 0px -2px 5px,
                 rgb(0, 0, 0) 0px 2px 2px,
                 rgb(0, 0, 0) 2px 0px 2px,
                 rgb(0, 0, 0) -2px 0px 2px,
                 rgb(0, 0, 0) 0px -2px 2px,
                 rgb(0, 0, 0) 0px 0px 15px,
                 rgba(0, 0, 0, 0.9) 2px 2px 2px;  
}

/* 
* Style areas
*/

.areadiv {
  background-color: rgba(0, 0, 0, 0.3);
  position: absolute;
  border-radius: 15px;
  transition: box-shadow 0.3s ease-in-out;
  min-width: 405px;
  box-shadow: none;
}

.areadiv.selectable {
  box-shadow: 0 0 5px 2px rgba(0,150,220,0.8);
}

.areadiv.selectalert {
  box-shadow: 0 0 5px 2px rgba(255,255,0,1);
}

.max3 {
  max-width: 405px;  
}

.areacaption, .downarrow {
  color: white;  
  font-size: 16px;
  display: inline-block;
  position: relative;
  font-family: 'Montserrat', sans-serif;
  padding-left: 15px; 
  padding-right: 15px; 
  cursor: pointer;
}

.incaption, .riskcap {
  color: white;  
  font-size: 16px;
  display: inline-block;
  position: relative;
  font-family: 'Montserrat', sans-serif;
  padding-left: 10px; 
  padding-top: 6px;
  padding-bottom: 6px;
}

.riskcap {
    top: -18px;
    padding: 0px;
    padding-left: 14px;
}

.cardc, .cardf {
  margin-left: 10px;  
  margin-right: 10px;
  margin-bottom: 10px;
  background-color: transparent;
  position: relative;
  border-radius: 8px;
  transition: all 0.3s ease-in-out;
  display: inline-block;
  overflow: hidden;
  box-shadow: 0 0 10px 2px #000;
  -webkit-animation: fadein 0.5s linear forwards;
  animation: fadein 0.5s linear forwards;
}


@-webkit-keyframes fadein {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes fadein {
  0% { opacity: 0; }
  100% { opacity: 1; }
}


.cardc::before, .cardf::before {
   content: "";
   width: 200%;
   height: 170%;
   position: absolute;
   top: -200%;
   left: -225%;
   transform: rotate(-45deg);

   background-image: -webkit-linear-gradient( rgba(255,255,255,0), rgba(255,255,255,0.4), rgba(255,255,255,0)); 
   background-image: -moz-linear-gradient( rgba(255,255,255,0), rgba(255,255,255,0.4), rgba(255,255,255,0));  
    
     -moz-transition: all 0.8s ease-out; 
       -o-transition: all 0.8s ease-out; 
  -webkit-transition: all 0.8s ease-out;
      -ms-transition: all 0.8s ease-out;
}

.cardc:hover::before, .cardf:hover::before {
  top: 200%;
  left: 200%;   
}

.cardc::after, .cardf::after {
  content: '';
  position: absolute;
  display: inline-block;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  box-shadow: inset 0 0 5px 5px rgba(0,0,0,0.3),  
              inset 10px 10px 12px rgba(200,200,255,0.2),
              inset -10px -10px 14px rgba(00,20,50,0.7);
  border-radius: 5px;
  overflow: hidden;
  transition: all 0.3s ease-in-out;
}

.cardc.fade {
    
    -webkit-animation: fadehalf 1.5s linear forwards;
    animation: fadehalf 1.5s linear forwards;
}

@-webkit-keyframes fadehalf {
  0% { opacity: 0; }
  50% { opacity: 1; }
  100% { opacity: 0.3; }
}

@keyframes fadehalf {
  0% { opacity: 0; }
  50% { opacity: 1; }
  100% { opacity: 0.3; }
}

.cardc.fadeinsize {
    
    -webkit-animation: fadeinsize 1s linear forwards;
    animation: fadeinsize 1s linear forwards;
}

@-webkit-keyframes fadeinsize {
  0% { opacity: 0; -webkit-transform: scale(0.2);}
  100% { opacity: 1; -webkit-transform: scale(1);}
}

@keyframes fadeinsize {
  0% { opacity: 0; transform: scale(0.2);}
  100% { opacity: 1; transform: scale(1);}
}

.cardc.fadedown {
    
    -webkit-animation: fadedown 0.5s linear forwards;
    animation: fadedown 0.5s linear forwards;
}

@-webkit-keyframes fadedown {
  0% { opacity: 1; }
  100% { opacity: 0.3; }
}

@keyframes fadedown {
  0% { opacity: 1; }
  100% { opacity: 0.3; }
}

.cardc.fadefade {
    
    -webkit-animation: fadefade 1s linear forwards;
    animation: fadefade 1s linear forwards;
}

@-webkit-keyframes fadefade {
  0% { opacity: 0.3; }
  20% {-webkit-transform: scale(1.2);}
  100% { opacity: 0; -webkit-transform: scale(0.2); }
}

@keyframes fadefade {
  0% { opacity: 0.3; }
  20% {transform: scale(1.2);}
  100% { opacity: 0; transform: scale(0.2);}
}

.cardc.leaves {
    
    -webkit-animation: leave 2s linear forwards;
    animation: leave 2s linear forwards;
}

.cardc.dies {
    
    -webkit-animation: die 2s linear forwards;
    animation: die 2s linear forwards;
}

@-webkit-keyframes die {
  0% { opacity: 1; }
  100% { opacity: 0; -webkit-transform: rotate(-90deg);}
}

@keyframes die {
  0% { opacity: 1; }
  100% { opacity: 0; transform: rotate(-90deg);}
}

@-webkit-keyframes leave {
  0% { opacity: 1; }
  20% {-webkit-transform: scale(1.2);}
  100% { opacity: 0; -webkit-transform: scale(0.5);}
}

@keyframes leave {
  0% { opacity: 1; }
  20% {transform: scale(1.2);}
  100% { opacity: 0; transform: scale(0.5);}
}

.cardc.selected::after, .cardf.selected::after{
  box-shadow: inset 0 0 5px 5px rgba(50,150,220,0.8), 
              inset 10px 10px 12px rgba(200,200,255,0.2),
              inset -10px -10px 14px rgba(00,20,50,0.7) !important;
              
}

.cardc.selected {
    box-shadow: 0 0 20px 2px rgba(235,193,23,1);
}

.cardc.support::after{
   box-shadow: inset 0 0 5px 5px rgba(50,100,170,0.8), 
              inset 10px 10px 12px rgba(200,200,255,0.2),
              inset -10px -10px 14px rgba(00,20,50,0.7);
}   

.cardc.leader::after{
  box-shadow: inset 0 0 5px 5px rgba(200,150,0,0.8), 
              inset 10px 10px 12px rgba(200,200,255,0.2),
              inset -10px -10px 14px rgba(00,20,50,0.7);
}

.cardc.wounded::after{
  box-shadow: inset 0 0 20px 12px rgba(150,0,0,0.8), 
              inset 10px 10px 12px rgba(200,200,255,0.2),
              inset -10px -10px 14px rgba(00,20,50,0.7);
}

.cardc.exhausted::after{
  box-shadow: inset 0 0 30px 10px rgba(139,69,19,0.8), 
              inset 10px 10px 12px rgba(200,200,255,0.2),
              inset -10px -10px 14px rgba(00,20,50,0.7);
}

.cardc.tired::after{
  box-shadow: inset 0 0 20px 12px rgba(150,150,150,0.6), 
              inset 10px 10px 12px rgba(200,200,255,0.2),
              inset -10px -10px 14px rgba(00,20,50,0.7);
}

.cardc:hover, .cardf:hover {
  transform: scale(1.1, 1.1);
}

.smallcard {
  width: 100px;
  border-radius: 5px; 
}

.smallcard.portrait {
  width: 61px;
}

/* 
* Style log / card display
*/

.log {
  color: white;  
  text-shadow: rgb(0, 0, 40) 0px 0px 3px,
               rgb(0, 0, 40) 1px 1px 0px,
               rgb(0, 0, 40) 1px 2px 1px;
  font-size: 16px;
  padding-right: 10px;
  font-family: 'Montserrat', sans-serif;
  padding-left: 10px;   
  width: 350px;
  height: 510px;
  overflow-y: scroll !important;
  margin: 10px;
  position: relative;

  border-radius: 15px;
}

.log card {
  color: yellow;  
  cursor: pointer;
  
}

.hintdiv {
    position: fixed;
    display:none;
    font-size: 16px;
    color: white;
    background-color: rgba(0, 0, 0, 1);
    box-shadow: #000 0px 0px 10px 10px;
    z-index: 150;
    padding: 15px;
    font-family: 'Montserrat', sans-serif;
    max-width: 220px;
}

.bigcard {
  overflow: hidden;
  position: relative;
  z-index: 80;  
  width: 400px;
  height: 550px;
  border-radius: 15px;
}

.cardtype {
    top: 0px;
    z-index: 100;
    background-image: url("../images/elements/enc.png");
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    width: 400px;
    height: 550px;
	
}

.illus {
    position: absolute;
    width: 365px;
    height: 243px;
    top: 60px;
    left: 18px;
    background-color: rgba(0, 0, 0, 0.6);
    background-repeat: no-repeat;
    background-size: contain;
    z-index: 90;
	object-fit: contain;
}

#video {
    position: absolute;
    width: 320px;
    height: 350px;
    top: 26px;
    left: 18px;
    background-color: rgba(0, 0, 0, 0.6);
    background-repeat: no-repeat;
    background-size: contain;
    z-index: 91;
	object-fit: contain;
}

/* 
* Text on card display
*/


.stratxp {
    
    z-index: 115;
    position: absolute;
    top: 480px;
    left: 120px;
    width: 240px;
    display: inline-block;
    cursor: pointer;
}

.stxp {
    content: "";
    float: right;
    z-index: 115;
    position: relative;
    display: inline-block;
    padding-left: 7px;    
    -webkit-filter: drop-shadow(0px 0px 5px #000);
    filter: drop-shadow(0px 0px 5px #000);
    height: auto;
    
}

.xpholder, .commholder{
    z-index: 105;
    position: absolute;
    top: 20px;
    left: 11px;
    max-width: 30px;
    display: inline-block;
    cursor: pointer;
}

.commholder {
    max-width: 40px;
    top: 98px;
    left: 36px;
}

.xp {
    content: "";
    z-index: 108;
    position: relative;
    width: 26px;
    height: 26px;
    margin: 5px;
    display: inline-block;
    border-radius: 14px;
    box-shadow: 0 0 3px 4px black;
    background: #ebf1f6; /* Old browsers */
    background: -moz-linear-gradient(top, #ebf1f6 0%, #abd3ee 50%, #89c3eb 51%, #d5ebfb 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, #ebf1f6 0%,#abd3ee 50%,#89c3eb 51%,#d5ebfb 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, #ebf1f6 0%,#abd3ee 50%,#89c3eb 51%,#d5ebfb 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
}

.xp::after {
    z-index: 110;
    border-radius: 9px;
    position: absolute;
    top: 4px;
    left: 4px;
    width: 18px;
    height: 18px;
    box-shadow: inset 0 0 6px 3px black;
    background-color: rgba(80, 80, 250, 1);
    display: inline-block;
    content: "";
}

.xp.skill{
    top: 10px;
    left: 276px;
    cursor: pointer;
}

.xp.skill::after{
    top: 4px;
    left: 4px;
    background-color: rgba(165, 230, 190, 1);
    box-shadow: inset 0 0 6px 3px rgba(25, 80, 60, 1);
}

.state {
    font-family: 'Cinzel', serif;
    font-style: italic;
    font-size: 28px;
    top: 8px;
    left: 18px;
    position: absolute;
    z-index: 110;
    color: rgb(200, 200, 200);
    text-shadow: rgb(0, 0, 0) 0px 2px 5px,
                 rgb(0, 0, 0) 2px 0px 5px,
                 rgb(0, 0, 0) -2px 0px 5px,
                 rgb(0, 0, 0) 0px -2px 5px,
                 rgb(0, 0, 0) 0px 2px 2px,
                 rgb(0, 0, 0) 2px 0px 2px,
                 rgb(0, 0, 0) -2px 0px 2px,
                 rgb(0, 0, 0) 0px -2px 2px,
                 rgb(0, 0, 0) 0px 0px 15px,
                 rgba(0, 0, 0, 0.9) 2px 2px 2px;
}

.cardtitle {
    font-family: 'Cinzel', serif;
    text-align: center;
    width: 336px;
    white-space: nowrap;
    color: white;  
    font-size: 28px;
    text-shadow: rgb(0, 0, 0) 0px 2px 5px,
                 rgb(0, 0, 0) 2px 0px 5px,
                 rgb(0, 0, 0) -2px 0px 5px,
                 rgb(0, 0, 0) 0px -2px 5px,
                 rgb(0, 0, 0) 0px 2px 2px,
                 rgb(0, 0, 0) 2px 0px 2px,
                 rgb(0, 0, 0) -2px 0px 2px,
                 rgb(0, 0, 0) 0px -2px 2px,
                 rgb(0, 0, 0) 0px 0px 15px,
                 rgba(0, 0, 0, 0.9) 2px 2px 2px;
    top: 32px;
    left: 32px;
    position: absolute;
    z-index: 110;
}

.recurring {
    top: 484px;
    left: 46px;
    width: 320px;
    height: 150px;
    position: absolute;  
    z-index: 110;
    font-family: "Warnock";
    font-style: italic;
    color: white;  
    font-size: 22px;
    line-height: 26px;
    text-shadow: rgb(0, 50, 0) 0px 2px 2px,
                 rgb(0, 50, 0) 2px 0px 2px,
                 rgb(0, 50, 0) -2px 0px 2px,
                 rgb(0, 50, 0) 0px -2px 2px,
                 
                 rgb(0, 50, 0) -2px -2px 2px,
                 rgb(0, 50, 0) 2px -2px 2px,
                 rgb(0, 50, 0) -2px 2px 2px,
                 rgb(0, 50, 0) 2px 2px 2px;
}

.cardtext {
    
    top: 360px;
    left: 40px;
    width: 320px;
    height: 150px;
    position: absolute;
    /* background-color: rgba(0, 0, 0, 0.6); */
    z-index: 110;
    font-family: "Warnock";
    /* font-family: 'Tenali Ramakrishna', sans-serif; */
    text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black,
                 rgb(0, 30, 0) 0px 2px 2px,
                 rgb(0, 30, 0) 2px 0px 2px,
                 rgb(0, 30, 0) -2px 0px 2px,
                 rgb(0, 30, 0) 0px -2px 2px,
                 
                 rgb(0, 30, 0) -2px -2px 2px,
                 rgb(0, 30, 0) 2px -2px 2px,
                 rgb(0, 30, 0) -2px 2px 2px,
                 rgb(0, 30, 0) 2px 2px 2px,
                 
                 rgb(0, 0, 0) 0px 4px 5px,
                 rgb(0, 0, 0) 4px 0px 5px,
                 rgb(0, 0, 0) -4px 0px 5px,
                 rgb(0, 0, 0) 0px -4px 5px,

                 rgba(0, 0, 0, 0.9) 2px 2px 2px;
    
    color: white;  
    font-size: 22px;
    line-height: 26px;
    text-align: center;
}

.cardtext help, .recurring help, .profstrat help {
    cursor: pointer;
}

.cardtext bek{
    padding-bottom: 5px;
    display: inline-block;
}

.plint {
    cursor: pointer;
    font-family: "Square";
    font-style: italic;
    text-align: right;
    width: 300px;
    position: absolute;
    z-index: 110;
    color: white;  
    font-size: 18px;
    top: 90px;
    left: 58px;
    text-shadow: -2px 0 2px black, 0 2px 2px black, 2px 0 2px black, 0 -2px 2px black,
                 rgba(250, 250, 250, 0.5) 0px 2px 6px,
                 rgba(250, 250, 250, 0.5) 2px 0px 6px,
                 rgba(250, 250, 250, 0.5) -2px 0px 6px,
                 rgba(250, 250, 250, 0.5) 0px -2px 6px,
                 rgba(250, 250, 250, 0.5) -2px -2px 6px,
                 rgba(250, 250, 250, 0.5) 2px 2px 6px,
                 rgba(250, 250, 250, 0.5) 2px -2px 6px,
                 rgba(250, 250, 250, 0.5) -2px 2px 6px,
                 rgba(0, 0, 0, 0.9) 2px 2px 2px;
}

.cardtrait {
    text-align: center;
    
    top: 320px;
    left: 40px;
    width: 320px;
    position: absolute;
    z-index: 110;
    font-family: 'Cinzel', serif;
    text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black,
                 rgb(0, 0, 0) 0px 2px 2px,
                 rgb(0, 0, 0) 2px 0px 2px,
                 rgb(0, 0, 0) -2px 0px 2px,
                 rgb(0, 0, 0) 0px -2px 2px,
                 rgb(0, 0, 0) 0px 2px 0px,
                 rgb(0, 0, 0) 2px 0px 0px,
                 rgb(0, 0, 0) -2px 0px 0px,
                 rgb(0, 0, 0) 0px -2px 0px,
                 rgb(0, 0, 0) 0px 2px 5px,
                 rgb(0, 0, 0) 2px 0px 5px,
                 rgb(0, 0, 0) -2px 0px 5px,
                 rgb(0, 0, 0) 0px -2px 5px,
                 rgba(0, 0, 0, 0.9) 2px 2px 2px;
    
    color: white;  
    font-size: 20px;
    
}

.planetname, .plcode {
    text-align: left;
    font-family: 'Charlemagne';
    position: absolute;
    z-index: 110;
    top: 30px;
    left: 90px;
    color: rgb(9, 38, 59);
    font-size: 34px;
    -webkit-transform: skewX(-10deg);
    -moz-transform: skewX(-10deg);
     -ms-transform: skewX(-10deg);
      -o-transform: skewX(-10deg);
         transform: skewX(-10deg);
    text-shadow: rgb(201, 203, 236) 1px 1px 0px,
                 rgb(201, 203, 236) -1px -1px 0px,
                 rgb(201, 203, 236) 1px -1px 0px,
                 rgb(201, 203, 236) -1px 1px 0px,
                 rgb(201, 203, 236) 0px -1px 0px,
                 rgb(201, 203, 236) -1px 0px 0px,
                 rgb(201, 203, 236) 1px 0px 0px,
                 rgb(201, 203, 236) 0px 0px 1px,
                 rgb(201, 203, 236) 0px 1px 0px,
                 rgb(146, 166, 190) -2px -2px 2px,
                 rgb(0, 0, 0) 6px 6px 2px,
                 rgb(0, 0, 0) 6px 6px 5px;      
}

.planetname::first-letter { 
    font-size: 50px;
}

.plcode {
    cursor: pointer;
    top: 30px;
    left: 45px;
    color: rgb(255, 0, 0);
    text-shadow: rgb(50, 0, 0) 1px 1px 0px,
                 rgb(50, 0, 0) -1px -1px 0px,
                 rgb(50, 0, 0) 1px -1px 0px,
                 rgb(50, 0, 0) -1px 1px 0px,
                 rgb(50, 0, 0) 0px -1px 0px,
                 rgb(50, 0, 0) -1px 0px 0px,
                 rgb(50, 0, 0) 1px 0px 0px,
                 rgb(50, 0, 0) 0px 0px 1px,
                 rgb(50, 0, 0) 0px 1px 0px,
                 rgb(50, 0, 0) -2px -2px 2px,
                 rgb(255, 0, 0) 0px 0px 3px,
                 rgb(255, 0, 0) 0px 0px 4px,
                 rgb(255, 0, 0) 0px 0px 6px;
}

.plcode::first-letter { 
    font-size: 50px;
}


.crewname {
    text-align: right;
    font-family: 'Kristi', cursive;
    position: absolute;
    z-index: 110;
    top: 464px;
    left: 32px;
    width: 324px;
    color: rgb(0, 0, 20);
    text-shadow: rgb(0, 0, 150) 0px 0px 4px,
                 rgb(200, 200, 250) 0px 0px 5px;
    font-size: 50px;
}



.proftype {
    text-align: center;
    font-size: 26px;
    color: white; 
    opacity: 0.8;
    top: 158px;
    left: 260px;
    width: 180px;
    -webkit-transform: rotate(-90deg);
    -moz-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    -o-transform: rotate(-90deg);
    position: absolute;
    z-index: 110;
    font-family: "Stencil";
    cursor: pointer;
	text-shadow: rgb(0, 0, 80) 0px 0px 4px,
                 rgb(100, 100, 150) 0px 0px 5px;
}

.profstrat {
    text-align: center;
    font-size: 26px;
    color: white; 
    opacity: 1;
    top: 432px;
    left: 40px;
    width: 320px;
    position: absolute;
    z-index: 110;
    font-family: "Stencil";
    text-shadow: 0px 0px 4px rgba(0, 80, 40, 1),
                 0px 0px 10px rgba(0, 60, 0, 1),
                 0px 0px 6px rgba(0, 30, 10, 1);
}    

.explored {
    text-align: center;
    font-size: 52px;
    color: white; 
    opacity: 1;
    top: 150px;
    left: 38px;
    width: 320px;
    position: absolute;
    z-index: 110;
    font-family: "Stencil";
    text-shadow: 0px 0px 4px rgba(255,255,255,0.6),
                 0px 0px 10px rgba(255,255,255,0.6),
                 0px 0px 2px rgba(10,10,10,0.8),
                 0px 0px 6px rgba(255,255,255,0.6);
    -webkit-transform: rotate(-20deg);
    -webkit-box-shadow: 0px 0px 42px 3px rgba(255,255,255,0.84),
        inset 0px 0px 42px 3px rgba(255,255,255,0.84);
}

.crewcost, .fiva, .sciva, .diva, .updis, .evdis {
    font-family: "Square";
    position: absolute;
    z-index: 110;
    color: white;
    font-size: 36px;
    font-weight: bold;
    
    text-align: center;
    width: 50px;
    cursor: pointer;
}

.updis {
    text-shadow: rgb(101, 0, 0) 0px 2px 4px,
                 rgb(101, 0, 00) 2px 0px 4px,
                 rgb(101, 0, 0) -2px 0px 4px,
                 rgb(101, 0, 0) 0px -2px 4px,
                 rgb(101, 0, 0) -2px -2px 4px,
                 rgb(101, 0, 0) 2px 2px 4px,
                 rgb(101, 0, 0) -2px 2px 4px,
                 rgb(101, 0, 0) 2px -2px 4px,
                 0px 0px 4px rgba(80, 40, 40, 1);
    top: 277px;
    left: 11px;
    font-size: 32px;
}

.evdis {
    text-shadow: rgb(60, 60, 60) 0px 1px 3px,
                 rgb(60, 60, 60) 1px 1px 3px,
                 rgb(60, 60, 60) -1px 0px 3px,
                 rgb(60, 60, 60) 0px -1px 3px,
                 rgb(60, 60, 60) -1px -1px 3px,
                 rgb(60, 60, 60) 1px 1px 3px,
                 rgb(60, 60, 60) -1px 1px 3px,
                 rgb(60, 60, 60) 1px -1px 3px,
                 0px 0px 4px rgba(40, 40, 40, 1);
    top: 295px;
    left: 13px;
    font-size: 30px;
}

.crewcost {
    text-shadow: rgb(40, 100, 40) 0px 2px 4px,
                 rgb(40, 100, 40) 2px 0px 4px,
                 rgb(40, 100, 40) -2px 0px 4px,
                 rgb(40, 100, 40) 0px -2px 4px,
                 rgb(40, 100, 40) -2px -2px 4px,
                 rgb(40, 100, 40) 2px 2px 4px,
                 rgb(40, 100, 40) -2px 2px 4px,
                 rgb(40, 100, 40) 2px -2px 4px,
                 0px 0px 4px rgba(40, 80, 40, 1);
    top: 30px;
    left: 324px;
}

.fiva {
    text-shadow: rgb(60, 0, 0) 0px 3px 4px,
                 rgb(60, 0, 0) 3px 0px 4px,
                 rgb(60, 0, 0) -3px 0px 4px,
                 rgb(60, 0, 0) 0px -3px 4px,
                 rgb(60, 0, 0) -3px -3px 4px,
                 rgb(60, 0, 0) 3px 3px 4px,
                 rgb(60, 0, 0) -3px 3px 4px,
                 rgb(60, 0, 0) 3px -3px 4px,
                 0px 0px 4px rgba(80, 0, 0, 1);    
    top: 276px;
    left: 301px;
}

.sciva {
    text-shadow: rgb(0, 20, 0) 0px 3px 4px,
                 rgb(0, 20, 0) 3px 0px 4px,
                 rgb(0, 20, 0) -3px 0px 4px,
                 rgb(0, 20, 0) 0px -3px 4px,
                 rgb(0, 20, 0) -3px -3px 4px,
                 rgb(0, 20, 0) 3px 3px 4px,
                 rgb(0, 20, 0) -3px 3px 4px,
                 rgb(0, 20, 0) 3px -3px 4px,
                 0px 0px 4px rgba(0, 60, 0, 1);    
    top: 280px;
    left: 46px;
    width: 52px;
}

.diva {
    text-shadow: rgb(0, 0, 120) 0px 3px 4px,
                 rgb(0, 0, 120) 3px 0px 4px,
                 rgb(0, 0, 120) -3px 0px 4px,
                 rgb(0, 0, 120) 0px -3px 4px,
                 rgb(0, 0, 120) -3px -3px 4px,
                 rgb(0, 0, 120) 3px 3px 4px,
                 rgb(0, 0, 120) -3px 3px 4px,
                 rgb(0, 0, 120) 3px -3px 4px,
                 0px 0px 4px rgba(0, 0, 140, 1);   
    top: 292px; 
    left: 173px;
}

.crewtrait {
    position: absolute;
    top: 340px;
    left: 46px;
    z-index: 110;
    -webkit-filter: drop-shadow(0px 0px 3px #000);
    filter: drop-shadow(0px 0px 3px #000);
}

.areadiv.shake, .cardhold.shake{
  animation: shake 0.82s cubic-bezier(.36,.07,.19,.97) both;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  perspective: 1000px;
}

@keyframes shake {
  10%, 90% {
    transform: translate3d(-1px, 0, 0);
  }
  
  20%, 80% {
    transform: translate3d(2px, 0, 0);
  }

  30%, 50%, 70% {
    transform: translate3d(-4px, 0, 0);
  }

  40%, 60% {
    transform: translate3d(4px, 0, 0);
  }
}