<template>
  <div class="startpage">
    <div class="startpage__titlebox">
      <div class="startpage__titleborderbox2" />
      <div class="startpage__titleborderbox3" />
      <div class="startpage__titleborderbox1">
        <h1 class="startpage__title">
          Know Your Teammates!
        </h1>
      </div>
    </div>
    <div class="startpage__buttonline">
      <NuxtLink class="startpage__playbutton" to="/play">
        Play!
      </NuxtLink>
    </div>
  </div>
</template>

<script>
export default {

}
</script>

<style lang="scss">
.startpage {
  &__titlebox {
    position: relative;
    margin: 120px 0;
    display: flex;
    justify-content: center;
  }
  &__titleborderbox1,
  &__titleborderbox2,
  &__titleborderbox3 {
    border: 4px solid #808040;
    border-radius: 16px;
    background-color: #6040c0;
  }
  &__titleborderbox1 {
    display: flex;
    width: 600px;
    height: 200px;
    justify-content: center;
    align-items: center;
    z-index: 3;
  }
  &__titleborderbox2 {
    position: absolute;
    top: 40px;
    width: 720px;
    height: 120px;
    z-index: 2;
  }
  &__titleborderbox3 {
    position: absolute;
    top: 80px;
    width: 760px;
    height: 40px;
    z-index: 1;
  }
  &__title {
    color: #e0e080;
    font-size: 64px;
    font-family: 'Wendy One';
    color: #ffff80;
    text-align: center;
  }
  &__buttonline {
    display: flex;
    justify-content: center;
  }
  &__playbutton {
    width: 200px;
    height: 48px;
    padding: 16px 24px;
    border: 4px solid #c0c060;
    border-radius: 8px;
    background-color: #40a020;
    color: #ffff80;
    font-family: Dosis;
    font-weight: 800;
    font-size: 36px;
    text-align: center;
    text-decoration: none;

    &:hover {
      border-color: #ffffc0;
      background-color: #60c040;
      color: #ffffc0;
    }
  }
}
</style>
