*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

:root {
    --bg1: #ffffff;
    --bg2: #ac00ff;
    --bg3: #f6f6f6;
    --txtColor1: #fff;
    --txtColor2: #555;
    --border: 1px solid #ddd;
    --borderRadius: 10px;
}

body {
    background-color: var(--bg1);
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    color: var(--txtColor2);
}

/* Navigation */
.nav {
    width:100%;
    position: fixed;
    top: 0%;
    left: 0%;
    background-color: var(--bg2);
    display: flex;
    justify-content: space-around;
    padding: 20px;
}
.nav a {
    text-decoration: none;
    color: var(--bg1);
    transition: 0.5s ease-in-out;
    font-weight: 500;
    font-size: 22px;
}
.nav a:hover {
    transform: scale(1.05, 1.05);
}
.nav ul {
    list-style-type: none;
    display: flex;
    justify-content: space-evenly;
}
.nav ul li {
    margin: 0px 15px;
    transition: 0.5 ease-in-out;
}
.nav ul li:hover {
    transform: scale(1.08, 1.08);
}
.nav ul li a {
    font-size: 16px;
}


/* banner style */
.banner {
    width: 100%;
    height: 60vh;
    margin-top: 50px;
    background-color: var(--bg2);
    /* background image */
    background-image: url(../img/fishing.svg);
    background-position: center center;
    background-size: contain;
    background-repeat: no-repeat;
}
.overlay {
    width: 100%;
    height: 100%;
    background-color: #aa00ffd0;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--txtColor1);
    padding-top: 100px;
}
.banner-info {
    font-size: 24px;
    margin: 0 1%;
}
.banner-img {
    max-width: 20rem;
    padding: 1%;
    margin: 0 1%;
}

.btn1, .btn2 {
    text-decoration: none;
    padding: 10px 20px;
    margin: 10px auto;
    float: left;
    border-radius: var(--borderRadius);
    font-size: 14px;
    outline: none;
    border: var(--border);
}
.btn1 {
    background-color: var(--bg1);
    color: var(--txtColor2);
}
.btn2 {
    width: 100%;
    background-color: var(--bg2);
    color: var(--bg1);
}
.btn2:hover, .btn1:hover {
    box-shadow: inset 0 2px 50px 2px gray;
}


/* Product card Style */
.products {
    width: 63%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin: auto;
    margin-bottom: 5%;

}
.products .product, .products .most-product {
    border: var(--border);
    background-color: var(--bg3);
    border-radius: var(--borderRadius);
    padding: 20px;
    margin: 5px;
    text-align: center;
    color: var(--txtColor2);
    transition: 0.3s ease-in-out;
}
.product {
    width: 23%;
}
.most-product {
    width: 47%;
}
.products .product:hover,.products .most-product:hover {
    transform: scale(1.03, 1.03);
}
.product .product-img{
    width: 100%;
    height: 120px;
    border-radius: var(--borderRadius);
}
.most-product .product-img{
    width: 100%;
    height: 300px;
    border-radius: var(--borderRadius);
}


/* inputs style */
input, textarea {
    width: 100%;
    border: var(--border);
    border-radius: var(--borderRadius);
    outline: none;
    padding: 20px;
    margin: 5px auto;
    float: left;
}


/* search area style */
.search {
    width: 60%;
    margin: 10px auto;
    padding: 20px;
    border: var(--border);
    border-radius: var(--borderRadius);
    background-color: var(--bg3);

}
.search form {
    display: flex;
    justify-content: space-evenly;
    border-radius: var(--borderRadius);
    overflow: hidden;
}
.search .btn2, .search input {
    border-radius: 0;
    margin: 0px;
}
.search .btn2 {
    width: auto;
}


/* about style */
.about {
    width: 60%;
    margin: 50px auto;
    text-align: center;
}
.about .container {
    padding: 20px 0;
    display: flex;
    justify-content: space-evenly;
}
.about .container .info {
    width: 25%;
    border: var(--border);
    background-color: var(--bg3);
    border-radius: var(--borderRadius);
    padding: 30px 20px;
    margin: 5px;
    text-align: center;
    color: var(--txtColor2);
    transition: 0.3s ease-in-out;
}
.about .container .info i {
    padding: 30px 0;
    font-size: 48px;
}


/* contact form style */
.contact {
    width: 60%;
    margin: 50px auto;
    padding: 20px;
    border: var(--border);
    border-radius: var(--borderRadius);
    background-color: var(--bg3);
    overflow: hidden;
}
.contact h3 {
    padding: 10px;
    text-align: center;
}
.contact form button {
    width: auto;
    padding: 10px 25px;
    cursor: pointer;
}

/* footer */
.footer {
    width: 100%;
    height: 40vh;
    margin-top: 100px;
    background-color: var(--bg3);
    border-top: var(--border);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: flex-end;
    font-size: large;
}
.social-icons {
    text-align: center;
    margin: 10px auto;
}
.social-icons a {
    color: var(--txtColor2);
}
.copy-right {
    width: 100%;
    text-align: center;
    padding: 20px 10px;
}



/* Reponsive styles */
/* media Query for small screens */
@media only screen and (max-width: 760px){
    /* navigation */
    .nav {
        justify-content: space-between;
    }
    .nav a {
        font-size: 18px;
    }
    .nav ul li {
        margin: 0 5px;
        text-align: center;
    }
    .nav ul li a {
        font-size: 12px;
    }
    .nav ul li a i {
        width: 100%;
    }

    .overlay {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .banner-info {
        font-size: 18px;
    }
    .banner-img {
        max-width: 15rem;
        padding: 1%;
    }

    .products {
        width: 100%;
    }
    .product {
        width: 46%;
    }
    .product .btn2 {
        font-size: 10px;
    }
    .most-product {
        width: 95%;
    }

    .search {
        width: 95%;
    }


    .about {
        width:  100%;
    }
    .container {
        flex-wrap: wrap;
    }
    .about .container .info {
        width: 46%;
    }


    .contact {
        width: 95%;
    }

    .footer .web-info, .footer .address {
        width: 100%;
        text-align: center;
    }



}


