body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

p {
  font-family: 'Roboto', sans-serif;
  color: white;
}

.pageContainer {
  max-width: 1920px;
  height: 970px;
  background-size: cover;
  background-position: center;
  background: url("./image/bg_main.jpg");
  text-align: center;
}

.iconContainer {
  position: relative;
  z-index: 99;
  left: 90%;
  padding-top: 15px;
  width: 120px;
}

.signin {
  background: url("./image/signin.png") no-repeat;
  width: 40px;
  height: 40px;
  float: left;
  opacity: 0.7;
}

a .signin:hover {
  background: url("./image/signin_hover.png") no-repeat;
  width: 40px;
  height: 40px;
}

.home {
  background: url("./image/home.png") no-repeat;
  width: 40px;
  height: 40px;
  margin-left: 50px;
  opacity: 0.7;
}

a .home:hover {
  background: url("./image/home_hover.png") no-repeat;
  width: 40px;
  height: 40px;
}

.contentContainer {
  width: 1400px;
  display: inline-block;
  text-align: left;
  margin-top: 200px;
  margin-left: 30px;
  position: relative;
  z-index: 99;
}

.textContainer {
  margin-top: -30px;
}

.mainText {
  font-size: 40px;
  font-weight: 900;
}

.subText {
  font-size: 24px;
  font-weight: 300;
  width: 500px;
  margin-top: -35px;
}

.buttonContainer {
  display: inline-block;
  text-align: center;
  margin-top: 10px;
}

.mainButton {
  width: 250px;
  height: 50px;
  background-color: rgba(22, 22, 22, 0.6);
  border: 1px solid #ffffff;
  border-radius: 25px;
  float: left;
  font-size: 24px;
  font-weight: 700px;
}

.mainButton:hover {
  background-color: rgba(22, 22, 22, 0.8);
}

.signup {
  margin-top: 5px;
}



.mainButton2 {
  width: 250px;
  height: 50px;
  background-color: rgba(22, 22, 22, 0.6);
  border: 1px solid #ffffff;
  border-radius: 25px;
  float: left;
  font-size: 24px;
  font-weight: 700px;
  margin-left: 20px;
}

.shop {
  margin-top: 5px;
}


.mainButton2:hover {
  background-color: rgba(22, 22, 22, 0.8);
}



.sun {
  position: absolute;
  top:0;
  left: 0;
  width: 1300px;
  height: 450px;
  margin-top: 0px;
  margin-left: 0px;
  animation-name: spin;
  animation-duration: 35000ms;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
  z-index: 1;
  position: absolute;
  opacity: 0;
}


@keyframes spin {
    from {
        transform:rotate(0deg);
        opacity: 0.3;
    }
    to {
        transform:rotate(360deg);
        opacity: 0.5;
    }
}

i {
/*   positioning */
		position: absolute;
		opacity: 0;

/*   gradient   */
background: -moz-linear-gradient(left, rgba(255,255,255,0.1) 1%, rgba(255,255,255,0.38) 32%, rgba(255,255,255,0.45) 64%, rgba(255,255,255,0.4) 86%, rgba(255,255,255,0.5) 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(left, rgba(255,255,255,0.1) 1%,rgba(255,255,255,0.38) 32%,rgba(255,255,255,0.45) 64%,rgba(255,255,255,0.4) 86%,rgba(255,255,255,0.5) 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to right, rgba(255,255,255,0.1) 1%,rgba(255,255,255,0.38) 32%,rgba(255,255,255,0.45) 64%,rgba(255,255,255,0.4) 86%,rgba(255,255,255,0.5) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#1afefcea', endColorstr='#d6ca20',GradientType=1 ); /* IE6-9 */


/*  forming the shine element
    play around with the width, skew and gradient to get different effects
  */
		width: 30px;
		height: 49px;
    margin-top: -60px;
     transform: skew(-5deg,0deg);
		-webkit-transform: skew(-5deg,0deg);
     -moz-transform: skew(-5deg,0deg);
     -ms-transform: skew(-5deg,0deg);
     -o-transform: skew(-5deg,0deg);

/*  animating it  */
    animation: move 1s;
		animation-iteration-count: infinite;
		animation-delay: 2s;
		-webkit-animation: move 1s;
		-webkit-animation-iteration-count: infinite;
		-webkit-animation-delay: 2s;
		-moz-transform: skew(-40deg,0deg);
		-moz-animation: move 1s;
		-moz-animation-iteration-count: infinite;
		-moz-animation-delay: 2s;
		-ms-transform: skew(-40deg,0deg);
		-ms-animation: move 1s;
		-ms-animation-iteration-count: infinite;
		-ms-animation-delay: 2s;
		-o-transform: skew(-40deg,0deg);
		-o-animation: move 1s;
		-o-animation-iteration-count: infinite;
		-o-animation-delay: 2s;
	}

/*  */
@keyframes move {
	0%  {margin-left: -100px; opacity: 0; }
	5% {opacity: 0.5}
	48% {opacity: 0.3}
	80% {opacity: 0}
	100% {margin-left: 80px; opacity: 0;}
}

@-webkit-keyframes move {
  0%  {margin-left: -100px; opacity: 0; }
  5% {opacity: 0.5}
  48% {opacity: 0.3}
  80% {opacity: 0}
  100% {margin-left: 80px; opacity: 0;}
}

@-moz-keyframes move {
  0%  {margin-left: -100px; opacity: 0; }
  5% {opacity: 0.5}
  48% {opacity: 0.3}
  80% {opacity: 0}
  100% {margin-left: 80px; opacity: 0;}
}

@-ms-keyframes move {
  0%  {margin-left: -100px; opacity: 0; }
  5% {opacity: 0.5}
  48% {opacity: 0.3}
  80% {opacity: 0}
  100% {margin-left: 80px; opacity: 0;}
}

@-o-keyframes move {
  0%  {margin-left: -100px; opacity: 0; }
  5% {opacity: 0.5}
  48% {opacity: 0.3}
  80% {opacity: 0}
  100% {margin-left: 80px; opacity: 0;}
}


@media only screen and (max-width: 1440px) {

  .pageContainer {
    max-width: 1440px;
    height: 970px;
    background-size: cover;
    background-position: center;
    background: url("./image/bg_mid.jpg");
    text-align: center;
  }

  .sun {
    width: 1000px;
    height: 500px;
    margin-left: -100px;
  }

  .contentContainer {
    width: 1024px;
  }
}

@media only screen and (max-width: 1024px) {
  .pageContainer {
    max-width: 1024px;
    height: 1366px;
    background: url("./image/bg_tablet.jpg");
    text-align: center;
    background-size: cover;
  }

  .iconContainer {
    left: 80%;
    padding-right: 0px;
    margin-left: 0px;
  }

  .contentContainer {
    width: 600px;
    display: inline-block;
    text-align: center;
    margin-top: 160px;
    margin-left: 0px;
  }

  .subText {
    display: inline-block;
  }

  .sun {
    width: 700px;
    height: 550px;
    margin-left: -200px;
    margin-top: -100px;
  }

  @keyframes spin {
      from {
          transform:rotate(0deg);
          opacity: 0.2;
      }
      to {
          transform:rotate(360deg);
          opacity: 0.35;
      }

}

@media only screen and (max-width: 799px) {
  .pageContainer {
    max-width: 799px;
    height: 1024px;
    background: url("./image/bg_tablet_mid.jpg") no-repeat;
    background-size: cover;
    background-position: center;
    padding-bottom: 0px;
  }

    .contentContainer {
      margin-top: 100px;
    }

}

@media only screen and (max-width: 599px) {

  .pageContainer {
    max-width: 599px;
    height: 970px;
    background: url("./image/bg_mobile.jpg") no-repeat;
    background-size: cover;
    background-position: center;
    padding-bottom: 0px;
  }

  .iconContainer {
    left: 75%;
  }

  .contentContainer {
    width: 400px;
    margin-top: 70px;
  }

  .logo {
    width: 350px;
    margin-top: 0px;
  }
  .mainText {
    font-size: 30px;
    margin-top: 40px;
  }
  .subText {
    width: 400px;
    font-size: 18px;
    margin-top: -25px;
  }

  .buttonContainer {
    width: 300px;
  }

  .mainButton {
    float: none;
    display: inline-block;
  }

  .mainButton2 {
    float: none;
    margin-left: 0;
    margin-top: 15px;
    display: inline-block;
  }

  .sun {
    display: none;
  }
}

@media only screen and (max-width: 499px) {

  .pageContainer {
    max-width: 499px;
  }


  .contentContainer {
    width: 300px;
  }

  .iconContainer {
    left: 60%;
  }

  .logo {
    width: 270px;
    margin-top: 0px;
  }

  .mainText {
    font-size: 21px;
    margin-top: 40px;
  }
  .subText {
    width: 300px;
    font-size: 14px;
    margin-top: -25px;
  }
}
