* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  border: 0;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

:focus,
:active {
  outline: none;
}

a:focus,
a:active {
  outline: none;
}

nav,
footer,
header,
aside {
  display: block;
}

html,
body {
  min-height: 100vh;
  width: 100%;
  font-size: 100%;
  line-height: 1;
  font-size: 14px;
  text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

input,
button,
textarea {
  font-family: inherit;
}

input::-ms-clear {
  display: none;
}

button {
  cursor: pointer;
}

button::-moz-focus-inner {
  padding: 0;
  border: 0;
}

a,
a:visited {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: inherit;
  text-decoration: none;
}

ol,
ul {
  padding: 0;
  margin: 0;
}

ul li {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: 400;
}

p {
  margin-bottom: 0;
}
@font-face {
  font-display: swap;
  font-family: Montserrat;
  font-weight: 400;
  src: local("Montserrat Regular"), url(../fonts/Montserrat-Regular.woff2) format("woff2");
}
@font-face {
  font-display: swap;
  font-family: Montserrat;
  font-weight: 600;
  src: local("Montserrat Semibold"), url(../fonts/Montserrat-SemiBold.woff2) format("woff2");
}
@font-face {
  font-display: swap;
  font-family: Furore;
  font-weight: 400;
  src: local("Furore"), url(../fonts/Furore.woff2) format("woff2");
}
@font-face {
  font-display: swap;
  font-family: Play;
  font-weight: 700;
  src: local("Play"), url(../fonts/play-bold.woff2) format("woff2");
}

:root {
  --font-family: "Montserrat", sans-serif;
  --second-family: "Play", sans-serif;
  --third-family: "Furore", sans-serif;
	--fon: #fff;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 350px;
  background-color: var(--fon);
  background-repeat: no-repeat;
  background-position: center top;
  font-family: var(--font-family);
	font-weight: 400;
	font-size: 16px;
	line-height: 150%;
	text-align: center;
	color: #1e1e28;
  height: 100%;
  position: relative;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

body::after {
	content: "";
	width: 100%;
	height: 50%;
	position: absolute;
	bottom: 0;
	left: 0;
	background: #4b5cb4;
}

.wrapper {
  height: 100vh;
  min-height: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 2;
}

main {
  /* flex: 1 1 auto; */
}

.container {
  max-width: 1228px;
  padding: 0 30px;
  margin: 0 auto;
	display: flex;
	gap: 64px;
	align-items: center;
}

.container {

}
.promo {
	display: flex;
	flex-direction: column;
	gap: 64px;
}
.promo__banner {
	display: flex;
	align-items: center;
	gap: 32px;
	justify-content: center;
}

.promo__wrap {
	font-family: var(--third-family);
	font-weight: 400;
	font-size: 32px;
	line-height: 125%;
	letter-spacing: 0.05em;
	text-align: center;
	color: #000;
}
.promo__subtitle {
	font-family: var(--second-family);
	font-weight: 700;
	font-size: 24px;
	line-height: 133%;
	text-align: center;
	color: #000;
}
.promo__image {
	margin-top: -11px;
}
.form {
	border-radius: 32px;	
	padding: 32px;
	width: 478px;
	height: 448px;
	backdrop-filter: blur(64px);
	box-shadow: 0 0 32px 0 rgba(120, 80, 240, 0.5);
	background: #fff;
	margin-left: 120px;
}
.form-hauto {
	height: auto;
}
.form__title {
	font-family: var(--second-family);
	font-weight: 700;
	font-size: 24px;
	line-height: 133%;
	text-align: center;
	color: #1e1e28;
	margin-bottom: 8px;
}
.form__title:not(:has(+ .form__subtitle)) {
	margin-bottom: 32px;
}
.form__subtitle {
	font-family: var(--font-family);
	font-weight: 400;
	font-size: 16px;
	line-height: 150%;
	text-align: center;
	color: #1e1e28;
	margin-bottom: 32px;
}
.form__description {
	font-family: var(--font-family);
	font-weight: 400;
	font-size: 16px;
	line-height: 150%;
	text-align: center;
	color: #1e1e28;
}
.form-auth {
	
}
.form-auth__input {
	border: 1px solid rgba(120, 80, 240, 0.4);
	border-radius: 16px;
	padding: 16px;
	width: 100%;
	height: 56px;
	background-color: rgba(120, 80, 240, 0.1);
	font-family: var(--font-family);
	font-weight: 400;
	font-size: 16px;
	line-height: 150%;
	color: rgba(30, 30, 40, 0.6);
	margin-bottom: 8px;
}
.form-auth__input--password {	
	background-image: url("../img/eye.png");
	background-repeat: no-repeat;
	background-position: right 16px center;
}
.form-auth__input--password:not(:has(+ .form-auth__wrap)) {
	margin-bottom: 32px;
}
.form-auth__input--password:has(+ .form-auth__error.active) {
	margin-bottom: 16px;
}
.form-auth__input:last-child {
	margin-bottom: 16px;
}
.form-auth__wrap {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 32px;
}
.form-auth__wrap:has(+ .form-auth__error.active) {
	margin-bottom: 16px;
}
.form-auth__checkbox {
	display: flex;
	align-items: center;
	gap: 8px;
	font-family: var(--font-family);
	font-weight: 400;
	font-size: 12px;
	line-height: 133%;
	color: rgba(30, 30, 40, 0.6);
}
.form-auth__link {
	font-family: var(--font-family);
	font-weight: 600;
	font-size: 12px;
	line-height: 133%;
	color: rgba(30, 30, 40, 0.6);
}
.form-auth__link:hover {	
	color: #000;
}
.form-auth__error {
	display: none;
	font-family: var(--font-family);
	font-weight: 600;
	font-size: 12px;
	line-height: 133%;
	color: rgba(192, 10, 10, 0.8);
	margin-bottom: 16px;
}
.form-auth__button {
	border-radius: 16px;
	padding: 16px 32px;
	width: 100%;
	height: 56px;
	backdrop-filter: blur(64px);
	background: linear-gradient(270deg, #9600ff 0%, #46beff 100%);
	margin-bottom: 32px;
	font-family: var(--font-family);
	font-weight: 600;
	font-size: 16px;
	line-height: 150%;
	color: #dcdcf0;
	cursor: pointer;
}
.form-auth__button:hover {
	background: linear-gradient(270deg, #46beff 0%, #9600ff 100%);
}
.form-auth:not(:has(+ .form__text)) .form-auth__button {
	margin-bottom: 0;
} 
.form__text {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 8px;
	font-family: var(--font-family);
	font-weight: 400;
	font-size: 12px;
	line-height: 133%;
	color: rgba(30, 30, 40, 0.6);
}
.form__link {
	font-family: var(--font-family);
	font-weight: 600;
	font-size: 12px;
	line-height: 133%;
	color: rgba(30, 30, 40, 0.6);
}

.form__link:hover {
	color: #000;
}

@media(max-width: 1400px) {
	.form {
		margin-left: 60px;
	}
}
@media(max-width: 1200px) {
	.form {
		margin-left: 0px;
	}
}
@media(max-width: 1000px) {
	.promo__wrap {
		font-size: 28px;
	}
}
@media(max-width: 900px) {	
	.container {
		flex-direction: column;
		padding-top: 32px;
		padding-bottom: 32px;
	}
	.promo__image {
		display: none;
	}
}
@media(max-width: 472px) {
	.container {
		padding: 16px;
		gap: 32px;
	}
	.promo {
		gap: 32px;
	}
	.form {
		padding: 16px;
	}
	.promo__wrap {
		font-size: 22px;
	}
	.form {
		width: 100%;
		height: auto;
	}
}