<template>
  <div class="message-block">
    <div>{{ message }}</div>
    <div class="sub-message">
      <slot />
    </div>
  </div>
</template>
<script setup lang="ts">
defineProps<{ message: string }>()
</script>
<style scoped>
.message-block {
  margin: 2rem 0;
  font-size: 1.15rem;
  font-weight: 600;
  text-align: center;
  color: var(--message-block-color);
  line-height: 1.5;
}
.sub-message {
  margin-top: 0.3rem;
  font-size: 1rem;
  font-weight: 400;
  color: var(--sub-message-color);
}
</style>
