﻿body {
    margin: 0;
    padding: 0;
}
.content {
    margin: 0 0;
    padding: 0;

}
#s1 {
    background-image: url('/img/s1bgm.jpg');
    background-position: top center;
    width: 100%;
    background-color: #423992;
    text-align: center;
    background-repeat: no-repeat;
    background-size: contain;
}
#s1cont, #s3cont, #s5cont {
    position: relative;
}
#s1Logo {
    margin-top: 3vh;
    height: 20vh;
}
#s1Phone {
    margin-top: 3vh;
    margin-left: 10vw;
    margin-right: 10vw;
    background-color: #7cca1b;
    -ms-border-radius: 25px;
    border-radius: 25px;
    color: white;
    font-family: FregatBold;
    font-size: 5vh;
    padding: 1vh;
    margin-bottom: 2vh;
}

#s1Phone a {
    display: block;
    background-image: url(/img/svg/phone.svg);
    background-repeat: no-repeat;
    background-position: center left;
    background-size: 4vh;
    padding-left: 30px;
    text-decoration: none;
    color: white;
    margin-left: auto;
    margin-right: auto;
}

#s1h1, #s1h2 {
    font-family: FregatBold;
    font-size: 10vh;
    text-transform: uppercase;
    line-height: 10vh;
}
#s1h1 {
    color: #ffdc9c;
}
#s1h2 {
    color: #ffffff;
}
#s1h3 {
    margin-top: 30px;
    display: block;
    font-family: Fregat;
    font-size: 4vh;
    text-transform: uppercase;
    line-height: 5vh;
    color: #ffffff;
}
#s1Automat {
    margin-top: 3vh;
    width: 90vw;
    display: inline-block;
}
#s1AutomatMask {
    display: block;
    z-index: 100;
    position: absolute;
}
#s1ff {
    position: absolute;
    top: 30vh;
    height: 70vh;
    left: 0;
    right: 0;
} 
#s1ff img, #s8ff img {
    position: absolute;
}
header {
    background-image: url(/img/svg/line.svg);
    background-repeat: no-repeat;
    background-position: bottom center;
    font-family: Fregat;
    text-transform: uppercase;
    color: #44213c;
    font-size: 5vh;
    text-align: center;
    padding-bottom: 3vh;
    margin: 2vh;
}
#s2 {
    margin: 5vh auto 0 auto;
}
#s2cont .item {
    vertical-align: top;
    display: inline-block;
    text-align: center;
    margin: 5vh 2vh;
}
#s2cont .item img 
{
    width: 217px;
    height: 127px;
}
#s2cont .sep {
    display: none;
    width: 11%;

}
#s2cont .i {
    height: 140px;
}
#s2cont .i:hover {
    -webkit-animation: shake 0.82s cubic-bezier(.36,.07,.19,.97) both;
    -moz-animation: shake 0.82s cubic-bezier(.36,.07,.19,.97) both;
    -ms-animation: shake 0.82s cubic-bezier(.36,.07,.19,.97) both;
    -o-animation: shake 0.82s cubic-bezier(.36,.07,.19,.97) both;
    animation: shake 0.82s cubic-bezier(.36,.07,.19,.97) both;
    -webkit-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0);
    -o-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    -o-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-perspective: 1000px;
    -moz-perspective: 1000px;
    -ms-perspective: 1000px;
    -o-perspective: 1000px;
    perspective: 1000px;
}

#s2cont .h {
    display: block;
    font-family: FregatBold;
    font-size: 32px;
    color: #44213c;
    height: 90px;
}
#s2cont .t {
    display: block;
    font-family: Fregat;
    font-size: 20px;
    color: #44213c;
}
#s3 {
    background-image: url('/img/s3bgM.jpg');
    background-position: top center;
    width: 100%;
    height: 80vh;
    background-size: cover;
}
#s3h1 {
    position: absolute;
    left: 3vh;
    right: 3vh;
    top: 13vh;

}
#s3h2 {
    position: absolute;
    top: 90vh;
    width: 100%;
}
#s3t1, #s3t3 {
    font-family: Fregat;
    font-size: 10vh;
    color: white;
    display: block;
    visibility: hidden;
}
#s3t2 {
    visibility: hidden;
    display: block;
    font-family: FregatBold;
    font-size: 12vh;
    color: #fef624;
    background-image: url(/img/svg/smile.svg);
    background-position: center right ;
    background-repeat: no-repeat;
    -ms-background-size: 10vh 10vh;
    background-size: 10vh 10vh;
}

#s4 {
    background-color: #c0eaff;
    background-image: url(/img/s4bg.jpg);
    background-position: bottom center;
    background-repeat: no-repeat;
    padding-top: 20vh;
}
#s4cont 
{ text-align: center;}
#s4cont .item {
    vertical-align: top;
    text-align: center;
    font-family: Fregat;
    font-size: 32px;
    color: #44213c;
    display: inline-block;
    margin: 10px;
}
#s4cont .item img {
    max-width: 60vw;
    display: block;
    padding-bottom: 20px;
    -webkit-transition: -webkit-transform .8s ease-in-out;
    -moz-transition: transform .8s ease-in-out;
    -ms-transition: transform .8s ease-in-out;
    -o-transition: transform .8s ease-in-out;
    transition: transform .8s ease-in-out;
}

#s4cont .item img:hover {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
}

#plane {
    margin: 50px auto;
    visibility: hidden;
    max-width: 90vw;
}

#s5pht {
    display: block;
    background-image: url(/img/designs.jpg);
    background-position: 0 0;
    margin-left: auto;
    margin-right: auto;
    width: 317px;
    height: 749px;
    zoom: 0.7;
}

#s5cont .item {
    display: block;
    margin: 2vh;
}
#s5cont .item .h {
    color: #44213c;
    font-family: FregatBold;
    font-size: 32px;
    margin-bottom: 27px;
    display: block;
}
#s5cont .item .t {
    color: #44213c;
    font-family: Fregat;
    font-size: 20px;

}
#s5des {
    display: block;
    background-color: #443892;
    -ms-border-radius: 20px;
    border-radius: 20px;
    padding:10px;
    text-align: center;
    margin: 2vh;
}

.des {
    width: 57px;
    height: 57px;
    display: inline-block;
    background-image: url(/img/s5des.png);
    background-position: 0 0;
    cursor: pointer;
    zoom: 0.7;
}
.des0 {
    background-position: 0 0;
}

.des1 {
    background-position: -57px 0;
}

.des2 {
    background-position:-114px 0;
}

.des3 {
    background-position:-171px 0;
}

.des4 {
    background-position:-228px 0;
}

#s6 {
    text-align: center;

}
#s6 .item img {
    display: inline-block;
    margin: 3px;
    width: 90vw;
}
#video iframe {
    width: 90vw;
    height: 68vw;
    border: 0;
}
#s7 {
    margin-top: 5vh;
}
#s7cont .item {
    vertical-align: top;
    display: block;
    text-align: center;
    
    font-family: Fregat;
    font-size: 24px;
    color: #44213c;
}
#s7cont .item span {
    display: block;
    margin-top: 30px;
    margin: 5vh 2vh;

}
#s7cont .sep {
    display: none;
    width: 11%;
}
#s7 .i, #s7 .item
{
     text-align: center;
}
#s7 img {
    width: 150px;
    -webkit-transition: -webkit-transform .8s ease-in-out;
    -moz-transition: transform .8s ease-in-out;
    -ms-transition: transform .8s ease-in-out;
    -o-transition: transform .8s ease-in-out;
    transition: transform .8s ease-in-out;
}

#s7 img:hover {
    -webkit-transform: rotateY(360deg);
    -moz-transform: rotateY(360deg);
    -ms-transform: rotateY(360deg);
    -o-transform: rotateY(360deg);
    transform: rotateY(360deg);
}
#s8 {
    margin-top: 5vh;
    padding-top: 5vh;
    background-color: #443892;
    text-align: center;
}
    #s8 header {
        color: white;
    }
#s8 .content img {
    max-width: 90vw;

}

#s9 {
    padding-top: 5vh;
    padding-bottom: 5vh;
    background-color: #ebeff6;
}
#s9 input, #s9 textarea {
    border: 1px solid #ebeff6;
    -ms-border-radius: 3vh;
    border-radius: 3vh;
    color: #44213c;
    font-size: 3vh;
    text-align: center;
    display: block;
    margin: 2vh auto;
    height: 4vh;
    -moz-box-shadow:inset 0px 1vh 0px #d8dee9;
    -webkit-box-shadow:inset 0px 1vh 0px #d8dee9;
    -ms-box-shadow:inset 0px 1vh 0px #d8dee9;
    box-shadow:inset 0px 1vh 0px #d8dee9;
    padding: 2vh;
    width: 80vw;
}

#s9 span {
    color: darkred;
    font-size: 16px;
    text-align: center;
    display: block;
    margin: 10px auto;
    padding: 10px;
    width: 80vw;
}



#s9 textarea {
    text-align: left;
    height: 30vh;
}

#s9 button {
    background-color: #65c227;
    width: 60vw;
    -ms-border-radius: 3vh;
    border-radius: 3vh;
    color: white;
    font-family: FregatBold;
    font-size: 3vh;
    text-transform: uppercase;
    display: block;
    -webkit-box-shadow:inset 0 -8px 0 1px #51a519, 0 8px 10px 1px #CCCCCC;
    -ms-box-shadow:inset 0 -8px 0 1px #51a519, 0 8px 10px 1px #CCCCCC;
    box-shadow:inset 0 -8px 0 1px #51a519, 0 8px 10px 1px #CCCCCC;
    border: 0;
    padding: 2vh;
    margin-left: auto;
    margin-right: auto;
}

#s9 button:active {
    background-color: #65c227;
    -webkit-box-shadow:inset 0 -1px 0 1px #51a519, 0 1px 10px 1px #CCCCCC;
    -ms-box-shadow:inset 0 -1px 0 1px #51a519, 0 1px 10px 1px #CCCCCC;
    box-shadow:inset 0 -1px 0 1px #51a519, 0 1px 10px 1px #CCCCCC;
    border: 0;
}

*:focus {
    outline: none;
}

@keyframes shake {
  10%, 90% {
    transform: translate3d(-1px, 0, 0);
  }
  
  20%, 80% {
    transform: translate3d(2px, 0, 0);
  }

  30%, 50%, 70% {
    transform: translate3d(-4px, 0, 0);
  }

  40%, 60% {
    transform: translate3d(4px, 0, 0);
  }
}
#topLine {
    background-color: white;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: white;
    z-index: 1000;
    -webkit-box-shadow: 0 3px 10px 3px #C9C9C9;
    -ms-box-shadow: 0 3px 10px 3px #C9C9C9;
    box-shadow: 0 3px 10px 3px #C9C9C9;
    visibility: hidden;
    text-align: center;
}
#topLine img {
    display: none;
}
#topLine a {
    font-family: FregatBold;
    font-size: 6vh;
    color: #44213c;
    text-decoration: none;
    background-image: url(/img/svg/phone2.svg);
    background-size: 5vh 5vh;
    background-position: left center;
    background-repeat: no-repeat;
    padding-left: 6vh
}
#topLine .content {
    padding: 2px !important;
}
#mouse {
    display: none;
}
