﻿/* Importing fonts from Google */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

/* Reseting */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family-sans-serif: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
	font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

body {
	background: #ecf0f3;
}


.wrapper {
	max-width: 350px;
	min-height: 380px;
	margin: 80px auto;
	padding: 40px 30px 30px 30px;
	background-color: #ecf0f3;
	border-radius: 15px;
	box-shadow: 13px 13px 20px #cbced1, -13px -13px 20px #fff;
}

.logo {
	width: 80px;
	margin: auto;
	padding-bottom:20px;

}

	.logo img {
		width: 100%;
		height: 80px;
		object-fit: cover;
		border-radius: 50%;
		box-shadow: 0px 0px 3px #5f5f5f, 0px 0px 0px 5px #ecf0f3, 8px 8px 15px #a7aaa7, -8px -8px 15px #fff;
		background-color: transparent;
	}

.wrapper .name {
	font-weight: 300;
	font-size: 1.4rem;
	letter-spacing: 1.3px;
	padding-left: 10px;
	color: #555;
}

.wrapper .form-field input {
	width: 100%;
	display: block;
	border: none;
	outline: none;
	background: none;
	font-size: 1rem;
	color: #666;
	padding: 10px 15px 10px 10px;
	/* border: 1px solid red; */
}

/*Ẩn màu nền autofill trong trình duyệt*/
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
	-webkit-background-clip: text;
	-webkit-text-fill-color: #666;
	transition: background-color 5000s ease-in-out 0s;
	box-shadow: none;
	font-size: 1rem;
}

.wrapper .form-field {
	padding-left: 10px;
	margin-bottom: 20px;
	border-radius: 20px;
	box-shadow: inset 8px 8px 8px #cbced1, inset -8px -8px 8px #fff;

}

	.wrapper .form-field .fas {
		color: #555;
	}


.wrapper a {
	text-decoration: none;
	font-size: 0.8rem;
	color: #03A9F4;
}

	.wrapper a:hover {
		color: #039BE5;
	}

@media(max-width: 380px) {
	.wrapper {
		margin: 30px 20px;
		padding: 40px 15px 15px 15px;
	}
}

input:hover {
	background-color:#fff;
}

.wrapper .btn {
	width: 100%;
	background-color: transparent;
	border: none;
	border-radius: 0.6em;
	color: #fff;
	font-size: 1rem;
	font-weight: 400;
	line-height: 1;
	margin: 20px;
	text-decoration: none;
	text-align: center;
	height: 40px;
	margin: 0;
	font-family: 'Poppins', sans-serif;
}

wrapper .btn:hover, .btn:focus {
	color: #fff;
	outline: 0;
}

.third {
	border-color: #3498db;
	color: #fff;
	box-shadow: 0 0 40px 40px #3498db inset, 0 0 0 0 #3498db;
	-webkit-transition: all 150ms ease-in-out;
	transition: all 150ms ease-in-out;
}

	.third:hover {
		box-shadow: 0 0 10px 0 #3498db inset, 0 0 10px 4px #3498db;
		color: #3498db;
		background:none;
	}


.fourth {
	background-image: -webkit-linear-gradient(45deg, #f1c40f 50%, transparent 50%);
	background-image: linear-gradient(45deg, #f1c40f 50%, transparent 50%);
	background-position: 100%;
	background-size:300%;
	-webkit-transition: background 300ms ease-in-out;
	transition: background 400ms ease-in-out;

}

	.fourth:hover {
		background-position: 0;
		color: #03A9F4;
	}