<template>
  <div class="welcome-page safe-area-top safe-area-bottom">
    <div class="content">
      <div class="title">
        AI STYLING <br />
        ASSISTANT
      </div>
      <p class="subtitle">Redefine the styling experience with AI.</p>
      <div class="btn-container flex">
        <div class="log btn" @click="goToLogin">Log in</div>
        <div class="sign btn" @click="goToSignup">Sign up</div>
      </div>
    </div>
  </div>
</template>

<script setup lang="ts">
import { useRouter } from 'vue-router'

const router = useRouter()

const goToSignup = () => {
  router.push('/signup')
}

const goToLogin = () => {
  router.push('/login')
}
</script>

<style scoped lang="less">
.welcome-page {
  width: 100%;
  height: 100%;
  background: url('/src/assets/images/welcome_bg.png') no-repeat center center;
  background-size: cover;
  padding-left: 10rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.content {
  letter-spacing: 0;
  position: relative;
  // flex: 1;
  font-size: 8rem;
  color: #fff;
  font-weight: 400;
  margin-bottom: 31.5rem;
  .title {
    font-family: 'boskaRegular';
    line-height: 93%;
    letter-spacing: -0.02em;
  }
  .subtitle {
    font-size: 3.2rem;
    font-family: 'satoshiRegular';
    margin: 3.2rem 0 6rem;
    list-style: 124%;
    letter-spacing: 0.08em;
  }
  .btn-container {
    column-gap: 3rem;
    .btn {
      background: transparent;
      color: #fff;
      width: 23.9rem;
      font-size: 3rem;
      height: 6.05rem;
      line-height: 6.05rem;
      border: 1px solid #fff;
      text-align: center;
      //  padding: 2rem 1.3rem;
      box-sizing: content-box;
      font-family: 'satoshiRegular';
    }
  }
}
</style>
