<template>
  <div class="text-center my-4 topBox">
    <div class="wow animated fadeInUp text-center position-relative width-90  d-inline-block">
      <h2 class="section-title">{{ props.value.title }}</h2>
      <p class="color-8e8e8e font-size-18 mt-2">{{ props.value.desc }}</p>
    </div>
  </div>
</template>

<script lang="ts" setup>
const props=defineProps({
  value:{
    type:Object,
    default:()=>{}
  }
})

</script>

<style scoped>
.section-title{
  color: #333;
  font-size: 36px;
  font-weight: bold;
}
.lead{
  position: absolute;
  bottom: 10px;
  font-size: 80px;
  font-weight: bold;
  opacity: 0.15;
  text-align: center;
  left: 50%;
  display: block;
  transform: translateX(-50%);
  width: 100%;
  z-index: -1;
}
@media (max-width: 1200px) {
  .section-title{
    font-size: 30px;
  }
  .lead{
    font-size: 50px;
    bottom: 10px;
  }
  .topBox{
    margin-top: 30px;
  }
}

@media (max-width: 800px) {
  .section-title{
    font-size: 24px;
  }
  .lead{
    font-size: 30px;
    bottom: 15px;
  }
  .topBox{
    margin-top: 20px;
  }
}
</style>