@font-face {
 font-family: 'Montserrat';
 src: url('fonts/Montserrat-SemiBold.woff2') format('woff2'),
  url('fonts/Montserrat-SemiBold.woff') format('woff');
 font-weight: 600;
 font-style: normal;
 
}

@font-face {
 font-family: 'Montserrat';
 src: url('fonts/Montserrat-Regular.woff2') format('woff2'),
  url('fonts/Montserrat-Regular.woff') format('woff');
 font-weight: normal;
 font-style: normal;
 
}

@font-face {
 font-family: 'Montserrat';
 src: url('fonts/Montserrat-Bold.woff2') format('woff2'),
  url('fonts/Montserrat-Bold.woff') format('woff');
 font-weight: bold;
 font-style: normal;
 
}

@font-face {
 font-family: 'Montserrat';
 src: url('fonts/Montserrat-BoldItalic.woff2') format('woff2'),
  url('fonts/Montserrat-BoldItalic.woff') format('woff');
 font-weight: bold;
 font-style: italic;
 
}

@font-face {
 font-family: 'Montserrat';
 src: url('fonts/Montserrat-Italic.woff2') format('woff2'),
  url('fonts/Montserrat-Italic.woff') format('woff');
 font-weight: normal;
 font-style: italic;
 
}

@font-face {
 font-family: 'Montserrat';
 src: url('fonts/Montserrat-Medium.woff2') format('woff2'),
  url('fonts/Montserrat-Medium.woff') format('woff');
 font-weight: 500;
 font-style: normal;
 
}



html {min-width: 320px;}

 body {position: relative; margin: 0; padding: 0px 0 0 0; height: auto !important; min-height: 100%; min-width:320px; background: #cfb980; font-family: 'Montserrat'; text-size-adjust:100%; -moz-text-size-adjust:100%; -webkit-text-size-adjust:100%; -m-text-size-adjust:100%; -ms-text-size-adjust:100%;}
 html > body {padding: 0;}
 img {padding: 0; margin: 0; border: 0;}
 .cleaner {clear: both;}
 a:hover {text-decoration: none;}
input::-moz-placeholder {opacity: 1; color: #D0D2D2;}
input::-webkit-input-placeholder {opacity: 1; color: #D0D2D2;}
input.error {box-shadow: inset 0 0 5px red;}
input:focus::-moz-placeholder {opacity: 0!important;}
input:focus::-webkit-input-placeholder {opacity: 0!important;}
textarea::-moz-placeholder {opacity: 1; color: #D0D2D2;}
textarea::-webkit-input-placeholder {opacity: 1; color: #D0D2D2;}
textarea:focus::-moz-placeholder {opacity: 0;}
textarea:focus::-webkit-input-placeholder {opacity: 0;}
a {color: #cfb980;}
* {outline: none; box-sizing: border-box;}
.all {visibility: hidden; position: relative; width:100%; max-width: 1100px; margin: 0 auto; padding: 0 0px; box-sizing: border-box;}
.all > * {visibility: visible;}

form {padding: 0; margin: 0; border: 0;}
form fieldset {padding: 0; margin: 0; border: 0;}
button, a {transition: all 0.3s ease; -webkit-transition: all 0.3s ease;}

.container {min-height: 100vh; position: relative; width:100%; overflow: hidden; margin: 0 auto; padding: 0px 0 0 0; box-sizing: border-box;}
p {padding: 0; margin: 0;}


#stats {display: none!important;}

canvas {position: fixed; top: 0; left: 0; width: 100%; height: 100dvh;}

nav {z-index: 50; padding: 50px 45px 80px; position: fixed; width: 269px; left: calc(50% - 550px); background: url(img/nav-bg.png) top left/100% auto no-repeat;}
nav .bottom-bg {overflow: hidden; height: 40px; content: ''; display: block; position: absolute; bottom: -38px; left: 0; width: 100%;}
nav .bottom-bg:after {content: ''; display: block; position: absolute; height: 40px; width: 200%; left: 18px; transform: skew(45deg); background: #fff;}
nav .logo {cursor: pointer; width: 174px; margin: 0 0 50px;}
nav ul {padding: 0; margin: 0; list-style-type: none;}
nav ul li a {height: 48px; line-height: 48px; display: table; margin: 0 -45px; width: calc(100% + 90px); padding: 0 45px; text-decoration: none; font-size: 14px; color: #807f7f; font-weight: bold; text-transform: uppercase;}
nav ul li a:hover, nav ul li a.active {background: url(img/nav-a-bg.png) top left/auto 100% no-repeat; color: #949599;}

.top-lang {padding: 0 0 0 40px; font-size: 14px; font-weight: bold; background: url(img/lang-bg.png) top left/auto 56px no-repeat; position: fixed; z-index: 90; top: 0; left: calc(50% + 350px); width: 200px; line-height: 56px; display: table; text-decoration: none; color: #fff; text-transform: uppercase;}
.top-lang:after {content: ''; display: block; position: absolute; top: 0; left: 100%; bottom: 0; width: 5000px; background: #949599;}
.top-lang span:last-child {display: none;}


.slogan {position: relative; font-size: 60px; line-height: 110%; font-weight: bold;  color: #fff; text-shadow: 4px 4px 4px rgba(173,147,79,0.8); display: flex; min-height: 100dvh; display: flex; align-items: center; padding: 5dvh 0 20dvh 400px;}
.slogan:before {content: ''; width: 3000px; height: 600px; left: 50%; display: block; position: absolute; top: 50%; transform: translate(-50%,-50%); background: url(img/shadow.png) center center no-repeat;}
.slogan .in {position: relative;}
.slogan .in * {transform: translateX(10vw); transition: all 0.6s ease; opacity: 0;}
.slogan .in .visible {transform: none; opacity: 1;}


h1 {transition: all 0.3s ease; z-index: 10; height: 122px; font-size: 30px; text-transform: uppercase; display: flex; align-items: center; padding: 0px 0px 0px 295px; position: relative; width: calc(100% - 55px); margin: 0; max-width: 615px; background: #949599; color: #fff;}
h1.top {transform: translateY(-120px);}
.block.active h1 {position: fixed; top: 0;}
.block.active {padding-top: 122px;}
.active h1:before {content: ''; display: block; position: absolute; top: 0; bottom: 0; left: 600px; right: -128px; background: #cfb980;}
h1:after {content: ''; display: block; position: absolute; top: 0; bottom: 0; width: 200px; right: -66px; transform: skew(45deg); background: #949599;}
h1 span {position: relative; z-index: 2;}

.block {overflow: hidden; min-height: 100dvh; padding: 0 0 240px; position: relative;}
.block .text {position: relative; min-height: 495px; font-size: 16px; line-height: 130%; color: #807f7f; margin-left: 267px; max-width: 475px; background: #f4efe2; padding: 60px 25px;}
.block .text p {padding: 0 0 20px; margin: 0;} 
.block .text .bottom-bg {overflow: hidden; position: absolute; bottom: -139px; left: 0; width: 100%; height: 140px;}
.block .text .bottom-bg:after {width: 200%; position: absolute; left: 48px; background: #f4efe2; content: ''; display: block; height: 140px; transform: skew(45deg);}
.block .left-bg {position: absolute; left: -267px; bottom: 244px; top: 0; background: #949599; width: 267px;}
.block .left-bg:after {width: 100%; position: absolute; left: 0; background: url(img/block-leftbg.png) bottom left/686px auto no-repeat; content: ''; display: block; height: 266px; bottom: -266px;}

.block.long.active h1:before {right: -600px;}
.block.long .text {max-width: 900px;}
/*.block.long .text:before {content: ''; display: block; position: absolute; top: -100px; right: 0; height: 100px; width: 120%; background: #f4efe2; transform: skew(45deg);}
.block.long .text .rek-wrap {transform: translateY(-100px);}
.block.long .text * {position: relative;}*/
.block.long .text .left-bg {position: absolute; top: -100px;}
.block.long .text .bottom-bg {position: absolute;}

.table {font-size: 16px; max-width: 704px; margin: 0px 0 0 0;}
.table table {font-size: 16px; width:100%; border: 0; border-collapse: collapse;}
.table table th {width: 50%; background: #cfb980; padding: 20px 30px; text-align: left;  font-size: 20px; color: #fff; font-weight: bold; line-height: 110%; border-bottom: 8px solid #fff; border-right: 3px solid #ded6c9; }
.table table th:last-child {border-right: 0;}
.table table td {text-align: left; vertical-align: top; padding: 12px 30px; border-right: 2px solid #cfb980; border-bottom: 2px solid #cfb980;}
.table table td:last-child {border-right: 0;}
.table table a {color: inherit; text-decoration: none;}
.block .text .table table p {text-align: left; padding: 0;}


footer {text-align: right; font-size: 16px; color: #ffffff; background: #949599; margin: 100px 0 0 0; position: relative; padding: 50px 0 40px;}

@media all and (min-width:1600px) {
 body {zoom: 120%;}
}

@media all and (max-width:1100px) {
nav {left: 0;}
* {-webkit-appearance: none!important; max-height: 9999999px;}
}

@media all and (max-width:1000px) {
.top-lang {right: -75px; left: auto;}
.slogan {padding: 50px 0 100px 300px; font-size: 50px;}
}



@media all and (max-width:850px) {
.slogan {padding: 50px 0 100px 300px; font-size: 40px;}
}


@media all and (max-width: 700px) {
footer {margin-top: 30px; padding: 20px 0; font-size: 10px;}
footer .all {padding: 0 15px;}
.table table th {padding: 10px 5px; font-size: 10px;}
.table table td {padding: 5px; font-size: 9px;}
.block {padding-bottom: 200px; min-height: 1px;}
.slogan {min-height: 1px; padding: 150px 20px 200px 150px; font-size: 20px;}
nav {padding: 30px 10px; width: 130px;}
nav .logo {width: 84px; margin-bottom: 40px;}
nav ul li a {margin: 0 -10px; width: calc(100% + 20px); padding: 0 10px 0 15px; font-size: 11px; line-height: 30px; height: 30px;}
.block .text {min-height: 95px; padding: 20px 15px; font-size: 13px; margin-left: 130px;}
.block.active {padding-top: 60px;}
h1 {padding-left: 150px; font-size: 16px; height: 60px;}
.top-lang {padding: 0; background: #fff; color: #949599; font-size: 10px; width: 50px; height: 60px; text-align: center; right: 0; }
.top-lang span {display: none;}
.top-lang span:last-child {display: inline;}
}