<template>
  <div class="foot">
    <div class="foot_part">
      <div class="foot_part_cont">
        <!-- <h3 class="every_part_title">Follow us!</h3> -->
        <div class="foot_logo">
          <img src="@/assets/images/logo.png" />
        </div>
        <div class="Subscribe_part">
          <p class="special-font font16 colorf tleft padL10">
            Subscribe to our Newsletter
          </p>
          <div class="email_part">
            <div class="email_border">
              <input
                type="email"
                class="email_input"
                placeholder="Enter Email address"
                :value="emailVal"
              />
              <button class="submit_btn btn">SUBSCRIBE</button>
            </div>
          </div>
        </div>
        <div class="foot_tool_part">
          <div class="tool_bar foot_tool">
            <ul>
              <li>
                <a target="_blank" href="https://www.facebook.com/mymymoba">
                  <img src="@/assets/images/f-nav-icon1.png" />
                </a>
              </li>
              <li>
                <a target="_blank" href="https://t.me/+Wrdk1D5ay9dhZjM1">
                  <img src="@/assets/images/f-nav-icon2.png" />
                </a>
              </li>
              <li>
                <a target="_blank" href="https://twitter.com/MyMyMoba">
                  <img src="@/assets/images/f-nav-icon3.png" />
                </a>
              </li>
              <li>
                <a target="_blank" href="https://discord.gg/Ha3j4qFCrR">
                  <img src="@/assets/images/f-nav-icon4.png" />
                </a>
              </li>
              <li>
                <a
                  target="_blank"
                  href="https://www.reddit.com/user/MyMyMoba11/"
                >
                  <img src="@/assets/images/f-nav-icon5.png" />
                </a>
              </li>
              <li>
                <a target="_blank" href="https://medium.com/@mymymoba11">
                  <img src="@/assets/images/f-nav-icon6.png" />
                </a>
              </li>
            </ul>
          </div>
          <div class="f_b_part">
            <span>© 2022 by MyMyMoba</span>
          </div>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: "Foot",
  components: {},
  data() {
    return {
      emailVal: "",
      contractShow: false,
      currentHero: require("../assets/images/home/hero/heroimg/heroimg_1.jpg"),
      mobilecurrentHero: require("../assets/images/home/mobile/heroimg/heroimg_1.jpg"),
      videocanautoplay: false,
    };
  },
  methods: {
  },
  beforeDestroy() {
    // window.removeEventListener("scroll", this.toggleBodyClass);
  },
  mounted() {
    let $this = this;
    // window.addEventListener("scroll", () => {
    //   $this.toggleBodyClass();
    // });
  },
};
</script>
<style lang="less">
.foot {
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
}
h1,
h2 {
  position: relative;
}
.tool_bar {
  visibility: visible;
  opacity: 1;
  transition: all 0.1s ease;
}
.tool_bar.toolbarhide {
  visibility: hidden;
  opacity: 0;
}
.tool_bar ul {
  display: flex;
  align-items: center;
  justify-content: space-around;
}
.tool_bar ul li {
  padding: 0 15px;
  transition: all 0.2s ease;
}
.tool_bar ul li a {
  cursor: pointer;
  display: block;
  width: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tool_bar ul li a img {
  width: 26px;
  opacity: 0.8;
}
.tool_bar ul li a:hover img {
  width: 28px;
  opacity: 1;
}

/* 渐变
	 */
.gradualcolor {
  background: linear-gradient(134deg, #eaba99 0%, #ddc8b7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 0;
}

.foot_part {
  background: #000;
  width: 100%;
  padding: 60px 0;
}
.foot_part_cont {
  display: flex;
  max-width: 1480px;
  padding: 0 20px;
  margin: 0 auto;
  align-items: flex-start;
  justify-content: space-between;
}
.every_part_cont {
  width: 100%;
  max-width: 1480px;
  padding: 6.25vw 20px;
  margin: 0 auto;
  box-sizing: border-box;
}
.every_part_cont.flex {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
h3.every_part_title {
  font-size: 48px;
  font-family: "ColusRegular";
  font-weight: 400;
  color: #eaba99;
  line-height: 1em;
  letter-spacing: 2px;
  text-shadow: 4px 4px 10px rgba(0, 0, 0, 0.4);
}

// foot
.foot_logo,
.Subscribe_part,
.foot_tool_part {
  width: calc(33.3% - 20px);
  margin: 0 10px;
}
.foot_tool_part {
  display: flex;
  align-items: flex-end;
  flex-direction: column;
}
.foot_logo img {
  max-width: 278px;
  width: 100%;
}
.tool_bar.foot_tool {
  width: 100%;
  margin-bottom: 30px;
  max-width: 340px;
}
.tool_bar.foot_tool ul {
  justify-content: space-between;
}
.tool_bar.foot_tool ul li {
  height: 28px;
}
.tool_bar.foot_tool ul li:last-child {
  padding-right: 0;
}
.f_b_part {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.4);
  width: 100%;
  text-align: right;
}

.Subscribe_part {
  text-align: left;
}
.email_part {
  margin-top: 20px;
}
.email_border {
  max-width: 360px;
  width: 100%;
  height: 48px;
  border-radius: 34px;
  border: 1px solid #eaba99;
  padding: 5px;
  display: flex;
  box-sizing: border-box;
}
.email_input {
  width: calc(100% - 118px);
  padding-left: 10px;
  background: none;
  color: #fff;
}
.submit_btn {
  color: #000;
  width: 118px;
  height: 36px;
  line-height: 36px;
  background: linear-gradient(134deg, #eaba99 0%, #ddc8b7 100%);
  border-radius: 36px;
  text-align: center;
}
.submit_btn:hover {
  background: linear-gradient(234deg, #eaba99 0%, #ddc8b7 100%);
}

@media screen and (max-width: 1024px) {
  // foot
  .foot_part_cont {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .Subscribe_part {
    margin: 30px 0 40px;
  }
  .email_part {
    margin-top: 10px;
  }
  .email_border {
    height: 42px;
    margin: 0 auto;
  }
  .submit_btn {
    height: 30px;
    width: 100px;
    line-height: 30px;
  }
  .email_input {
    width: calc(100% - 100px);
  }
  .Subscribe_part .special-font {
    padding: 0;
    text-align: center;
  }
  .f_b_part {
    text-align: center;
  }
  .tool_bar.foot_tool ul li,
  .tool_bar.foot_tool ul li:last-child {
    padding: 0 10px;
  }
  .tool_bar.foot_tool {
    margin: 0 auto 15px;
  }
}
@media screen and (max-width: 950px) {
  .foot_logo,
  .Subscribe_part,
  .foot_tool_part {
    width: 100%;
  }
}

@media screen and (max-width: 650px) {
  .tool_bar ul li {
    padding: 0 10px;
  }
}
@media screen and (max-width: 400px) {
  .tool_bar.foot_tool ul li:first-child {
    padding-left: 0;
  }
  .tool_bar.foot_tool ul li:last-child {
    padding-right: 0;
  }
}
</style>
