@import "./reset.css";
@import url('https://fonts.googleapis.com/css2?family=Caveat&display=swap');
/* font-family: "Caveat", cursive; */

@font-face {
	font-family: 'Bebas';
	src: url('../fonts/Bebas/BebasNeueRegular.eot');
	src: local('Bebas Neue Regular'), local('BebasNeueRegular'),
		url('../fonts/Bebas/BebasNeueRegular.eot?#iefix') format('embedded-opentype'),
		url('../fonts/Bebas/BebasNeueRegular.woff') format('woff'),
		url('../fonts/Bebas/BebasNeueRegular.ttf') format('truetype');
	font-weight: normal;
}

@font-face {
	font-family: 'Bebas';
	src: url('../fonts/Bebas/BebasNeueBold.eot');
	src: local('Bebas Neue Bold'), local('BebasNeueBold'),
		url('../fonts/Bebas/BebasNeueBold.eot?#iefix') format('embedded-opentype'),
		url('../fonts/Bebas/BebasNeueBold.woff') format('woff'),
		url('../fonts/Bebas/BebasNeueBold.ttf') format('truetype');
	font-weight: bold;
}

@font-face {
	font-family: 'Bebas';
	src: url('../fonts/Bebas/BebasNeueLight.eot');
	src: local('Bebas Neue Light'), local('BebasNeueLight'),
		url('../fonts/Bebas/BebasNeueLight.eot?#iefix') format('embedded-opentype'),
		url('../fonts/Bebas/BebasNeueLight.woff') format('woff'),
		url('../fonts/Bebas/BebasNeueLight.ttf') format('truetype');
	font-weight: 300;
	font-style: normal;
}

@font-face {
	font-family: 'Bebas';
	src: url('../fonts/Bebas/BebasNeue-Thin.eot');
	src: local('Bebas Neue Thin'), local('BebasNeue-Thin'),
		url('../fonts/Bebas/BebasNeue-Thin.eot?#iefix') format('embedded-opentype'),
		url('../fonts/Bebas/BebasNeue-Thin.woff') format('woff'),
		url('../fonts/Bebas/BebasNeue-Thin.ttf') format('truetype');
	font-weight: 100;
}

@font-face {
	font-family: 'Bebas Book';
	src: url('../fonts/Bebas/BebasNeueBook.eot');
	src: local('Bebas Neue Book'), local('BebasNeueBook'),
		url('../fonts/Bebas/BebasNeueBook.eot?#iefix') format('embedded-opentype'),
		url('../fonts/Bebas/BebasNeueBook.woff') format('woff'),
		url('../fonts/Bebas/BebasNeueBook.ttf') format('truetype');
	font-weight: normal;
}

@font-face {
	font-family: 'Avenir';
	src: url('../fonts/Avenir/AvenirNextCyr-Light.woff');
	src: local('Avenir Next Cyr Light'), local('AvenirNextCyr-Light'),
		url('../fonts/Avenir/AvenirNextCyr-Light.eot?#iefix') format('embedded-opentype'),
		url('../fonts/Avenir/AvenirNextCyr-Light.woff') format('woff'),
		url('../fonts/Avenir/AvenirNextCyr-Light.ttf') format('truetype');
	font-weight: 300;
	font-style: normal;
}

@font-face {
	font-family: 'Avenir';
	src: url('../fonts/Avenir/AvenirNextCyr-Demi.eot');
	src: local('Avenir Next Cyr Demi'), local('AvenirNextCyr-Demi'),
		url('../fonts/Avenir/AvenirNextCyr-Demi.eot?#iefix') format('embedded-opentype'),
		url('../fonts/Avenir/AvenirNextCyr-Demi.woff') format('woff'),
		url('../fonts/Avenir/AvenirNextCyr-Demi.ttf') format('truetype');
	font-weight: 600;
	font-style: normal;
}

@font-face {
	font-family: 'Avenir';
	src: url('../fonts/Avenir/AvenirNextCyr-Italic.eot');
	src: local('Avenir Next Cyr Italic'), local('AvenirNextCyr-Italic'),
		url('../fonts/Avenir/AvenirNextCyr-Italic.eot?#iefix') format('embedded-opentype'),
		url('../fonts/Avenir/AvenirNextCyr-Italic.woff') format('woff'),
		url('../fonts/Avenir/AvenirNextCyr-Italic.ttf') format('truetype');
	font-weight: normal;
	font-style: italic;
}

@font-face {
	font-family: 'Avenir';
	src: url('../fonts/Avenir/AvenirNextCyr-Medium.eot');
	src: local('Avenir Next Cyr Medium'), local('AvenirNextCyr-Medium'),
		url('../fonts/Avenir/AvenirNextCyr-Medium.eot?#iefix') format('embedded-opentype'),
		url('../fonts/Avenir/AvenirNextCyr-Medium.woff') format('woff'),
		url('../fonts/Avenir/AvenirNextCyr-Medium.ttf') format('truetype');
	font-weight: 500;
	font-style: normal;
}

@font-face {
	font-family: 'Avenir';
	src: url('../fonts/Avenir/AvenirNextCyr-Regular.eot');
	src: local('Avenir Next Cyr Regular'), local('AvenirNextCyr-Regular'),
		url('../fonts/Avenir/AvenirNextCyr-Regular.eot?#iefix') format('embedded-opentype'),
		url('../fonts/Avenir/AvenirNextCyr-Regular.woff') format('woff'),
		url('../fonts/Avenir/AvenirNextCyr-Regular.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'Avenir Ultra';
	src: url('../fonts/Avenir/AvenirNextCyr-UltraLight.eot');
	src: local('Avenir Next Cyr Ultra Light'), local('AvenirNextCyr-UltraLight'),
		url('../fonts/Avenir/AvenirNextCyr-UltraLight.eot?#iefix') format('embedded-opentype'),
		url('../fonts/Avenir/AvenirNextCyr-UltraLight.woff') format('woff'),
		url('../fonts/Avenir/AvenirNextCyr-UltraLight.ttf') format('truetype');
	font-weight: 200;
	font-style: normal;
}

@font-face {
	font-family: 'Avenir';
	src: url('../fonts/Avenir/AvenirNextCyr-Heavy.eot');
	src: local('Avenir Next Cyr Heavy'), local('AvenirNextCyr-Heavy'),
		url('../fonts/Avenir/AvenirNextCyr-Heavy.eot?#iefix') format('embedded-opentype'),
		url('../fonts/Avenir/AvenirNextCyr-Heavy.woff') format('woff'),
		url('../fonts/Avenir/AvenirNextCyr-Heavy.ttf') format('truetype');
	font-weight: 900;
	font-style: normal;
}

@font-face {
	font-family: 'Avenir';
	src: url('../fonts/Avenir/AvenirNextCyr-Bold.eot');
	src: local('Avenir Next Cyr Bold'), local('AvenirNextCyr-Bold'),
		url('../fonts/Avenir/AvenirNextCyr-Bold.eot?#iefix') format('embedded-opentype'),
		url('../fonts/Avenir/AvenirNextCyr-Bold.woff') format('woff'),
		url('../fonts/Avenir/AvenirNextCyr-Bold.ttf') format('truetype');
	font-weight: bold;
	font-style: normal;
}

@font-face {
	font-family: 'Avenir';
	src: url('../fonts/Avenir/AvenirNextCyr-Thin.eot');
	src: local('Avenir Next Cyr Thin'), local('AvenirNextCyr-Thin'),
		url('../fonts/Avenir/AvenirNextCyr-Thin.eot?#iefix') format('embedded-opentype'),
		url('../fonts/Avenir/AvenirNextCyr-Thin.woff') format('woff'),
		url('../fonts/Avenir/AvenirNextCyr-Thin.ttf') format('truetype');
	font-weight: 100;
	font-style: normal;
}



html {
	height: 100%; /* sticky footer */
    scroll-behavior: smooth;
}

body {
	height: 100%; /* sticky footer */
	display: flex; /* sticky footer */
	flex-direction: column; /* sticky footer */
	margin: 0;
	font-family: 'Avenir';
    font-weight: 400;
	color: #32353C;
}

.container {
	width: 1100px;
	margin: 0 auto;
	padding-left: 10px;
	padding-right: 10px;
}

body > * {
	flex-shrink: 0; /* sticky footer */
}

/* Utility */

.none {
	display: none !important;
}

/* Sticky Footer */

.footer {
	margin-top: auto; /* sticky footer */

	/* Just for fun */
	text-align: center;
	background-color: #32353C;
	padding: 40px 0 30px 0;
}

.text-orange {
    color: #E94E1B;
    text-transform: uppercase;
}

.text-grey {
    color: #646976;
    text-transform: uppercase;
}

.text-dark {
    color: #32353C;
    font-weight: 450;
}

/* Header */

.header {
    background-image: url(../img/bg-contacts.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: bottom;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-list {
    display: flex;
    column-gap: 56px;
}

.nav-list__item {
    color: #98A1B9;
    transition: color 0.2s ease-in;
}

.nav-list__item:hover {
    color: rgba(233, 78, 27, 0.9);
}

.nav-list__item.active {
    color: #E94E1B;
    font-weight: 700;
}

.center-logo {
    margin-top: 85px;
    margin-bottom: 40px;
}

.center-logo__text {
    text-align: center;
}

.center-logo__text span {
    font-family: 'Bebas';
    font-weight: 700;
    font-size: 36px;
    letter-spacing: 2px;
    color: #E94E1B;
}

.welcome-text {
    position: relative;
    text-align: center;
    margin-bottom: 52px;
}

.welcome-title {
    display: block;
    font-family: 'Bebas';
    color: #E94E1B;
    font-size: 128px;
    font-weight: 200;
    letter-spacing: 23px;
    margin-bottom: 15px;
}

.welcome-title-small {
    position: absolute;
    top: 39%;
    left: 50.4%;
    transform: translate(-53%, -50%);

    color: #fff;
    font-weight: 300;
    font-size: 48px;
    letter-spacing: 4px;
}

.welcome-subtitle {
    position: relative;
    left: -10px;
    font-size: 24px;
    color: #fff;
    letter-spacing: 1px;
}

.arrow-down {
    position: relative;
}

.arrow-down img {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
}

/* MAIN */

.main {
    margin-bottom: 150px;
}

.main-contacts {
    padding: 80px 0 125px 0;
}

.contacts-feedback-title {
    margin-bottom: 15px;
}

.contacts-feedback-title .text-orange {
    font-family: 'Bebas';
    font-weight: 700;
    font-size: 48px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.contacts-feedback-wrapper {
    display: flex;
    column-gap: 71px;
}

.contacts-feedback-subtitle p {
    font-weight: 100;
    font-size: 26px;
    text-transform: uppercase;
    line-height: 30px;
    letter-spacing: 3px;
}

.contacts-feedback-text {
    margin-top: 55px;
}

.contacts-feedback-text p {
    font-weight: 400;
    font-size: 22px;
    line-height: 34px;
}

/* Form */

#form {
    position: relative;
    top: -50px;
    display: flex;
    justify-content: center;
}

.income-wrapper {
    display: flex;
    column-gap: 49px;
    margin-top: 25px;
}

.left-income-wrapper {
    display: flex;
    flex-direction: column;
}

.left-income-section + .left-income-section {
    margin-top: 20px;
}

.left-income-section p {
    padding-left: 8px;
    margin-bottom: 10px;
    color: #646976;
    text-align: left;
}

.income_input-wrapper {
    border: 1px solid #AFB4BF;
    padding: 13px;
    border-radius: 4px;
    width: 270px;
}

.income_input.inputname,
.income_input.inputemail,
.income_input.inputcompany {
    width: 240px;
}

.right-income-wrapper {
    display: flex;
    flex-direction: column;
    column-gap: 43px;
}

.right-income-wrapper p {
    padding-left: 8px;
    margin-bottom: 10px;
    color: #646976;
    text-align: left;
}

.right-income-wrapper textarea {
    border-radius: 4px;
    width: 320px;
    height: 243px;
    resize: none;
    padding: 10px;
    border: 1px solid #AFB4BF;
}

.btn-wrapper {
    display: flex;
    justify-content: end;
    column-gap: 28px;
    margin-top: 43px;
}

.btn-feedback {
    color: #F7F4F4;
    padding: 12px 45px;
    border-radius: 4px;
    background-color: #32353C;
    transition: background-color 0.2s ease-in;
}

.btn-feedback:hover {
    background-color: rgb(65, 68, 75)
}

.btn-feedback.light {
    background-color: #646976;
    transition: background-color 0.2s ease-in;
}

.btn-feedback.light:hover {
    background-color: rgb(80, 85, 98);
}

/* Modal */

.modal {
    display: none;
    position: fixed;
    z-index: 5;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    overflow: auto;
}

.modal_content {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
    text-align: center;
    padding: 75px 0 57px 0;
    width: 580px;
    height: 400px;
    background-color: #32353C;
}

.modal_content p {
    color: #FFF9F9;
}

.modal_content img {
    margin-bottom: 25px;
}

.btn-modal-close {
    margin: 75px auto 0 auto;
    background-color: #E94E1B;
    width: 148px;
    padding: 10px 0;
    border-radius: 4px;
    cursor: pointer;
}

#btn-close {
    font-weight: bold;
    font-size: 18px;
    line-height: 24px;
    color: #F7F4F4;
    cursor: pointer;
}

.contacts-wrapper {
    display: flex;
    justify-content: space-between;
}

.contacts-title {
    margin-bottom: 21px;
}

.contacts-title .text-orange {
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 2px;
}

.contacts-info {
    display: flex;
    flex-direction: column;
    padding-bottom: 11px;
}

.contacts-info {
    line-height: 26px;
    padding-right: 50px;
    border-right: 1px solid #E94E1B;
}

.contacts-info.border {
    border-right: none;
}



/* Footer */

.footer-menu {
    display: flex;
    justify-content: space-between;
    padding-right: 200px;
    margin-bottom: 50px;
}

.first-footer-menu {
    width: 160px;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.first-footer-menu .text-orange {
    font-family: 'Bebas';
    font-size: 40px;
    font-weight: 700;
    line-height: 40px;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.secondary-footer-menu {
    width: 265px;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.secondary-footer-menu .text-orange {
    font-family: 'Bebas';
    text-align: left;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 14px;
    margin-top: 10px;
    display: flex;
    align-items: flex-end;
}

.third-footer-menu .text-orange {
    font-family: 'Bebas';
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 14px;
    margin-top: 10px;
}

.footer-item + .footer-item {
    margin-top: 13px;
}

.footer-item .footer-link {
    display: flex;
    color: #98A1B9;
    justify-content: space-between;
    transition: all 0.3s ease-in;
}

.footer-item .footer-link:hover {
    transform: scale(1.02);
}

.copyright {
    text-align: center;
}

.copyright-text {
    font-weight: 500;
    font-size: 12px;
    text-transform: uppercase;
    color: #646976;
}

.burger {
    display: none;
    position: relative;
    z-index: 5;
    align-items: center;
    justify-content: flex-end;
    width: 18px;
    height: 16px;
}

.burger span {
    height: 2px;
    width: 100%;
    border-radius: 5px;
    transform: scale(1);
    background-color: #fff;
}

.burger::before,
.burger::after {
    content: '';
    position: absolute;
    height: 2px;
    width: 100%;
    background-color: #fff;
    transition: all 0.3s ease-in;
}

.burger::before {
    top: 0;
}

.burger::after {
    bottom: 0;
}

.burger.active span {
    transform: scale(0);
}

.burger.active::before {
    top: 50%;
    transform: rotate(-45deg) translate(0, -50%);
}

.burger.active::after {
    bottom: 50%;
    transform: rotate(45deg) translate(0, 50%);
}

.nav-list__item-menu {
    display: none;
    margin-bottom: 30px;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #FFF;
}

@media (max-width: 450px) {
    .container {
        width: 320px;
        padding-left: 25px;
        padding-right: 25px;
    }

    .main {
        margin-bottom: 40px;
    }

    .header {
        height: 320px;
    }

    .burger {
        display: flex;
    }

    .nav-list.active {
        display: flex;
    }

    .nav-list {
        display: none;
        flex-direction: column;
        align-items: center;
        padding-top: 23px;
        position: fixed;
        height: 320px;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 5;
        overflow-y: hidden;
        background-color: rgba(0, 0, 0, 0.8);
        animation: burgerAnimation 0.5s;
    }

    .nav-list__item-menu {
        display: block;
        margin-bottom: 15px;
    }

    .nav-list__item.active {
        font-size: 13px;
    }

    .nav-list__item {
        font-size: 12px;
        padding: 17px 63px;
        color: #FFF;
        width: 193px;
        text-align: center;
        font-weight: 400;
    }

    .nav-list__item:not(:last-child) {
        border-bottom: 1px solid #E94E1B;
    }

    .nav img {
        width: 49px;
    }

    .center-logo {
        margin-bottom: 0;
        margin-top: 40px;
    }

    .center-logo__img {
        width: 172px;
    }

    .center-logo__text span {
        font-size: 20px;
    }

    .welcome-text {
        margin-bottom: 140px;
    }

    .welcome-title {
        font-size: 48px;
        letter-spacing: 10px;
        margin-top: 50px;
    }

    .welcome-title-small {
        font-size: 20px;
        top: 28%;
        left: 51%;
        font-weight: 200;
    }

    .welcome-subtitle {
        margin: 15px auto 0 auto;
        width: 230px;
        font-size: 13px;
    }

    .main-contacts {
        padding: 30px 0;
    }

    .contacts-title.cnone {
        display: none;
    }

    .contacts-title .text-orange {
        font-size: 14px;
    }

    .contacts-feedback-wrapper {
        flex-direction: column;
    }

    .contacts-feedback-title {
        text-align: center;
    }

    .contacts-feedback-title .text-orange {
        font-size: 32px;
    }

    .contacts-feedback-subtitle p {
        font-size: 20px;
    }

    .contacts-feedback-text {
        margin-top: 25px;
    }

    .contacts-feedback-text p {
        font-size: 14px;
    }

    .contacts-wrapper {
        flex-direction: column;
        row-gap: 30px;
    }

    .contacts-info {
        border-right: unset;
        border-bottom: 1px solid #E94E1B;
        padding-right: 0;
        padding-bottom: 30px;
        font-size: 14px;
    }

    .contacts-info.border {
        border: unset;
    }

    .contacts-info.mborder {
        border: unset;
        padding-bottom: 0;
    }

    .contacts-card {
        text-align: center;
    }

    .talk-to-us {
        padding: 75px 0 50px 0;
    }

    .talk-to-us-title {
        margin-bottom: 20px;
    }

    .talk-to-us .text-grey {
        font-size: 48px;
    }

    .talk-to-us-subtitle {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .feedback .container {
        flex-direction: column;
    }

    .feedback-title {
        text-align: center;
    }

    .feedback-title br {
        display: none;
    }

    .feedback-title span {
        font-size: 48px;
        line-height: 48px;
    }

    .feed-back-subtitle {
        font-size: 16px;
        text-align: center;
    }

    .left-income-wrapper {
        align-items: center;
    }

    .left-income-section p {
        font-size: 12px;
    }

    .income_input-wrapper {
        width: 200px;
        padding: 6px;
    }

    .income-wrapper {
        flex-direction: column;
        row-gap: 40px;
        margin-top: 85px;
    }

    .right-income-wrapper {
        align-items: flex-start;
    }

    .right-income-wrapper textarea {
        width: 250px;
        height: 180px;
    }

    .right-income-wrapper p {
        font-size: 12px;
    }

    .btn-wrapper {
        margin-top: 23px;
    }
    
    .btn-feedback {
        padding: 12px 37px;
        font-size: 13px;
    }

    .footer-menu {
        align-items: center;
        flex-direction: column;
        row-gap: 20px;
    }

    .first-footer-menu .text-orange {
        font-size: 26px;
        margin-bottom: 35px;
    }

    .secondary-footer-menu .text-orange {
        display: block;
        text-align: center;
        margin-bottom: 20px;
        font-size: 16px;
    }

    .third-footer-menu .text-orange {
        font-size: 16px;
    }

    .footer-item .footer-link {
        font-size: 12px;
        justify-content: center;
    }

    .footer-list.follow {
        display: flex;
        justify-content: center;
    }

    .copyright-text {
        font-size: 8px;
    }
}

@keyframes burgerAnimation {
    from {
        opacity: 0;
    } to {
        opacity: 1;
    }
}