.phone-nav-menu{
    font-size: 4rem;
    color: white;
    position: relative;
    display: none;
    justify-content: flex-end;
    z-index: 99999;
}
#phone-nav:checked ~ .phone-nav{
    height: 22rem;
}
.phone-nav-menu label[for="phone-nav"]{
    transform: rotate(180deg);
    cursor: pointer;
}
.phone-nav{
    z-index: 99999999;
    height: 0rem;
    overflow: hidden;
    position: absolute;
    top: 4rem;
    right: 0rem;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    border-radius: 1rem;
    transition: height 0.1s ease-in;
    width: 20rem;
}
.phone-nav div{
    padding: 1rem;
    background-color: white;
    font-size: 2rem;
    line-height: 4rem;
   
    
    
}
.phone-nav a {
    width: 100%;
    padding-left: 1rem;
    display: block;
    text-decoration: none;
    color: black;
}
.phone-nav a:hover{
    background-color: rgb(244, 244, 244);
}
@media screen and (max-width: 1920px) {
    .menu {
        max-width: 1200px;
    }
}
@media screen and (max-width: 1280px) {
}
@media screen and (max-width: 1024px) {
    .nav-menu{
        justify-content: flex-end;
    }
    .nav-menu ul{
        display: none;
    }
    .phone-nav-menu{
        display: block;
    }

}
@media screen and (max-width: 850px) {
    html{
        font-size: 65%;
    }
    
    .icon{
        width: 12rem;
        /* height: 10rem; */
    }
    .home-page{
        height: auto;
    }
    .logo{
        width: 100%;
        height: 0px;
        padding-bottom: 60%;
        height: 2rem;
        margin: 0px;
        margin-left: 0.2rem;
    }
    #taiyop {
        width: 5rem;
        height: 5rem;
    }
    #search-btn {
        font-size: 1.5rem;
        height: 3rem;
    }
    .search input {
        height: 3rem;
    }
    .company-name{
        margin-left: 0.5rem;
        font-size: 1.2rem;
        top: 0%;
    }
    .company-name span{
        font-size: 1.5rem;
    }
    .page-header{
        margin: auto;
        position: relative;
        min-width: auto;
        width: 100%;
    }
    .store-header{
        display: none;
    }
   
    .nav-menu{
        margin-left: 10em;
        font-size:1rem;
        margin-bottom: 4rem;
    }
    .nav-items{
        font-size: 1.5rem;
    }

    .page-top-up {
        left: 3.2rem;
        top: 95%;
        /* display: block; */
        position: fixed;
        /* visibility: hidden; */
        border-radius: 1rem;
        width: 6rem;
        height: 3rem;
    
    }
    .footer-page-control{
        width: 100%;
    }
    .menu{
        width: 100%;
    }
    .catelog-container{
        display: none;
    }
 
 
    .footer-container{
        min-width: 100%;
    }
    .footer{
        width: 100%;
    }
   
}

@media screen and (max-width: 600px) {
    html{
        font-size: 65%;
    }
    .icon{
        width: 8.1rem;
        /* height: 10rem; */
        margin-bottom: 0rem;
    }
    label[for="phone-nav"]{
        font-size: 3rem;
    }
    .home-page{
        height: 9.5rem;
        overflow: hidden;
    }
    .grid {
        padding-top: 1rem;
    }
    .logo{
        width: 100%;
        height: 0px;
        padding-bottom: 60%;
        height: 2rem;
        margin: 0px;
    }
    #taiyop{
        width: 3.5rem;
        height: 3.5rem;
    }
    .search{
        width: 80%;
    }
    #search-btn {
        font-size: 1rem;
        height: 2rem;
        padding: 0rem 1rem;
    }
    .search input {
        height: 2rem;
        font-size: 1rem;
    }
    .company-name {
        margin-left: 0.2rem;
        font-size: 40%;
        top: 0%;
    }
    .page-header{
        margin: auto;
        position: relative;
        min-width: auto;
        width: 100%;
    }
    .nav-menu{
        margin-left: 10em;
        font-size:1rem;
        margin-bottom: 1rem;
    }
    .nav-items{
        font-size: 1rem;
    }
    .nav{
        display: block;
    }
   
    .company-info{
        /* width: 75%; */
        margin: auto;
        /* font-size: 10rem; */
    }
    .company-name span{
        font-size: 1rem;
    }
    .page-top-up {
        left: 1.3rem;
        /* display: block; */
        position: fixed;
        /* visibility: hidden; */
        border-radius: 1rem;
        width: 6rem;
        height: 3rem;
    }
    .menu{
        width: 100%;
    }
}
@media screen and (max-width: 300px) {

    .company-name span {
        font-size: 1rem;
    }
    .phone-nav-menu label[for="phone-nav"] {
        font-size: 3rem;
    }
}
