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

html, body {
	scroll-behavior: smooth;
}

* {
	margin: 0;
	padding: 0;
}

body {
	background-color: black;
	color: rgba(255, 255, 255, 0.8);
	font-family: "Montserrat";
}

button {
	font-family: "Montserrat";
	font-weight: 500;
}

.main {
	position: relative;
	width: 100vw;
	height: 100dvh;
}

video {
	position: absolute;
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: grayscale(0%) brightness(0.8) blur(2px);
	transition: 0.2s all;
}

#m3 video {
	filter: grayscale(0%) brightness(0.7) blur(8px);
}

#centered {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	text-align: center;
}

#m3 h3, #m2 h3, #m1 h3 {
	font-size: 40px;
}

#centered p {
	margin-top: 5px;
}
.scroll {
	padding: 15px;
	color: rgba(255, 255, 255, 0.8);
	font-size: 18px;
	border-radius: 5px;
	background-color: transparent;
	border: 1px solid rgba(255, 255, 255, 0.8);
	border-radius: 50%;
	cursor: pointer;
	margin-top: 15px;
	outline: 2px solid rgba(0, 0, 0, 0.3);
	transition: 0.2s all;
}
.scroll:hover {
	outline: 5px solid rgba(0, 0, 0, 0.3);
}

.scroll > span {
	display: inline-block;
	width: auto;
	max-width: 0;
	overflow: hidden;
	white-space: nowrap;
	transition: 0.2s all;
	vertical-align: middle;
}
#m3 .scroll i {
	margin-left: -5px;
	margin-right: 1px;
	margin-top: 0px;
	vertical-align: middle;
}

.scroll:hover > span {
	max-width: 200px;
	vertical-align: middle;
	margin-right: 5px;
}
#m3 .scroll:hover > i {
	margin: 0;
}
#m3 .scroll:hover {
	border-radius: 15px;
}


nav {
	position: fixed;
	top: -5px;
	left: 0;
	width: calc(100% - 30px);
	padding: 15px;
	padding-top: 5px;
	padding-bottom: 5px;
	background: linear-gradient(180deg,rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.75) 25%, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 0.25) 75%, rgba(0, 0, 0, 0) 100%);
}
nav ul li {
	display: inline-block;
	list-style: none;
	margin-right: 5px;
	margin-left: 5px;
}
nav ul {
	position: absolute;
	width: calc(100% - 100px);
	right: 15px;
	top: 50%;
	transform: translateY(-50%);
	text-align: right;
}

a {
	color: rgba(255, 255, 255, 0.8);
	text-decoration: none;
}

/*#potd {
	margin-top: 80px;
	padding: 30px;
	background-color: rgba(0, 54, 43);
	width: calc(100% - 60px - 30px);
	margin-left: 15px;
	margin-right: 15px;
	border-radius: 5px;
	position: relative;
} */
#potd {
	padding: 30px;
	padding-top: 80px;
	padding-bottom: 60px;
	position: relative;
}
#potd h4 {
	font-family: "Gulzar";
}
#potd img:not(.source img) {
	width: auto;
	height: 75px;
	border-radius: 5px;
	position: absolute;
	opacity: 0.9;
}
#potd > div:nth-of-type(1) {
	background-image: url("http://cdn.darakhtnamah.ibfr.org/plant_images/Bauhinia%20racemosa.jpeg");
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	border-radius: 5px;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	filter: blur(3px) brightness(50%);
}
#potd > div:nth-of-type(2) {
	position: absolute;
	bottom: -5px;
	left: 0;
	width: 100%;
	height: 80px;
	background: linear-gradient(360deg,rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.75) 25%, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 0.25) 75%, rgba(0, 0, 0, 0) 100%);
}
#potd > *:not(div) {
	position: relative;
}
#potd p {
	margin-top: 10px;
}

/*#potd h4, #potd h2, #potd h5 {
	margin-left: 100px;
}*/

hr {
	border: 0.5px solid rgba(255, 255, 255, 0.2);
	width: calc(90% - 40px);
	margin-left: auto;
	margin-right: auto;
}

p:not(div p) {
	padding: 15px;
}

a:not(nav a, a:has(img)) {
	border-bottom: 2px solid rgba(255, 255, 255, 0.8);
	transition: 0.2s all;
}
a:not(nav a, a:has(img)):hover {
	background-color: rgba(255, 255, 255, 0.3);
}

#plants_list input {
	background-color: rgba(50, 50, 50, 0.1);
	color: white;
	display: block;
	padding: 15px;
	width: calc(100% - 30px);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 5px;
	font-size: 15px;
	font-family: "Montserrat";
	transition: 0.2s all;
}

#plants_list input:focus {
	border: 1px solid rgba(255, 255, 255, 0.3);
	outline: 0;
}

#plants_list {
	border: 1px solid rgba(255, 255, 255, 0.15);
	padding: 15px;
	width: calc(100% - 60px);
	margin-left: 15px;
	border-radius: 10px;
	text-align: center;
	cursor: pointer;
}


.plant_item {
	position: relative;
	display: inline-block;
	width: calc(25% - 15px);
	height: 15vw;
	border-radius: 5px;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.2);
	margin-top: 10px;
	margin-right: 10px;
	user-select: none;
}
.plant_item > div {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center;
	filter: brightness(0.8);
	transition: all 0.2s;
}
.plant_item > p {
	position: absolute;
	bottom: 10px;
	left: 0;
	width: 100%;
	text-align: center;
	font-weight: 600;
	transition: 0.2s all;
}
.plant_item:hover > div {
	filter: brightness(0.5);
}
.plant_item:hover > p {
	color: white;
}


@media screen and (min-width: 1500px) {
	.plant_item {
		width: calc(20% - 15px);
	}
}
@media screen and (max-width: 900px) {
	.plant_item {
		width: calc(33.333% - 15px);
	}
}
@media screen and (max-width: 700px) {
	.plant_item {
		width: calc(50% - 15px);
		height: 25vw;
	}
}
@media screen and (max-width: 400px) {
	.plant_item {
		font-size: 11px;
	}
}



#potd2 {
	margin-top: 0px;
	padding: 30px;
	padding-top: 80px;
	background-color: rgba(0, 54, 43);
	width: calc(100% - 60px);
	border-radius: 0px;
	position: relative;
}
#potd2 h4 {
	font-family: "Gulzar";
}
#potd2 img:not(.sourcetag img) {
	width: auto;
	height: 75px;
	border-radius: 5px;
	position: absolute;
	opacity: 0.9;
}
#potd2 p {
	margin-top: 10px;
}
#potd2 > p:nth-of-type(1) a {
	display: none;
}
#potd2 table {
	display: none;
}
#potd2 li {
	list-style: none;
}
#potd2 > div {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center;
	filter: blur(3px) brightness(0.5);
}
#potd2 > *:not(div) {
	position: relative;
}
#potd2 > p p:nth-last-of-type(2) {
	display: none;
}

#tableObjectList, #tableKey, #efloras_description > span > table {
	display: none;
}


#efloras_source > img {
	image-rendering: pixelated;
	filter: invert(100%) brightness(200%) grayscale(100%);
}
#wikipedia_source > img {
	image-rendering: pixelated;
	filter: grayscale(100%) brightness(200%) contrast(1000%);
}
#useful_source > img {
	image-rendering: pixelated;
	filter: grayscale(100%) brightness(300%) invert(100%) brightness(500%);
}
#flowers_of_india > img {
	image-rendering: pixelated;
	filter: grayscale(100%) invert(100%) contrast(500%) brightness(100%) invert(100%);
}
#efloraofindia > img {
	image-rendering: pixelated;
	background-color: white;
	filter: invert(100%) grayscale(100%) brightness(100%);
}
#biodiversity_india > img {
	image-rendering: pixelated;
	filter: invert(100%) grayscale(100%) brightness(150%) contrast(100%);
}

.sourcetag img {
	width: 145px;
	height: auto;
	border-radius: 5px;
}



#map {
	width: 100%;
	height: 500px;
	max-height: 500px;
	min-height: 200px;
	border: 0;
}
#mapd {
	position: absolute;
	padding: 15px;
	background: linear-gradient(180deg,rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.75) 25%, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 0.25) 75%, rgba(0, 0, 0, 0) 100%);
	width: calc(100% - 30px);
	pointer-events: none;
	margin-top: -0.5px;
}
#fade {
	position: absolute;
	background: linear-gradient(360deg,rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.75) 25%, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 0.25) 75%, rgba(0, 0, 0, 0) 100%);
	width: calc(100% + 60px);
	height: 50px;
	left: -30px;
	bottom: -35px;
	pointer-events: none;
}
#importanced {
	padding: 15px;
}
.margin-top-less {
	margin-top: -15px;
}


.seasons {
	border: 1px solid rgba(255, 255, 255, 0.15);
	border-radius: 5px;
	margin-left: auto;
	margin-right: auto;
	width: calc(100% - 60px);
	padding: 30px;
	font-family: "Noto Color Emoji", "Montserrat", "Gulzar";
	table-layout: fixed;
}
.seasons td {
	border-bottom: 1px solid rgba(255, 255, 255, 0.15);
	padding-top: 8px;
}

.seasons tr:nth-last-of-type(1) td {
	border-bottom: 0;
}

.seasons td span {
	color: rgba(255, 255, 255, 0.3);
	font-family: "Montserrat";
	display: inline-block;
	width: 25px;
	text-align: center;
}

td.selected {
	background-color: rgba(255, 255, 255, 0.15);
}


@media screen and (min-width: 748px) {
	.seasons:nth-of-type(2) {
		display: none;
	}
}
@media screen and (max-width: 748px) {
	.seasons:nth-of-type(1) {
		display: none;
	}
}
