@import url('https://fonts.googleapis.com/css2?family=Noto+Serif:ital,wght@0,100..900;1,100..900&display=swap');

.noto-serif-font {
  font-family: "Noto Serif", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings:
    "wdth" 100;
}
*{
    margin: 0;
    padding: 0;
}
/* shared common style */
.fixed-width{
    max-width: 1140px;
    margin: 100px auto;
}
.flex{
    display: flex;
}
.secondary-color{
    color: #8987A1;
}
.primary-color{
    color: #E95A08;
}

/* navbar related style */
.navbar{
    max-width: 1140px;
    margin: 30px auto;
    padding: 0 20px;
    justify-content: space-between;
    align-items: center;
}
.nav-manu{
    gap: 40px;
    margin-top: 40px;
    margin-left: 550px;
}
.nav-manu li{
    list-style: none;
}
.nav-manu li a{
    text-decoration: none;
    color: #8987A1;
}
.cart{
    margin-top: 40px;
}
.cart a{
    text-decoration: none;
    color: black;
}
#home{
    color: black;
}

/* hero section related style */
.hero-section{
    height: 461px;
    justify-content: space-between;
    align-items: end;
}
.hero-title{
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 0;
}
.hero-description{
    font-size: 1.4rem;
}

/* plants related style */
.plants-section{
    text-align: center;
}
.section-title{
    font-size: 3.6rem;
    font-weight: bold;

}
.plants-description{
    font-size: 1.25rem;
    margin: 15px 0 50px 0;
}
.plants-container{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    row-gap: 40px;
}
.plant{
    width: 270px;
    text-align: center;
}
.plant img{
    max-width: 100%;
    border-radius: 8px;
}
.plant-name{
    font-size: 1.25rem;
    font-weight: 600;
    margin: 30px 0 15px 0;
}
.plant-price{
    font-size: 1.25rem;
    font-weight: bold;
}
.plant-btn{
    width: 270px;
    background-color: #E95A08;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    padding: 15px 0;
    margin-top: 30px;
}

/* plant lovers related style */
.plant-lovers{
    margin-top: 100px;
    display: flex;
    gap: 60px;
    justify-content: space-between;
}
.plant-lover-content{
    padding: 40px 0;
}
.plan-section-img{
    max-width: 100%;
}
.lover-content-title{
    font-size: 4rem;
    font-weight: bold;
}
.plant-lover-content ul li{
    font-size: 1.25rem;
    color: #8987A1;
    padding-bottom: 20px;
    text-overflow: ellipsis;
}

/* dealing related style */
.dealing{
    margin: 100px 0;
    
}
.dealing-title{
    font-size: 3rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 30px;
}
.dealing-description{
    font-size: 1.25rem;
    text-align: center;
    margin-bottom: 50px;
}
.dealing-container{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    height: 450px;
}
.cart-1{
    background-image: url("../assets/deal-bloom.png");
    background-size: cover;
    
}
.cart-2{
    background-image: url("../assets/deal-zabo.png");
    background-size: cover;
    grid-row: span 2;    
}
.cart-3{
    background-image: url("../assets/deal-ana.png");
    background-size: cover;    
}
.dealing-cart{
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.dealing-content{
    text-align: center;
    
}
.dealing-content h3{
    font-size: 1.2rem;
    font-weight: bold;
    color: white;
}
.dealing-content a{
    font-size: 1rem;
    font-weight: 600;
    color: white;
}

/* form section related style */
.from-section{
    margin-top: 100px;
    background-image: url("../assets/news-letter-bg.png");
    background-size: cover;
    height: 500px;
}
.form{
    height: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.form-title{
    font-weight: bold;
    font-size: 3rem;
    color: white;
    margin-bottom: 40px;
}
.form-input{
    height: 50px;
    width: 800px;
    border: none;
    border-radius: 8px;
    
}
input::placeholder{
    padding-left: 20px;
    font-size: 1rem;
}
.subscribe{
    height: 50px;
    padding: 15px 50px;
    border-radius: 8px;
    background-color: #E95A08;
    font-size: 1rem;
    color: white;
    text-decoration: none;
}

/* footer section related style */
.footer{
    margin-top: 100px;
    height: 350px;
}
.footer-container{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 50;
    justify-content: space-between;
}
.footer-container p{
    margin-top: 20px;
}
.footer-link{
    display: flex;
    flex-direction: column;
    text-align: center;
}
.footer-link a{
    margin-bottom: 30px;
    text-decoration: none;
    color: #8987A1;
}
.footer-icon img{
    margin-left: 20px;
}
@media screen and (max-width: 576px) {
    .nav-manu{
        display: none;
    }
    .cart{
        margin-top: 30px;
        font-size: 24px;
    }
    .hero-section{
        flex-direction: column-reverse;
        padding-left: 20px;
    }
    .hero-img img{
        max-width: 100%; 
    }

    .plants-container, .dealing-container{
        grid-template-columns: 1fr;
        justify-items: center;
    }
    .plant-lovers{
        flex-direction: column;
        padding: 0 20px;
    }
    .plant-lover-content ul{
        padding: 0 20px;
        
    }
    .lover-content-title{
        font-size: 2rem;
    }
    .plan-section-img img{
        max-width: 100%;
    }
    .from-section{
        background-size: cover;
    }
    .form-title{
        font-size: 2rem;
    }
    .form-input{
        max-width: 150px;
    }
    .footer-container{
        grid-template-columns: 1fr;
        padding-left: 20px;
    }
    .footer-link{
        align-items: start;
    }
    #first{
        margin-left: 0px;
    }
}

@media screen and (min-width: 577px) and (max-width: 992px) {
    .nav-manu{
        margin-left: 0;
    }
    .hero-content{
        max-width: 50%;
        padding-left: 20px;
    }
    .plants-container{
        grid-template-columns: repeat(2, 1fr);
        justify-items: center;
    }
    .plant-lovers{
        flex-wrap: wrap;
        justify-items: center;
        margin-left: 100px;
    }
}   