
a,
a:active {
  text-decoration: none;
  color: #fff;
}

html {
  width: 100%;
  height: 100vh;
  font-size: 14px;
}

body {
  width: 100%;
  height: 100vh;
  margin: 0;
  padding: 0;
  background-color: #fff;
  background-image: url("../img/product-bg.png");
  background-position: -300px 100px;
  background-attachment: fixed;
  background-size: 100%;
  background-repeat: no-repeat;
}

#main-wrapper {
  height: 100vh;
  width: 100%;
  margin: 0 auto;
}

.header {
  height: 6vh;
  line-height: 6vh;
  padding-left: 10%;
  font-weight: bold;
  background: rgba(42, 50, 113, 0.28);
  color: #ffffff;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
}

.homePage {
  font-size: 20px;
}

.footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgb(0, 0, 0);
  color: #9c9c9c;
  text-align: center;
}
ul {
  padding: 50px 0 200px;
}

ul li {
  position: relative;
  list-style-type: none;
  width: 6px;
  background-color: rgb(4, 100, 124);
  margin: 0 auto;
  padding-top: 50px;
}

ul li::after {
  background: rgb(4, 100, 124);
  content: "";
  width: 25px;
  height: 25px;
  border-radius: 50%;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
}

ul li div {
  position: relative;
  width: 400px;
  padding: 15px;
  border-radius: 5px;
  bottom: 0;
}

ul li:nth-child(odd) div {
  left: 45px;
}

ul li:nth-child(even) div {
  left: -445px;
}

h3 {
  font-weight: bold;
  font-size: 18px;
  display: block;
  margin-bottom: 10px;
}

ul li div {
  visibility: hidden;
  opacity: 0;
  transition: all 0.5s ease-in-out;
}

ul li:nth-child(odd) div {
  transform: translate3d(200px, 0, 0);
}

ul li:nth-child(even) div {
  transform: translate3d(-200px, 0, 0);
}

ul li.show div {
  transform: none;
  visibility: visible;
  opacity: 1;
}

@media screen and (max-width: 900px) {
  ul li div {
    width: 250px;
  }
  ul li:nth-child(even) div {
    left: -289px;
    /*250+45-6*/
  }
}



.post {
  color: inherit;
  max-width: 400px;
  position: relative;
  /* box-shadow: inset 0 0 0 2px rgba(4, 100, 124, 0.212); */
  background-color: rgba(252, 250, 242, 0.5);
}
.post:before {
  position: absolute;
  left: 0;
  bottom: 0;
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background-color: #000;
  border-radius: 5px;
  transform-origin: 0 bottom 0;
  transform: scaleY(0);
  transition: 0.4s ease-out;
}
.post:hover .post-title {
  color: #FFF;
}
.post:hover:before {
  transform: scaleY(1);
}

.post-title {
  position: relative;
  transition: 0.4s ease-out;
}