<script setup lang="ts"></script>

<template>
  <header class="header">
    <slot></slot>
  </header>
</template>

<style lang="scss">
.header {
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  align-items: center;

  position: sticky;
  top: var(--container-spacing-top-safe);
  right: var(--container-spacing-right-safe);
  left: var(--container-spacing-left-safe);

  background: var(--header-background);

  max-width: 70rem;

  margin: var(--header-margin);
  border-radius: 0.5rem;
  padding: 0.5rem;

  box-shadow: var(--container-box-shadow);
  z-index: 1;
}
</style>
