/* emad */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap");

* {
	font-family: "Poppins", "sans-serif";
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}
/* ===== Colours ===== */
:root {
	--body-color: #e4e9f7;
	--side-nav: #010718;
	--text-color: white;
}
/* ===== end colours ===== */
body {
	background: url("../images/Screenshot\ 2022-08-25\ 170754.png");
	background-size: cover;
	background-attachment: fixed;
	background-position: center center;
	background-repeat: no-repeat;
	/* animation: shrink 1.5s; */
}

/* =====dark button===== */
body.dark .button1 {
	border: 1px solid white;
}
body.dark .button1:hover {
	color: black;
	background-color: white;
	box-shadow: 0 0 15px 5px rgba(255, 255, 255, 1);
	border: 1px solid white;
}
/* ===== end dark button===== */

body.dark {
	--body-color: #18191a;
	--side-nav: #242526;
	--text-color: black;
	--nav-color: #242526;

	background: url("../images/Screenshot\ 2022-08-25\ 2a.png");
	background-size: cover;
	background-attachment: fixed;
	background-position: center center;
	background-repeat: no-repeat;
	/* animation: shrink 1.5s; */
}

li,
a,
button {
	font-weight: 500;
	font-size: 16px;
	color: var(--black);
	text-decoration: none;
}
header {
	height: 50px;
	width: 100%;
}
.logo1 {
	margin-right: auto;
	padding-right: 50px;
}

nav {
	position: fixed;
	top: 0;
	left: 0;
	height: 50px;
	width: 100%;
	background: rgba(255, 255, 255, 0.159);
	backdrop-filter: blur(7px);
	z-index: 100;
}

nav .nav-bar {
	position: relative;
	height: 100%;
	/* max-width: 1000px; */
	padding: 0 40px;
	display: flex;
	align-items: center;
	justify-content: space-around;
}

nav .nav-bar .sidebarOpen {
	color: var(--text-color);
	font-size: 25px;
	padding: 5px;
	cursor: pointer;
	display: none;
}

nav .nav-bar .logo a {
	font-size: 25px;
	font-weight: 500;
	color: var(--text-color);
	text-decoration: none;
}

.menu .logo-toggle {
	display: none;
}

.nav-bar .nav-links {
	display: flex;
	align-items: center;
}

.nav-bar .nav-links li {
	margin: 0 5px;
	list-style: none;
}

.nav-links li a {
	position: relative;
	font-size: 17px;
	font-weight: 400;
	color: var(--text-color);
	text-decoration: none;
	padding: 10px;
}

.darkLight-searchBox .dark-light {
	height: 40px;
	width: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 10px;
}

.dark-light i {
	position: absolute;
	color: var(--text-color);
	font-size: 22px;
	cursor: pointer;
	transition: all 0.3s ease;
}

.dark-light i.sun {
	opacity: 0;
	pointer-events: none;
}

.dark-light.active1 i.sun {
	opacity: 1;
	pointer-events: auto;
}

.dark-light.active1 i.moon {
	opacity: 0;
	pointer-events: none;
}

.button1 {
	width: 100px;
	height: 30px;
	border: none;
	background: none;
	border: 1px solid black;
	border-radius: 5px;
	margin-right: 50px;
	margin-left: 50px;
	color: black;
	font-size: 18px;
}
.button1:hover {
	color: white;
	box-shadow: 0 0 16px 2px black;
	background-color: black;
}

footer {
	background: rgba(255, 255, 255, 0.159);
	backdrop-filter: blur(7px);
	width: 100%;
	height: 100%;
	padding: 20px;
	color: var(--text-color);
	display: flex;
	align-items: center;
	flex-direction: row;
	text-align: center;
	justify-content: space-between;
}
body.dark footer {
	color: rgba(255, 255, 255, 0.69);
}
.logoright {
	margin-right: 50px;
}

.textleft {
	margin-left: 20px;
}
.logoright p {
	margin-top: 20px;
}
.textleft {
	max-width: 600px;
	margin-top: 10px;
	font-size: 16px;
	text-align: start;
}
/* emad */
.showMe {
	cursor: pointer;
}
/* jafar */

#main-task {
	padding: 50px;
}
/* hero Section Start here*/

.heroSection {
	color: white;
	height: 100vh;
	width: 100%;
	display: flex;
	/* flex-wrap: wrap; */
	text-align: start;
	/* animation: shrink 1.5s; */
}

.heroSection#blur.active {
	filter: blur(20px);
	pointer-events: fill;
	user-select: none;
}

.heroSection#blur.disabled {
	filter: none;
	/* pointer-events: all;
        user-select: all; */
}

.headingAndDescription {
	margin-left: 5rem;
	animation: fadeIn 2.5s;
	display: flex;
	flex-direction: column;
	/* align-items: center; */
	justify-content: center;
}
.callToActionButton {
	margin: 1rem;
	width: 15rem;
	height: 3rem;
	border-radius: 7px;
	background-color: transparent;
	border-color: white;
	color: white;
	font-size: larger;
	font-weight: bold;
	animation: fadeIn 2.5s;
}

.callToActionButton:hover {
	background-color: white;
	box-shadow: 0 0 15px 5px rgba(255, 255, 255, 1);
	color: black;
}

.heroHeading {
	margin: 1rem;
	margin-bottom: 1.5rem;
	animation: fadeIn 2.5s;
	font-weight: 700;
}
.heroDescription {
	max-width: 50rem;
	margin: 1rem;
	line-height: 2.8rem;
	animation: fadeIn 2.5s;
}

/* hero animation End here /


/ Jafar End */
/* hero Section End here*/

/* Dropdown End here*/

/* hero animation start here */

@keyframes shrink {
	from {
		transform: scale(2);
	}
	to {
		transform: scale(1);
	}
}

@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(-2em);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes fadeout {
	from {
		opacity: 0;
		transform: translateY(0);
	}
	to {
		opacity: 1;
		transform: translateY(2em);
	}
}

hr {
	margin: 0;
}
/* hero animation End here */

/* Jafar End */

/* manar */

.registerContainer {
	/* margin: 0;
	padding: 0; */
	position: fixed;
	top: 40%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 450px;
	height: 600px;
	justify-content: center;
	align-items: center;
	/* min-height: 100vh; */
	font-family: "Jost", sans-serif;
	background: linear-gradient(to bottom, #0f0c29, #302b63, #24243e) !important ;
	overflow: hidden;
	border-radius: 10px;
	box-shadow: 5px 20px 50px thistle;
	visibility: hidden;
	opacity: 0;
	transition: 0.5s;
	z-index: 1000;
}
.registerContainer#popup.active {
	visibility: visible;
	opacity: 1;
	transition: 0.5s;
	top: 50%;
}

.registerContainer#popup.disabled {
	visibility: hidden;
	opacity: 0;
	transition: 0.5s;
	top: 40%;
}
.registerContainer .close-btn {
	position: absolute;
	right: 20px;
	top: 15px;
	font-size: 18px;
	cursor: pointer;
}
.registerContainer .close-btn:hover {
	color: #3498db;
}

#check {
	display: none;
}

.signup {
	position: relative;
	/* height: 150px;
	width: 300px; */
	justify-content: center;
}

#signLab,
.label {
	color: #fff;
	font-size: 2.3em;
	justify-content: center;
	display: flex;
	margin: 60px;
	font-weight: bold;
	cursor: pointer;
	transition: 0.5s ease-in-out;
}

.inputDesign {
	position: relative;
	width: 100%;
}
.inputDesign .regInput {
	width: 60%;
	height: 40px;
	padding: 10px;
	justify-content: center;

	display: flex;
	/* left: 10px; */
	margin: 20px auto;
	border: 1px solid rgb(255, 255, 255, 0.25);
	background: #fff;
	border-radius: 5px;
	outline: none;
	color: rgb(2, 2, 2);
	font-size: 14px;
	transition: 0.5em;
}
.inputDesign .placeholder {
	position: absolute;
	left: 90px;
	top: 2px;
	padding: 10px;
	pointer-events: none;
	font-size: 1em;
	color: rgba(115, 111, 111, 0.614);
	text-transform: uppercase;
	transition: 0.5s;
}
.inputDesign .regInput:valid ~ .placeholder,
.inputDesign .regInput:focus ~ .placeholder {
	color: #00dfc4;
	transform: translateX(10px) translateY(-7px);
	font-size: 0.65em;
	padding: 0 10px;
	background: linear-gradient(to bottom, #0f0c29, #302b63, #24243e);
	border-right: 1px solid #00dfc4;
	border-left: 1px solid #00dfc4;
	letter-spacing: 0.2em;
}
.inputDesign .regInput:valid,
.inputDesign .regInput:focus {
	border: 1px solid #00dfc4;
}

.regBtn {
	color: #090909;
	padding: 1em 2em;
	font-size: 18px;
	width: 80%;
	height: 40px;
	line-height: 1px;
	margin: 10px auto;
	justify-content: center;
	display: block;
	border-radius: 300px;
	background: #e8e8e8;
	border: 2px solid #e8e8e8;
	transition: all 0.3s ease-in;
	cursor: pointer;
	box-shadow: 2px 2px 6px #c5c5c5, -1px -2px 6px #fff;
}

.regBtn:hover {
	box-shadow: -1px -1px 2px #c5c5c5, 3px 3px 3px #fff;
}

.login {
	height: 560px;
	background: #eee;
	border-radius: 60% / 10%;
	transform: translateY(-380px);
	transition: 0.8s ease-in-out;
}

#logLab {
	color: #573b8a;
	transform: scale(0.9);
}

#check:checked ~ .login {
	transform: translateY(0px);
}

#check:checked ~ #logLab {
	transform: scale(1.5);
}

#check:checked ~ #signLab {
	transform: scale(6);
}

#exit {
	color: white;
}

/* media emad */
@media (max-width: 790px) {
	body {
		width: 100%;
		height: 100%;
	}
	nav .nav-bar .sidebarOpen {
		display: block;
	}

	.menu {
		position: fixed;
		height: 100%;
		width: 320px;
		left: -100%;
		top: 0;
		padding: 20px;
		background-color: var(--side-nav);
		z-index: 100;
		transition: all 0.4s ease;
	}

	nav.active .menu {
		left: -0%;
	}

	nav.active .nav-bar .navLogo a {
		opacity: 0;
		transition: all 0.3s ease;
	}

	.menu .logo-toggle {
		display: block;
		width: 100%;
		display: flex;
		align-items: center;
		justify-content: space-between;
	}

	.logo-toggle .siderbarClose {
		color: var(--text-color);
		font-size: 24px;
		cursor: pointer;
	}

	.nav-bar .nav-links {
		flex-direction: column;
		padding-top: 30px;
	}

	.nav-links li a {
		display: block;
		margin-top: 20px;
	}
	footer {
		display: block;
		margin-top: 110px;
	}
	.registerContainer {
		width: 90%;
		/* height: 60%; */
	}
}
@media (max-width: 500px) {
	body {
		width: 100%;
		height: 100%;
	}
	.footer-menu ul {
		display: flex;
		margin-top: 10px;
		margin-bottom: 20px;
	}
	.logo1 {
		margin-right: 0;
		padding-right: 0px;
	}
	.heroSection {
		flex-wrap: wrap;
	}
	.registerContainer {
		width: 90%;
		/* height: 60%; */
	}
}
@media (max-width: 470px) {
	.logo1 {
		margin-right: 0;
		padding-right: 0px;
	}
	header {
		width: 100%;
	}
	.heroSection {
		flex-wrap: wrap;
	}
}
@media (max-width: 420px) {
	body {
		width: 100%;
		height: 100%;
	}
	footer {
		display: block;
	}
	.logo1 {
		margin: 0 auto;
		padding-left: 0;
	}
	header {
		width: 100%;
	}
	.button1 {
		width: 100px;
		height: 30px;
		border: 1px solid black;
		border-radius: 5px;
		margin-right: 0px;
		margin-left: 30px;
	}
	.heroSection {
		flex-wrap: wrap;
	}
	.headingAndDescription {
		margin-left: 20px;
	}
}
/* end media emad */
