html
{
    scroll-behavior: smooth;
}

*
{
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
}


/* Width */
::-webkit-scrollbar {
    width: 1.1vw;
}

/* Track */
::-webkit-scrollbar-track {
    background: transparent;
}

/* Handle */
::-webkit-scrollbar-thumb {
    backdrop-filter: blur(5px);
    background: rgba(87, 87, 87, 0.4);
    border-left: 0.1px solid rgba(128, 128, 128, 0.589);
}

header
{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 7rem;
    /* background-color: var(--main-color); */
    z-index: 1;
    transition: 0.3s;
}

header.scroll
{
    position: fixed;
    top: -10rem;
    left: 0;
    width: 100%;
    height: 7rem;
    /* background-color: var(--main-color); */
    z-index: 1;
    transition: 0.3s;
}

.navbar{
    position: fixed;
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    flex-wrap: wrap;
    background-color: transparent;
    width: 100%;
    height: 140px;
    z-index: 10;
}

nav
{
    position: relative;
    display: flex;
    padding: 2% 6% 0%;
    justify-content: space-between;
    z-index: 2;
    width: 100%;
}

nav img
{
    width: 130px;
    height: auto;
}

.nav-links
{
    flex: 1;
    text-align: right;
    padding-top: 20px;
}

.nav-links ul li
{
    list-style: none;
    display: inline-block;
    padding: 8px 20px;
    position: relative;
    margin: 0px 2.5px;
    border-radius: 10px;
    background-color: rgba(83, 83, 83, 0.2);
    backdrop-filter: blur(5px);
}

.nav-links ul li a
{
    color: rgb(255, 255, 255);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 15px;

    /* text-shadow: 1px 1px 5px #000, 1px 1px 5px #000; */
    /* mix-blend-mode:multiply; */
}

.nav-links .active
{
    background-color: rgba(15, 184, 0, 0.5);
    backdrop-filter: blur(5px);
}

.nav-links .menu-close
{
    display: none;
}

.nav-links .active:hover
{
    background-color: rgba(16, 161, 2, 0.5);
    backdrop-filter: blur(5px);
}

.nav-links ul li:hover
{    
    background-color: rgba(121, 121, 121, 0.5);
}

.menu-icon
{
    display: none;
}

/* Media Querey */
@media (max-width: 700px) 
{
    nav
    {
        justify-content: center;
    }

    nav img
    {
        width: 130px;
        height: auto;
    }

    .logo
    {
        display: none;
    }

    nav a
    {
        transform: translateY(60%);
    }

    .nav-links
    {
        padding: 0;
        position: fixed;
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(10px);
        height: 100vh;
        width: 100%;
        top: 0;
        right: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 2;
        transform: scale(0);
        transition: all 0.5s ease-in-out;
        /* display: none; */
    }

    .nav-links ul li
    {
        display: block;
        text-align: center;
        margin: 20% 0%;
        background-color: transparent;
        backdrop-filter: none;
    }

    .nav-links .menu-close
    {
        display: block;
        background-color: rgba(161, 2, 2, 0.5);
        margin: 20% 20%;

    }

    .menu-icon
    {
        position: fixed;
        display: block;
        top: 0;
        right: 0;
        transform: translate(-20px, 40px);
        color: #ffffff;
    }

    .menu-icon img
    {
        height: auto;
        width: 30px;
        background-color: rgba(0, 0, 0, 0.1);
        backdrop-filter: blur(20px);
        border-radius: 5px;
        padding: 1px 3px;
        transition: all 1s;

    }
}

    /* Nav Menu */
/* Nav complete, add js part later */
.hero
{
    min-height: 40vh;
    width: 100%;
    background-image: linear-gradient(rgba(4, 9, 30, 0.7), rgba(4, 9, 30, 0.7)), url("../images/background-foliage-4.jpg");
    background-position: top;
    background-size: cover;
    background-attachment: fixed;
    position: relative;
}

.text-box
{
    width: 90%;
    color: #ffffff;
    position: absolute;
    bottom:5%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.text-box img
{
    display: none;
}

.text-box h1
{
    font-size: 62px;
    font-weight: 600;
}

.text-box p
{
    margin: 10px 0 40px;
    font-size: 18px;
    color: #ffffff;
}

.hero-btn
{
    display: inline-block;
    text-decoration: none;
    color: #ffffff;
    border: 1px solid #ffffff;
    padding: 12px 34px;
    font-size: 15px;
    background: transparent;
    position: relative;
    transition: all 0.5s;
}

.hero-btn:hover
{
    border: 1px solid rgba(16, 161, 2, 0.5);
    background-color: rgb(15, 161, 2, 0.7);
    transform: scale(1.1);
    transition: all 0.5s;
}


@media (max-width: 700px)  
{
    .hero
    {
        min-height: 20vh;
        width: 100%;
        background-image: linear-gradient(rgba(4, 9, 30, 0.7), rgba(4, 9, 30, 0.7)), url('../images/background-foliage-4.jpg');
        background-position: right;
        background-size: cover;
        background-attachment: fixed;
        background: rotate(90deg);
        position: relative;
    }

    .text-box
    {
        display: flex;
        flex-direction: column;
        align-items: center;
        top: 50%
    }
    .text-box img
    {
        display: block;
        height: 130px;
        padding: 30px 0px;
        /* transform: translateX(50%); */
    }

    .text-box h1
    {
        font-size: 30px;
    }

    .text-box p
    {
        margin: 0px 0 40px;
    }
}       

/* Sections */
.section
{
    width: 85%;
    margin: auto;
    text-align: center;
    /* padding-top: 50px; */
}

h1
{
    font-size: 36px;
    font-weight: 600;
}

p
{
    color: rgb(66, 66, 66);
    font-size: 18px;
    font-weight: 400;
    line-height: 22px;
    padding: 20px 30px;
}

.row
{
    padding: 1% 5% 2.5%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    justify-content: center;
    border-radius: 10px;
}

#searchRow
{
    padding-top: 10px;
    padding-bottom: 0;
}

.row input
{
    width: 100%;
    padding: 15px;
    left: 50%;
    transform: rotateX(-50%);
    /* margin-bottom: 17px; */
    outline: none;
    border: 1px solid #ccc;
    box-sizing: border-box;
    -webkit-appearance: none;
}

input[type="search"]::-webkit-search-cancel-button{
  -webkit-appearance:none;
}

.column
{
    min-height: 250px;
    text-align: center;
    flex-basis: 23%;
    height: 45vh;
    /* width: 20vh; */
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.5);
    margin: 5% 4%;
    box-sizing: border-box;
    transition: all 0.4s;
    display: flex;
}

.column:hover
{
    transform: scale(1.05);

}

.column a
{
    text-decoration: none !important;

    
}

h3
{
    padding-left: 10px;
    color: rgba(0, 0, 0, 0.87);
    text-align: center;
    font-weight: 600;
    margin: 10px 0px;
    /* text-shadow: 0px 0px 20px black; */
}


@media (max-width: 700px) 
{
    .row
    {
        padding-top: 10%;
    }
    p
    {
        font-size: 15px;
        padding: 20px 0px;
    }     
}

.card
{
    height: 100%;
    width: 100%;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    cursor: pointer;
    text-decoration: none;
}

.card p
{
    font-size: 16px;
    font-weight: 500;
    padding: 0;
    margin: 20px 30px;
    cursor: pointer;
}

.img-container
{
    height: 60%;
    width: 90%;
    margin: 5%;
    background-color: white;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    /* box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5); */
}

.img-container img
{
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform: scale(1.01);
    cursor: pointer;

}

#plants
{
    position: relative;
}

#noResults
{
    /* position: absolute; */
    height: 45vh;
    width: 80vw;
    inset: 0;
    margin: auto;
}


/* Modal - Image Full Height show */
.modal
{
    background: rgba(0, 0, 0, 0.7);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    pointer-events: none;
    transition: 0.25s ease-out;
    z-index: 5;
}

.arrow
{
    height: 50px;
    position: absolute;
    transition: all 0.5s ease;
    z-index: 10;
}

#prv-btn
{
    /* inset: 0;
    margin: auto; */
    /* transform: translate(40vw, -45vh); */
    transform: translate(-42vw, 45vh);
}

#nxt-btn
{
    transform: translate(38vw, 45vh);

}

.modal.open
{
    opacity: 1;
    pointer-events: all;

}

.full-img
{
    position: absolute; 
    height: 80%;
    width: auto;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
    transition: all 0.25s ease-out;
}

.full-img.open
{
    transform: translate(-50%, -50%) scale(1);
}

.outer-box
{
    position: absolute; 
    height: 80%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
    transition: all 0.25s ease-out;
    display: none;
}

.modal p
{
    width: 70%;
    color: rgb(209, 209, 209);
    font-weight: 500;
    font-size: 20px;
    position: absolute;
    bottom: 2%;
    left: 50%;
    transform: translate(-50%, -5%);
}

@media (max-width: 700px) 
{
    .full-img
    {
        height: auto;
        width: 90%;
    }

    .outer-box
    {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: row;
        height: auto;
        width: 90vw;
    }

    
    #prv-btn
    {
        display: none;
    }

    #nxt-btn
    {
        display: none;
    }
}

/* Footer Section */
footer
{
    padding-bottom: 10px;
    width: 100%;
}

footer .section img
{
    width: 15px;
}

@media (max-width: 700px) 
{
    footer .section
    {
        padding: 0;
    }
    
    footer .section img
    {
        width: 12px;
    }
    
}