.container {
	margin: 0 auto;
	padding: 0 40px;
	max-width: 1360px;
}
.container-b {
	width: 1404px;
	padding: 0 18px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	justify-content: center;
}
/* .container-sm {
	max-width: 466px;
	margin: 0 auto;
} */

h1 {
	font-size: 50px;
	text-align: left;
	margin-bottom: 26px;
	max-width: 833px;
	color: #f7f7f7;
}
h2,
h3,
h4 {
	font-weight: 500;
	color: #131313;
}

.header {
	background: #fff;
}
.header__top {
	padding: 20px 0;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: justify;
	-ms-flex-pack: justify;
	justify-content: space-between;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	background: #fff;
	background-position-x: -200px;
}
.header__link {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	gap: 16px;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
}
.header__link a {
	width: 113px;
}
.header__link a,
.all__link {
	padding-block: 9px;
	border-radius: 10px;
	font-weight: 500;
	font-size: 13px;
	text-align: center;
}
.header__link-login {
	color: var(--black);
	border: 1px solid var(--black);
}
.header__link-login:hover,
.header__link-signup:hover,
.all__link:hover,
.modal__link:hover {
	background-color: var(--black);
	color: #fff;
}
.header__link-signup,
.all__link {
	color: #fff;
	background: var(--red);
}
.header__body {
	padding-bottom: 400px;
	background: url(./../images/bg.png);
	background-repeat: no-repeat;
	background-position: bottom right;
	padding-top: 107px;
	margin-right: -40px;
	margin-left: -40px;
}
.header__body p {
	font-size: 15px;
	color: #f7f7f7;
	max-width: 730px;
	margin-bottom: 39px;
}
.header__body p span {
	color: var(--red);
}
.header__body-link {
	display: block;
	width: 129px;
}
.benefits,
.diagram,
.deposit,
.security {
	padding-top: 120px;
}
.security {
	padding-bottom: 120px;
}
.benefits h2 {
	font-size: 30px;
	text-align: center;
}
.benefits__body {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	gap: 40px;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	margin-top: 40px;
}
.benefits__content {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-ms-flex-direction: column;
	flex-direction: column;
	padding: 20px;
	width: 400px;
	background: #f2f3f5;
	border: 1px solid rgba(69, 69, 69, 0.4);
	border-radius: 20px;
	height: 200px;
}
.benefits__content-top {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	gap: 12px;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	margin-bottom: 16px;
}
.benefits__content-top h4 {
	font-size: 20px;
}
.benefits__content p {
	font-size: 18px;
	color: var(--text);
}
.diagram1,
.diagram2,
.diagram3 {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
}
.diagram2,
.diagram3 {
	display: none;
}

.deposit__body {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: justify;
	-ms-flex-pack: justify;
	justify-content: space-between;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	gap: 25px;
}
.deposit__body h3,
.security h3 {
	font-size: 25px;
}
.deposit__text {
	max-width: 650px;
}
.deposit__text h4 {
	margin-bottom: 25px;
}
.deposit__text ul li {
	color: var(--text);
}
.deposit__text ul li:nth-child(2) {
	margin-top: 16px;
	margin-bottom: 7px;
}
.deposit__link {
	width: 116px;
	margin-top: 30px;
	display: block;
}

.security h3 {
	margin-bottom: 23px;
}
.security p span {
	font-weight: 500;
}
.security__steps {
	margin-top: 44px;
	margin-bottom: 44px;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	gap: 22px 40px;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
}
.security__steps-item {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-ms-flex-direction: column;
	flex-direction: column;
	-webkit-box-pack: justify;
	-ms-flex-pack: justify;
	justify-content: space-between;
	border-radius: 20px;
	width: 398px;
	height: 197px;
	background: #e3eaf4;
	padding: 20px;
}
.security__steps-item h4 {
	font-weight: 500;
	font-size: 40px;
	color: #939aa4;
	opacity: 0.43;
	text-align: right;
}
.security__text {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: end;
	-ms-flex-pack: end;
	justify-content: end;
}
.security__text p {
	max-width: 736px;
	text-align: right;
}

.footer {
	background: var(--black);
	padding: 82px 0;
}
.footer__content {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: justify;
	-ms-flex-pack: justify;
	justify-content: space-between;
}
.footer__link-login {
	color: #fff;
	border: 1px solid #fff;
}
.footer__link-login:hover {
	background-color: #fff;
	color: var(--black);
}

/*Модальное окно*/
#modal-login,
#modal-password,
#modal-signup {
	background: #f2f3f5;
}
.bi-eye {
	color: #000;
}
.password-wrapper {
	border-radius: 12px;
	padding: 20px;
	background: #edeef0;
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.input-box {
	display: flex;
	flex-direction: column;
}
.input-box p {
	font-weight: 500;
	font-size: 12px;
	color: #b3b3ba;
}
.input-box input {
	outline: 0;
	border: 0;
	font-weight: 500;
	font-size: 12px;
	color: #000;
}
.password-wrapper img {
	width: 24px;
	height: 24px;
	cursor: pointer;
}
.password-icon {
	position: absolute;
	right: 20px;
	top: 20px;
	cursor: pointer;
	background: url('./../images/eye.svg');
	width: 20px;
	height: 20px;
	background-repeat: no-repeat;
}
.password-icon:active {
	background: url('./../images/eye-slash.svg');
	background-repeat: no-repeat;
}
.eue-slash {
	position: absolute;
	right: 20px;
	top: 20px;
	cursor: pointer;
	background: url('./../images/eye-slash.svg');
	width: 20px;
	height: 20px;
	background-repeat: no-repeat;
}

#modal-log,
#modal-pas,
#modal-sig {
	background: var(--main);
	width: 100%;
	height: 100%;
	position: fixed;
	top: 0;
	left: 0;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	z-index: 1;
}
.modal__top {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: end;
	-ms-flex-pack: end;
	justify-content: end;
	gap: 14px;
	margin-top: 19px;
}
.modal__top a {
	font-family: var(--font-family);
	font-weight: 700;
	font-size: 16px;
	line-height: 200%;
	color: #000;
}
.modal__top a:hover {
	opacity: 0.8;
}
/* Стили для модального окна через div */
.modal-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 1000;
}

.modal-container {
	position: relative;
	width: 100%;
	max-width: 513px;
	padding: 0 18px;
	box-sizing: border-box;
}

#modal-change-password .modal__body-input {
	margin-top: 0;
}

.modal__body {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}
.back__link {
	display: flex;
	align-items: center;
	font-weight: 500;
	font-size: 14px;
	color: var(--black);
	position: absolute;
	top: 179.5px;
	margin-left: -300px;
}
.modal__body-input,
.modal__body-input1 {
	position: relative;
	background: var(--white);
	border-radius: 16px;
	width: 513px;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-ms-flex-direction: column;
	flex-direction: column;
	padding: 32px;
	margin: 0 auto;
}
.modal__body-input h2,
.modal__body-input1 h2 {
	font-weight: 700;
	font-size: 22px;
	color: #000;
	margin-bottom: 24px;
}
.modal__body-input input {
	background: #edeef0;
	border-radius: 12px;
	height: 64px;
	font-weight: 500;
	font-size: 16px;
	color: #8d8d94;
	padding: 22.5px 20px;
	width: 100%;
	margin-bottom: 12px;
	box-sizing: border-box;
	border: none;
}
.modal__body-input input:hover {
	background: #f5f6f8;
}
#registration input {
	padding-left: 20px;
	margin-bottom: 12px;
}
#registration input,
#entr input {
	padding-left: 20px;
}
#registration p {
	text-align: center;
}
#registration,
#entr {
	margin-bottom: 15px;
	margin-inline: auto;
}
/* .modal__body-input img {
	width: 21px;
	height: 14px;
	margin-top: -37px;
	margin-bottom: 25px;
	margin-left: 10px;
} */

.modal__link {
	border-radius: 6px;
	font-weight: 500;
	font-size: 16px;
	color: var(--white);
	display: block;
	text-align: center;
	padding-block: 22.5px;
	margin-block: 16px;
	background: #ef3124;
}
.modal__body-input a:last-child,
.modal__body-input1 a:last-child {
	font-weight: 500;
	font-size: 20px;
	/* color: #000; */
	text-align: center;
}
#registration .modal__link {
	color: #fff;
}
.modal__body-input a:last-child:hover,
.modal__body-input1 a:last-child:hover {
	opacity: 0.8;
}
.modal__body h4,
.modal__body-reg {
	font-weight: 500;
	font-size: 16px;
	color: var(--black);
}
.modal__body h4 {
	text-align: right;
	margin-bottom: 49px;
}
.modal__body-reg {
	display: block;
	background: var(--gray);
	border-radius: 6px;
	width: 513px;
	padding-block: 16px;
	text-align: center;
	margin-top: 35px;
	margin-bottom: 15px;
}
.modal__body p,
.modal__body p a {
	font-weight: 500;
	font-size: 12px;
	line-height: 133%;
	color: #95949c;
	max-width: 513px;
}
.modal__body p a {
	text-decoration: underline;
}

@media (max-width: 960px) {
}
@media (max-width: 768px) {
}
@media (max-width: 530px) {
	.modal__body-input,
	.modal__body-input1 {
		margin-top: 262px;
		width: 432px;
		margin-inline: auto;
	}
	.modal__body-reg {
		width: 432px;
	}
	.back__link {
		top: 201.5px;
		margin-left: -244px;
	}
}
@media (max-width: 450px) {
	.modal__body-input,
	.modal__body-input1 {
		width: 320px;
	}
	.modal__body-reg {
		width: 320px;
	}
	.back__link {
		margin-left: -120px;
	}
}

@media (max-width: 920px) {
	.benefits__body {
		gap: 20px 18px;
		margin-top: 46px;
	}
	.benefits__content {
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		-webkit-box-orient: vertical;
		-webkit-box-direction: normal;
		-ms-flex-direction: column;
		flex-direction: column;
		padding: 18px 15px;
		width: 328px;
		height: 184px;
	}
	.benefits__content-top {
		gap: 10px;
		margin-bottom: 15px;
	}
	.benefits__content-top img {
		width: 51px;
		height: 51px;
	}
}
@media (max-width: 770px) {
	h1 {
		font-size: 45px;
		margin-bottom: 18px;
		max-width: 445px;
	}
	.header__body {
		padding-top: 75px;
		background-position-x: -560px;
	}
	.header__body p {
		margin-bottom: 21px;
		max-width: 401px;
	}
	.diagram1,
	.diagram3 {
		display: none;
	}
	.diagram2 {
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
	}

	.deposit__text {
		max-width: 673px;
	}
	.deposit__text h4 {
		font-size: 20px;
	}
	.deposit__text ul li {
		font-size: 16px;
	}
	.deposit__text ul li:nth-child(2) {
		margin-top: 25px;
		margin-bottom: 25px;
	}
	.deposit__link {
		width: 129px;
		margin-top: 25px;
	}

	.security__steps {
		margin-top: 22px;
		margin-bottom: 22px;
	}
	.security__steps-item {
		width: 688px;
	}
	.security__steps-item p {
		max-width: 623px;
	}
	.security__text {
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		-webkit-box-pack: end;
		-ms-flex-pack: end;
		justify-content: end;
	}
	.security__text p {
		text-align: center;
	}
}
@media (max-width: 755px) {
	.benefits h2 {
		font-size: 24px;
	}
	.benefits__body {
		gap: 20px;
		margin-top: 23px;
	}
}
@media (max-width: 550px) {
	/* .modal__body-input {
		max-width: 320px;
		padding: 31px 15px 27px 15px;
		margin: 0 auto;
	}
	.modal__body-input h2 {
		font-size: 20px;
	}
	.modal__body-input input {
		width: 280px;
	}
	.modal__link {
		width: 280px;
	}
	.modal__body h4 {
		text-align: right;
		margin-bottom: 49px;
	}
	.modal__body-reg {
		width: 320px;
		margin: 15px auto;
	} */
}
@media (max-width: 490px) {
	h1 {
		font-size: 25px;
		margin-bottom: 20px;
	}
}
@media (max-width: 470px) {
	.footer {
		padding: 30px 0;
	}
	.footer__content {
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		-webkit-box-orient: vertical;
		-webkit-box-direction: normal;
		-ms-flex-direction: column;
		flex-direction: column;
		gap: 64px;
	}
	.footer__link-login {
		color: #fff;
		border: 1px solid #fff;
	}
	.footer__link-login:hover {
		background-color: #fff;
		color: var(--black);
	}
}
@media (max-width: 420px) {
	.container {
		padding: 0 18px;
	}
	.header__body {
		padding-bottom: 328px;
		background-position-x: -895px;
		background-position-y: -70px;
		padding-top: 49px;
		margin-right: -18px;
		margin-left: -18px;
	}

	.header__link a {
		width: 113px;
	}
	.header__body p {
		margin-bottom: 20px;
	}

	.benefits,
	.diagram,
	.deposit,
	.security {
		padding-top: 80px;
	}
	.security {
		padding-bottom: 80px;
	}
}
@media (max-width: 390px) {
	.diagram1,
	.diagram2 {
		display: none;
	}
	.diagram3 {
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
	}

	.deposit__link {
		margin-top: 35px;
	}

	.security h3 {
		margin-bottom: 20px;
	}
	.security p {
		font-size: 16px;
	}

	.security__steps {
		margin-top: 42px;
		margin-bottom: 43px;
	}
	.security__steps-item {
		max-width: 330px;
	}
	.security__steps-item p {
		max-width: 300px;
	}
}
@media (max-width: 370px) {
	.container {
		padding: 0 15px;
	}

	.header__link a {
		width: 100px;
	}
	.header__link {
		gap: 8px;
	}

	.header__body {
		background: url(./../images/bg1.png);
		background-repeat: no-repeat;
		background-position: center right;
	}
}

@media (max-width: 340px) {
	.modal__body-input,
	.modal__body-input1 {
		max-width: 280px;
	}
	.modal__body-input input {
		width: 260px;
	}

	.modal__body-reg {
		width: 280px;
	}
}
