* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    width: 100%;
    background-color: #FFF;
    font-family: 'Noto Sans', helvetica, 'helvetica neue', sans-serif;
    font-weight: normal;
    -webkit-font-smoothing: antialiased;
    font-feature-settings: "liga" 1;
}

::-moz-selection {
    color: #FFF;
    background: #E108A3;
}

::selection {
    color: #FFF; 
    background: #E108A3;
}

header{
    width: 100%;
    padding: 11px 0px;
    background-color: #FFF;
    box-shadow: 0px 1px 1px rgba(0,0,0,0.24);
}
header a{
    width: 185px;
    height: 38px;
    margin: 0px auto;
    display: block;
}

section.banner{
    width: 100%;
    padding: 50px 20px 30px;
    background: #311B92;
    background: -webkit-linear-gradient(left, #6C26A3 , #311B92);
    background: -o-linear-gradient(right, #6C26A3, #311B92);
    background: -moz-linear-gradient(right, #6C26A3, #311B92);
    background: linear-gradient(to right, #6C26A3 , #311B92);
    overflow: auto;
}
section.banner > div{
    /*overflow: auto;*/
}
.intro p{
    max-width: 500px;
    color: #FFF;
    margin: auto;
    margin-top: 20px;
    display: none;
}
.dDownload{
    margin-top: 50px;
    display: none;
}
section.prototype{
    width: 260px;
    height: 460px;
    background-color: #FFF;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 5px 10px 24px rgba(0,0,0,0.24);
    margin: 30px auto 50px;
    position: relative;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
}
.gloss{
    width: 260px;
    height: 460px;
    position: absolute;
    background: transparent url('../img/gloss.png') no-repeat;
}
.mobileTop{
    width: 100%;
    height: 40px;
    background-color: #F1F1F1;
    padding: 17px 0px;
    position: relative;
    border-radius: 16px 16px 0px 0px;
}
.sensor, .speaker{
    background-color: #DDD;
    box-shadow: 0px 1px 1px rgba(0,0,0,0.16) inset;
    position: absolute;
}
.sensor{
    width: 6px;
    height: 6px;
    border-radius: 6px;
    margin-left: 20px;

}
.speaker{
    width: 50px;
    height: 4px;
    border-radius: 4px;
    margin: 1px 105px;
}
.videoWrapper{
    width: 260px;
    height: 409px;
    overflow: hidden;
}
.videoWrapper video{
    width: 260px;
    height: 453px;
    margin-top: -18px;
    background-image: url('../img/video@2x.png');
    background-size: 100%;
    background-position: 0px 18px;
}
.videoWrapper img{
    width: 260px;
    height: 410px;
}
#dVideo{
    display: none;
}
a.download{
    width: 213px;
    height: 64px;
    border-radius: 10px;
    padding: 8px 14px; 
    display: block;
    margin: 0px auto;
}
a.download img{
    width: 185px;
    height: 48px;
}
a.download.android{
    background-color: #FFF;
    margin-bottom: 30px;
    box-shadow: 5px 5px 20px rgba(0,0,0,0.24);
    transition: 0.1s transform ease-in, 0.1s box-shadow ease-in;
    -webkit-transition: 0.1s transform ease-in, 0.1s box-shadow ease-in;
    -moz-transition: 0.1s transform ease-in, 0.1s box-shadow ease-in;
}
a.download.android:hover{
    transform: translateY(-1px);
    -webkit-transform: translateY(-1px);
    -moz-transform: translateY(-1px);
    box-shadow: 5px 15px 34px rgba(0,0,0,0.20);
}
a.download.ios{
    background-color: transparent;
    border: 1px solid #000;
    opacity: 0.5;
    cursor: default;
    box-shadow: none;
}
section.featuresWrapper{
    padding: 50px 40px;
    overflow: auto;
}
section.feature{
    width: 100%;
    max-width: 280px;
    margin: 0px auto 50px;
}
section.feature:nth-child(3){
    margin-bottom: 0px;
}
section.feature .iconHold{
    width: 60px;
    height: 60px;
    border-radius: 10px;
    background-color: #F1F1F1;
    padding: 10px;
    margin: auto;
    position: relative;
}
section.feature h2{
    margin: 10px 0px;
}
.newIcon{
    margin: 1px 2px;
    transform-origin: 19px;
    -webkit-transform-origin: 19px;
    -moz-transform-origin: 19px;
    transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    animation: 3s newAnim ease-in-out;
    -webkit-animation: 3s newAnim ease-in-out;
    -moz-animation: 3s newAnim ease-in-out;
    animation-iteration-count: infinite;
    -webkit-animation-iteration-count: infinite;
    -moz-animation-iteration-count: infinite;
}
.favIcon{
    margin: 6px 2px;
    transform-origin: center 10px;
    -webkit-transform-origin: center 10px;
    -moz-transform-origin: center 10px;
    animation: 3s favAnim ease-in-out;
    -webkit-animation: 3s favAnim ease-in-out;
    -moz-animation: 3s favAnim ease-in-out;
    animation-iteration-count: infinite;
    -webkit-animation-iteration-count: infinite;
    -moz-animation-iteration-count: infinite;
}
@keyframes newAnim{
    0%{
        transform: rotate(0deg) scale(1);
    }
    20%{
        transform: rotate(180deg) scale(0);
    }
    40%{
        transform: rotate(360deg) scale(1);
    }
    100%{
        transform: rotate(360deg) scale(1);   
    }
}
@keyframes favAnim{
    0% {
        transform: scale(1);
    }
    10% {
        transform: scale(0.6);
    }
    20% {
        transform: scale(0.8);
    }
    30% {
        transform: scale(0.6);
    }
    40% {
        transform: scale(1.1);
    }
    50% {
        transform: scale(1);
    }
    100% {
        transform: scale(1);
    }
}
section.downloadWrap{
    width: 100%;
    padding: 50px 0px;
    background-color: #2D303B;
}
section.mobileSocial{
    width: 104px;
    margin: 10px auto 0px;
    overflow: auto;
}
a.socialIcon{
    width: 42px;
    height: 42px;
    padding: 10px;
    display: block;
    float: left;
}
section.mobileSocial a.socialIcon:nth-child(1), .social a.socialIcon:nth-child(1){
    margin-right: 20px;
}
section.footer{
    width: 100%;
    padding: 0px 20px;
    overflow: auto;
    position: relative;
}
.footer .social{
    padding: 10px;
    overflow: auto;
    margin: auto;
    width: 124px;
}
.footMenu{
    overflow: auto;
    margin: auto;
    width: 334px;
}
.footMenu a{
    padding: 20px 0px;
    display: block;
    float: left;
    text-decoration: none;
}
.footMenu a:nth-child(1), .footMenu a:nth-child(2), .footMenu a:nth-child(3){
    margin-right: 15px;
}
.copyRight{
    padding: 23px 0px 17px;
}

/* Typography */

h1{
    font-size: 32px;
    font-weight: normal;
    color: #FFF;
    letter-spacing: -0.02em;
    line-height: 1.4em;
    font-family: 'Noto Sans', helvetica, 'helvetica neue', sans-serif;
    text-align: center;
}
h2{
    font-size: 20px;
    font-weight: normal;
    color: #581FCC;
    letter-spacing: -0.005em;
    line-height: 1.4em;
    font-family: 'Noto Sans', helvetica, 'helvetica neue', sans-serif;
    text-align: center;
}
p, .footMenu a, .copyRight p{
    font-size: 14px;
    font-weight: normal;
    color: #2D303B;
    letter-spacing: -0.003em;
    line-height: 1.5em;
    font-family: 'Noto Sans', helvetica, 'helvetica neue', sans-serif;
    text-align: center;
}
.copyRight p{
    font-size: 12px;
    color: #555;
}
.footMenu a:hover{
    color: #E108A3;
    text-decoration: none;
}

@media(max-width: 359px){
    .footMenu{
        float: none;
        overflow: auto;
        width: 202px;
        margin: auto;
    }
    .copyRight{
        float: none;
        padding: 10px 0px 20px;
    }
}

@media(min-width: 600px){
    section.mDownload{
        width: 506px;
        margin: auto;
        height: 64px;
    }
    section.downloadWrap div{
        height: 64px;
        width: 506px;
        margin: auto;
    }
    section.mDownload a, a.download{
        float: left;
        margin: 0px 20px;
        margin-bottom: 0px !important;
    }
    section.mobileSocial{
        display: none;
    }
    .intro p{
        display: block;
    }
    .footMenu{
        width: 380px;
    }
    .footMenu a:nth-child(1), .footMenu a:nth-child(2), .footMenu a:nth-child(3){
        margin-right: 30px;
    }
}
@media(min-width: 780px){
    section.banner{
        padding: 50px 40px;
    }
    .intro{
        float: left;
        width: 51.4%;
        margin-top: 20px;
    }
    section.banner h1, section.banner p{
        text-align: left;
    }
    section.banner p{
        line-height: 1.8em;
    }
    section.prototype{
        float: right;
        margin: 0px;
    }
    section.mDownload{
        display: none;
    }
    .dDownload{
        display: block;
        height: 158px;
    }
    a.download{
        margin: 0px;
    }
    a.android{
        margin-bottom: 30px !important;
        margin-right: 40px !important;
    }
    section.downloadWrap a.download{
        margin: 0px 20px !important;
    }
    #mVideo{
        display: none;
    }
    #dVideo{
        display: block;
    }
    .footer .social{
        float: left;
    }
    .footMenu{
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }
    .copyRight{
        float: right;
    }
}
@media(min-width: 940px){
    section.banner > div{
        max-width: 860px;
        margin: auto;
    }
    .intro {
        width: 500px;
        margin-top: 70px;
    }
    section.featuresWrapper{
        width: 100%;
        max-width: 1040px;
        margin: auto;
        padding: 100px 0px;
    }
    section.feature{
        width: 30%;
        float: left;
        margin: 0px 1.77%;
    }
}
@media(min-width: 1120px){
    section.feature{
        margin: 0px;
    }
    section.feature:nth-child(2){
        margin: 0px 9.6%;
    }
    section.footer{
        max-width: 1040px;
        margin: auto;
    }
}