<template>
  <div class="main-container">
    <Header />
    <main class="main-content">
      <router-view />
    </main>
    <Footer />
  </div>
</template>

<script>
import Header from '../components/HeaderOpen.vue'
import Footer from '../components/FooterOpen.vue'
export default {
  name: 'Main',
  components: {
    Header,
    Footer
  }
}
</script>

<style scoped>
.main-container {
  width: 100%;
  height: 100%;
}
.main-content {
  flex: 1; /* take all remaining vertical space */
  padding: 2rem 2.5rem 120px; /* bottom padding prevents overlap with footer */
  box-sizing: border-box;
  overflow-x: hidden;
  background: transparent;
}
</style>

