@import url('https://fonts.googleapis.com/css2?family=Epilogue:ital,wght@0,100..900;1,100..900&display=swap');

html{
	height: 100%;
	width: 100%;
	margin: 0;
	-webkit-overflow-scrolling:touch;
}
body{
	margin: 0;
	color: #000000;
	font-size: 14px;
	line-height: 1.2;
	font-family: "Epilogue", sans-serif;
	position: relative;
	width: 100%;
	-webkit-overflow-scrolling: touch;
	background: #fff;
	min-height: 100%;
	min-width: 320px;
}
h1, h2, h3, h4, h5, h6{
	margin: 0 0 30px 0;
	font-weight: 700;
	color: #040404;
	line-height: 1.2;
}
p {
	font-weight: 400;
	font-size: 16px;
	color: #fff;
	line-height: normal;
	margin: 0 0 25px 0;
}
p a{
	text-decoration: underline;
	text-decoration-skip-ink: none;
	color: #fff;
}
img{
	display: block;
	max-width: 100%;
}
a {
	outline: none;
	text-decoration: underline;
}
a:hover {
	text-decoration: none;
}
/*== buttons
---------------------------------*/
button{
	margin:0;
	padding:0;
	border:none;
	background:none;
	cursor:pointer;
	overflow:visible;
	width:auto;
	outline: none;
	box-shadow: none;
	font-family: inherit;
}
button:hover , button:focus , button:active{
	outline: none;
	text-decoration: none;
}
/*== inputs
---------------------------------*/
input{
	outline: none;
	border: none;
}

textarea{
	height: 80px;
	outline: none;
}
.input:not(:last-child){
	margin-bottom: 10px;
}
.input__text{
	font-family: "Epilogue", sans-serif;
	border: 1px solid #d7d7d7;
	width: 100%;
	height: 42px;
	padding: 0 25px 0 11px;
	font-weight: 500;
	font-size: 14px;
	line-height: 16px;
	letter-spacing: -0.01em;
	color: #14273f;
}
.input__text::-webkit-input-placeholder{
	font-weight: 500;
	font-size: 14px;
	line-height: 16px;
	letter-spacing: -0.01em;
	text-transform: capitalize;
	color: #919191;
}
.input__text:-moz-placeholder{
	font-weight: 500;
	font-size: 14px;
	line-height: 16px;
	letter-spacing: -0.01em;
	text-transform: capitalize;
	color: #919191;
}
.input.error .input__text{
	border-color: #ff5d5d;
	background-image: url("../img/att.svg");
	background-position: right 10px center;
	background-repeat: no-repeat;
}
.error__text{
	font-weight: 500;
	font-size: 12px;
	line-height: 1.2;
	letter-spacing: -0.01em;
	text-transform: capitalize;
	color: #ff5d5d;
	margin-top: 6px;
}
textarea{
	height: 80px;
	outline: none;
	resize: none;
}
.b-textarea{
	font-family: "Epilogue", sans-serif;
	border: 1px solid #d7d7d7;
	width: 100%;
	height: 133px;
	padding: 15px 11px 11px 11px;
	font-weight: 500;
	font-size: 14px;
	line-height: 16px;
	letter-spacing: -0.01em;
	color: #14273f;
}
.b-textarea::-webkit-input-placeholder{
	font-weight: 500;
	font-size: 14px;
	line-height: 16px;
	letter-spacing: -0.01em;
	text-transform: capitalize;
	color: #919191;
}
.b-textarea:-moz-placeholder{
	font-weight: 500;
	font-size: 14px;
	line-height: 16px;
	letter-spacing: -0.01em;
	text-transform: capitalize;
	color: #919191;
}

/* End Total css ====*/
*{
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
.b-container{
	position: relative;
	background: radial-gradient(176.9% 99.56% at 100.82% 100%, #f2f6fa 0%, #b7dbe6 100%);
	height: 100vh;
	overflow: auto;
}
.logo{
	margin-bottom: 82px;
	position: relative;
	top: 0;
	transition: 0.3s;
}
.logo img{
	margin: 0 auto 0;
}
.block{
	width: 100%;
	max-width: 362px;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50% , -50%);
	transition: 0.3s;
}
.block__container{
	position: relative;
}
.block__wrap{
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	transition: 0.3s;
}
.block__link{
	display: flex;
	justify-content: center;
	align-items: center;
	font-weight: 700;
	font-size: 14px;
	line-height: 42px;
	letter-spacing: 0.04em;
	text-align: center;
	color: #14273f;
	text-decoration: none;
	transition: 0.3s;
}
.block__link svg{
	margin: 0 0 0 14px;
}
.block__link:hover{
	opacity: 0.7;
}
.block__link:not(:last-child){
	margin-bottom: 6px;
}

.block__form{
	position: absolute;
	top: 50px;
	left: 50%;
	transform: translateX(-50%);
	width: 100%;
	max-width: 362px;
	transition: 0.3s;
	height: 0px;
	opacity: 0;
	visibility: hidden;
	overflow: hidden;
	z-index: -1;
}
.block__form-title{
	font-weight: 900;
	font-size: 48px;
	line-height: 1.2;
	letter-spacing: -0.01em;
	text-transform: capitalize;
	text-align: center;
	color: #14273f;
	margin-bottom: 21px;
}
.block__form-btn{
	width: 100%;
	height: 42px;
	background: #14273f;
	font-weight: 700;
	font-size: 14px;
	line-height: 1.2;
	letter-spacing: 0.24em;
	text-transform: capitalize;
	text-align: center;
	color: #fff;
	cursor: pointer;
	transition: 0.3s;
}
.block__form-btn:hover{
	background: #1d4981;
}
.block__form-text{
	font-weight: 500;
	font-size: 14px;
	line-height: 42px;
	letter-spacing: -0.01em;
	text-transform: lowercase;
	text-align: center;
	color: #919191;
	margin-top: 12px;
}
.block__form-text a{
	color: #14273f;
	text-decoration: none;
}
.block__form-text a:hover{
	text-decoration: underline;
}



.block.active{
	transform: translate(-50% ,0);
	top: 74px;
}
.block.active .logo{
	margin-bottom: 115px;
}
.block.active .block__wrap{
	opacity: 0;
	visibility: hidden;
}
.block.active .block__form{
	top: 0;
	opacity: 1;
	visibility: visible;
	z-index: 5;
	height: 600px;
}


@media (max-width: 767px) {
	.block.active{
		top: 30px;
	}
	.block__form{
		max-width: 310px;
	}
	.logo{
		margin-bottom: 40px;
	}
	.block.active .logo{
		margin-bottom: 60px;
	}
	.block__form-title{
		font-size: 40px;
	}
}