body {
    font-family: Xolonium, Arial, Helvetica, sans-serif;
    text-shadow: 0px 0px 6px rgba(0, 202, 239, 1);
    color: white;
}

@font-face {
    font-family: Xolonium;
    src: url("/assets/Xolonium-Regular.ttf") format("truetype")
}

@page {
    size: A4 landscape;
}
.planet-card,
.action-card,
.catastroph-card,
.ucatastroph-card {
    height: 86mm;
    width: 59mm;
    border-radius: 8px;
    margin: 5px;
    float: left;
    line-height: normal;
    page-break-inside: avoid;
    border: solid black 1px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    background-image: url("/assets/xeno/BG.png");
    background-size: cover;
    background-repeat: no-repeat;
}

.catastroph-card{
    background-size: auto;
}

.ucatastroph-card {
    /*border: solid rgba(255, 0, 0, 0.3) 5px;*/
    color: white;
    text-shadow: 0px 0px 6px rgb(239, 48, 0);
    background-image: url("/assets/xeno/BG_ucatastroph.png");

}

.action-img,
.planet-img {
    height: 50%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.action-img>img {
    height: 128px;
    width: 128px;
}

.planet-img img,
.action-img img {
    max-width: 90%;
    max-height: 90%;
    margin-top: 15px;
}

/* .planet-img{
    background-image: url("/assets/xeno/image_border_outer.png");
    background-size: contain;
    background-repeat: no-repeat;
} */

.planet-img > img{
    width: 66%;
    margin-top: 18px;
}

.planet-header,
.action-name,
.catastroph-name {
    font-size: 15pt;
    text-align: center;
    padding-top: 10px;
}

.planet-header{
/*     background-image: url("/assets/xeno/title.png");
    background-size: cover;
    background-position-y: -12px; */
    display: grid;
    grid-template-columns: 1fr 4fr;
    justify-items: center;
    font-size: 18pt;
}

.planet-dangerlevel {
    text-align: right;
    grid-area: 1 / 1;
}

.planet-name {
    grid-area: 1 / 1 / 1 / span 2
}

.planet-description,
.action-description{
    text-align: center;
    padding-top: 10px;
    font-size: 10pt;
    padding-left: 10px;
    padding-right: 10px;
}

.planet-description {
    display: none;
    background-image: url("/assets/xeno/description.png");
    background-size: contain;
    background-repeat: no-repeat;
}

.catastroph-card{
    background-image: url("/assets/xeno/BG_catastroph.png");
}

.catastroph-name {
    padding: 10px 0;
}

.catastroph-dangerlevel {
    margin: 0 10px;
    text-align: center;
    font-size: 10px;
}

.catastroph-dangerlevel > div {
    margin: -3px 0;
}

/*.catastroph-dangerlevel span{
    background-image: url("/assets/dangerlevel_BG.png");
    background-size: cover;
    background-repeat: no-repeat;
    display: block;
    height: 20px;
    width: 20px;
}*/

.catastroph-dangerlevel.zero{
    border: 10px solid transparent;
    border-image: url("/assets/xeno/description.png") 30 stretch;
}
.catastroph-dangerlevel.one{
    border: 10px solid transparent;
    border-image: url("/assets/xeno/description (1).png") 30 stretch;
}
.catastroph-dangerlevel.two{
    border: 10px solid transparent;
    border-image: url("/assets/xeno/description (2).png") 30 stretch;
}
.catastroph-dangerlevel.three{
    border: 10px solid transparent;
    border-image: url("/assets/xeno/description (3).png") 30 stretch;
}

.planet-footer {
    display: grid;
    grid-template-columns: auto;
    height: 30%;
}

.planet-perks{
/*     background-image: url("/assets/xeno/perks.png");
    background-position-y: 6px;
    background-size: contain;
    background-repeat: no-repeat; */
    display: grid;
    grid-template-columns: auto auto;
    padding-top: 30px;
    justify-content: center;
    justify-items: center;
}

.planet-perk{
    height: 50px;
    width: 50px;
    background-image: url("/assets/Tex_bg_02.png");
    background-size: contain;
}

.planet-perk:nth-child(2) {
    margin-top:1px;
  }

.planet-perk>img{
    height: 30px;
    width: 30px;
    filter: drop-shadow(0px 0px 6px rgba(0, 202, 239, 1));
    margin-left: 50%;
    transform: translateX(-50%);
    margin-top: 10px;
}

.planet-round img {
    border-radius: 50%;
}