/*
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 : 2018.06.20., 20:13:51
    Author     : clegane
*/

a:link {
    color: #00cccc;
    text-decoration: none;
}

a:visited {
    color: #00cccc;
    text-decoration: none;
}


html {
  background: url("img/bigmap.jpg") no-repeat center center fixed; 
  background-color: black;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}


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


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);

}

.smccont {
    position: relative;
    border-radius: 10px;
}    

.cardhold {
  top: 20px;
  left: 20px;
  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;
}



.bigcard {
  box-shadow: 5px 5px 10px 2px #000;
  overflow: hidden;
  position: relative;
  z-index: 80;  
  width: 400px;
  height: 550px;
  border-radius: 15px;
}

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

.illus {
    position: absolute;
    
    top: 0px;
    left: 0px;
    width: 400px;
    height: 334px;
    background-color: rgba(0, 0, 0, 0.6);
    background-repeat: no-repeat;
    background-size: auto;
    z-index: 90;
}

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



.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;
}

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

.doublecard {
  width: 220px;
  height: 184px;
}

.cardc, .cardf {
  margin-left: 10px;  
  margin-top: 5px; 
  margin-right: 10px;
  margin-bottom: 5px;
  background-color: transparent;
  position: relative;
  border-radius: 8px;
  height: 84px;
  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;
}

.cardc.selected, .bbox.selected {
  box-shadow: 0 0 6px 3px gold !important;
}

.cardc.chosen {
  box-shadow: 0 0 6px 3px #00cccc !important;
}



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

@keyframes fadein {
  0% { opacity: 0; }
  99% { 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,200,0.3),
              inset -10px -10px 14px rgba(20,20,20,0.7);
  border-radius: 5px;
  overflow: hidden;
  transition: all 0.3s ease-in-out;
}

.cardc.hide {
  opacity: 0.5;
}

#indeck {
  max-width: 1200px;  
  overflow-y: scroll !important;
  max-height: 254px;
  overflow-x: hidden;
}

#seedeck {
  overflow-y: scroll !important;
  max-height: 300px;
  overflow-x: hidden;
}

#hand {
  max-width: 770px; 
  max-height: 254px;
}

.cardtitle {
    font-family: 'Pirata One', cursive;
    text-align: center;
    width: 336px;
    white-space: nowrap;
    color: white;  
    font-size: 34px;
    
    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: 0px;
    left: 32px;
    position: absolute;
    z-index: 110;
}

.cardtext {
    
    top: 378px;
    left: 40px;
    width: 320px;
    height: 150px;
    position: absolute;
    /* background-color: rgba(0, 0, 0, 0.6); */
    z-index: 110;
    font-family: "Crimson Text" , serif;
    /* font-family: 'Tenali Ramakrishna', sans-serif; */
    text-shadow: rgba(0, 0, 0, 0.6) 0px 0px 1px;
    
    color: rgb(0, 0, 0);  
    font-size: 22px;
    line-height: 26px;
    text-align: center;
    height: auto;
}

.cardtext ccheat {
    color: rgb(255, 255, 0);
}

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

.stats {
    text-align: center;
    
    position: absolute;
    z-index: 110;
    font-family: 'Cinzel', serif;
    
    text-shadow: rgba(0, 0, 0, 0.6) 0px 0px 1px;
    
    color: rgb(0, 0, 0);   
    
    
}

.damage{
    display: none;
    -webkit-animation: blood 2s;
    animation: blood 2s;
    top: 302px;
    left: 350px;
}

@-webkit-keyframes blood {
    0% { opacity: 1;
         top: 302px;
         left: 350px;
       }
       
    
    
    100% { opacity: 0.2;
           top: 330px;
           left: 300px;
         }
}  
@keyframes blood {
    0% { opacity: 1;
         top: 302px;
         left: 350px;
       }
    
    
    
    100% { opacity: 0.2;
           top: 330px;
           left: 300px;
         }
}

#damage {
    width: 50px;
    top: 340px;
    left: 4px;
    font-size: 16px;
}
#health {
    width: 50px;
    top: 340px;
    left: 349px;
    font-size: 16px;
}
#dmgval {
    width: 50px;
    top: 302px;
    left: 4px;
    font-size: 32px;
}
#hpval, #takedmg {
    width: 50px;
    top: 302px;
    left: 350px;
    font-size: 32px;
}

#slash {
    display:none;
    position: absolute;
    top: 316px;
    left: 338px;
    z-index: 1100;
    -webkit-animation: slashy 2s;
    animation: slashy 2s;
}

#goldbag {
    displayf:none;
    position: absolute;
    /*top: 256px;
    left: 156px; */
    top: 494px;
    left: 294px; 
    z-index: 1100;
}

#goldval {
    text-align: center;
    
    position: absolute;
    z-index: 110;
    font-family: 'Cinzel', serif;
    font-weight: 900;
    
    text-shadow: rgba(20, 20, 20, 1) 3px 3px 2px,
                 rgba(20, 20, 20, 1) -3px 3px 2px,
                 rgba(20, 20, 20, 1) 3px -3px 2px,
                 rgba(20, 20, 20, 1) -3px -3px 2px,
                 rgba(20, 20, 20, 1) -3px 0px 2px,
                 rgba(20, 20, 20, 1) 0px -3px 2px,
                 rgba(20, 20, 20, 1) 0px 3px 2px,
                 rgba(20, 20, 20, 1) 3px 0px 2px;
    
    color: rgb(255, 255, 255); 
    /*top: 264px;
    left: 200px;*/
    top: 494px;
    left: 324px;
    z-index: 1200;
    font-size: 48px;
    width: 50px;
}

@-webkit-keyframes slashy{
    0% { opacity: 1;
    }
    
    50% { opacity: 0;
    }
}  
@keyframes slashy {
    0% { opacity: 1;}
    
    50% { opacity: 0; }
}

.percent {
    text-align: center;
    
    top: 517px;
    left: 40px;
    width: 320px;
    position: absolute;
    z-index: 110;
    font-family:  'Markazi Text', serif;

    text-shadow: rgba(0, 0, 0, 0.6) 0px 0px 1px;
    
    color: rgb(0, 0, 0);   
    font-size: 20px;
    
}

.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: 400px;
  height: 450px;
  overflow-y: scroll !important;
  margin: 10px;
  position: relative;

  border-radius: 15px;
}

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

#battlescore {
  width: 100%;
  height: 30px;
  width: 200px;
  position: absolute;
  background-color: #700;
  border-radius: 3px;
}

#winbattle {
  background-color: #2C8F30;
  width: 30px;
  height: 30px;
  position: absolute;
  
  border-radius: 3px;
}

.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: 1500;
    padding: 15px;
    font-family: 'Montserrat', sans-serif;
    max-width: 220px;
    z-index:6100;
}

.areatitle {
    font-family: 'Pirata One', cursive;
    text-align: center;
    width: 580px;
    white-space: nowrap;
    color: white;  
    font-size: 34px;
    
    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: -10px;
    left: 0px;
    position: static;
    z-index: 110;
    padding: 15px;
}

#wave {
    font-family: 'Pirata One', cursive;
    text-align: center;
    width: 150px;
    white-space: nowrap;
    color: #b11;  
    font-size: 26px;
    
    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: -10px;
    left: 0px;
    position: absolute;
    z-index: 110;
    padding: 15px;
}

.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: 0px;
    left: 450px;
    
    -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);
}

#hifamelist{
    top: 20px;
    left: 470px;
    overflow-y: scroll !important;
    max-height: 800px;
    align-content: center;
}

#famlist{
   border-collapse: collapse;
   border: none;
}

#famlist td { 
    padding: 5px;
    padding-left: 10px;
    padding-right: 10px;
    margin: 10px;
    text-align: center;
    border: none;
}

#namefield{
    text-align: center;
    outline: none;
}

#namefield:focus {
  box-shadow: 0px 0px 24px 14px rgba(0,0,0,0.75);
  outline: none;
}

#submitname:hover, #goreset:hover{
   color: yellow; 
}    

#retryfromlast:hover{
   color: yellow; 
}  

#entername{
    display: none;
    top: 480px;
    left: 720px;
}

.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;
}

.dispdmg, .disphp, .disptr{
    position: absolute;
    cursor: default;
    left: 3px;
    bottom: 0;
    z-index: 1100;
    font-family: 'Cinzel', serif;
    color: white;
    opacity: 0.8;
    font-size: 18px;
    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;
}

.disphp{
    width: 100%;
    left: -4px;
    text-align: right;
}

.disptr{
    width: 100%;
    left: -4px;
    text-align: center;
    font-size: 12px;
    bottom: 4px;
}