/* Formatting  */
*{
    margin: 0;
    padding: 0;
    font-size: 1rem;
    font-family: 'Open Sans', sans-serif;
    box-sizing: border-box;
}
/* Formatting  */
/* common css for all pages starts */
.container{
    width: 80%;
    margin: 0 auto;
}

.button{
    width: 80px;
    height: 30px;
    background: linear-gradient(to left, #011a08, #174409);
    border-radius: 5px;
    border: none;
    transition: 0.3s;
    box-shadow: 1px 1px 2px #298142;
    color: aliceblue;
}

.button a{
    color: aliceblue;
    text-decoration: none;
}
.button:hover{
    transform: scale(1.05);
}
/* common css for all pages ends */


/* styles for header start here*/
header{
    background-color: #011a08;
}

#logo img{
    width: 110px;
    display: none;
}
#nav-bar{
    min-height: 80px;
    display: flex;
    flex-direction: column;
}

#nav-bar ul{
    display: flex;
    flex-direction: column;
    align-items: center;
    list-style-type: none;
}

.nav-link a{
    text-decoration: none;
    color: aliceblue;
    list-style-type: none;
}
.nav-link{
    width: 100vw;
    padding: 3px 0 10px;
    border-bottom: 1px solid #174409;
    text-align: center;
    transition: 0.3s;
}
.nav-link:hover{
    transform: scale(1.05);
}
.nav-link a:hover{
    color: green;
}
/* styles for header end here*/

/* styles for banner start here */
#banner{
    height: 50vh;
    display: flex;
    align-items: center;
    background-image: url('../img/banner.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    object-fit: cover;
}
#banner-info{
    height: fit-content;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px;
    background-color: rgba(0,0,0, 0.4);
    backdrop-filter: blur(8px) saturate(70%);
    text-align: center;
}
#banner-info p{
    font-size: 1em;
    color: greenyellow;
    
}
/* styles for banner end here */

/* styles for main section start here */
#feature{
    margin: 20px auto;
}
.heading1{
    text-align: center;
    color: #011a08;
    font-weight: bolder;
}
.card-group{
    padding: 20px 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.card-img{
    border-radius: 20px;
}
.card-img img{
    border-radius: 20px;
    max-width: 80%;
}
.card-group-2{
    flex-direction: column-reverse;
}
.card-info{
    margin-top: 5px;
    color: #298142;
}
/* styles for main section end here */

/* styles for products category section start here */

.products-category{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}


.display-card{
    margin: 20px;
    padding: 10px;
    border-radius: 20px;
    box-shadow: 8px 8px 30px #298142;
    max-width: 400px;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.display-card:hover{
    transform: scale(1.05);
}

.display-card img{
    max-width: 100%;
    border-radius: 10px;
}
.display-card p{
    margin-top: 10px;
    font-weight: 800;
    color: #298142;
    text-align: center;
}

.category-nav{
    display: flex;
    justify-content: space-between;
    align-items: center;
}


.category-nav h4{
    color:#174409;
    font-weight: bolder;
}

/* styles for shop category section start here */

/* styles for news-letter section start here */

.news-letter{
    margin-top: 10%;
    background-color: #011a08;
    width: 100%;
}
.newsletter-info{
    display: flex;
}

.canabis-info{
    color: aliceblue;
    padding: 20px;
}
.canabis-info h4{
    font-size: larger;
    margin-top: 15px;
}
.canabis-info p{
    margin-top: 10px;
    font-size: larger;
}
.canabis-info button{
    margin-top: 10px;
}

.canabis-img img{
    display: none;
}
/* styles for news-letter section end here */


/* styles for footer section start here */
.footer-div{
    padding-top: 10px;
    color: aliceblue;
}
.footer-div hr{
    background: linear-gradient(to left,  aliceblue, green);
    border: none;
    border-radius: 2px;
    height: 3px;
}
.footer-ul{
    margin-top: 5px;
    list-style-type: none;
    padding-left: 5px;
}
.footer-ul li a{
    text-decoration: none;
    color: green;
}
#footer-info{
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0, 0.4);
    backdrop-filter: blur(8px) saturate(70%);
}
.footer-ul li a:hover{
    color: #d9ccf4;
}
#footer-section{
    background-image: url('../img/footer.jpg');
    background-size: cover;
    background-position: bottom bottom;
    background-repeat: no-repeat;
}

#footer-section p{
    margin-top: 30px;
    padding-bottom: 10px;
    color: aliceblue;
    text-align: center;
    font-size: small;
}



/* styles for notepad */
@media only screen and (min-width: 768px) {
    .container{
        flex-direction: row;
        justify-content: space-between;
    }
    #nav-bar{
        padding: 0;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    .nav-link{
        width:max-content;
        border-bottom: none;
    }
    #logo img{
        display: block;
    }
    #nav-bar ul{
        flex-direction: row;
    }
    #nav-bar ul li{
        margin-left: 10px;
    }
    #banner p{
        font-size: 1.3em;
    }
    .card-info p{
        font-size: large;
        margin: auto 10%;
    }
    #footer-info > .container{
        display: flex;
        flex-direction: row;
    }
    
}

/* styles for laptop */
@media screen and (min-width: 992px) {
    .card-group{
        flex-direction: row;
    }
    .card-img{
        width: 40%;
    }
    .card-img img{
        width: 100%;
    }
    .card-info{
        width: 60%;
    }
    .card-info p{
        font-size: larger;
        text-align: justify;
    }
    .products{
        flex-direction: row;
    }
    .canabis-img img{
        display: block;
        max-width: 100%;
        margin-top: -70px;
    }
    .canabis-info h4{
        font-size: x-large;
        margin: 20px 0;
    }
    .canabis-info{
        display: flex;
        flex-direction: column;
        align-content: center;
        justify-content: center;
    }
    .canabis-info button{
        margin-top: 20px;
    }
    
}