*{
	padding: 0;
	margin: 0;
	box-sizing: border-box;
}

body{
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
}

.loaded .img img,
.loaded form,
.loaded .wave{
	opacity: 1;
	transform: none;
}

.wave{
	opacity: 0;
	transform: translateX(-18px);
	transition: opacity .6s ease, transform .8s cubic-bezier(.2,.9,.2,1);
}

.img img{
	opacity: 0;
	transform: translateX(-14px);
	transition: opacity .6s ease, transform .8s cubic-bezier(.2,.9,.2,1);
	max-width: 100%;
	height: auto;
}

form{
	opacity: 0;
	transform: translateY(14px);
	transition: opacity .6s ease, transform .8s cubic-bezier(.2,.9,.2,1);
}

.wave{
	position: fixed;
	bottom: 0;
	left: 0;
	height: 100%;
	z-index: -1;
}

.container{
    width: 100vw;
    min-height: 100vh;
	height: auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap :7rem;
    padding: 0 2rem;
}

.img{
	display: flex;
	justify-content: flex-end;
	align-items: center;
}

.login-content{
	display: flex;
	justify-content: flex-start;
	align-items: center;
	text-align: center;
}

.img img{
	width: 500px;
}

.login-content img{
    height: 100px;
}

.login-content h2{
	margin: 15px 0;
	color: #333;
	text-transform: uppercase;
	font-size: 2.9rem;
}

.login-content .input-div{
	position: relative;
    display: grid;
    grid-template-columns: 7% 93%;
    margin: 25px 0;
    padding: 5px 0;
    border-bottom: 2px solid #d9d9d9;
}

.login-content .input-div.one{
	margin-top: 0;
}

.i{
	color: #d9d9d9;
	display: flex;
	justify-content: center;
	align-items: center;
}

.i i{
	transition: .3s;
}

.input-div > div{
    position: relative;
	height: 45px;
}

.input-div > div > h5{
	position: absolute;
	left: 10px;
	top: 50%;
	transform: translateY(-50%);
	color: #999;
	font-size: 18px;
	transition: .3s;
}

.input-div:before, .input-div:after{
	content: '';
	position: absolute;
	bottom: -2px;
	width: 0%;
	height: 2px;
	background-color: #38d39f;
	transition: .4s;
}

.input-div:before{
	right: 50%;
}

.input-div:after{
	left: 50%;
}

.input-div.focus:before, .input-div.focus:after{
	width: 50%;
}

.input-div.focus > div > h5{
	top: -5px;
	font-size: 15px;
}

.input-div.focus > .i > i{
	color: #38d39f;
}

.input-div > div > input{
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	border: none;
	outline: none;
	background: none;
	padding: 0.5rem 0.7rem;
	font-size: 1.05rem;
	color: #555;
	font-family: 'poppins', sans-serif;
}

.input-div.pass{
	margin-bottom: 4px;
}

.input-div.pass > div > input{
	padding-right: 2.75rem;
}

.toggle-pass{
	position: absolute;
	right: 8px;
	top: 50%;
	transform: translateY(-50%);
	width: 34px;
	height: 34px;
	border: none;
	background: transparent;
	color: #999;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	border-radius: 999px;
}

.toggle-pass:hover{
	color: #38d39f;
	background: rgba(56, 211, 159, .08);
}

.toggle-pass:focus-visible{
	outline: 3px solid rgba(56, 211, 159, .35);
	outline-offset: 2px;
}

.toggle-pass__icon{
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.toggle-pass svg{
	width: 18px;
	height: 18px;
	display: block;
	fill: currentColor;
}

.toggle-pass .icon-eye-off{
	display: none;
}

.toggle-pass.is-on .icon-eye{
	display: none;
}

.toggle-pass.is-on .icon-eye-off{
	display: inline-flex;
}

a{
	display: block;
	text-align: right;
	text-decoration: none;
	color: #999;
	font-size: 0.9rem;
	transition: .3s;
}

a:hover{
	color: #38d39f;
}

.btn{
	display: block;
	width: 100%;
	height: 50px;
	border-radius: 25px;
	outline: none;
	border: none;
	background-image: linear-gradient(to right, #32be8f, #38d39f, #32be8f);
	background-size: 200%;
	font-size: 1.2rem;
	color: #fff;
	font-family: 'Poppins', sans-serif;
	text-transform: uppercase;
	margin: 1rem 0;
	cursor: pointer;
	transition: .5s;
}
.btn:hover{
	background-position: right;
}

.login-error{
	background: rgba(244, 63, 94, .08);
	border: 1px solid rgba(244, 63, 94, .25);
	color: #f43f5e;
	padding: 10px 12px;
	border-radius: 12px;
	margin: 12px 0 8px;
	font-size: 0.95rem;
}

.divider{
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 10px 0 12px;
	color: #999;
	font-size: 0.9rem;
}

.divider::before,
.divider::after{
	content: "";
	height: 1px;
	background: #e8e8e8;
	flex: 1;
}

.btn-google{
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	height: 50px;
	border-radius: 25px;
	border: 1px solid #e6e6e6;
	background: #fff;
	color: #444;
	font-family: 'Poppins', sans-serif;
	font-size: 1rem;
	cursor: pointer;
	transition: transform .15s ease, box-shadow .2s ease, border-color .2s ease;
}

.btn-google .google-icon{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	flex: 0 0 auto;
}

.btn-google .google-icon svg{
	display: block;
}

.btn-google:hover{
	border-color: #d8d8d8;
	box-shadow: 0 10px 24px rgba(0,0,0,.08);
	transform: translateY(-1px);
}

.btn-google:active{
	transform: translateY(0);
	box-shadow: 0 6px 16px rgba(0,0,0,.08);
}

.btn:focus-visible,
.btn-google:focus-visible{
	outline: 3px solid rgba(56, 211, 159, .35);
	outline-offset: 2px;
}


@media screen and (max-width: 1050px){
	.container{
		grid-gap: 5rem;
	}
}

@media screen and (max-width: 1000px){
	form{
		width: min(320px, 100%);
	}

	.login-content h2{
        font-size: 2.4rem;
        margin: 8px 0;
	}

	.img img{
		width: 400px;
	}
}

@media screen and (max-width: 900px){
	.container{
		grid-template-columns: 1fr;
		padding: 0 1.25rem;
	}

	.img{
		display: none;
	}

	.wave{
		display: none;
	}

	.login-content{
		justify-content: center;
	}
}

@media screen and (max-width: 420px){
	.container{
		padding: 0 1rem;
	}

	form{
		width: 100%;
	}

	.login-content h2{
		font-size: 2.1rem;
	}
}

@media screen and (max-height: 640px){
	body{
		overflow-y: auto;
	}

	.container{
		padding-top: 1.25rem;
		padding-bottom: 1.25rem;
	}
}
