/* Reset and base styles  */
* {
	padding: 0px;
	margin: 0px;
	border: none;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

/* Links */

a, a:link, a:visited  {
    text-decoration: none;
}

a:hover  {
    text-decoration: none;
}

/* Common */

aside, nav, footer, header, section, main {
	display: block;
}

h1, h2, h3, h4, h5, h6, p {
    font-size: inherit;
	font-weight: inherit;
}

ul, ul li {
	list-style: none;
}

img {
	vertical-align: top;
}

img, svg {
	max-width: 100%;
	height: auto;
}

address {
  font-style: normal;
}

/* Form */

input, textarea, button, select {
	font-family: inherit;
    font-size: inherit;
    color: inherit;
    background-color: transparent;
}

input::-ms-clear {
	display: none;
}

button, input[type="submit"] {
    display: inline-block;
    box-shadow: none;
    background-color: transparent;
    background: none;
    cursor: pointer;
}

input:focus, input:active,
button:focus, button:active {
    outline: none;
}

button::-moz-focus-inner {
	padding: 0;
	border: 0;
}

label {
	cursor: pointer;
}

legend {
	display: block;
}


/* Main */
body {
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: 'Helvetica';
	font-size: 16px;
	font-weight: 300;
}
form {
	display: flex;
	flex-direction: column;
	align-items: center;
}
label {
	display: block;
	margin-bottom: 12px;
}
.input {
	display: flex;
	align-items: center;
	font-size: 14px;
	width: 400px;
	height: 48px;
	border: 1px solid #D0D5DD;
	border-radius: 8px;
	padding-left: 15px;
}
.input:hover {
	transition: all .4s;
	border-color: #6765d07b;
}
.input:active {
	border: 3px solid #6765D0;
	opacity: .4;
	transition: all .2s;
}
.input:focus {
	border: 3px solid #6765d085;
	transition: all .2s;
}

select {
	position: relative;
	width: 400px;
	height: 48px;
	border-radius: 8px;
	background-color: #6765D0;
	padding: 0 15px;
	color: #ffff;
	-webkit-appearance: none;
  	-moz-appearance: none;
	-o-appearance: none;
}
.input__dropdown {
	position: relative;
}
.input__dropdown::after {
	content: '';
	background-image: url('icons/arrow-dropdown.svg');
	position: absolute;
	right: 16px;
	bottom: 16px;
	height: 16px;
	width: 16px;
}
.form__wrapper {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 44px 70px;
	background-color: #ffff;
	border-radius: 18px;
	box-shadow: rgb(162 161 207 / 30%) 0px 8px 24px;
}

.title {
	font-size: 30px;
	font-weight: 800;
	color: #505050;
	margin-bottom: 60px;
	width: 330px;
	text-align: center;

}

.form {
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto;
	height: 100vh;
}


.input__wrapper {
	display: grid;
	gap: 25px 35px;
	grid-template-columns: repeat(2, 400px)

}

.button {
	text-align: center;
	display: flex!important;
	align-items: center;
	justify-content: center;
	width: 400px;
	height: 52px;
	font-weight: 800;
	background-color: #6765D0!important;
	color: #ffff;
	border-radius: 100px;
	margin-top: 42px;
	font-size: 16px;
}

@media (max-width: 1440px) {
	body {
		font-size: 14px;
	}
	label {
		margin-bottom: 6px;
	}
	.title {
		font-size: 25px;
		margin-bottom: 30px;
	}
	.input__wrapper {
		grid-template-columns: repeat(2, 300px)
	}
	.input {
		width: 300px;
		height: 36px;
	}
	select {
		width: 300px;
		height: 36px;
	}
	.input__dropdown::after {
		bottom: 10px;
	}
	.button {
		height: 40px;
		font-size: 14px;
	}
}

@media (max-width: 890px) {
	.form__wrapper {
		padding: 40px;
	}
	.input__wrapper {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: space-between;
		gap: 15px 0;
		width: 100%;
	}
	.input__block {
		width: 100%;
	}
	.input {
		width: 100%;
		height: 46px;
	}
	select {
		width: 100%;
		height: 46px;
	}
	.input__dropdown::after {
		bottom: 15px;
	}
	.button {
		height: 46px;
	}
}

@media (max-width: 560px) {
	body {
		font-size: 16px;
	}
	form {
		width: 350px;
	}
	.button {
		width: 110%;
	}
}

@media (max-width: 465px) {
	form {
		width: 320px;
	}
	.form {
		align-items: center;
	}
	.title {
		margin-bottom: 20px;
	}
	.form__wrapper {
		padding: 0;
		box-shadow: none;
	}
	.button {
		bottom: 30px;
		position: absolute;
		width: 95%;
		height: 48px;
		font-size: 16px;
	}
}