<template>
  <div class="right">
    <div class="logo"></div>
    <div class="back" @click="$router.push('/')"></div>
  </div>
</template>

<script setup>
defineOptions({
  name: "side-menu",
});
</script>

<style lang="scss" scoped>
.right {
  width: var(--main-sub-menu-width);
  height: 100%;
  background-image: var(--main-right-background);
  background-position: left top;
  background-size: cover;
  background-repeat: no-repeat;
  background-color: var(--logo-background-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  border-top-left-radius: var(--main-sub-menu-border-radius);
  border-bottom-left-radius: var(--main-sub-menu-border-radius);
  position: absolute;
  overflow: hidden;
  z-index: 1;
  top: 0;
  right: 0;
  .logo {
    width: var(--logo-width);
    height: var(--logo-width);
    border-radius: 50%;
    background-color: var(--logo-background-color);
    background-image: var(--main-sub-logo);
    background-repeat: no-repeat;
    background-size: cover;
    margin-top: 4.8125rem;
  }
  .back {
    margin-bottom: 4.8125rem;
    width: var(--go-home-width);
    height: var(--go-home-width);
    border-radius: 50%;
    background-color: var(--logo-background-color);
    background-image: var(--main-right-back-btn);
    background-position: center center;
    background-size: contain;
    background-repeat: no-repeat;
  }
}
</style>
