@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@600&family=Saira+Semi+Condensed:wght@700&display=swap');

*{
	text-decoration: none !important;
}

:root {
  --head-font: 'Saira Semi Condensed', sans-serif;
  --text-font: 'Quicksand', sans-serif;
  --primary-color: #006400;
  --secondary-color: #70e000;
  --color-white: #fff;
}

.section-landing {
	width: 100%;
	height: 40rem !important;
	background-image: linear-gradient(
			45deg,
			rgba(0, 0, 0, 0.6),
			rgba(0, 0, 0, 0.6)
		),
		url(../images/category-head.jpg);
	background-position: center;
	background-repeat: repeat;
	background-size: cover !important;
	margin: 0 !important;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
}

.section-landing h1{
   font-size: 4rem;
   font-family: var(--head-font);
}

.section-landing p{
   font-size: 1.5rem;
   font-family: var(--text-font);
   line-height: 35px;
}

.section-landing p span a{
   color: rgba(255, 255, 255, 0.9) !important;
   margin: 0px 10px 0px 0px;
}

.section-landing input {
	width: 80%;
	margin-top: 1rem;
	height: 5rem;
	padding: 0.2rem 1.5rem;
	border-radius: 20px;
	border: none;
	outline: none;
	font-size: 1.5rem;
}

.filter {
	width: 70%;
	height: fit-content;
	background-color: rgba(192, 192, 192, 0.402);
	margin: 0 auto;
	display: flex;
	padding: 0px 10rem;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	margin-top: 2rem;

}

.filter .slide {
	position: absolute;
	top: 50%;
	font-size: 4rem;
	transform: translate(-50%, -50%);
}

.nextButton {
	right: 0;
}

.prevButton {
	gap: 10rem;
	left: 2.5rem;
}
.filterButton {
	width: 10rem;
	height: 60%;
	background-color: white;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	color: black;
	font-size: 1.5rem;
	padding: 1rem 5rem;
	transition: 0.4s;
	box-shadow: 0px 0px 10px 1px rgba(0, 0, 0, 0.1);
}
.filterButton:hover {
	background-color: black;
	color: white;
	transition: 0.4s;
}
.filterButton.sort {
	position: relative;
	text-decoration: none;
}
.filterButton.sort .drop-down {
	width: 20rem;
	height: fit-content;
	background-color: white;
	position: absolute;
	left: -40%;
	bottom: -220%;
	box-shadow: 0px 0px 10px 1px rgba(0, 0, 0, 0.1);
	display: none;
	color: black;
	padding: 01rem 0.7rem;
	flex-direction: column;
	gap: 1rem;
}

.filterButton.sort:hover .drop-down {
	display: flex;
}

.sort-option {
	display: block;
	width: 100%;
	height: fit-content;
	font-size: 1.5rem;
	text-transform: uppercase;
	padding: 1rem 0.5rem;
}
.sort-option:hover {
	background-color: black;
	color: white;
	transition: 0.3s;
	padding: 1rem 0.7rem;
}

.plant-cards {
	width: 100%;
	height: fit-content;
	display: flex;
	align-items: center;
	padding: 8rem 4rem;
	gap: 5rem;
	flex-wrap: wrap;
	justify-content: center;
}

.plant-card {
	flex-basis: 30rem;
	height: 35rem;
	background-color: rgba(0, 0, 0, 0.1);
	padding: 1rem 1rem;
	position: relative;
}

.plant-card .img-cont {
	width: 100%;
	height: 50%;
}

.plant-card .img-cont img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.plant-card .content {
	font-size: 1.7rem;
	margin-top: 1.5rem;
	position: relative; 
}

.plant-card .content .buttons{
	position: absolute;
	bottom: 10px;
	left: 0px;
}

.plant-card .content p {
	margin-bottom: 1rem;
	font-family: var(--text-font);
}

.plant-card .add-to-cart {
	padding: 0.5rem 0.7rem;
	border: none;
	outline: none;
	background-color: var(--primary-color);
	color: white;
	font-family: var(--head-font);
}
.plant-card .more-info{
	padding: 0.5rem 0.7rem;
	border: none;
	outline: none;
	background-color: white;
	color: var(--primary-color);
	font-family: var(--head-font);
	margin: 0px 0px 0px 20px;
}

.modalPlant {
	position: fixed;
	width: 70%;
	height: fit-content;
	background-color: white;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 11;
    transition: .3s;
}

.overlay {
	position: fixed;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.6);
	z-index: 10;
	backdrop-filter: blur(5px);
	top: 0;
    transition: .3s;
}

.modal-close {
	font-size: 3rem;
	position: absolute;
	right: 1rem;
	top: 0;
	background-color: rgba(0, 0, 0, 0);
	border: none;
	outline: none;
    z-index: 3;
}
.modal-content {
	display: flex;
	gap: 4rem;
	padding: 1rem 3rem;
    width: 100%;
    height: fit-content;
    flex-direction: row;
}

.modal-content div {
	width: 100%;
	height: 100%;
}

.modalPlant .image-cont {
	height: fit-content;
}

.modalPlant .image-cont img {
	height: 100%;
	width: 100%;
	object-position: center;
	object-fit: cover;
}

.modalPlant .description {
	height: fit-content;
	padding-top: 2rem;
	padding-left: 0rem;
}
.modalPlant .description p{
	font-size: 1.3rem;
	font-family: var(--text-font);
}

.modalPlant .add-to-cart {
	background-color: var(--primary-color);
	border: none;
	outline: none;
	padding: 0.5rem 2rem;
	color: var(--color-white);
	border: 1px solid white;
	font-family: var(--head-font);
	font-size: 1.5rem;
}

.hidden{
    visibility: hidden;
}

.pagination-cont {
    position: relative;
}

.pagination-cont button {
    position: absolute;
    top: 50%;
    transform: translate(-50%,-50%);
}

.pagination-cont .next{
    right: 30%;
}

#pagination{
    width: 80%;
    height: 7rem;
    margin: 0 auto;
    display: flex;
    overflow-x:scroll;
    gap: 2rem;
    margin-top: 40px;
	align-items: center;
}
#pagination::-webkit-scrollbar{
    width: 1px;
}
#pagination button{
    display: flex;
    padding: 10px 20px;
    height: 80%;
	width: 25%;
    cursor: pointer;
    background-color: rgb(186, 255, 118);
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    outline: none;
    border: none;
}
#pagination button.active{
    background-color: black;
    color: rgb(186, 255, 118);
}

.dirBox {
	width: 200px;
	height: fit-content;
	margin: 0 auto;
	display: flex;
	font-size: 3.3rem;
	align-items: center;
	justify-content: center;
}

.dirBox div {
	cursor: pointer;
	background-color: black;
	margin: 0 10px;
	padding: 0.2rem .5rem;
	color: white;
}