body {
    font-family: 'Roboto', sans-serif;
    background-color: #fff;
}

h1#teamwhat {
    padding: 0 85px 0 20px;
    margin: 25px 20%;
    line-height: 32px;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 25px;
    letter-spacing: 1px;
    -webkit-transform: skewX(-20deg);
    transform: skewX(-20deg);
}

h1#teamwhat > a {
    color: white;
}

#teamwhat > img.emoji {
    position: absolute;
    right: 5%;
    top: 6px;
    -webkit-transform: scale(3.3, 3.3) skew(20deg);
    transform: scale(3.3, 3.3) skew(20deg);
}

main {
    top: 100px;
    position: absolute;
    left: 50%;
    margin-left: -250px;
    width: 500px;
    height: 350px;
    box-sizing: border-box;
}

.card-face {
    display: inline-block;
    width: 250px;
    height: 350px;
    border: 1px dashed #bbb;
    padding: 10px;
    margin: 0;
    position: absolute;
    box-sizing: border-box;
    box-shadow: 1px 2px 10px rgba(0,0,0,0.5);
}

div#front {
    left: 0;
}

div#back {
    right: 0;
}

img#profile_banner_url {
    width: 100%;
}

img#profile_image_url {
    width: 100%;
}

div#screen_name:before {
  content: "@";
}

div#screen_name {
    text-align: right;
    text-transform: uppercase;
    font-size: 12px;
}

div#name {
    font-weight: 700;
    text-align: right;
    text-transform: uppercase;
}

div#location {
    text-align: center;
    text-transform: uppercase;
    font-size: 12px;
    margin: -5px 0 0 0;
    padding-bottom: 5px;
}

div#team-icon {
    position: absolute;
    bottom: 10px;
    left: 10px;
    font-size: 55px;
}

div#team-name {
    position: absolute;
    left: 10px;
    text-transform: uppercase;
    bottom: 15px;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 2px 8px 2px 70px;
    -webkit-transform: skewX(-20deg);
    transform: skewX(-20deg);
    -webkit-transform-origin: bottom left;
    transform-origin: bottom left;
}

div#name_back {
    text-align: center;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 30px;
    padding: 0 20px;
}

div#description {
    text-align: justify;
    width: 100%;
    padding: 5px;
    box-sizing: border-box;
    word-wrap: break-word;
}

img#verified {
    left: 12px;
    right: initial;
    top: 204px;
    width: 30px;
}

img.verified {
    display: block;
    position: absolute;
    width: 22px;
    top: 4px;
    right: 4px;
}

img.emoji {
   height: 1em;
   width: 1em;
   margin: 0 .05em 0 .1em;
   vertical-align: -0.1em;
}

a#print {
    position: absolute;
    padding: 10px;
    left: 50%;
    top: 475px;
    margin-left: -130px;
    width: 100px;
    background: #7b4;
    text-align: center;
    text-decoration: none;
    color: white;
    border-radius: 10px;
}

a#share {
    position: absolute;
    padding: 10px;
    left: 50%;
    top: 475px;
    margin-left: 10px;
    width: 100px;
    background: #7b4;
    text-align: center;
    text-decoration: none;
    color: white;
    border-radius: 10px;
}

table {
    margin: auto;
    bottom: 10px;
    position: absolute;
    left: 10px;
    color: #666;
    font-size: 15px;
}

td {
    width: 70px;
    padding: 3px 10px;
    text-align: right;
    box-sizing: border-box;
}

td.label {
    text-align: left;
    width: 147px;
}

/*
 * Tweetemon
 */
.tweetemon .card-face {
    display: inline-block;
    width: 244px;
    height: 340px;
    border: 6px solid #ed0;
    border-radius: 6px;
}

.tweetemon div#name {
    text-transform: capitalize;
    text-align: left;
    width: 60%;
    position: absolute;
    top: 0;
    left: 0;
    padding: 2px 5px;
    border-bottom-right-radius: 20px;
    border-right-width: 3px;
    border-right-style: solid;
}

.tweetemon div#name > span {
    text-transform: lowercase;
    font-variant: small-caps;
    font-size: 0.8em;
    white-space: nowrap;
}

.tweetemon div#team-icon {
    top: 0;
    right: 0;
    left: auto;
    bottom: auto;
    font-size: 20px;
    background: black;
    padding: 3px;
    border-radius: 0 0 0 15px;
}

div#hp {
    font-variant: small-caps;
    font-weight: 700;
    position: absolute;
    right: 26px;
    top: 0;
    font-size: 10px;
    padding: 0 4px 0 8px;
    border-bottom-left-radius: 20px;
    border-left-width: 3px;
    border-left-style: solid;
}

div#hp > span {
    font-size: 14px;
    color: #000;
}

img#card-back {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
}

.tweetemon img#profile_image_url {
    position: absolute;
    top: 0;
    left: 0;
    width: 232px;
}

.tweetemon img#profile_banner_url {
    position: absolute;
    bottom: 19px;
    left: 0;
    right: 0;
    width: 232px;
    opacity: 0.3;
}

table#attack {
    position: absolute;
    top: 232px;
    left: 0;
    font-weight: 700;
    bottom: 19px;
    color: #000;
    font-size: 12px;
}

td.energy {
    white-space: nowrap;
}

.tweetemon td.label {
    width: 150px;
    padding: 0;
}

.tweetemon td {
    width: 50px;
}

.tweetemon div#description {
    bottom: 0;
    position: absolute;
    left: 0;
    padding: 1px 3px;
}

.ready.tweetemon div#description {
    height: 19px;
}

/*
 * Supporting Content
 */

div#retrieval {
    position: absolute;
    bottom: 12px;
    left: 238px;
    font-size: 4px;
    text-transform: uppercase;
    -webkit-transform: rotate(270deg);
    transform: rotate(270deg);
    -webkit-transform-origin: bottom left;
    transform-origin: bottom left;
    white-space: nowrap;
}

div#error {
    display: none;
    margin: 40px auto;
    width: 30%;
    text-align: center;
    background: #fbb;
    color: white;
    font-weight: 700;
    padding: 20px;
    border-radius: 15px;
}

div#find-another {
    position: absolute;
    top: 570px;
    left: 50%;
    width: 500px;
    margin-left: -250px;
    text-align: center;
    font-variant: small-caps;
    background: #eee;
    padding: 20px 0;
    border-radius: 20px;
}

input#input {
    border-radius: 8px;
    border: 2px solid gray;
    padding: 7px 16px;
    width: 150px;
}

a#collect {
    padding: 10px;
    width: 100px;
    background: #7b4;
    text-align: center;
    text-decoration: none;
    color: white;
    border-radius: 10px;
    margin: 0 0 0 20px;
    display: inline-block;
}

div#find-another a#byline {
    color: #ddd;
    font-size: 10px;
    position: absolute;
    text-decoration: none;
    display: block;
    right: 20px;
    bottom: -11px;
    text-transform: lowercase;
}

div#banner0 {
    position: absolute;
    left: 0;
    top: 0;
    -webkit-transform-origin: top left;
    transform-origin: top left;
    font-size: 30px;
}

div#banner1 {
    position: absolute;
    right: 0;
    top: 0;
    -webkit-transform-origin: top right;
    transform-origin: top right;
    font-size: 30px;
}

div#banner0 > a, div#banner1 > a {
    display: block;
    padding: 5px;
    opacity: 0.1;
}

div#banner0 > a:hover, div#banner1 > a:hover {
    opacity: 1;
}

@media print {
    main {
        -webkit-print-color-adjust: exact;
    }

    div#banner0, div#banner1, div#find-another, a#print, a#share, h1#teamwhat {
        display: none;
    }

    .card-face {
        box-shadow: none;
    }
}

.screenshot div#banner0, .screenshot div#banner1, .screenshot div#find-another, .screenshot a#print, .screenshot a#share, .screenshot h1#teamwhat {
    display: none;
}

.screenshot main {
    -webkit-transform: scale(2,2);
    transform: scale(2,2);
    top: 33px;
    -webkit-transform-origin: top center;
    transform-origin: top center;
}

.blocking-error div#error {
    display: block;
}

.no-look-up main, .no-look-up a#print, .no-look-up a#share {
    display: none;
}

.no-look-up div#find-another {
    top: 150px;
}


/*
 * BRACKETS
 */

table.bracket {
    bottom: inherit;
}

table.bracket td {
    padding: 0;
}

.bracket-line-0 {
    position: relative;
    border-bottom: 3px solid #000;
    width: 200px;
}

.bracket-line-1 {
    position: relative;
    border-bottom: 3px solid #000;
    border-right: 3px solid #000;
    width: 200px;
}

.bracket-line-0 img, .bracket-line-1 img {position: absolute; bottom: 0; left: 0;}

.stage-0 {height: 300px;}
.stage-0.first {height: 220px;}
.stage-1 {height: 600px;}
.stage-1.first {height: 370px;}
.stage-2 {height: 1200px;}
.stage-2.first {height: 670px;}
.stage-4 {height: 2400px;}
.stage-4.first {height: 1270px;}
.stage-5 {height: 4800px;}
.stage-5.first {height: 2470px;}
.stage-6 {height: 9600px;}
.stage-6.first {height: 4870px;}
.stage-6 {height: 19200px;}
.stage-6.first {height: 9670px;}
