<template>
  <div class="skin-rarity-card">
    <img
    src="data:image/svg+xml,%3csvg width='114' height='76' viewBox='0 0 114 76' fill='none' xmlns='http://www.w3.org/2000/svg'%3e %3cpath fill-rule='evenodd' clip-rule='evenodd' d='M10.2632 1.65C11.3783 0.590661 12.8576 0 14.3957 0H99.6043C101.142 0 102.622 0.590661 103.737 1.65L112.132 9.62587C113.325 10.7586 114 12.3312 114 13.9759V70C114 73.3137 111.314 76 108 76H6C2.68629 76 0 73.3137 0 70V13.9759C0 12.3312 0.67512 10.7586 1.8675 9.62587L10.2632 1.65Z' fill='%23F54AB0'/%3e %3c/svg%3e"
    class="icon">
    <span class="title">Skin</span>
    <img
    src="data:image/svg+xml,%3csvg width='98' height='40' viewBox='0 0 98 40' fill='none' xmlns='http://www.w3.org/2000/svg'%3e %3cpath d='M0 8C0 3.58172 3.58172 0 8 0H89.9999C94.4182 0 97.9999 3.58172 97.9999 8V38C97.9999 39.1046 97.1045 40 95.9999 40H2C0.895427 40 0 39.1046 0 38V8Z' fill='%23A7176C'/%3e %3c/svg%3e"
    class="valueStack">
    <span class="rarity">Mythical</span></div>
</template>
<script lang="ts">
import { Component, Vue } from 'vue-property-decorator'

@Component({
  name: 'SkinRarityCard',
  components: {
  }
})
export default class extends Vue {}
</script>
<style lang="scss" scoped>
.skin-rarity-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 7.125em;
  height: 4.75em;
  position: relative;
  align-items: center;

  .title {
    position: absolute;
    text-transform: uppercase;
    font-weight: bolder;
    font-size: 0.875em;
    width: 2.375em;
    height: 1.375em;
    left: 2.4375em;
    top: 0.375em;
  }
  .icon {
    width: 100%;
  }
  .valueStack {
    position: absolute;
    width: 6.125em;
    border-radius: 0.5em 0.5em 0.125em 0.125em;
    left: 0.5em;
    top: 1.75em;
  }

  .rarity {
    position: absolute;
    font-weight: bolder;
    font-size: 0.875em;
    line-height: 1.57;
    width: 4.4375em;
    height: 1.375em;
    bottom: 1.0625em;
    color: #ffffff;
    text-align: center;
  }
}
</style>
