<template>
  <footer class="footer-footer" v-bind:class="rootClassName">
    <div class="footer-kontakt">
      <span class="footer-kontakt1">{{ Text }}</span>
      <a href="mailto:info@openvisor.ch?subject=" class="footer-email">
        {{ Text1 }}
      </a>
    </div>
    <iframe
      src="https://dashboard.mailerlite.com/forms/582593/98301649820321679/share"
      class="footer-newsletter-form"
    ></iframe>
  </footer>
</template>

<script>
export default {
  name: 'Footer',
  props: {
    Text: {
      type: String,
      default: 'Kontakt',
    },
    rootClassName: String,
    Text1: {
      type: String,
      default: 'info@openvisor.ch',
    },
  },
}
</script>

<style scoped>
.footer-footer {
  gap: 20%;
  width: 100%;
  display: flex;
  position: relative;
  margin-top: 10%;
  align-items: center;
  padding-left: var(--dl-space-space-oneandhalfunits);
  margin-bottom: 10%;
  padding-right: var(--dl-space-space-oneandhalfunits);
  flex-direction: row;
  justify-content: center;
}
.footer-kontakt {
  flex: 0 0 auto;
  width: 200px;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
}
.footer-kontakt1 {
  color: #ffffff;
  font-size: 36px;
  align-self: center;
  text-align: center;
  text-transform: uppercase;
}
.footer-email {
  color: #ffff00;
  font-size: 18px;
  align-self: center;
  font-style: normal;
  font-weight: 300;
  text-decoration: underline;
}
.footer-newsletter-form {
  width: 320px;
  height: 360px;
  margin-bottom: var(--dl-space-space-twounits);
}





</style>
