@media only screen and (max-width: 1275px) {
    .purchaseBtn{
        width: 12%;
    }
}

@media only screen and (max-width: 1200px) {
    .service div p {
        font-size: 14px;
    }
    .service div h4 {
        font-size: 17px;
    }
}


@media only screen and (max-width: 1065px) {
    .purchaseBtn{
        width: 14%;
    }
}

@media only screen and (max-width: 970px) {
    .recommendCards{
        grid-template-columns: repeat(2,1fr);
        margin-top: 0;
    }
    .recommend img{
        width: 65%;
        margin-bottom: 3%;
    }
    .discoverText {
        font-size: 21px;
    }
    .discoverBtn {
        padding: 10px;
        width: 18%;
        font-size: 15px;
    }
    .recommendCard{
        margin: 30px 0;
    }
}

@media only screen and (max-width: 900px) {
    .heading h1 {
        margin-top: 8%;
        font-size: 50px;
    }
    .purchaseBtn {
        width: 13%;
        font-size: 13px;
    }
    .service{
        flex-direction: column;
    }
    .service div {
        margin: 15px 15px;
        width: 78vw;
        height: 32vh;
    }
}

@media only screen and (max-width: 870px) {
    .heading h1 {
        font-size: 45px;
    }
    .heading p {
        font-size: 18px;
    }
    .purchaseBtn {
        width: 12%;
        font-size: 11px;
    }
    .recommendCards{
        grid-gap: 15px;
    }
}
@media only screen and (max-width: 830px) {
    .heading h1 {
        font-size: 40px;
    }
    .heading p {
        font-size: 16px;
    }
    .purchaseBtn {
        width: 13%;
    }
}
@media only screen and (max-width: 700px) {
    .discoverBtn {
        padding: 9px;
        width: 20%;
        font-size: 14px;
    }
    .discoverText h2 {
        width: 60%;
        font-weight: 900;
    }
    .discoverText {
        font-size: 18px;
    }
    .heading h1 {
        font-size: 38px;
    }
    .purchaseBtn {
        width: 15%;
    }
    nav h2{
        font-size: 1.4rem;
    }
    li {
        font-size: 17px;
    }
    .sidebar{
        max-width: 200px;
    }
    .service div {
        margin: 15px 5px;
    }
    .footer-content a{
        margin: 10px 0px 30px 5rem;
        font-size: 16px;
    }
    footer{
        background: url("../img/background-footer-small.png");
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
    }
}

@media only screen and (max-width: 630px) {
    .headingImg{
        display: none;
    }
    .purchaseBtn{
        margin-bottom: 2rem;
        width: 18%;
    }
    .recommendCard p{
        margin-top: 12px;
    }
    .discoverBtn {
        padding: 10px;
        width: 25%;
        font-size: 13px;
    }
    .recommendText {
        font-size: 1.5rem;
        margin: 0 0 2rem 2.5rem;
    }
}
@media only screen and (max-width: 570px) {
    .heading h1 {
        font-size: 32px;
    }
    .heading p {
        font-size: 14px;
    }
    nav h2 {
        font-size: 1.25rem;
    }
    li {
        font-size: 15px;
    }
    .cart{
        top: 0.8rem;
    }
    .shopping-cart-icon{
        width: 25px;
        height: 25px;
    }
    .purchaseBtn {
        margin-bottom: 2rem;
        width: 16%;
        font-size: 9px;
        margin-top: 4%;
        padding: 10px;
        border-radius: 3px;
    }    
    .discoverText {
        font-size: 13px;
    }
    .discoverBtn {
        padding: 7px;
        width: 21%;
        font-size: 10px;
    }
    .recommendText {
        font-size: 1.6rem;
    }
    .service {
        margin: 2rem 1rem;
    }
    .serviceImg {
        width: 35%; 
    }
    .service div{
        margin: 15px 2rem;
        width: 80vw;
        height: 26vh;
        padding: 0;
    }
    .service div p {
        font-size: 12px;
    }
    .service div h4 {
        font-size: 16px;
    }
}

@media only screen and (max-width: 550px) {
    .app{
        display: flex;
    }
    .menu-toggle{
        display: block;
    }
    .menu-toggle{
        display: block;
    }
    .shopping-cart-icon{
        width: 21px;
        height: 21px;
    }
    nav ul{
        display: none;
    }
    nav{
        max-height: 3rem;
        position: fixed;
        width: 100%;
        margin-bottom: 2rem;
        z-index: 2;
    }
    nav h2{
        font-size: 1.15rem;
    }
    .sidebar{
        position: fixed;
        top: 0;
        left: -200px;
        height: 100vh;
        width: 100%;
        max-width: 200px;
        transition: 0.2s linear;
    }
    .sidebar.is-active{
        left: 0;
    }
    .cart{
        right: 4rem;
    }
    .shopping-cart-icon {
        width: 30px;
        height: 22px;
    }
    .item-counter {
        border-radius: 44%;
        width: 65%;
        top: -6px;
        right: -2px;
        font-size: 15px;
    }
    #scrollBtn svg{
        width: 30px;
        height: 28px;
    }
    .upperSec{
        padding-top: 50px;    
    }
    .service div{
        height:24vh;
    }
    footer{
        height: 18vh;
    }
    .footer-content a{
        margin: 5px 0px 20px 3rem;
        font-size: 13px;
    }
    .slider{
        max-width: 300px;
    }
    .slides{
        height: 310px;
    }
    .arrow{
        font-size: 30px;
        padding: 7px;
    }
}

@media only screen and (max-width: 500px) {
    .purchaseBtn{
        width: 18%;
        font-size: 10px;
    }
    .discoverBtn{
        border-radius: 4px;
        font-size: 12px;
        width: 26%;
    }
    .recommendCards {
        grid-template-columns: 50% 50%;
        grid-gap: 0;
    }
    .recommendCard{
        margin: 10px 0;
    }
    .recommendText{
        margin: 0 0 1rem 0;
        text-align: center;
    }
    .recommend img{
        width: 85%; 
    }
    .purchaseBtn {
        width: 20%;
        font-size: 11px;
    }
    li {
        margin-left: 16px;
        font-size: 12px;
    }
    .service div {
        padding:5px;
    }
    .service div h4 {
        font-size: 14px;
    }
    .service div p {
        font-size: 12px;
    }
    .purchaseBtn {
        width: 30%;
        font-size: 11px;
        margin: 2rem 0;
    }
    .heading h1{
        font-size: 27px;
    }
    .heading p {
        margin: 10px 0;
        font-size: 12px;
    }
    .discoverSec {
        width: 95%;
        grid-template-columns: 52% 100%;
    }
    .discoverText h2 {
        width: 75%;
        font-weight: 500;
    }
    .discoverBtn {
        border-radius: 3px;
        font-size: 10px;
        width: 31%;
        padding: 6px;
    }
    .discoverImg {
        width: 50%;
        transform: scale(1.1);
    }
}

@media only screen and (max-width: 500px) {
    .service div {
        margin: 15px 1rem;
        width: 83vw;
        height: 24vh;
    }
}

@media only screen and (max-width: 400px) {
    .footer-content a{
    margin: 5px 0px 20px 30px;
    font-size: 13px;
    }
}