html{
    margin: 0 auto;
    overflow: hidden;
}
body{
    background-color: #ffffff;
    margin: 0 auto;
    overflow: hidden;
    height: 100vh;
    width: 100vw;
    background-image: url('https://g.lcjbpy.com/xiaomi-official/images/bg-white-desk.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

}
.container{
    width: 400px;
    max-width: 90vw;
    margin: 2% auto;
   
}
.container img{
    width: 400px;
    max-width: 90vw;
    margin: 0 auto;
}
.container-text{
width: 300px;
}


.header{
    background-color: #fff;
    height: 95px;
}
.all-logo{
    display: flex;
    flex-direction: row;
    align-items: center;
}
.header-logo {
    height: 50px;
    padding: 10px;
}
.header-logo img{
    height: 100%;
}
.logo-text{
    display: flex;
    flex-direction: column;
    
}
.logo-name{
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    
}
.logo-name h1{
    font-size: 1.5rem;
    margin: 0;
    margin-right: 10px;
}
.main-name{
    display: flex;
    align-items: center;
}
.main-name h1{
    font-size: 20px;
}
.main-adult img{
    height: 20px;
    padding-bottom: 2px;
}
.sub-text p{
    margin: 0;
    font-size: .8rem;
    color: #fc8c3a;
    
}
.all-header{
    display: flex;
    justify-content: space-between;
    align-items: center;

}
.header-btn img{
    height: 35px;
    margin: 0px 10px 0px 0px;


}
.notice{
    background-color:#4f4f4f;
    height: 25px;
    display: flex;
    align-items: center;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 5px;
}
.notice-icon img{
    padding-top: 5px;
    padding-right: 5px;
    padding-left: 5px;
    height: 18px;
    margin: 0;
}
.notice-text p{
    color: #fff;
    margin: 0;
    font-size: .8rem;
}

.footer-bg img{
    position: fixed;
    bottom: 0;
    height: auto;
    width: 100%;
    z-index: -1;
    max-height: 150px;
    
}
.footer{
    position: fixed;
    bottom: 0;
    margin: 0;
    width: 100%;
}
.contact{
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    margin-bottom: 3vw;
}
.tg{
    display: flex;
    flex-direction: row;
    align-items: center;
    text-decoration: none;
}
.tg-icon img{
    width: 20px;
    padding-right: 5px;
    
}
.tg-text p{
    font-size: 1.0rem;
    font-weight: 600;
    color: #ffffff;
    margin:0;
    padding-bottom: 5px;

}
.contact a
{
    text-decoration: none;
}
.Mislogan img {
    width: 20vw;
}

.all-phone{
    position: fixed;
    bottom: 0;
    margin: 0;
    position: absolute;
    top: 60%;
    left: 70%;
    transform: translate(-50%, -50%);
    /* 中心位置變換 */
    display: flex;
    flex-direction: column;
    align-items: center;
 
}
/* .phone-ui img{
    max-height: 350px;
} */
.phone-girl {
    
    height: 350px;
}
.blue-btn img{
    width: 80vw;
    margin-top: 20px;
    margin-bottom: 20px;
    max-width: 350px;
    animation-name: oxxo;
    animation-iteration-count: infinite;
    animation-duration: 2s;
}
.center-logo  {
  display: flex;
  justify-content:flex-start;
}
.center-logo img{
    width: 50vw;
    max-width: 500px;
    padding-left: 20%;
    padding-bottom: 10%;

}
.center-text{
    width: auto;
}
.center-text p{
    font-size: 1.2rem;
    font-weight: 800;
    margin-top: 6px;
}

/* .allforever{
    position: fixed;
} */
.all-forLogo{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 20vh;
    
}
.foreverLogo img{
    width: 300px;
    max-width: 30vw;
}
.squareLogo img{
    width: 150px;
    max-width: 20vw;
}
.foreverSlogan p{
    font-size: 2rem;
    font-weight: 600;
}
.foreverText p{
    font-size: 1.8rem;
    font-weight: 800;
    color: #000000;
    animation-name: oxxo;
    animation-iteration-count: infinite;
    animation-duration: 2s;
}
.allAddress{
    display: flex;
    flex-direction: column;
    align-items: center;
   
}
.addressOne{
    display: flex;
    flex-direction: row;
    padding-bottom: 10px;
    justify-content: center;
    align-items: center;
    
    
}
.addressTitle{
    background-color: #fc8c3a;
    border-radius: 10px;
 
    

}
.addressTitle p{
    color: white;
    font-weight: 600;
    margin: 0 auto;
    padding:8px 20px;
    font-size: 1.5rem;
   
}
.addressText p{
    font-size: 1.5rem;
    font-weight: 600; 
    margin: 0 auto;
    padding: 10px;
}
.description{
    text-align: center;
    padding-top: 10px;

    
}
.description p {
    font-size: 1.2rem;
    color: #717171;
    text-align: center;
    line-height: 2.5rem;
}


/* old */
.all-bg{
    height: 100%;
    width: 100%;
    position: fixed;
    z-index: -999;
   
}
.all-bg img{
    object-fit: contain;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%)
}
.bg {
    position: absolute;
    left: 0;
    top: 0;
    z-index: -99;
     }
 .bg img {
    width: 200px;
    object-fit: fill;
    height: 400px;      
    }

.bg2 {
    position: absolute;
    right: 0;
    bottom: -10px;
    z-index: -99;
    }
    
.bg2 img {
    width: 200px;
    object-fit: fill;
    height: 400px;
    }

@keyframes oxxo {
    0% {
        transform: scale(1);
    }

    25% {
        transform: scale(1.05);
    }

    50% {
        transform: scale(1);
    }

    75% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

@media only screen and (max-width: 1280px) {
.Mislogan img {
    width: 250px;
 }
.all-phone {
    position: fixed;
    bottom: 0;
    margin: 0;
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* 中心位置變換 */
    display: flex;
    flex-direction: column;
    align-items: center;
}
.center-logo {
    display: flex;
    justify-content: center;
}
.center-logo img {
    width: 30vw;
    max-width: 500px;
    padding-left: 0%;
    padding-bottom: 10%;

}
}
@media only screen and (max-width: 1280px) {

    .center-logo img {
        width: 30vw;
        min-width: 300px;
        padding-left: 0%;
        padding-bottom: 10%;

    }
}


@media only screen and (max-width: 480px) {
.contact {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    margin-bottom: 4vw;
}
.Mislogan img {
    min-width: 300px;
}

body {
    background-size: contain;
    background-image: url('https://g.lcjbpy.com/xiaomi-official/images/bg-white.png');
}

.center-logo {
    justify-content: center;
}
.center-logo img {
    width: 50vw;
    max-width: 600px;
    padding-left: 0%;
}

.all-phone {
        position: fixed;
        bottom: 0;
        margin: 0;
        position: absolute;
        top: 45%;
        left: 50%;
        transform: translate(-50%, -50%);
        /* 中心位置變換 */
        display: flex;
        flex-direction: column;
        align-items: center;

    }
.center-logo img{
    width: 400px;
}
    .container {
            width: 400px;
            max-width: 90vw;
            margin: 10% auto;
    
        }
    
    .phone-ui img {
        max-height: 320px;
    }

    .blue-btn img {
        max-width: 300px;
    }

 

    .center-text p {
        font-size: 14px;
    }
        .foreverLogo img {
            width: 150px;
        }
    
        .squareLogo img {
            width: 80px;
        }
        .foreverSlogan p {
            font-size: 1rem;
        }
    
        .foreverText p {
            font-size: 1.5rem;
        
        }
        .addressTitle p {
            font-size: 1rem;
            padding: 8px 10px;
        }
        .addressText p {
            font-size: 1rem;
        }
        .description p{
            font-size: .8rem;
            color: #717171;
            text-align: center;
            line-height: 2rem;

        }
       
}
        
    
@media only screen and (max-width: 400px) {

.phone-ui img {
    max-height: 300px;
}
.blue-btn img {
    max-width: 250px;
}

.center-text p{
    font-size: 14px;
}
.center-logo img {
    width: 300px;
}
}

@media only screen and (max-width: 300px) {

    .phone-ui img {
        max-height: 280px;
    }
    .tg-text p {
        font-size: .8rem;
    }
    .logo-name h1{
        font-size:.8rem;
    }
    .main-adult img{
        height: 15px;
        margin-bottom:-5px
    }
    .header-btn img{
        height: 25px;
    }
    .sub-text p {
        font-size: .6rem;

    }
        .notice-text p{
            font-size: .6rem;
        }
   
}
