@font-face {
	font-family: 'Inter-Regular';
	src: url('../fonts/Inter-Regular.ttf') format('truetype');
	font-weight: 500;
	font-style: normal;
}

@font-face {
	font-family: 'Inter-Bold';
	src: url('../fonts/Inter-Bold.ttf') format('truetype');
	font-weight: 700;
	font-style: normal;
}
html, body {
		margin: 0;
		padding: 0;
		height: 100%;
	}

:root {
	--yellow: #FFCD19;
	/* standart */
	--c-ff: #fff;
	--rgb-015: rgba(255, 255, 255, 0.15);
	--rgb-04: rgba(255, 255, 255, 0.4);
	--rgb-045: rgba(255, 255, 255, 0.45);
	--rgb-06: rgba(255, 255, 255, 0.06);
	--rgb-08: rgba(255, 255, 255, 0.08);
}
::-webkit-scrollbar {
	width: 12px;
}

::-webkit-scrollbar-track {
	background: rgba(255, 255, 255, 0.1);
}

::-webkit-scrollbar-thumb {
	background: rgba(255, 255, 255, 0.2);
	border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
	background: rgba(255, 255, 255, 0.2);
}
* {
		font-family: "Inter-Regular", serif;
		font-weight: 400;
		font-style: normal;
		font-size: 16px;
		margin: 0;
		padding: 0;
		color: var(--c-ff);
		text-decoration: none;
	}
img{
	width: 100%;
}
p {
	font-size: 18px;
	font-style: normal;
	margin: 20px 0;
	font-weight: 500;
	line-height: 26px;
	letter-spacing: -0.252px;
}
body{
	background: 
	linear-gradient(63.5deg, rgba(255, 255, 255, 0.04) 25%, transparent 25%, transparent 75%, rgba(255, 255, 255, 0.04) 75%, rgba(255, 255, 255, 0.04)), 
	linear-gradient(-63.5deg, rgba(255, 255, 255, 0.04) 25%, transparent 25%, transparent 75%, rgba(255, 255, 255, 0.04) 75%, rgba(255, 255, 255, 0.04)), 
	#23005A;
	background-size: 140px 275px;
	margin: 5vh 12vw 0 12vw;
	height: 90vh;
}
h1{
	color: var(--yellow);
	font-size: 48px;
	font-family: 'Inter-Bold';
}
section{
	display: flex;
	align-items: flex-start;
	justify-content: center;
	grid-gap: 100px;
	height: 100%;
 }
/* перья и маска */
.feathers-up-left{
	position: absolute;
	top: 0;
	left: 0;
	width: 204px;
	z-index: -1;
}
.feathers-up-right{
	position: absolute;
	transform: scaleX(-1);
	top: 0;
	right: 0;
	width: 334px;
	z-index: -1;
}
.feathers-down-right{
	position: fixed;
	bottom: 72px;
	right: -72px;
	width: 590px;
	transform: scaleX(-1) rotate(270deg);
	z-index: -1;
}
.mask-down-left{
	position: absolute;
	bottom: 72px;
	left: 72px;
	width: 790px;
	z-index: -1;
}
.sunny{
	position: absolute;
    bottom: 50px;
    left: 90px;
    width: 800px;
    height: 350px;
    z-index: -2;
    border-radius: 554px;
    background: #FFCD19;
    filter: blur(178.75px);
}
/* перья и маска конец*/


.logo{
	max-width: 132px;
}
.form-h2{
	padding: 24px 0;
	font-size: 40px;
	font-style: normal;
	font-weight: 600;
	line-height: 48px;
	letter-spacing: -0.88px;
	border-bottom: 1px solid var(--rgb-08);
}


.content{
	width: 50%;
}
.content_none{
	display: none !important;
}

/*форма*/
.form-container {
	display: flex;
    flex-direction: column;
    justify-content: space-between;
	padding: 24px;
	border-radius: 32px;
	background: rgba(255, 255, 255, 0.08);
	backdrop-filter: blur(50px);
	-webkit-backdrop-filter: blur(50px);
	width: 724px;
	height: 100%;
	box-sizing: border-box;
}
.multiStepForm {
    display: flex;
    flex-direction: column;
    flex: 1;
}
.step {
	display: none;
	flex: 1;
}

.step.active {
	display: block;
}

input, select {
	width: 100%;
	padding: 4px 16px;
	margin: 10px 0;
	border-radius: 12px;
	box-sizing: border-box;
	height: 48px;
	background: var(--rgb-06);
	outline: none;
    border: none;
}
input{
	padding: 10px 16px 0px 16px;
}
select{
	width: 100%;
    padding: 4px 16px;
    margin: 10px 0;
    border-radius: 12px;
    box-sizing: border-box;
    height: 48px;
    background: var(--rgb-06);
    outline: none;
    border: none;
    appearance: none; /* Убираем стандартный стиль стрелочки */
    -webkit-appearance: none; /* Убираем стандартный стиль стрелочки для WebKit */
    -moz-appearance: none; /* Убираем стандартный стиль стрелочки для Firefox */
    position: relative;
    background-image: url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="rgba(255, 255, 255, 0.45)" class="bi bi-chevron-down" viewBox="0 0 16 16"><path fill-rule="evenodd" d="M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
}
select.error {
	border: 1px solid red;
}

select.error::placeholder {
	color: red;
}
option {
    background-color: #38196A; /* Цвет фона */
    padding: 16px; /* Отступы внутри option */
}
.navigation {
	display: flex;
	justify-content: space-between;
	margin-top: 20px;
	grid-gap: 24px;
}
button {
	padding: 14px 24px;
	border: none;
	background-color: var(--yellow);
	color: #000;
	border-radius: 12px;
	cursor: pointer;
	font-family: 'Inter-Bold';
}
button#nextBtn {
	width: 100%;
}
button#prevBtn.hidden {
	display: none;
}
button svg{
	fill: var(--c-ff);
}
button:hover {
    background-color: #ffcd19ed;
	color: #000;
}
button:hover svg{
	fill: #000;
}
.dark-btn{
	background-color: var(--rgb-015);
	color: var(--c-ff);
	display: flex;
    align-items: center;
    justify-content: center;
    grid-gap: 8px;
}

/* шаги навигации конец */
.steps {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    width: 100%;
}

.step__item {
    position: relative;
    display: flex;
    align-items: center;
}

.step-indicator {
    padding: 10px 15px;
    border-radius: 50%;
    background-color: var(--rgb-04);
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    z-index: 1;
	color: var(--rgb-045);
}

.step-indicator.active {
    background-color: var(--yellow);
    color: #000;
}

.line {
    flex: 1;
    height: 6px;
    background-color: var(--rgb-04);
    margin: 0 3px;
    border-radius: 40px;
}
.line.active{
	background-color: var(--yellow);
}
/* шаги навигации конец */
.step div{
	position: relative;
}
.label-text{
	color: var(--rgb-045);
}
input:focus ~ .floating-label,
input:not(:focus):valid ~ .floating-label{
	top: 12px;
	left: 16px;
	font-size: 11px;
	opacity: 1;
}
.floating-label {
	position: absolute;
	pointer-events: none;
	left: 16px;
	top: 26px;
	color: var(--rgb-045);
	transition: 0.2s ease all;
}
/*форма конец*/
.step.step-4{
	display: flex;
	flex-direction: column;
}
.step-4 .img{
	/* border-radius: 12px;
	margin-bottom: 24px; */
}
.navigation_last {
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 24px;
    
}

#downloadBtn {
    grid-column: 1 / -1;
}

#backToFormBtn,
#regenerateBtn {
    grid-column: span 1;
}

@media (min-width: 600px) {
    .navigation_last {
        grid-template-columns: repeat(2, 1fr);
    }

    #downloadBtn {
        grid-column: 1 / -1;
    }
}

@media (max-width: 1440px) {
	section{
		grid-gap: 24px;
	}
	.form-container{
		width: 440px
	}
}
@media (max-width: 1280px) {
	body{
		height: auto;
		margin: 0;
	}
	section{
		flex-direction: column;
		margin: 28vw 16px;
	}
	.content{
		width: 100%;
	}
	.mask-down-left,.sunny{
		display: none;
	}
	.feathers-up-left{
		height: 15vw;
		width: auto;
	}.feathers-up-right{
		height: 25vw;
		width: auto;
	}
	.form-container{
		width: 100%;
		margin-bottom:16px;
	}
	.feathers-down-right {
		position: fixed;
		bottom: 12px;
		right: -12vw;
		width: 43vw;
		transform: scaleX(-1) rotate(270deg);
		z-index: -1;
	}
}
@media (max-height: 870px){
	.form-container{
		height: auto !important;
	}
	.mask-down-left {
		bottom: 3%;
		left: 2%;
		width: 75vh;
	}
	.sunny{
		bottom: 2px;
    	left: 2%;
    	width: 74vh;
    	height: 350px;
	}
}
@media (max-width: 800px){
	
	h1{
		font-size: 24px;
	}
	.form-h2{
		font-size: 24px;
		max-width: 75%;
		line-height: 32px;
	}
}

.img {
	display: block;
}

.img-wrapper {
	background-color: #563C80;
	border-radius: 12px;
	margin-bottom: 24px;
	line-height: 0;
}

.loader,
.req-error {
	min-width: 656px;
	min-height: 420px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

@media (max-width: 800px) {
	.loader,
	.req-error {
		min-width: auto;
		text-align: center;
		padding: 30px;
	}
}

.hidden {
	display: none;
}

button[disabled] {
	opacity: 0.5;
	cursor: default;
	pointer-events: none;
}