<template>
  <q-card
    flat
    bordered
    square
    :class="['card-background', 'q-ma-sm', 'border', 'text-center']"
  >
    <q-card-section>
      <div class="text-subtitle1 text-uppercase text-center big-font q-pa-md">
        {{ title }}
      </div>
    </q-card-section>

    <q-separator inset class="q-mb-sm" />

    <slot></slot>
  </q-card>
</template>

<script setup lang="ts">
defineProps<{
  title: string;
}>();
</script>

<style lang="scss">
.border {
  border: 0.1rem solid $off-black;
}

.big-font {
  font-size: 2.2rem;
}
</style>
