<template>
  <div style="margin-bottom: 0" class="menu-title">
    <div class="title">{{ props.title }}</div>
    <div class="low-titme">{{ props.subtitle }}</div>
  </div>
</template>

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

<style scoped>
.title {
  text-align: left;
  font-size: 18px;
  font-weight: 500;
  color: white;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.low-titme {
  color: rgba(255, 255, 255, 0.8);
  text-align: left;
  margin-left: 20px;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
}

.menu-title {
  padding: 20px 0 10px 20px;
  user-select: none;

  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1), inset 0 0 10px rgba(255, 255, 255, 0.05);
}
</style>
