.line {
    display: flex;
    gap: 5px;
    margin: 10px;
    flex-wrap: wrap;
}

.icon {
    width: 20px;
    height: 20px;
    vertical-align: middle;
    display: inline-block;
    background: url(data:image/gif;base64,R0lGODlhEAAQAMQAAORHHOVSKudfOulrSOp3WOyDZu6QdvCchPGolfO0o/XBs/fNwfjZ0frl3/zy7////wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAkAABAALAAAAAAQABAAAAVVICSOZGlCQAosJ6mu7fiyZeKqNKToQGDsM8hBADgUXoGAiqhSvp5QAnQKGIgUhwFUYLCVDFCrKUE1lBavAViFIDlTImbKC5Gm2hB0SlBCBMQiB0UjIQA7) no-repeat;
    background-size: contain;
}

.card {
    background: #eeeeee;
    width: 130px;
    height: 130px;
    position: relative;
    box-shadow: 1px 1px 2px 2px #999999;
    border-radius: 8px;
}

.card svg {
    width: 20px;
    height: 20px;
    vertical-align: middle;
    display: inline-block;
}

.card .name-wrapper {
    position: absolute;
    display: flex;
    justify-content: center;
    top: 5px;
    left: 0;
    right: 0;
}

.card .name-wrapper .name {
    background: white;
    font-weight: bold;
    font-size: 9pt;
    padding: 0 5px;
    border-radius: 3px;
    text-align: center;
    max-width: 90px;
    /*white-space: nowrap;*/
    height: 20px;

    font-family: 'big-font';
}

.card .effect {
    position: absolute;
    left: 5px;
    right: 5px;
    bottom: 5px;
    height: 90px;
    text-align: center;
    font-size: 14pt;

    overflow-wrap: break-word;
}

.card .effect.align-start {
    text-align: start;
}

.card .effect.vertical-text {
    transform: rotate(-90deg);

    /* to simulate a box fitting on the card*/
    left: 15px;
    right: 25px;
    height: 110px;
}
