@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap");

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	text-decoration: none;
	list-style: none;
	scroll-behavior: smooth;
	/* outline: 1px dotted red; */
	font-family: "Poppins", sans-serif;
	font-weight: 400;
	font-style: normal;
	color: #1e1e1e;
}

html,
body {
	height: 100%;
	width: 100%;
}

.hero {
	height: 100dvh;
	width: 100%;
	display: flex;
	align-items: center;
}

.navbar {
	position: absolute;
	top: 0;
	width: 100%;
	padding: 0 5dvw;
	display: flex;
	align-items: center;
	z-index: 1;
}

.logo a {
	font-size: 24px;
	font-family: "Nunito", serif;
	font-weight: 800;
	line-height: 1;
	text-transform: capitalize;
	color: #1e1e1e;
}

.login,
.image {
	position: relative;
	height: 100%;
  flex: 1;
}

.login {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding: 5vh 6vh;
	background-color: #fff;
}

.container {
	height: 80vh;
	width: 80%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding: 5vh 6vh;
}

.heading {
	font-size: 5vh;
	font-family: "Nunito", serif;
	font-weight: 500;
	margin-bottom: 2vh;
	text-transform: capitalize;
}

p:first-child {
	font-size: 2.5vh;
	font-family: "Nunito", serif;
	margin-bottom: 1vh;
}

form {
	margin-top: 10vh;
	width: 100%;
	display: flex;
	flex-direction: column;
}

form input {
	width: 100%;
	padding: 1vh 2vh;
	border: 1px solid #666;
	border-radius: 1vh;
	box-shadow: 0 0 5px #1e1e1e30, 0 0 5px #1e1e1e30;
	background-color: #fff;
	font-size: 2.5vh;
	font-family: "Nunito", serif;
	font-weight: 500;
}

form input:focus {
	outline: none;
}

.pas {
	position: relative;
}

.password-container input {
	width: 100%;
	padding-right: 30px;
}

.password-container i {
	position: absolute;
	right: 10px;
	top: 50%;
	transform: translateY(-50%);
	cursor: pointer;
}

.password-container p:first-child {
	margin-top: 1vw;
}

.password-container p:last-child {
	font-size: 2vh;
	color: blue;
	cursor: pointer;
	margin: 2vh 0 5vh;
}

p:last-child {
	font-size: 2.2vh;
}

p span {
	text-decoration: underline;
	color: blue;
	cursor: pointer;
}

button {
	width: 100%;
	padding: 1vh 2vh;
	border: none;
	border-radius: 1vh;
	background-color: #d05c69;
	color: #fff;
	font-family: "Nunito", serif;
	font-weight: 700;
	font-size: 3vh;
	cursor: pointer;
}

.image {
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(to bottom, #d05c69, #f7b7a3);
}

.bg {
	height: 60vh;
	width: 60vh;
	border-radius: 50%;
	background-color: #8a994a;
}

.image img {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	height: 80vh;
}

.image img:hover {
	top: 10%;
	left: 18%;
	transform: translate(-50%, -50%);
	animation: size 2s infinite linear;
}

@keyframes size {
	0% {
		transform: scale(1);
	}
	50% {
		transform: scale(1.05);
	}
	100% {
		transform: scale(1);
	}
}

@media (max-width: 768px) {
  
.navbar {
	justify-content: center;
}

.logo a {
	color: #f1f1f1;
}
	.hero {
		display: block;
		overflow: hidden;
	}
	.login {
		height: 100dvh;
		width: 100%;
		display: flex;
		align-items: center;
		justify-content: center;
		padding: 0;
		background: linear-gradient(to bottom, #d05c69, #f7b7a3);
	}
	.container {
    height: 100%;
		width: 100%;
		padding: 0 5dvw;
	}
	.image {
		display: none;
	}
	.heading {
		font-size: 30px;
		font-weight: 900;
		line-height: 1;
		color: #f1f1f1;
	}
	p {
		font-size: 18px;
		line-height: 1;
	}
	.msg {
		text-align: center;
    margin-bottom: 0;
	}
  .fp{
    width: max-content;
  }
}
