/*
|----------------------------------------------------------------------------
	1. FONTS: Google Font
|----------------------------------------------------------------------------

@import url('https://fonts.googleapis.com/css?family=Montserrat:200,300,400,500,600,700,800,900');
*/
/*
|----------------------------------------------------------------------------
	2. BODY
|----------------------------------------------------------------------------
*/
body {
  margin: 0;
  padding: 0;
  background: #eee;
  font-family: "Microsoft YaHei",'Montserrat',sans-serif;
}

/*
|----------------------------------------------------------------------------
	3. COMMON CSS
|----------------------------------------------------------------------------
*/
h1,h2,h3,h4,h5 {
  margin: 20px 0;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: .1em;
}
p {
  font-weight: 200;
  font-size: 13px;
}
section {
  text-align: center;
  height: 100vh;
}
.description {
  font-weight: 200;
  font-size: 13px;
  margin: 20px 0;
}
.clearfix {clear: both;}

/*
|----------------------------------------------------------------------------
	4. CONTAINER
|----------------------------------------------------------------------------
*/
.container {
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}
@media (min-width: 1200px) {
  .container {width: 1170px;}
}

/*
|----------------------------------------------------------------------------
	5. Main front page
|----------------------------------------------------------------------------
*/
.bg-page {
  position: relative;
  overflow: hidden;
  background-color: #323554;
}
.bg-page .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url(../img/bg.jpg);
  background-attachment: fixed;
  background-size: cover;
  opacity: 0.8;
}
.user {
    position: absolute;
    z-index: 10;
    top: 30px;
    right: 30px;
    color:white;
    font-size: 13px;
}
.user a{color:white;text-decoration:none ;}
/*
|----------------------------------------------------------------------------
	5.1 Background Illustration
|----------------------------------------------------------------------------
*/
.galaxy {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url(../img/stars.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: 50%;
  animation: stars 1.3s ease infinite alternate;
}
@keyframes stars {
  0% {
    opacity: 0.4;
  }
  100% {
    opacity: 1;
  }
}
.planet {
  position: absolute;
  z-index: 0;
  top: 45px;
  right: 45px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  overflow: hidden;
  background-image: url(../img/planet.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: 50%;
  transform: translateY(0);
  animation: planet 1s ease infinite alternate;
}
@keyframes planet {
  0% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
  100% {
    -webkit-transform: translateY(15px);
    transform: translateY(15px);
  }
}
.planet2 {
  position: absolute;
  z-index: 1;
  top: 25px;
  right: 20px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  overflow: hidden;
  background-image: url(../img/planet2.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: 50%;
  transform: translateY(0);
  animation: planet2 1.4s ease-in-out infinite alternate;
}
@keyframes planet2 {
  0% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
  100% {
    -webkit-transform: translateY(10px);
    transform: translateY(10px);
  }
}
.bg-page-content {
  position: absolute;
  z-index: 10;
  top: 50%;
  left: 50%;
  min-width: 315px;
  max-width: 100%;
  -webkit-transform: translate(-50%,-50%);
  transform: translate(-50%,-50%);
  text-align: center;
}
.bg-page-content .inner {padding: 0 30px;}
.bg-page-content {color: #fff;}
.bg-page-content h1,h2,h3,h4,h5 {
  font-weight: 300;
}
.bg-page-content h1 {
  position: relative;
  font-size: 4.2rem;
  font-weight: 300;
  letter-spacing: .1em;
  color: #fee22d;
  text-transform: none;
  font-family: "Microsoft YaHei",sans-serif;
}
@media screen and (max-width: 767px)
{
.bg-page-content h1 {font-size: 1.7rem;}
}
.timer span {
  text-transform: lowercase;
  font-size: 18px;
  color: white;
}
.timer span:last-child {
  position: absolute;
  top: -15px;
  right: 15px;
  letter-spacing: 2px;
  font-size: 1.2rem;
  font-weight: 300;
}
.logo {
  position: absolute;
  z-index: 10;
  top: 30px;
  width:224px;left:142px;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
}
.logo img {width: 100%;}
.arrow {
  position: absolute;
  z-index: 10;
  bottom: 30px;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  -webkit-animation: down 0.3s alternate infinite;
  animation: down 0.3s alternate infinite;
}
@keyframes down {
  0% {bottom: 30px;}
  100% {bottom: 25px;}
}
.arrow i {
  color: #fff;
  font-size: 40px;
}

/*
|----------------------------------------------------------------------------
	6. Portfolio Section
|----------------------------------------------------------------------------
*/
.portfolio {
  background: #eee;
}
.portfolio-col {
  display: inline-block;
  width: 100%;
  padding: 0px 10px;
}
.portfolio-item {
  display: inline-block;
  width: auto;
  height: 220px;
  margin-bottom: 20px;
  margin-right: 20px;
}
.portfolio-item-in {
  position: relative;
  display: inline-block;
  width: 100%;
  height: 220px;
  overflow: hidden;
}
.portfolio-item-in img {width: 100%;min-height: 100%;}
.portfolio-item-in .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.25);
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}
.portfolio-item:hover .overlay {background: rgba(0, 0, 0, 0.50);}
.portfolio-item-info {
  position: absolute;
  z-index: 1;
  bottom: 0;
  left: 50%;
  -webkit-transform: translate(-50%);
  transform: translate(-50%);
  width: 90%;
  color: #fff;
}

/*
|----------------------------------------------------------------------------
	7. Contact Section
|----------------------------------------------------------------------------
*/
.contact {background: #eee;}
.contact-form {
  width: 60%;
  margin: 0 auto;
}
.contact .contact-form .name, .contact .contact-form .email {
  float: left;
  width: 48.5%;
}
@media screen and (max-width: 500px) {
.contact .contact-form .name, .contact .contact-form .email{
  width: 100%;
}
}
#success {
  display: none;
  padding: 15px;
  background: #e0e0e0;
  color: #808080;
  font-size: 14px;
}
.contact .contact-form .name {margin-right: 20px;}
.contact .contact-form .message {position: relative;margin-top: 20px;}
.field {
  position: relative;
  height: 72px;
  padding: 16px 0px 8px 0px;
}
.field::after, .field::before {
  content:'';
  position: absolute;
  bottom: 12px;
  left: 0;
  width: 100%;
  height: 2px;
  background: gray;
}
.field::after {
  background: #E91E63;
  transform: scaleX(0);
  transition: transform 0.3s;
}
.field label {
  position: relative;
  display: block;
  text-align: left;
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  color: gray;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  transform: translateY(32px);
  transform-origin: 0 50%;
}
.has-label label {
  transform: translateY(0) scale(0.75);
}
.is-focused label {
  transform: translateY(0) scale(0.75);
  color: #E91E63;
}
.field.is-focused::after {
  -webkit-transform: scaleX(1);
  transform: scaleX(1);
}
.contact .contact-form input,
.contact .contact-form textarea {
  position: relative;
  display: block;
  width: 100%;
  height: 32px;
  padding: 8px 0;
  line-height: 16px;
  font-size: 16px;
  background: transparent;
  border: none;
  outline: none;
  -webkit-appearance: none;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}
.submit {float: right;}
.submit input {
  color: #fff;
  font-size: 14px!important;
  height: 36px!important;
  cursor: pointer;
  text-transform: uppercase;
}

/*
|----------------------------------------------------------------------------
	8. Carousel Navigation
|----------------------------------------------------------------------------
*/
.owl-page.active span {
  transform: scale(1);
}
.owl-page span {
  background: #333333!important;
  margin: 5px 4px!important;
  transform: scale(0.4);
  transition: all 0.2s;
}
.owl-page span:hover {transform: scale(0.8);}
.firstactive { background: white !important;}

/*
|----------------------------------------------------------------------------
	9. BUTTON / .btn
|----------------------------------------------------------------------------
*/
.btn {
  position: relative;
  width: 64px;
  height: 36px;
  font-size: 14px;
  padding: 0px 8px;
  margin: 20px 0;
  border-radius: 2px;
  text-transform: uppercase;
  outline: none;
  cursor: pointer;
  -webkit-box-shadow: 0 2px 2px 0 rgba(0,0,0,0.14), 0 3px 1px -2px rgba(0,0,0,0.12), 0 1px 5px 0 rgba(0,0,0,0.2);
  box-shadow: 0 2px 2px 0 rgba(0,0,0,0.14), 0 3px 1px -2px rgba(0,0,0,0.12), 0 1px 5px 0 rgba(0,0,0,0.2);
}
.btn:hover {
  -webkit-box-shadow: 0 4px 4px 0 rgba(0,0,0,0.14), 0 5px 3px -2px rgba(0,0,0,0.12), 0 3px 7px 0 rgba(0,0,0,0.2);
    box-shadow: 0 4px 4px 0 rgba(0,0,0,0.14), 0 5px 3px -2px rgba(0,0,0,0.12), 0 3px 7px 0 rgba(0,0,0,0.2);
}
.btn.primary {
  background: #E91E63;
  color: #fff;
  border: none;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

/*
|----------------------------------------------------------------------------
	10. Notify Area
|----------------------------------------------------------------------------
*/
.notify {
  position: absolute;
  z-index: 10;
  width: 200px;
  height: 55px;
  font-size: 16px;
  margin: 20px 0;
  text-transform: uppercase;
  background: #E91E63;/*E91E63*/
  color: #fff;
  border: none;
  border-radius: 30px;
  outline: none;
  cursor: pointer;
  right: 50%;
  top: 0;
  -webkit-transform: translateX(50%);
  transform: translateX(50%);
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
}
.notify:hover {
  background: #f51661;
  -webkit-box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.4);
  box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.4);
}
.notify.active {
  z-index: 10;
  right: 70px;
  width: 100px;
  border-radius: 0px 30px 30px 0px;
  box-shadow: none;
}
@media (max-width:1000px) {
.notify.active {
  right: 20px;
}
}
.notify-area {
  position: relative;
  height: 100px;
}
.notify-area input {
  position: absolute;
  top: 0;
  left: 50%;
  opacity: 0;
  width: 0px;
  max-width: 100%;
  height: 55px;
  font-size: 14px;
  margin: 20px 0;
  padding: 0 30px;
  background: #ffffff;
  color: gray;
  border: none;
  border-radius: 30px;
  outline: none;
  -webkit-box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.4);
  box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.4);
  transform: translateX(-50%);
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
}
.notify-area input.active {
  width: 400px;
  opacity: 1;
}

/*
|----------------------------------------------------------------------------
	11. Ripple Effect
|----------------------------------------------------------------------------
*/
.ripplelink{
    text-decoration: none;
    overflow: hidden;
    -webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    transition: all 0.2s ease;
    z-index: 0;
}
.ripplelink:hover{
}
.ink {
  display: block;
  position: absolute;
  background:rgba(255, 255, 255, 0.82);
  border-radius: 100%;
  -webkit-transform:scale(0);
     -moz-transform:scale(0);
       -o-transform:scale(0);
          transform:scale(0);
}
.animate {
	-webkit-animation:ripple 0.65s linear;
   -moz-animation:ripple 0.65s linear;
    -ms-animation:ripple 0.65s linear;
     -o-animation:ripple 0.65s linear;
        animation:ripple 0.70s linear;
}

@-webkit-keyframes ripple {
    100% {opacity: 0; -webkit-transform: scale(2.5);}
}
@-moz-keyframes ripple {
    100% {opacity: 0; -moz-transform: scale(2.5);}
}
@-o-keyframes ripple {
    100% {opacity: 0; -o-transform: scale(2.5);}
}
@keyframes ripple {
    100% {opacity: 0; transform: scale(2.5);}
}
