@media screen and (max-width: 1272px){
    .text-con h1{
        font-size: 65px;
        line-height: 80px;
    }
    .text-con{
        margin-top: 15%;
    }
}
@media screen and (max-width: 1020px){
    .text-con h1{
        font-size: 55px;
        line-height: 70px;
    }
    .text-con a{
        padding: 10px 25px;
        font-size: 13px;
    }
    .lamp2-con{
        width: 115px;
    }
    .lamp-con{
        width: 150px;
    }
    .light{
        width: 550px;
    }
    .light2{
        width: 180px;
        height: 80px;
    }
    nav .logo{
        width: 110px;
    }
    button,.btn2{
        height: 25px;
        width: 50px;
    }
    button span{
        height: 22px;
        width: 22px;
    }
    .active span,.active2 span{
        transform: translateX(24px);
    }
    
}

@media screen and (max-width: 740px){
    ul{
        display: none;
    }
    nav .menu-img{
        display: block;
    }
   nav{
    display: flex;
    justify-content: space-between;
   }
}
@media screen and (max-width: 648px){
    .text-con{
        margin-top: 25%;
    }
    .text-con h1{
        font-size: 40px;
        line-height: 45px;
    }
    .text-con{
        max-width:300px;
        margin-left: 55%;
    }
    .lamp-con{
        width: 120px;
        top: 0px;
        left: 25%;
    }
    .lamp2-con{
        width: 100px;
        
    }
    .light{
        width: 400px;
        top: 97%;
    }
    .light2{
        width: 120px;
    }
    .change{
        width: 20vw;
    }
    .control{
        margin-top: 70px;
    }
}
@media screen and (max-width: 376px){
    .lamp-con{
        width: 80px;
        top: 0px;
        left: 25%;
    }
    .light{
        width: 270px;
        top: 95%;
    }
    .text-con h1{
        font-size: 30px;
        line-height: 40px;
    }
    .lamp2-con{
        width: 80px;
        top: 12%; 
    }
    .light2{
        width: 110px;
    }
    .text-con a{
        padding: 10px 15px;
        font-size: 9px;
    }
    .text-con p{
        font-size: 13px;
    }
    .line span{
        height: 6px;
        margin-top: -1%;
    }
    ul li{
        font-size: 17px;
        line-height: 40px;
    }
    nav .logo{
        width: 110px;
        cursor: pointer;
    }
    
}
@media screen and (max-width: 432px){
    .text-con p{
        font-size: 13px;
    }
    .text-con h1{
        font-size: 30px;
        line-height: 40px;
    }
    .text-con a{
        padding: 10px 15px;
        font-size: 9px;
    }
    .line span{
        height: 6px;
        margin-top: -1%;
    }
}
@media screen and (max-width: 282px){
    .text-con h1{
        font-size: 25px;
        line-height: 35px;
    }
    .text-con p{
        font-size: 11px;
    }
    .text-con a{
        padding: 8px 10px;
        margin-left: -10px;
        font-size: 8px;
    }
    .btn-con{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items:end;
    }
    button{
        margin-bottom: 2px;
    }
    .control{
        margin-top: 60px;
        position: relative;
        right: 5%;
    }
    ul li{
        font-size: 14px;
    }
    .change{
        height: 25%;
    }
}