*{
    padding: 0;
    margin: 0;
    font-family: "Fragment Mono", sans-serif;
    font-size: 0.95rem;
}
:root{
    --primarygreen: #44b311;
    --primaryblue: #1900ff;
    --orange: #ff9100;
    --lighterorange: #ffd502;
    --grey: rgb(72, 72, 72);
    --lightgrey: rgb(187, 187, 187);
}

h1{
    /* color: var(--primaryblue); */
    /* color: rgb(0, 170, 255); */
    /* background: rgb(130, 114, 114); */
}
section#home{
    color: white;
    height: fit-content;

    nav#navbar{
        display: flex;
        justify-content: space-evenly;
        flex-wrap: wrap;
        align-items: center;
        padding: 1.75rem 0;
        background: white;
        background: linear-gradient(to bottom, #44b311 10%, transparent 10%, transparent 90%, #ff9100 90%);
        a{
            text-decoration: none;
            padding: 0;
            margin: 0;
            display: flex;
            max-width: 100%;
            height: auto;


            img{
            width: 100%; 
            height: auto;
            margin: 0.5rem;
            background: #0f52e4;
            padding: 7.5px;
            border: 5px ridge rgb(158, 197, 255);
            transition: all 1s ease;
            /* z-index: -1; */
            border-radius: 5px;

            &:hover{
                border: 5px ridge var(--orange);
                background: #339b03;
                cursor: pointer;
            }
        }
        }
        
        li{
            color: #1e56cd;
            list-style-type: none;
            margin: 0.75rem;
            text-decoration: 2px transparent wavy underline;
            text-decoration-skip-ink: none;
            transition: all 0.3s ease;
            cursor: pointer;
            display: inline-flex;

            i{
                color: rgb(0, 29, 126);
                opacity: 0.7;
                transition: all 0.2s ease;
                margin: 0 10px;
                text-decoration: none;
  
            }

            a{
                text-decoration: none;
                color: #348900;

            }

            &:hover{
                i{
                    opacity: 1;
                    color: rgb(255, 136, 0);
                }
                a{
                    text-decoration: 2px #009dff wavy underline;
                }
            }
        
        }
            
    }
        
    
    .latest-view{
        background: #1e56cd;
        display: flex;
        align-items: center;
        justify-content: space-between;
        /* height: 40vh; */
        flex-wrap: wrap;
        box-sizing: border-box;
        margin-bottom: 1rem;
        

        .latest-text{
            width: auto;
            display: flex;
            justify-content: center;
            flex-direction: column;
            align-items: center;
            margin-right: 1rem;
            padding: 2em;
            flex: 1 1;
            height: 45vh;

            /* Child */
            .text{
                display: inherit;
                justify-content: center;
                align-items: center;
                flex-direction: column;

                h1{
                    color: rgb(255, 255, 255);
                    width: 100%;
                }
                h3{
                    color:var(--lighterorange);
                    padding: 2rem 0;
                    width: 100%;
                }
            }
            

            
        }

        .latest-image{
            display: flex;
            justify-content: center;
            align-items: center;
            width: 60vw;
            flex: 1;
            background-image: radial-gradient(rgb(255, 255, 255) 20%, transparent 20%);
            background-position: 0 0;
            background-size: 7px 7px;
            padding: 2em;

            /* Child */
            div#hero{
                background: #0a0079;
                border-radius: 5px;
                padding: 1em;        
                display: flex;         
                flex-direction: column; 
                height: 100%;
                width: 100%;
                transition: all 0.3s ease;     
            
                img{
                    color: #fbff00 ;
                    height: 30vh;
                    object-fit: cover;
                    aspect-ratio: 1/1;
                    cursor: cell;

                }
                p{
                    text-align: center;
                    font-style: italic;
                    font-family: "OCR-A BT";
                    color: #fff4e1;
                    background: rgb(255, 98, 0);
                    padding: 0.7rem;
                    cursor: pointer;                    
                }

            }
        }
        
    }
    .shop{
        display: flex;
        max-width: 100%;
        height: fit-content;
        align-items: center;
        gap: 10px;
        background: #1545aa;
        color: rgb(255, 255, 255);
        overflow: hidden;
        overflow-x: auto;
        padding: 0.2rem 0;
        

        
        
        div{
            display: flex;
            align-items: center;
            width: fit-content;
            justify-content: space-between;
            border-radius: 7.5px;
            cursor: pointer;
            transition: all 0.75s ease;
            margin: 0 1em;

            &:hover{
                i{
                    transform: scale(1.2);
                }
            }
            
            &.shopall{
                color: rgb(254, 228, 252);
                background: #dd7301;
                font-weight: bolder;
                justify-content: center;
                align-items: stretch;
                padding: 0.25em;
                /* width: fit-content; */

                /* height: fit-content; */
                box-sizing: border-box;
                /* flex-direction: row; */
                p{
                    background: none;
                    font-size: medium;
                    padding: 5px;
                    margin: 0;
                    display: flex;
                    align-items: center;
                    box-sizing: border-box;
                }
                &:hover{
                    box-shadow: 0px 3px 7px 2px rgba(86, 86, 86, 0.651);

                }
            }

            i{
                /* padding: 0 5px; */
                transition: all 0.75s ease;
                display: flex;
                align-items: center;
                margin: 0 8px;
                box-sizing: border-box;
            }
            img{
                padding: 2.5px;
                transition: all 0.75s ease;
                width: 30px;
                background: #dd7301;
                aspect-ratio: 1/1;
                border-radius: 30%;
                margin: 0 auto;
                display: block;
                /* object-fit: scale-down; */

                
            }
            p{
                /* background: linear-gradient(to bottom, rgb(17, 146, 17), rgb(3, 188, 3)); */
                padding: 7.5px;
                border-radius: 7.5px;
                text-align: center;
                font-size: 13.5px;
                margin: 10px;
                
            }
            &:hover img{
                transform: scale(1.1);
                box-shadow: 0px 3px 10px 2px rgba(86, 86, 86, 0.5);

            }
        }
    }

}

section.shopgallery{
    width: 100%;
    text-align: center;
    box-sizing: border-box;
    padding: 2rem 2rem;
    /* perspective: 500px; */

    h2{
        padding: 0 1rem;
        color: #1900ff;
    }

    p{
        padding: 1rem;
        color: #474747;
    }
    .shopitems{
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(225px, 1fr));
        gap: 1.5em;
        flex-wrap: wrap;
        background: #44b311;
        padding: 1rem;
        /* box-sizing: border-box; It somehow made it jitter everytime hovering transition ended*/ 
        border-radius: 1rem;
        flex: 1;

        .img_placeholder{
            width: 100%;
            aspect-ratio: 1/1;
            object-fit: cover;
            object-position: center;
            border-radius: inherit;
        }

        .item{
            background: rgba(244, 255, 251, 0.87);
            margin: 0.3rem;
            padding: 1rem;
            border-radius: 10px;
            transition: all 0.3s ease;
            /* height: fit-content; */
            cursor: pointer;
            
            
            i, img{  
                display: inline-flex;
                justify-content: center;
                align-items: center;
                width: 95%;
                aspect-ratio: 1/1.2;
                border-radius: 20px;
                background-color: #a75f02;
                padding: 0.15em;
                color: rgb(255, 255, 255);
                background-size: cover;
                object-fit: cover;
                object-position: center;
                font-size: x-large;
            }
            .item_details{
                padding-top: 0.5rem;
                vertical-align: bottom;

                h4{
                    color: rgb(0, 95, 168);
                    padding-bottom: 0.5rem;
                    font-weight: 300; 
                }
                h4.overall_basket{
                        display: flex;
                        align-items: center;
                        justify-content: center;
                        font-size: x-large;
                        height: 100%;
                        font-weight: bold;
                    }
                .item_price, .item_rating{
                    padding: 0;
                    color: #e07502;
                    font-size: 14px;
                }
                .item_price{
                    padding-bottom: 0.25rem;
                }
                .item_rating{
                    color: #d20093;
                    font-size: 1.15rem;
                }
            }
            span{
                display: none;
            }

            
            
            

            &:hover{
                background: #ff9100;
                box-shadow: 0px 5px 2px rgb(255, 255, 255);
                transform: rotateX(18deg);
            }

            &:hover{

                img, i{
                background: beige;
                color: #04b2d9;
                /* transform: rotateX(23deg); */

                }
                .item_details p, h4{
                    color: white;

                }
            }
            
        }
    }
    
}

@media (max-width: 562px) {
    section.shopgallery{
        .shopitems{
            overflow: hidden;
            max-width: 100%;
            gap: 0;
            .item{
                display: flex;
                flex-direction: row;
                justify-content: space-between;
                align-items: top;
                background: rgb(227, 245, 254);
                max-width: 100%;

                i,img{
                    width: 35%;
                    aspect-ratio: 1/1;
                    object-fit: cover;
                    object-position: center;
                }

                .item_details{
                    /* align-items: stretch; */
                    display: flex;
                    flex-direction: column;
                    justify-content: stretch;
                    width: 55%;
                    text-align: left;

                    h4{
                    }
                    .item_price{
                    }
                }
            }
            
        }
    }
}


section#sug_prod{
    background-color: rgb(1, 86, 112);
    background-image: radial-gradient(rgb(219, 197, 255) 17.5%, transparent 17.5%);
    background-size: 10px 10px;
    /* background-repeat: no-repeat; */
    color: white;
    text-align: center;
    padding: 1.5em 3em;
    /* margin: 0 2em; */
    margin: 0 auto;
    margin-bottom: 1.5em;
    display: flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    border-radius: 15px;
    box-sizing: border-box;
    /* border-radius: 10px; */
    
    div{
        p{
            text-align: center;
            font-weight: bold;
            font-style: italic;
            /* margin: 0; */
            margin-bottom: 1rem;
            color: rgb(236, 231, 255);
            background: rgb(1, 86, 112);
            /* color: black; */
        }
        form{
            background: rgba(148, 143, 0, 0.95);
            padding: 0.5rem 2rem;
            border-radius: 10px;
            width: 90%;
            margin: 0 auto;
            box-sizing: border-box;
            
            label{
                display: block;
                padding: 0.25rem;   
                width: 100%;  
                text-align: left;   
            }
            input{
                width: 100%;
                /* text-align: left; */
                outline: 0;
                border: 0;
                padding: 5px;
                margin-bottom: 0.75em;
                border-radius: 5px;

                &::placeholder{
                    color: rgb(101, 93, 109);
                }
            }
            button{
                text-align: center;
                background: rgb(1, 86, 112);
                border: 0;
                outline: 0;
                padding: 9px;
                border-radius: 7.5px;
                color: white;
                cursor: pointer;
                transition: all 0.4s ease;

                &:hover{
                    background: rgb(151, 63, 0);
                    box-shadow: 0px 2.75px 0px 0px rgb(0, 54, 69);
                }
            }
        }
    }
    
}



section#productblogs{
    height: fit-content;
    
    background: rgb(224, 0, 153);
    padding: 0em 2em 2em 2em;


    .sectionheader{
        padding: 1em;
        text-align: center;
        color: white;
    }
    .productblogsgrid{
        padding: 0.25em;
        background: rgb(0, 81, 211);
        display: flex;
        align-items: center;
        justify-content: space-evenly;
        flex-wrap: wrap;

        .product_blog{
            padding: 0.75rem;
            background: rgb(255, 177, 125);
            border-radius: 10px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin: 20px;
            height: 130px;
            height: 20vh;
            position: relative;
            cursor: pointer;
            
            

            .blog_thumbnail{
                width: 50%;
                height: 100%;
                overflow: hidden;
                border-radius: 10px;
                background-size: contain;
                background-position: center;


                img{
                    width: 100%;
                    /* margin: 0;
                    padding: 0; */
                    aspect-ratio: 1/1;
                    object-fit: cover;
                    object-position: center;
                    transition: all 0.5s ease;

                }
            }

            &:hover{
                .blog_thumbnail{
                    img{
                        transform: scale(1.2);
                    }
                }
            }

            .blog_headings{
               /* background: #0a0079;  */
               margin: 0 1rem;
               height: 100%;
               display: flex;
               flex-direction: column;
               justify-content: space-around;
               color: white;
               text-align: center;
               border-radius: 10px;


               .blog_title{
                    background: rgb(51, 138, 0);
                    font-weight: 600;
                    padding: 0.5rem;
                    border-radius: 5px 5px 0 0;
               }

               .blog_subtitle{
                background: rgb(96, 0, 64);
                padding: 0.5rem;
                border-radius: 0 0 5px 5px;
               }
            }
            .blog_content{
                background: pink;
                display: none;
            }
            .blog_date{
                background: rgb(220, 77, 0);
                color: white;
                text-align: center;
                border-radius: 10px;
                padding: 2px 5px;
                position: absolute;
                bottom: -7.5px;
                right: -5%;
                
                .blogdatep{
                    font-size: 11.5px;
                }

            }
            
            
        }
    }
}
section#footer{
    text-align: center;
    background: rgb(21, 40, 50);
    color: white;
    font-size: 100px;
    padding: 10px;
    font-family: 'digital-7';

    .footernav{
        font-size: small;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        padding: 3em;

        div{
            height: 100%;
            margin: 1.5em;
            max-width: 100%;

            h3{
                padding: 10px;
                font-size: medium;
                /* text-decoration: 3px dashed underline rgb(255, 140, 0); */
                text-underline-offset: 5px;
                text-align: left;
                color: rgb(244, 246, 247);
                background: rgb(245, 120, 3);
                width: fit-content;
                border-radius: 5px;

                &.softfootnav{
                }
            }

            ul{
                /* background: rgb(248, 126, 4); */
                /* padding: 5px; */


                li{
                    /* list-style-type: none; */
                    text-align: left;
                    margin: 7.5px 0;
                    cursor: pointer;
                    width: fit-content;
                    padding: 5px 15px;
                    padding-left: 7.5px;
                    /* background: #00c507; */
                    color: rgb(175, 172, 169);

                    &::marker{
                        color: transparent;
                        font-size: larger;
                    }

                    &:hover{
                        color: white;


                        &::marker{
                        color: rgb(245, 120, 3);
                        font-size: larger;
                        display: none;
                    }
                    }

                }
            }

            &.contactform{
                background: rgba(104, 160, 70, 0.701);
                display: block;
                max-width: 90%;
                padding: 25px;
                margin: 2em auto;
                font-size: 14px;
                border-radius: 10px;
                .formheader{
                    background: rgb(245, 120, 3);
                    padding: 10px;
                    width: fit-content;
                    margin: 2.5em auto;
                    border-radius: 5px;
                }
                form{
                    background: var(--primaryblue);
                    display: flex;
                    width: 100%;
                    flex-direction: column;
                    justify-content: center;
                    padding: 15px;
                    box-sizing: border-box;
                    border-radius: 5px;
                    margin: 1.5em auto;

                    

                    label{
                        padding: 3px;
                        color: rgb(252, 252, 251);
                        text-align: left;
                    }
                    input{
                        width: 100%;
                        outline: none;
                        padding: 5px;
                        border-radius: 3px;
                        outline: none;
                        border: none;
                        align-self: self-start;
                        box-sizing: border-box;

                        
                    }
                    #formmessage{
                        height: 7.5em;
                        outline: none;
                        padding: 5px;
                    }
                    button{
                        text-align: center;
                        margin: auto;
                        padding: 8px;
                        width: 40%;
                        color: white;
                        background: rgb(245, 120, 3);
                        outline: none;
                        border: none;
                        border-radius: 5px;
                        cursor: pointer;
                    }
                }
                

            }
        }
    }
    div.footerimgbelow{
        background: url(../Images/footerbackground.svg);
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;

        display: flex;
        align-items: center;
        justify-content: center;
        max-width: 100%;
        box-sizing: border-box;

        h1{            
            margin: 0 auto;
            font-size: 4rem;
            box-sizing: border-box;
        }
    }
}