<template>
  <div class="border-style">
    <div class="inner-style">
      <div class="white-border"></div>
      <div class="align-center">
        <div class="name">{{ name }}</div>
        <div class="statement">{{ statement }}</div>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: "SubTitle",
  props: ["name", "statement"],
};
</script>

<style scoped>
.border-style {
  border: 1px solid rgb(25, 34, 51);
  padding: 3px;
}
.inner-style {
  background: #121a29;
  padding: 3px;
  display: flex;
  height: 38px;
  flex-direction: row;
}
.white-border {
  width: 28px;
  height: 18px;
  background-image: url("../assets/ico2.png");
  background-size: 100% 100%;
}
.align-center {
  display: flex;
  flex-direction: row;
  margin: 0 5px;
  align-items: center;
}
.name {
  color: white;
  font-size: 1.2rem;
  font-weight: 600;
  text-shadow: 0 0 3px #1753ce,0 0 4px #1753ce,0 0 3px #1753ce,0 0 3px #1753ce;
  margin-left: -4.2%;
}
.statement {
  color: #324264;
  font-size: 0.6rem;
  margin: 0 8px;
  font-weight: 600;
  padding-top: 6px;
}
</style>
