
:root {
	--main-color: #0a5c8c;
	--dark-color: #11152a;
	--light-color: #d0d4ed;
}

* {
	margin: 0px;

	padding: 0px;
}

*, ::before, ::after {
	box-sizing: border-box;
}

body {
	font-family: "Roboto",sans-serif;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.8;
	color: var(--dark-color);
	background-color: #efefef;
}

main {
	width: 100%;
	min-height: 100vh;
	overflow: hidden;
	background-color: #0a5c8c;

	display: flex;
	align-items: center;
	justify-content: center;
}

a {
	text-decoration: none;
}

h2 {
	font-size: 2em;
	font-weight: 400;
	line-height: 1.1;
	color: white;
	margin-bottom: 10px;
	margin-top: 10px;
}

ul {
	list-style: none;
}

.container {
	max-width: 1140px;
	margin: 0 auto;
}

.wrapper > div {
	display: flex;
	flex-direction: column;
	width: 100%;
	max-width: 500px;
	min-height: 500px;
	margin: 5em auto;
	background-color: #07466b;
	overflow: hidden;
	box-shadow: rgba(0,0,0,0.45)0 25px 28px -20px;
}

:is(.login,.signup) > div {
	position: relative;
	flex: 1 0 50%;
	padding: 40px;
}

.content-heading .y-style {
	display: flex;
	flex-direction: column;
}

.logo a {
	display: inline-block;
	margin-bottom: 60px;
	font-size: 18px;
	font-weight: 700;
	color: var(--dark-color);
}

.logo span {
	color: #faa61a;
}

.content-heading p {
	color: var(--light-color);
}

.content-form {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.welcome {
	text-align: center;
}
/*hide sign up form*/

form input:not(#terms,#remember) {
	font-family: inherit;
	width: 100%;
	outline: 0;
	margin: 0 0 20px;
	border-radius: 7px;
}

form input::placeholder {
	color: var(--light-color);
}

form button {
	background-color: #faa61a;
	color: white;
	margin: 30px 0;
	width: 100%;
	border: 0;
	line-height: 42px;
	border-radius: 7px;
	font-weight: 700;
	cursor: pointer;
	transition: all .3s ease-out;
	-webkit-transition: all .3s ease-out;
}

button:hover {
	background-color: #07466b;
}

.afterform {
	text-align: center;
	margin-top: 20px;
}
.form-control:focus {
	color: #6D6D6D;
	border: 1px solid #d2d2d2;
	background: #fbfbfb;
}
form .checkbox {
	position: relative;
	padding-left: 20px;
	font-size: 12px;
	float: left;
}

	form .checkbox input {
		position: absolute;
		left: 0;
		top: 4px;
	}

form .forget {
	float: right;
	font-size: 12px;
}

form label a, .afterform a {
	color: var(--main-color);
}

	form :is(p, label) a:hover, .afterform a:hover {
		border-bottom: 1px dotted;
	}

.content-form::before {
	content: "";
	position: absolute;
	width: 300%;
	background-color: white;
	height: 200%;
	border-radius: 50%;
	transform: translate3d(-27%, 21%, 0);
	-webkit-transform: translate3d(-27%, 21%, 0);
	animation: fade-in 0.7s cubic-bezier(0.39%, 0.575%, 0.565%, 1)both;
	-webkit-animation: fade-in 0.7s cubic-bezier(0.39%, 0.575%, 0.565%, 1)both;
}

.y-style {
	position: relative;
	margin-top: 3em;
	transform: translate3d(0, 20%, 0);
	-webkit-transform: translate3d(0, 20%, 0);
	animation: fade-in 0.7s cubic-bezier(0.39%, 0.575%, 0.565%, 1)both;
	-webkit-animation: fade-in 0.7s cubic-bezier(0.39%, 0.575%, 0.565%, 1)both;
}

@keyframes fade-in {
	form {
		opacity: 0;
		transform: translate3d(0, 20%, 0);
	}

	to {
		opacity: 1;
	}
}

:is(.login-show, .signup-show) .y-style {
	transform: translate3d(0,0,0);
}



.social :is(ul,p) {
	display: flex;
	justify-content: center;
	position: relative;
	gap: 20px;
	margin: 20px 0;
}

.social p::before {
	content: "";
	position: absolute;
	height: 1px;
	width: 90%;
	background-color: var(--light-color);
	top: 0;
	margin-top: 11px;
}

.social p span {
	background-color: white;
	z-index: 1;
	padding: 0 20px;
	color: var(--light-color);
	font-size: 11px;
}

.social a {
	display: flex;
	font-size: 20px;
	transform: translateY(0);
	-webkit-transform: translateY(0);
	transition: transform .3s;
}

	.social a:hover {
		transform: translateY(-5px);
		-webkit-transform: translateY(-5px);
	}

.social .google {
	color: black;
}

.social .facebook {
	color: #3c5a9a;
}

.social .twiter {
	color: #5094f2;
}

/*.login-show .signup, .signup-show .login {
	display: none;
}*/

.signup-show .signup, .login-show .login {
	display: flex;
	border-radius: 10px;
	margin-top: 35px;
}




@media screen and (min-width: 768px) {
	.wrapper > div {
		flex-direction: row;
		max-width: 800px;
	}

	.signup .content-heading .y-style {
		height: 100%;
		justify-content: space-between;
	}

	.content-form::before {
		transform: translate3d(-14%, 14%, 0);
		-webkit-transform: translate3d(-14%, 14%, 0);
		width: 200%;
	}

	.welcome {
		text-align: left;
		margin: 5em 0 auto;
	}
}
