<template>
  <div class="title">
    <h2>
      <slot />
    </h2>
  </div>
</template>

<script setup lang="ts">

</script>

<style scoped lang="scss">
.title {
  padding-block: 10px 50px;
  display: grid;
  place-items: center;
  margin-bottom: 50px;
  background: linear-gradient(0deg, $light 0%, $accentSmooth 100%);

  & h2 {
    text-align: center;
    font-size: 48px;
    font-weight: 900;
    color: $white;
  }
}
</style>