<template>
  <div class="slide">
    <div class="aspect-9/16"></div>
    <div class="absolute top-0 left-0 right-0 bottom-0">
      <slot />
    </div>
  </div>
</template>

<style lang="postcss" scoped>
.slide {
  background: var(--c-bg);
  font-size: 1em;
  line-height: 1.2em;
  border-radius: 7px;
  position: relative;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.05), 0 0 30px 1px rgba(0, 0, 0, 0.15);
  @apply mt-4 transform translate-x-20 -translate-y-20 overflow-hidden;
  @apply dark:(bg-gray-400 bg-opacity-5);
}
</style>
