@font-face {
    font-family: 'Effra';
    src: url('/fonts/Effra-Regular.woff2') format('woff2'),
        url('/fonts/Effra-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Cheltenhm BT';
    src: url('/fonts/CheltenhamBT-Italic.woff2') format('woff2'),
        url('/fonts/CheltenhamBT-Italic.woff') format('woff');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: 'Cheltenhm BT';
    src: url('/fonts/CheltenhamBT-Bold.woff2') format('woff2'),
        url('/fonts/CheltenhamBT-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
}

body {
    font-family: Effra;
    padding: 20px;
    font-size: 16px;
    background: #adcbe3;
    position: relative;
}

#container {
    padding-top: 20px;
    padding-bottom: 150px;
    overflow: auto;
    width: 1000px;
    margin: 0 auto;
}

.full-card {
    width: 430px;
    height: 600px;
    margin: 0 auto;
    position: relative;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0px 16px 40px 0px rgba(0,0,0,0.2);
}

.card {
    width: 215px;
    height: 300px;
    margin: 16px;
    float: left;
    position: relative;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0px 8px 20px 0px rgba(0,0,0,0.2);
    transition: transform .1s;
}

.card a {
    color: #000;
    text-decoration: none;
}

.card:hover {
    transform: scale(1.15);
}

#card-detail .card:hover {
    transform: scale(1);   
}

#card-detail .card {
    margin-left: 32px;
    margin-top: 0;
}

.full-card .header {
    position: relative;
    height: 90px;
}

.full-card .cost,
.card .cost {
    position: absolute;
    display: block;
    top: 3px;
    left: 3px;
    width: 40px;
    height: 40px;
    text-align: center;
    font-size: 30px;
    line-height: 38px;
    color: #fff;
    background: #000;
    border: 2px solid #fff;
    border-radius: 40px;
    z-index: 100;
}

.full-card .cost {
    top: 25px;
    left: 15px;
}

.card .artwork {
    background-color: #eee;
    background-size: cover;
    background-position: center;
    border: 2px solid #666;
    border-radius: 2px;
    margin: 15px;
    width: 185px;
    height: 170px;
}

.full-card .artwork {
    background-color: #eee;
    background-size: cover;
    background-position: center;
    border: 2px solid #666;
    border-radius: 2px;
    margin: 0 15px;
    width: 400px;
    height: 250px;
}

.card .content {
    padding: 0 15px;
}

.card .name {
    display: block;
    text-align: center;
    font-family: 'Cheltenhm BT';
    font-weight: 'bold';
    font-size: 24px;
    height: 40px;
    width: 185px;
}

.full-card .name {
    display: block;
    font-family: 'Cheltenhm BT';
    font-weight: 'bold';
    font-size: 38px;
    width: 360px;
}

.full-card .name-container {
    position: absolute;
    right: 0;
    top: 18px;
    right: 15px;
    width: 345px;
}

.full-card .rarity {
    position: absolute;
    right: 0;
    top: 56px;
    right: 15px;
    width: 345px;
    font-size: 16px;
}

.card .actions {
    text-align: center;
    font-size: 18px;
}

.card .actions .action {
    display: inline-block;
    padding: 0 5px;
}

.card .actions .action img {
    height: 25px;
    width: 25px;
    float: left;
    padding-right: 3px;
}

.card .actions .action span {
    display: block;
    float: left;
    line-height: 30px;
}

.full-card .flavour {
    margin: 0;
    padding: 15px;
    position: absolute;
    bottom: 0;
    left: 0;
    font-family: 'Cheltenhm BT';
    font-weight: normal;
    font-style: italic;
    font-size: 20px;
}

.full-card .content {
    margin: 15px;
    font-size: 28px;
}

.full-card .content p {
    margin: 0 0 15px 0;
}

.full-card .content p img {
    height: 32px;
    width: 32px;
    padding: 0 3px 0 7px;
    position: relative;
    top: 4px;
}

.full-card .content .actiondetail {
    color: #000;
    filter: invert(83%) sepia(0%) saturate(38%) hue-rotate(136deg) brightness(95%) contrast(82%);
    font-size: 20px;
    padding-left: 47px;
    display: block;
}

.full-card .content p .actiondetail img {
    height: 22px;
    width: 22px;
    padding: 0 3px 0 4px;
    position: relative;
    top: 3px;
}

#targets {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    background-color: black;
    color: white;
    text-align: center;
    padding: 20px 0;
}

#targets h3 {
    margin: 0 0 10px 0;
    padding: 0;
}

#targets input[type=text] {
    width: 20px;
    height: 20px;
    margin: 0 20px 0 5px;
    text-align: center;
    font-size: 15px;
}

#targets img {
    filter: invert(100%);
    height: 25px;
    width: 25px;
    padding-right: 5px;
    position: relative;
    top: 5px;
}



.composited-actions,
.lua-output {
    display: block;
    overflow: auto;
    margin: 40px 0 0 0;
}

.composited-actions h2,
.lua-output h2 {
    border-bottom: 2px solid #333;
    padding-bottom: 5px;
}

.lua-output pre {
    background: rgba(255,255,255,0.3);
    border-radius: 16px;
    padding: 20px;
}

.composited-actions .action {
    background: rgba(255,255,255,0.3);
    float: left;
    margin-left: 0px;
    width: 450px;
    border-radius: 16px;
    padding: 20px;
}

.composited-actions .action ~ .action {
    margin-left: 20px;
}

.composited-actions .action h3 {
    margin: 0;
    font-size: 20px;
    padding-bottom: 5px;
    border-bottom: 1px solid #333;
    margin-bottom: 20px;
}

.composited-actions .action h4 {
    margin: 0;
    font-size: 18px;
}

.composited-actions .action ul {
    margin: 0;
    padding: 0;
    padding-left: 30px;
    list-style: none;
    margin-bottom: 10px;
}

.composited-actions .action li {
    margin: 0;
    padding: 0;
    font-size: 15px;
}



span.positive {
    filter: invert(75%) sepia(16%) saturate(1503%) hue-rotate(49deg) brightness(88%) contrast(90%);
}

span.negative {
    filter: invert(19%) sepia(50%) saturate(5272%) hue-rotate(350deg) brightness(92%) contrast(82%);
}

span.damage {
    filter: invert(61%) sepia(0%) saturate(0%) hue-rotate(154deg) brightness(102%) contrast(86%);
}

span.bleed {
    filter: invert(8%) sepia(86%) saturate(7360%) hue-rotate(360deg) brightness(135%) contrast(110%);
}

span.magicalDamage {
    filter: invert(12%) sepia(87%) saturate(3610%) hue-rotate(283deg) brightness(82%) contrast(106%);
}

span.stun {
    filter: invert(77%) sepia(22%) saturate(1085%) hue-rotate(338deg) brightness(102%) contrast(103%);
}

span.poison {
    filter: invert(68%) sepia(39%) saturate(848%) hue-rotate(27deg) brightness(91%) contrast(88%);
}

span.silence {
    filter: invert(61%) sepia(34%) saturate(2802%) hue-rotate(143deg) brightness(91%) contrast(101%);
}

span.slow {
    filter: invert(31%) sepia(58%) saturate(729%) hue-rotate(347deg) brightness(103%) contrast(91%);
}

span.resolveDamage {
    filter: invert(95%) sepia(6%) saturate(1481%) hue-rotate(112deg) brightness(93%) contrast(102%);
}