*{
    margin: 0;
    padding: 0;
}
html{
    font-size: 16px;
}
body {
    background-image: url('images/back.png');
    height: 100vh;
    overflow-y: hidden;
    overflow-x: hidden;
 }

 .container{
    width: 90%;
    margin: 0 auto;
    
}
nav{
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}
nav h1{
    color: #0078E7;
}
nav img{
    width: 1.6rem;
    height: 1.4rem;
}
nav ul{
    width: 100%;
    text-align: center;
    list-style: none;
    background-color: whitesmoke;
    margin-top: 1rem;
    display: none;

} 
nav ul.show{
    display: block;
}
nav ul li a{
    color: #0078E7;
    text-decoration: none;
}
nav ul li:first-child{
    padding-top: 1rem;
}
nav ul li{
    padding-bottom: 1rem;
}
nav ul li img{
    width: 4.6rem;
    height: 1.6rem;
} 
.hero1{
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 90%;
}
.text-block{
    width: 90%;
    margin: 0 auto;
}
.text-block h1{
    font-size: 0.8rem;
    color: #C4C4C4;
    margin-top: 1rem;
}
.text-block p{
    color: black;
    font-size: 1.5rem;
    line-height: 0.2rem;
    margin-top: 1rem;
}
.text-block img{
    width: 3.4rem;
    margin: 0.4rem 0;
}
.search img{
    width: 10rem;
    height: 2rem;
    padding: 0 2.7rem;
}
.img-block img{
    width: 18rem;
    height: 15rem;
    padding-left: 1.2rem;
}
.container1{
    display: flex;
    align-items: center;
    position: sticky;
    top: 100%;

}
.imgblock2 .tyre img{
    display: none;
}
.one{
    background-color: #C4C4C4;
    width: 28rem;
    height: 16rem;
}
.two{
    background-color: #0078E7;
    width: 58rem;
    height: 16rem;
}
.data1{
    background-color: white;
    width: 7rem;
    height: 6rem;
    border-radius: 1.4rem;
    margin-top: 3rem;
    margin-left: 1rem;

}
.data1 h1{
    font-size: 0.8rem;
    margin-left: 1.2rem;
    padding-top: 1.7rem
}
.data1 p{
    font-size: 0.6rem;
    padding-left: 1rem;
}
.imgblock1 img{
    width: 3rem;
    height: 3rem;
    position: relative;
    bottom: 8rem;
    left: 3rem;
}
.data2{
    background-color: white;
    width: 7rem;
    height: 6rem;
    border-radius: 1.4rem;
    margin-top: -9rem;
    margin-left: 9rem;

}
.data2 h1{
    font-size: 0.8rem;
    margin-left: 1.2rem;
    padding-top: 1.7rem
}
.data2 p{
    font-size: 0.6rem;
    padding-left: 1rem;
}
.imgblock2 img{
    width: 3rem;
    height: 3rem;
    position: relative;
    bottom: 8rem;
    left: 11rem;
}
.text-block2 p{
  padding-top: 2rem;
  padding-left: 3rem;
}

/* media querries */
@media(min-width: 800px){
    .hamburger{
        display: none;
    }
    nav ul{
        background: transparent;
    }
    .nav-list{
        width: auto;
        display: flex;
        align-items: center;
    }
    .nav-list li{
        padding: 0 1rem;
    }
    .nav-list li:first-child{
        margin-bottom: 1rem;
    }
    .nav-list li a{
        position: relative;
        right: 15rem;

    }
    .data1{
        margin-top: 3rem;
    }
    .img-block img{
        position: relative;
        bottom: 3rem;
    }
    .data1{
        margin-left: 8rem;
    }
    .imgblock1 img{
        margin-left: 7rem;
    }
    .data2{
        margin-left: 16rem;
    }
    .imgblock2 img{
        margin-left: 7rem;
    }
    .imgblock2 .tyre img{
        width: 4rem;
        height: 4rem;
        position: relative;
        left: 19rem;
        bottom: 10rem;
        display: block ;
    
    }
  
   
}



































