
header{
    background-color:cornsilk;
}
#home{
    scroll-margin-top: 100px;
}
.navbar img{
    width: 70px;
    height: 70px;
    margin: 0; 
}
.navbar{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0px 30px;
    margin-top: 0;
}
nav ul{
    display: flex;
    align-items: center;
    gap: 30px;
    list-style: none; 
    
}
nav ul li a{
    color: crimson;
    text-decoration: none;
    font-size: 20px;
}
nav ul li a:hover{
    color: black;
    text-decoration: overline;
}
.line{
    color: rgb(0, 0, 0);
    border: 1px solid;
    margin: 0;
}

.hi{
    display: flex;
    gap: 30px;
    

}
.hi1{
    margin-left: 50px;
    margin-top: 100px;
    font-size: 30px ;
}
.hi2{
    align-items: end;
    margin-right: 50px;
    margin-top: 60px;

}
.hi2 img{
       height: 500px;
       width: 400px;

}
.hi3{
    text-align: left;
    font-size: large;
    margin-left: 50px;
}
.explore-now{
    background-color: crimson;
    color: white;
    border-radius: 20px;
    margin-left: 50px;
    height: 50px;
    width: 200px;
    font-size: larger;

}
.explore-now a{
    color: white;
}
.explore-now:hover{
    background-color: black;
    transition: 0.3s ease;
    
}


/*--------item ----------*/
.item img{

    height: 300px;
    width: 250px;
}
.item{
    align-items: center;
    gap: 80px;
    margin-top: 60px;
    margin-bottom: 100px;
    display: flex;
    justify-content: center;
}

/*----------------Featureedx products------------*/
.fptext{
    text-align: center;
    text-decoration:underline 5px solid crimson ;
    margin-bottom: 50px;

}
.fpimage{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    margin-left: 20px;
    margin-right: 20px;
}
.fpimage img{
    height: 350px;
    width: 280px;
}

/*----------latest products-------------*/
.lptext{
    text-align: center;
    text-decoration: underline 5px solid crimson;
    margin-bottom: 50px;
}
.lpimage1{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    margin-left: 20px;
    margin-right: 20px;
}
.lpimage1 img{
    height: 350px;
    width: 280px;
}
.lpimage2{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    margin-left: 40px;
    margin-right: 40px;
    margin-bottom: 100px;
}
.lpimage2 img{
    height: 350px;
    width: 280px;
    
}


/*--------Offer-------------*/
.offer{
    background-color: cornsilk;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    font-size: larger;
}
.Buynow{
    background-color: crimson;
    color: white;
    width: 200px;
    height: 50px;
    border-radius: 12px;
}
.Buynow a{
    color: white;
    text-decoration: none;
}
.Buynow:hover{
    background-color: black;

}

/*--------Footer--------*/
footer{
    background-color: black;
    color: white;
    text-align: center;
}
.fline{
    color: white;
    border: 1px solid ;
}





/*--------------Product page CSS-----------*/
#prodct{
    background-color: cornsilk;

}
.protxt{
    text-align: center;
    text-decoration: underline 3px solid crimson;
}

/*------About page---------------*/
#abt{
    background-color: cornsilk;
}
.abttxt{
    text-align: center;
    text-decoration: underline 3px solid crimson;

}
.about1{
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-left: 100px;
    margin-right: 100px;
}
.abouttxt h1{
    font-size: 50px;
}
.abouttxt h4{
    font-size: 20px;
}


/*-----------contact page----------*/
#cntct{
    background-color: cornsilk;
}
.contact1{
    text-align: center;
    text-decoration: underline 3px solid crimson;
}
.contact2{
    text-align: center;
}
.boxes{
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 35px;
    margin: 30px ;
    flex-wrap: wrap;

}
.git{
    border: 2px solid rgb(0, 0, 0);
    border-radius: 8px;
    box-shadow: 0 10px 10px #000;
    width: 300px;

}
.git a{
    color: black;
    text-decoration: none;
}
.git h3{
    text-align: center;
    text-decoration: underline 2px crimson;
}
.git p{
    margin-left: 10px;
}
.msg{
    border: 2px solid rgb(0, 0, 0);
    border-radius: 8px;
    box-shadow: 0 10px 10px #000;
    width: 300px;

}
.msg h3{
    text-align: center;
    text-decoration: underline 2px crimson;
}
.msg p{
    margin-left: 10px;
    margin-bottom: 0;
}
.msg input{
    margin-left: 10px;
    margin-top: 0;
    width: 250px;
    height: 30px;
}
.msg textarea{
    margin-left: 10px;
    margin-top: 0;
    width: 250px;
    height: 70px;
}

.msg button {
    background-color: crimson;
    color: rgb(255, 255, 255);
    padding: 10px 20px;
    border: 1px solid rgb(0, 0, 0);
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    margin-left: 60px;
    margin-top: 10px;
    align-items: center;
    margin-bottom: 50px;
}

.msg button:hover {
    background-color: rgb(0, 0, 0);
    color: white;
    text-decoration: overline;
    
    box-shadow: 0 4px 6px #000;
 }





 /*----- Foe mobile friendly-----------*/
@media (max-width: 768px) {

    .navbar {
        padding: 10px;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .navbar img {
        width: 55px;
        height: 55px;
    }

    nav ul {
        gap: 15px;
        padding: 0;
        flex-wrap: wrap;
        justify-content: center;
    }

    nav ul li a {
        font-size: 16px;
    }

    .hi {
        flex-direction: column;
        align-items: center;
    }

    .hi1 {
        margin: 30px 15px 10px;
        font-size: 20px;
    }

    .hi3 {
        margin: 10px 15px;
        font-size: 16px;
    }

    .hi2 {
        margin: 20px 0;
    }

    .hi2 img {
        width: 100%;
        max-width: 350px;
        height: auto;
    }

    .explore-now {
        margin-left: 15px;
    }

    .item {
        flex-wrap: wrap;
        gap: 20px;
        margin: 30px 10px;
    }

    .item img {
        width: 45%;
        height: auto;
    }

    .fpimage,
    .lpimage1,
    .lpimage2 {
        flex-wrap: wrap;
        gap: 25px;
        margin: 20px 10px;
    }

    .fpimage img,
    .lpimage1 img,
    .lpimage2 img {
        width: 100%;
        max-width: 280px;
        height: auto;
    }

    .fp1, .fp2, .fp3, .fp4,
    .lp1, .lp2, .lp3, .lp4,
    .lp5, .lp6, .lp7, .lp8 {
        width: 45%;
        text-align: center;
    }

    .offer {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        padding: 20px;
    }

    .oimage img {
        width: 100%;
        max-width: 300px;
        height: auto;
    }

    .otext {
        padding: 0 10px;
    }

    .about1 {
        flex-direction: column;
        margin: 20px;
        text-align: center;
    }

    .aboutimg img {
        width: 100%;
        max-width: 250px;
        height: auto;
    }

    .abouttxt h1 {
        font-size: 32px;
    }

    .abouttxt h4 {
        font-size: 17px;
    }

    .boxes {
        margin: 20px 10px;
        gap: 20px;
    }

    .git, .msg {
        width: 100%;
        max-width: 320px;
        box-sizing: border-box;
    }

    .msg input,
    .msg textarea {
        width: calc(100% - 30px);
        box-sizing: border-box;
    }

    .msg button {
        margin-left: 10px;
    }

    footer {
        padding: 10px;
    }

    footer h1 {
        font-size: 24px;
    }

    footer h2 {
        font-size: 17px;
    }

    body {
        overflow-x: hidden;
    }
}


/*---------------for very small phones----------------*/
@media (max-width: 480px) {

    nav ul {
        gap: 10px;
    }

    nav ul li a {
        font-size: 14px;
    }

    .hi1 {
        font-size: 16px;
    }

    .item img {
        width: 90%;
    }

    .fp1, .fp2, .fp3, .fp4,
    .lp1, .lp2, .lp3, .lp4,
    .lp5, .lp6, .lp7, .lp8 {
        width: 100%;
    }

    .fptext h1,
    .lptext h1,
    .protxt h1 {
        font-size: 25px;
    }

    .contact2 {
        padding: 0 15px;
    }

    .git, .msg {
        max-width: 100%;
    }
}
