* {
    padding: 0;
    margin: 0;
}

h1 {
  margin-bottom: 8px;
}

button {
  margin-top: 8px;
}

body {
    margin:  0;
    background: linear-gradient(180deg, #1e2d28, #0d0921);

    width:  100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

#card {
    display: flex;
    width:  800px;
    max-width: 800px;
}

#card, #intro {
    background: white;
    margin: 0px;
    padding: 1em;
    border-radius: 16px;
    flex-flow: column nowrap;
    align-items: stretch;
    justify-content: flex-end;
}

table, td {
    /*border: 1px solid black; */
    border-collapse: collapse;
    table-layout: fixed;
}

table {
    margin-left: 20px;
    font-size: 18px;
    margin-top: 10px;
    border-top: 1px solid black;
    border-bottom: 1px solid black;
}

td {
    width: 24px;
	height: 24px;
	white-space: nowrap;
	margin: 0;
	padding: 0;
	flex-direction: space-between;
}

.ttitle {
    width: auto;
    text-align: left;
    font-family: 'Lobster', sans-serif;
    overflow: hidden;
}

.tdata {
    padding-left: 16px;
    padding-right: 20px;
    width: auto;
    text-align: left;
    letter-spacing: -1px;
    font-size: 26px;
}

.tline {
    min-width: 64px;
    border-bottom: 1px dashed black;
    font-family: 'Permanent Marker', cursive;
    text-align: center;
    font-size: 20px;
    color: #381089;
    line-height: 0.7;
    height: 16px;
}

#wdick {
  color: #ed0297;
  background-color: #fffaa5;
}

#header, #footer {
    font-family: 'PT Serif', serif;
    width: 100%;
    text-align: center;
    font-size: 48px;
    color: white;
    background-color: black;
    margin: 0px;
}

#photobox {
    position: relative;
}

.spade {
    position: absolute;
    font-size: 48px;
    border-radius: 0px 0px 12px 0px;
    text-align: center;
    line-height: 1.0;
    padding: 0px;
    font-family: 'Dosis', cursive;
    font-weight: 900;
   -webkit-text-stroke-width: 1.2px;
   -webkit-text-stroke-color: white;
}

.flip {
    -webkit-transform:rotate(-180deg);
    -moz-transform:rotate(-180deg);
    -o-transform:rotate(-180deg);
    transform:rotate(-180deg);
}

#photo {
    width: 260px;
    height: 360px;
    object-fit: cover;
    padding: 0;
    border-radius: 12px;
	margin-right: 4px;
	display: none;
}

#container {
    border: 1px solid black;
    padding-top: 4px;
    padding-bottom: 4px;
    padding-right: 4px;
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    justify-content: space-between;
    background-image: url("bg.png");
    background-repeat: repeat;
}

#barcode {
    margin: 12px auto 0px auto;
    width: 400px;
    height: 20px;
    background-image: url("barcode.png");
}

#barcodeid {
    text-align: center;
    font-size: 8px;
    font-family: 'Dosis', cursive;
    margin: 0px;
    padding: 0px;
}


.top {
    padding-left: 8px;
    background-color: rgba(255,255,255,0.2);
    border-radius: 8px;
    font-size: 48px;
    margin-left: 10px;
    font-family: 'Lobster', sans-serif;
}

.underline {
    text-decoration: underline;
}

#name, #title {
    min-width: 320px;
    font-family: 'Permanent Marker', cursive;
    text-align: left;
    font-size: 34px;
    color: #381089;
    line-height: 1.5;
    height: 42px;
    padding-left: 24px;
}