:root {
    --main-color: #26A9C6;
    --second-color: #2598b2;
    --third-color: #00d0ff;
    --fourth-color: #166071;
    --black: #333;
    --white: #fff;
    --light-color: #666;
    --border:.2rem solid var(--black);
    --box-shadow:0 .5rem 1rem rgba(0,0,0,.1);
}

/* Font Family */
@font-face {
    font-family: poppins-reguler;
    src: url(/font/Poppins-Regular.ttf);
}

@font-face {
    font-family: lobster-reguler;
    src: url(/font/Lobster-Regular.ttf);
}

@font-face {
    font-family: inter-reguler;
    src: url(/font/Inter-Regular.ttf);
}

* {
    margin: 0;
    padding: 0;
    outline: none;
    border: none;
    text-decoration: none;
    box-sizing: border-box;
}


body {
	background-image: url('/image/bg3.png');
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-position: center;
	background-size: cover;
	overflow: hidden;
	font-family: 'Poppins', sans-serif;
	scroll-behavior: smooth;
}

.container {
	display: flex;
	justify-content: center;
	align-items: center;
	
}

.login-content{
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
    height: 100vh;
	margin: 0;
	padding: 0;
}

.login-form{
    width: 28rem;
    height: 30rem;
    padding: 40px 50px 50px;
    border-radius: 10px;
	background-color: white;
    box-shadow: 0 0 80px 5px rgba(0,0,0,0.2);
}

.login-content img{
    height: 100px;
}

.login-content h2{
	margin: 15px 0;
	color: #333;
	font-size: 1.9rem;
    font-family: poppins-reguler;
}

.login-form .forgot-and-register {
	display: flex;
	justify-content: space-between;
	margin-top: 17px;
}

.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: 16px;
	transition: .3s;
}

.input-div:before, .input-div:after{
	content: '';
	position: absolute;
	bottom: -2px;
	width: 0%;
	height: 2px;
	background-color: var(--main-color);
	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: var(--main-color);
}

.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.2rem;
	color: #555;
	font-family: 'poppins', sans-serif;
}

.input-div.pass{
	margin-bottom: 4px;
}

a{
	display: block;
	text-align: right;
	text-decoration: none;
	color: #999;
	font-size: 0.8rem;
	transition: .3s;
}

a:hover{
	color: var(--main-color);
}

.btn{
	display: block;
	width: 100%;
	height: 50px;
	border-radius: 25px;
	outline: none;
	border: none;
	background-image: linear-gradient(to right, #26A9C6, #00d0ff, #26A9C6);
	background-size: 200%;
	font-size: 1.2rem;
	color: var(--white);
	font-family: 'Poppins', sans-serif;
	text-transform: uppercase;
	margin: 2rem 0;
	cursor: pointer;
	transition: .5s;
}

.btn:hover{
	background-position: right;
}

@media screen and (max-width: 830px) {
	.login-content {
		padding-bottom: 10rem;
        margin-top: 80px;
	}
}


@media screen and (max-width: 535px) {
	.login-form{
		width: 25rem;
		height: 26rem;
		padding: 30px;
	}

    .login-content .input-div {
        margin: 10px 0;
    }

	.login-content{
		justify-content: center;
		align-items: center;
		display: flex;
		
	}

	.login-content img{
		height: 80px;
	}
	
	.login-content h2{
		font-size: 1.5rem;
	}
	
	.input-div > div > h5 {
		font-size: 13px;
	}

	.input-div.focus > div > h5{
		font-size: 12px;
	}

	a{
		font-size: 0.7rem;
	}

	.btn{
		height: 40px;
		font-size: 0.9rem;
	}

	.input-div > div > input{
		font-size: 1rem;
	}
}

@media screen and (max-width: 460px) {
	.login-content {
		margin: 0;
	}
	.login-form{
		width: 20rem;
		height: 22rem;
		padding: 18px;
	}

    .login-content .input-div {
        margin: 7px 0;
    }

	.login-content{
		justify-content: center;
		align-items: center;
		display: flex;
		
	}

	.login-content img{
		height: 60px;
	}
	
	.login-content h2{
		font-size: 1.3rem;
	}
	
	.input-div > div > h5 {
		font-size: 12px;
	}

	.input-div.focus > div > h5{
		font-size: 10px;
	}

	a{
		font-size: 0.6rem;
	}

	.btn{
		height: 30px;
		font-size: 0.7rem;
	}

	.input-div > div > input{
		font-size: 0.8rem;
	}
	
}

@media screen and (max-width: 350px) {
	.login-form{
		width: 16rem;
		height: 18rem;
		padding: 14px;
	}

    .login-content .input-div {
        margin: 0;
    }

	.login-content{
		justify-content: center;
		align-items: center;
		display: flex;
		
	}

	.login-content img{
		height: 40px;
	}
	
	.login-content h2{
		font-size: 1rem;
	}
	
	.input-div > div > h5 {
		font-size: 10px;
	}

	.input-div.focus > div > h5{
		font-size: 8px;
	}

	a{
		font-size: 0.4rem;
	}

	.btn{
		height: 20px;
		font-size: 0.6rem;
		margin: 1rem 0 1rem 0;
	}

	.input-div > div > input{
		font-size: 0.7rem;
	}

    .input-div > div > h5 {
        transform: translateY(-10%);
    }

    .i {
        padding-top: 7px;
    }
}




