<template>
  <div class="line-title">
    <div class="transverse">
      <div class="transverse-title">{{ msg }}</div>
    </div>
  </div>
</template>

<script setup>

const props = defineProps({
  msg: String
})
</script>

<style lang="scss" scoped>
.line-title {
  padding: 14px 0;

  .transverse {
    border: 1px solid rgba(0, 0, 0, 0.1);
    position: relative;
    width: 100%;
    height: 0px;

    .transverse-title {
      padding-left: 40px;
      position: absolute;
      right: 0;
      top: 50%;
      transform: translateY(-60%);
      font-family: 'Cinzel';
      font-style: normal;
      font-weight: 400;
      font-size: 22px;
      line-height: 24px;
      text-align: right;
      color: rgba(0, 0, 0, 0.25);
      background-color: #f5f5f5;

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

      @media screen and (max-width:376Px) and (min-width: 0Px) {
        font-size: 24px !important;
        padding-left: 12px !important;
      }
    }
  }
}
</style>