/* fonts */
@import url('https://fonts.googleapis.com/css?family=Montserrat:400,700');

@font-face {
  font-family: "Helvetica Neue";
  src: url('../fonts/helveticaneuecyr-light.otf');
}

@font-face {
  font-family: "AvenirNextLTPro-Demi";
  src: url('../fonts/AvenirNextLTPro-Demi.otf');
}

/* fonts */

body{
  font-family: "Helvetica Neue", Arial, sans-serif;
  margin: 0;
  overflow-x: hidden;
}

h1,h2,h3,p{
  margin: 0;
  font-weight: bold;
}

h1 {
  font-size: 40px;
}

h2 {
  font-size: 22px;
}

ul,li {
  margin: 0;
  padding: 0;
}

body * {
  box-sizing: border-box;
}

.overlay {
  position: absolute;
  width: 100%;
  height: 100vh;
  background-color: rgba(29,29,31,.6);
  z-index: 3;
  opacity: 0;
  transition: opacity .6s cubic-bezier(.645,.045,.355,1);
  pointer-events: none;
}

.overlay-active {
  pointer-events: auto;
  opacity: 1;
}


/* header-line */
.header-line {
  z-index: 2;
  position: -webkit-sticky;position: sticky;
  top: 0;
  width: 100%;
  height: 50px;
  background-color: #FFF;
  border-bottom: 1px solid rgb(222, 223, 224);
}

.header-line .fa-bars {
  display: inline-block;
  cursor: pointer;
  color: #222;
  width: 10%;
  padding-left: 25px;
  padding-top: 15px;
  text-align: left;
  font-size: 22px;
}

.header-line .logo {
  display: inline-block;
  font-family: "Helvetica Neue",Arial,sans-serif;
  font-weight: bolder;
  font-size: 25px;
  letter-spacing: 0.1em;
  width: 80%;
  text-align: center;
}

.header-line .undefined-btn {
  width: 80%;
  display: inline-block;
}
/* header-line */


/* navmenu */
.nav-menu {
  position: absolute;
  top: 0;
  left: 0;
  height: 100vh;
  width: 281px;
  background-color: #1D1D1F;
  padding: 50px;
  padding-top: 100px;
  transform: translateX(-281px);
}

.nav-menu span.nav-menu-title{
  display: block;
  color: #fff;
  font-size: 15px;
  margin-top: 10px;
  margin-bottom: 40px;
}

.nav-menu li {
  list-style-type: none;
  padding: 18px 0;
  transition: all .5s cubic-bezier(.39,.575,.565,1);
  cursor: pointer;
}

.nav-menu li:hover {
  transform: translateX(4px);
}

.nav-menu li:hover a{
  color: #fff;
}

.nav-menu li a, .nav-menu span{
  font-family: "AvenirNextLTPro-Demi", Arial, sans-serif;
  color: #9c9c9c;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: .2em;
}

.nav-menu li.active-link a{
  color: #fff;
}

.nav-menu-icons-wrapper {
  position: absolute;
  display: -webkit-flex;
  display: -ms-flex;
  display: flex;
  bottom: 0;
  left: 0;
  width: 100%;
  border-top: 1px solid #333;
}

.nav-menu-icon {
  display: inline-block;
  width: 33.3%;
}

.nav-menu-icon a {
  display: block;
  font-size: 19px;
  color: #BCBCBC;
  text-align: center;
  padding: 15px 0;
  transition: all .5s ease;
}

.nav-menu-icon a:hover {
  background-color: #000;
  color: #fff;
}

.nav-menu-icon:nth-child(1) a {
  border-right: 1px solid #333;
}

.nav-menu-icon:nth-child(2){
}

.nav-menu-icon:nth-child(3) a {
  border-left: 1px solid #333;
}

.open-menu {
  transition: all 0.6s cubic-bezier(.645,.045,.355,1);
  transform: translateX(281px);
}

.close-menu {
  transition: all 0.6s cubic-bezier(.645,.045,.355,1);
  transform: translateX(0px);
}
/* navmenu */

/* main-slider */
.main-slider {
  height: 100vh;
  overflow: hidden;
  position: relative;
}

.main-slider-overlay {
  z-index: 1;
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,.35);
}

.main-slider-back-overlay {
  z-index: -1;
  position: absolute;
  width: 100%;
  height: 100vh;
  background-color: #000;
  opacity: 0.7;
}

.main-slider img {
  width: 100%;
}

.main-slider img.ng-enter, .main-slider img.ng-leave {
  transition: all 3s ease;
}

.main-slider img.ng-enter {
  transform: translateX(100%);
}

.main-slider img.ng-enter-active {
  transform: translateX(0);
}

.main-slider img.ng-leave {
  transform: translateX(0) translateY(-100.5%);
}

.main-slider img.ng-leave-active {
  transform: translateX(-100%) translateY(-100.5%);
}

/* .main-slider img.ng-leave-stagger {
  transition-delay: 0.2s;
  transition-duration: 0;
} */

.main-slider-content {
  position: absolute;
  z-index: 1;
  width: 100%;
}

.main-slider-text {
  text-align: center;
  font-size: 56px;
  color: #fff;
  z-index: 2;
  width: 1180px;
  margin: 0 auto;
  margin-top: 220px;
  margin-bottom: 60px;
}

.main-slider-text p {
  font-weight: bold;
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: 2px;
}

.main-slider-buttons {
  display: flex;
  justify-content: space-around;
  z-index: 2;
  border: red;
  width: 550px;
  margin: 0 auto;
}

.main-slider-buttons a {
  padding: 12px 32px;
  text-decoration: none;
  color: #fff;
  border: 1px solid rgba(255,255,255,.6);
  background: rgba(0,0,0,.5);
  font-size: 20px;
  font-weight: bold;
  font-family: 'Montserrat', Arial, sans-serif;
  transition: all ease .5s;
}

.main-slider-buttons a:hover {
  background: rgba(150,150,150,.5);
}

.main-slider-bars-wrapper {
  display: flex;
  margin: 0 auto;
  margin-top: 150px;
  width: 155px;
  justify-content: space-between;
}

.main-slider-bar {
  display: inline-block;
  width: 46px;
  height: 7px;
  background: #fff;
  cursor: pointer;
  opacity: 0.4;
  background: #fff;
}

.main-slider-bar-active {
  opacity: 0.7;
}
/* main-slider */

/* main-page */
.main-page {
  margin-top: -50px;
}

.main-page .about h1,h2 {
  font-weight: bolder;
}

.main-page .about {
  font-family: "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 1.75px;
  padding: 60px 0;
  /* background: linear-gradient(to bottom,rgb(244, 244, 246), rgb(260, 260, 260)); */
  background: rgb(244, 244, 246);
}

.main-page .about-wrapper {
  margin: 0 auto;
  width: 1180px;
}

.main-page .about h1 {
  text-align: center;
  font-size: 30px;
  color: #2A2627;
  margin-bottom: 80px;
}

.main-page .about h1::after {
  content: '';
  display: block;
  position: relative;
  top: 35px;
  left: 0;
  right: 0;
  margin: 0 auto;
  height: 2px;
  width: 100px;
  background-color: #000;
}

.main-page .about-description {
  text-align: center;
  margin-bottom: 35px;
}

.main-page .about-item-wrapper {
  display: flex;
  justify-content: space-between;
}

.main-page .about-item {
  width: 30%;
  height: 283px;
  position: relative;
  z-index: 1;
  perspective: 600px;

}

.main-page .about-item-first-side {
  text-align: center;
  background-color: #fff;
  padding: 40px 30px;
  box-shadow: 0 0 22px #cacaca;
  /* border: 1px solid rgba(29, 29, 31,.1); */
  position: absolute;
  transform: rotateY(0deg);
  background: linear-gradient(to top,rgb(247, 247, 247), rgb(260, 260, 260));
}

.main-page .about-item-second-side {
  display: block;
  position: absolute;
  background-color: #1D1D1F;
  padding: 40px 30px;
  box-shadow: 0 0 22px #cacaca;
  width: 100%;
  height: 283px;
  transform: rotateY(90deg);
  text-align: center;
  cursor: pointer
}

.main-page .about-item-second-side span {
  display: inline-block;
  color: #fff;
  font-size: 29px;
  margin-top: 85px;
  transform: scale(-1, 1);
  opacity: 0;
  transition: all 1.6s ease;
}

.main-page .about-item:hover .about-item-first-side{
  transform: rotateY(90deg);
}

.main-page .about-item:hover .about-item-second-side{
  transform: rotateY(180deg);
  opacity: 1;
}

.main-page .about-item:hover .about-item-second-side span {
  opacity: 1;
}

.main-page .about-item-img {
  margin-bottom: 35px;
}

.main-page .about-item-img i {
  font-size: 50px;
  color: #1D1D1F;
}

.main-page .about-item h2 {
  color: #2A2627;
  margin-bottom: 25px;
}
/* main-page */
