body {
    /* font: 16px 'PT Sans', sans-serif; */
    font-family: system-ui;
    background: url("../img/bg-main.jpg") center top no-repeat;

}

a {
      color: #0071ff;
}

a:hover {
      color: #3c93ff;
}

a:active {
      color: #0071ff;
}

select:required:invalid {
  color: gray;
}
option[value=""][disabled] {

}
option {
  color: black;
}

.form-wrapper {
    box-sizing: border-box;
    width: 100%;
    max-width: 460px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(251, 251, 251, 0.2);
    padding: 5px;
    border-radius: 5px;
}

.contact-form {
    box-sizing: border-box;
    width: 100%;
    max-width: 400px;
    background: #fff;
    padding: 0 30px 30px;
    box-shadow: 0 3px 35px rgba(0, 0, 0, .1);
    border-radius: 2px;
}

.contact-form__title {
    box-sizing: border-box;
    margin: 0 -30px 30px;
    padding: 15px 30px;
    width: calc(100% + 60px);
    line-height: 1.5;
    text-align: center;
    font-size: 20px;
    font-weight: 100;
    text-transform: uppercase;
    color: #000;
    background: url('../img/bg.png') top left repeat, #4a90e8;
    color: #fff;
}

.contact-form__description {
    display: none;
    text-align: center;
    font-size: 18px;
}

.contact-form__input-wrapper {
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.contact-form__input {
    width: 100%;
    height: 50px;
    padding: 0 15px;
    box-sizing: border-box;
    border: 1px solid #e2e2e2;
    background: #fbfbfb;
    border-radius: 5px;
    font: 16px 'PT Sans',
        sans-serif;
    -webkit-appearance: none;
}

.contact-form__text {
    height: 80px;
    padding: 15px;
    resize: vertical;
    font: 16px 'PT Sans',
        sans-serif;
}

.contact-form__checkbox {
    -webkit-appearance: checkbox;
    width: 15px;
    height: 15px;
    margin: 0 15px 0 0;
}

.contact-form__checkbox-label {
    width: calc(100% - 30px);
    font-size: 13px;
}

.contact-form__checkbox-label a {
    text-decoration: none;

}

.contact-form__file {
    padding: 12px 15px;
}

.input-file {
	position: relative;
	display: inline-block;
}
.input-file-btn {
	position: relative;
	display: inline-block;
	cursor: pointer;
	outline: none;
	text-decoration: none;
	font-size: 14px;
	vertical-align: middle;
	color: rgb(255 255 255);
	text-align: center;
	border-radius: 4px;
	background-color: #419152;
	line-height: 22px;
	height: 40px;
	padding: 10px 20px;
	box-sizing: border-box;
	border: none;
	margin: 0;
	transition: background-color 0.2s;
}
.input-file-text {
	padding: 0 10px;
	line-height: 40px;
	display: inline-block;
}
.input-file input[type=file] {
	position: absolute;
	z-index: -1;
	opacity: 0;
	display: block;
	width: 0;
	height: 0;
}
 
/* Focus */
.input-file input[type=file]:focus + .input-file-btn {
	box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
}
 
/* Hover/active */
.input-file:hover .input-file-btn {
	background-color: #59be6e;
}
.input-file:active .input-file-btn {
	background-color: #2E703A;
}
 
/* Disabled */
.input-file input[type=file]:disabled + .input-file-btn {
	background-color: #eee;
}

.contact-form__error {
    font-size: 14px;
    width: 100%;
}

.contact-form__button {
    background: #1c75e4;
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: 240px;
    margin: 30px auto 0;
    border-radius: 5px;
    height: 50px;
    color: #fff;
    text-transform: uppercase;
    font-family: system-ui;
    font-size: 16px;
    font-weight: 100;
    border: none;
    -webkit-appearance: none;
    cursor: pointer;
    outline: none;
    transition: .3s;
    padding: 12px 0 0 0;
}

.contact-form__button:hover {
    transition: .3s;
    background: #308afb;
}

.contact-form__button:active {
    transition: .3s;
    background: #0361d6;
}

@media (max-width: 480px) {
    .form-wrapper {
        padding: 15px;
    }

    .contact-form {
        padding: 0 15px 15px;
    }

    .contact-form__title {
        margin: 0 -15px 30px;
        padding: 15px 30px;
        width: calc(100% + 30px);
        font-size: 18px;
    }

    .contact-form__checkbox {
        margin-top: 1px;
    }

    .contact-form__checkbox-label {
        font-size: 14px;
    }

    .contact-form__input-wrapper {
        align-items: flex-start;
    }

}

/* Стили страницы благодарности */

.thank-you-page {
    background: url('./img/bg.png') top center no-repeat;
    padding: 15px;
}

.thank-you-page__title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 30px;
}

.thank-you-page__descriptor {
    font-size: 20px;
    text-align: center;
    margin-bottom: 30px;
}

.thank-you-page__button {
    box-sizing: border-box;
    width: 100%;
    max-width: 290px;
    margin: 0 auto;
    background: #4a90e8;
    transition: .3s;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 3px;
    height: 50px;
    text-decoration: none;
    color: #fff;
    font-size: 18px;
    -webkit-appearance: none;
    outline: none;
    cursor: pointer;
    font-weight: 700;

}

.thank-you-page__button:hover {
    transition: .3s;
    background: #2eb7ab;
}