<script lang="js" setup>
import HeaderLinks from './HeaderLinks.vue';
import SiteOptions from './site_options/SiteOptions.vue';
</script>

<template>
  <div class="tui-minimalbar">
    <div class="minimal-inner">
        <div class="left">
            <span class="sticky-title" aria-hidden="true">◆ ARANROIG.COM</span>
            <HeaderLinks />
        </div>
        <SiteOptions />
    </div>
  </div>
  <div style="height: 80px"></div>
</template>

<style lang="scss" scoped>
.tui-minimalbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;

  background: var(--color-sticky-header-bg);
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 0px 0px var(--color-container-shadow);
}

.minimal-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 6px 24px;

  @media screen and (max-width: 900px) {
      padding: 5px 16px;
  }

  @media screen and (max-width: 600px) {
      padding: 4px 12px;
      gap: 0.5rem;
  }
}

.left {
  display: flex;
  align-items: center;
  gap: 1rem;
  
  @media screen and (max-width: 600px) {
    gap: 0.5rem;
  }
}

.sticky-title {
  font-family: 'Hurmit', monospace;
  font-size: 0.8rem;
  color: var(--color-text);
  letter-spacing: 1px;
  white-space: nowrap;
  
  @media screen and (max-width: 900px) {
    font-size: 0.75rem;
  }
}

</style>
