<template>
  <div>
    <div class="top-title" :style="{'text-align': textAlign}">
      <div class="big-title">
        {{ bigTitle }}
      </div>
      <div class="sub-title" v-if="subTitle" :style="{'text-align': textAlign}">
        {{ subTitle }}
      </div>
    </div>
  </div>
</template>

<script setup>
const props = defineProps({
  bigTitle: { typs: String, default: '' },
  subTitle: { typs: String, default: '' },
  textAlign: { typs: String, default: 'right' }
})
</script>

<style lang="scss" scoped>
.top-title {

  margin-bottom: 20px;

  @media screen and (min-width: 0Px) and (max-width: 415Px) {
    // margin-top: 0px;
    margin-bottom: 28px;
  }

  .big-title {
    font-family: 'Cinzel';
    font-style: normal;
    font-weight: 400;
    font-size: 22px;
    line-height: 22px;
    margin-top: 48px;
    // text-align: right;
    color: #000000;

    @media screen and (min-width: 1440Px) and (max-width: 100vw) {
      margin-top: 48px;
      line-height: 34px;
      font-size: 34px;
    }

    @media screen and (min-width: 0Px) and (max-width: 415Px) {
      font-size: 24Px;
      margin-top: 0px;
      margin-bottom: 24px;
    }
  }

  .sub-title {
    font-family: 'Cinzel';
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    height: 12px;
    line-height: 12px;
    margin-top: 14px;
    color: #000000;

    @media screen and (min-width: 1440Px) and (max-width: 100vw) {
      font-size: 14px;
    }

    @media screen and (min-width: 0Px) and (max-width: 415Px) {
      font-size: 12Px;
    }
  }
}
</style>
