<template>
  <LayoutContainer>
    <div>
      <h2 class="title" :style="{ color: titleColor }">{{ title }}</h2>
    </div>
  </LayoutContainer>
</template>

<script setup>
import { defineProps } from "vue";

const props = defineProps({
  title: String,
  titleColor: {
    type: String,
    default: "#000", // Default color is black, but it's overridden by passed props
  },
});
</script>

<style scoped>
.title {
  font-weight: 600;
  font-size: 3rem;
  line-height: 18px;
  color: inherit;
  margin-left: 2rem;

  line-height: 2.4rem;
  width: 35rem;
}
</style>
