<template>
  <footer id="main-footer">

    <div class="header">
      <div class="title">PeerTube</div>

      <div class="description">A free software to take back control of your videos</div>
    </div>

    <div class="columns">
      <div>
        <div class="subtitle">Open your own videos website with PeerTube!</div>

        <a href="">Install PeerTube</a>

        <a href="">Why should I have my own PeerTube website?</a>

        <a  class="all" href=""><strong>Check all guides >></strong></a>
      </div>

      <div>
        <div class="subtitle">Create an account to take back control of your videos</div>

        <a href="">Open an account on a PeerTube website</a>

        <a href="">Create playlists</a>

        <a class="all" href=""><strong>Check all guides >></strong></a>
      </div>
    </div>
  </footer>
</template>

<style lang="scss">
  @import '../scss/_variables';

  footer {
    width: $container-width;
    margin: auto;
    background-color: $orange-lighten;
    padding: 30px 100px;
    font-family: monospace;

    .header {
      margin: 50px;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
    }

    .title {
      font-size: 36px;
    }

    .description {
      color: $grey;
    }

    .columns {
      display: flex;

      > div {
        display: flex;
        flex-direction: column;
        text-align: center;
      }

      @media screen and (max-width: $container-width) {
        flex-direction: column;

        > div {
          margin-top: 50px;
        }
      }
    }

    .subtitle {
      color: $grey;
      font-size: 20px;
      margin-bottom: 50px;
    }

    a {
      color: $orange;
      margin: 0 auto 20px auto;
      min-height: 40px;
      display: flex;
      width: fit-content;

      &:hover {
        color: $orange-darken;
      }
    }

    @media screen and (max-width: $container-width) {
      width: 100%;
    }

    @media screen and (max-width: $small-view) {
      padding: 30px;

      .title {
        font-size: 20px;
      }

      .subtitle {
        font-size: 16px;
      }
    }
  }
</style>

<script>
  import Vue from 'vue'

  export default Vue.extend({

  })
</script>
