:root {
 --dark: #000000;
 --white: #ffffff;
 --white-gray: #d6d6d6;
 --purple-dark: #b8b7b7;
 --gray: #c4c4c4;
 --purple: #8f45f9;
 --purple-dark: #653e8b;
}

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

html, body {
	height: 100%;
	background: var(--purple);
}

.align {
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	padding-bottom: 8px;
}

.logo {
	width: 120px;
}

.card {
	margin-top: 28px;
	height: 100%;
	max-height: 446px;
	width: 396px;
	background: #121212;
	border: 1px solid #373737;
	border-radius: 10px;
	overflow: hidden;
	transition: max-height 0.2s;
}

.extend {
	max-height: 480px;
}

.head {
	width: 100%;
	display: flex;
	height: 72px;
	border-bottom: 1px solid #373737;
	justify-content: space-between;
}

.head a {
	height: 100%;
	padding: 0 28px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: rgb(140,140,140);
	font-size: 20px;
	font-weight: 500;
}

.head .selected {
	position: relative;
	color: var(--purple);
	font-weight: 700;
}

.head .selected:after {
	position: absolute;
	content: "";
	bottom: 0;
	left: 0;
	height: 5px;
	width: 100%;
	background: var(--purple);
	border-radius: 99px 99px 0 0;
}

.tabs {
	height: calc(100% - 72px);
	display: flex;
}

form {
	width: 100%;
	height: 100%;
	flex-shrink: 0;
	padding: 44px 38px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: center;
	position: relative;
	right: 0;
	transition: right 0.2s;
}

.extend form {
	right: 100%;
}

.inputs {
	width: 100%;
	padding-top: 6px;
}

.input {
	position: relative;
	margin-bottom: 20px;
	width: 100%;
	display: flex;
	align-items: center;
}

.input input {
	width: 100%;
	font-size: 17px;
	background: #1C1C1C;
	border-radius: 8px;
	padding: 16px 18px 16px 51px;
	color: rgb(220,220,220);
}

.input img {
	width: 16px;
	position: absolute;
	left: 19px;
}

.checkbox {
	height: 40px;
	display: flex;
	align-items: center;
	position: relative;
	cursor: pointer;
}

.checkbox input {
	position: absolute;
	opacity: 0;
	height: 0;
	width: 0;
}

.checkbox span {
	display: flex;
	align-items: center;
	color: rgb(110,110,110);
	font-size: 16px;
	user-select: none;
}

.checkbox span:before {
	content: "";
	width: 22px;
	height: 22px;
	border-radius: 6px;
	margin-right: 16px;
	background-color: #1C1C1C;
}

.checkbox:hover input ~ span:before {
	background-color: rgb(50,50,50);
}

.checkbox input:checked ~ span:before {
	background-image: url(../img/checked.png);
	background-size: cover;
}

.card button {
	display: block;
	background: var(--purple);
	padding: 14px 52px;
	border-radius: 12px;
	color: var(--white);
	font-weight: 700;
	font-size: 21px;
	cursor: pointer;
}

#register {
	color: var(--white);
}

#login {
	color: var(--white);
}

h2 {
	color: var(--white);
}

button {
 position: relative;
 width: 200px;
 display: inline-block;
 color: var(--white);
 text-decoration: none;
 border-radius: 15px;
 border: solid 1px var(--purple-dark);
 background: var(--purple);
 text-align: center;
 padding: 16px 18px 14px;
 margin: 12px;
 font-family: 'Poppins';
 justify-content: center;
  
 -webkit-transition: all 0.1s;
 -moz-transition: all 0.1s;
 transition: all 0.1s;
	
 -webkit-box-shadow: 0px 6px 0px var(--purple-dark);
 -moz-box-shadow: 0px 6px 0px var(--purple-dark);
 box-shadow: 0px 6px 0px var(--purple-dark);
}

button:active {
 -webkit-box-shadow: 0px 2px 0px var(--purple-dark);
 -moz-box-shadow: 0px 2px 0px var(--purple-dark);
 box-shadow: 0px 2px 0px var(--purple-dark);
 top: 4px;
 border-radius: 15px;
}





