@font-face {
  font-family: 'MuseoSansLight';
  src: url(../fonts/MuseoSansLight.woff) format("woff");
}

@font-face {
  font-family: 'MuseoSansRegular';
  src: url(../fonts/MuseoSansRegular.woff) format("woff");
}

@font-face {
  font-family: 'MuseoSansBold';
  src: url(../fonts/MuseoSansBold.woff) format("woff");
}

@font-face {
  font-family: 'MuseoSansBlack';
  src: url(../fonts/MuseoSansBlack.woff) format("woff");
}

/* CSS reset */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center, dir,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font: inherit;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
}

article, aside, details, figcaption, figure, footer, header, hgroup, main, menu,
nav, section, summary {
  display: block;
}

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

html {
  line-height: 1;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

caption, th, td {
  text-align: left;
  font-weight: normal;
  vertical-align: middle;
}

input, select {
  vertical-align: middle;
}

ol, ul {
  list-style: none;
}

a, a:hover, a:focus {
  text-decoration: none;
  outline: none;
  color: inherit;
}

/* Safari reset style input */
input,
button {
  -webkit-appearance: none;
  -moz-appearance: none;
  outline: none;
}

/* Chrome autofill */
input:-webkit-autofill {
  -webkit-box-shadow: inset 0 0 0 50px white;
  -webkit-text-fill-color: black;
}

/* Text selection */
::-moz-selection {
  background: #3E4651;
  color: #fff;
}
::selection {
  background: #3E4651;
  color: #fff;
}

::-moz-selection {
  background: #3E4651;
  color: #fff;
}

/* End CSS reset */
/* Mixins */
/* End Mixins */
/* All styles */
body {
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}

.container {
  position: relative;
  padding: 0 10px;
  margin: 0 auto;
}

.clearfix:after {
  content: "";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}

.red {
  color: #cb202d;
}


/* End All styles */
/* all */
html {
  font-size: 62.5%;
}

body {
  font-family: "MuseoSansLight";
  font-size: 1.6rem;
  color: #fff;
}

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

.mobile-hidden {
  display: none !important;
}

.section {
  position: relative;
}

.section-2,
.section-3,
.section-4,
.section-5 {
  -webkit-box-shadow: inset 0 0 0 1000px rgba(203, 32, 45, 0.8);
  box-shadow: inset 0 0 0 1000px rgba(203, 32, 45, 0.8);
}

.block-name {
  margin-bottom: 30px;
  border-bottom: 2px solid #fff;
  font-size: 2.4rem;
  font-family: "MuseoSansBold";
  line-height: 1.67;
}

/* 1st */
.logo {
  display: inline-block;
  font-family: "MuseoSansRegular";
  font-size: 3rem;
  color: #cb202d;
}

.logo i {
  background: url(../img/logo.svg) no-repeat;
  position: relative;
  top: 5px;
  display: inline-block;
  width: 36px;
  height: 34px;
}

.logo i.brand {
  background: url(../img/restan.svg) no-repeat;
  position: relative;
  top: 8px;
  display: inline-block;
  width: 95px;
  height: 34px;
}

.phone {
  float: right;
  margin-top: 17px;
  font-size: 1.8rem;
}

.section-1 {
  padding: 15px 0 50px;
  color: #424242;
}

.section-1 .left {
  display: none;
}

.section-1 .right {
  margin-top: 20px;
}

.section-1 p {
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(65, 65, 65, 0.1);
  font-size: 1.4rem;
  line-height: 1.86;
}

h1.block-name {
  border-bottom: none;
}

h1.block-name span {
  position: relative;
}

h1.block-name span:before {
  content: '';
  z-index: -1;
  position: absolute;
  bottom: 5px;
  left: 0;
  height: 4px;
  width: 100%;
  background-color: #cb202d;
}

.btn-text {
  margin-top: 30px;
  font-size: 1.6rem;
}

.btn-wrap {
  margin: 10px -10px 0;
  text-align: center;
}

.apple-big {
  display: inline-block;
  vertical-align: top;
  width: 160px;
  height: 55px;
  border: 1px solid #cb202d;
  border-radius: 6px;
  font-family: "MuseoSansLight";
  color: #cb202d;
  font-size: 1.2rem;
  text-align: center;
  -webkit-transition: all .2s linear;
  transition: all .2s linear;
  margin: 10px;
}

.apple-big a {
  display: block;
  height: 100%;
  padding-top: 8px;
}

.apple-big i {
  display: inline-block;
  vertical-align: middle;
}

.apple-big span:not(.medium) {
  margin-left: 10px;
  display: inline-block;
  vertical-align: middle;
  text-align: left;
  line-height: 1.8rem;
}

.apple-big .medium {
  display: block;
  font-family: "MuseoSansBold";
  font-size: 2rem;
}

.apple-big:hover {
  -webkit-transform: scale(1.1);
  -ms-transform: scale(1.1);
  transform: scale(1.1);
}

.apple-big i {
  background: url(../img/buttons/apple-red.svg) no-repeat;
  width: 25px;
  height: 32px;
}

.google-big {
  display: inline-block;
  vertical-align: top;
  width: 175px;
  height: 55px;
  border: 1px solid #424242;
  border-radius: 6px;
  font-family: "MuseoSansLight";
  color: #424242;
  font-size: 1.2rem;
  text-align: center;
  -webkit-transition: all .2s linear;
  transition: all .2s linear;
  margin: 10px;
}

.google-big a {
  display: block;
  height: 100%;
  padding-top: 8px;
}

.google-big i {
  display: inline-block;
  vertical-align: middle;
}

.google-big span:not(.medium) {
  margin-left: 10px;
  display: inline-block;
  vertical-align: middle;
  text-align: left;
  line-height: 1.8rem;
}

.google-big .medium {
  display: block;
  font-family: "MuseoSansBold";
  font-size: 2rem;
}

.google-big:hover {
  -webkit-transform: scale(1.1);
  -ms-transform: scale(1.1);
  transform: scale(1.1);
}

.google-big i {
  background: url(../img/buttons/play-gray.svg) no-repeat;
  width: 25px;
  height: 25px;
}

/* 2nd */
.section-2 {
  background: url(../img/bg-2nd.jpg) no-repeat center;
  background-size: cover;
  padding: 50px 0 30px;
}

.section-2 .btn-wrap {
  margin-top: 20px;
}

.white-btn .apple-btn {
  background: #fff;
  border-color: #fff;
}

.white-btn .google-btn {
  color: #fff;
  border-color: #fff;
}

.apple-little {
  display: inline-block;
  vertical-align: top;
  width: 111px;
  height: 38px;
  border: 1px solid #fff;
  border-radius: 4px;
  font-family: "MuseoSansLight";
  color: #cb202d;
  font-size: .85rem;
  text-align: center;
  -webkit-transition: all .2s linear;
  transition: all .2s linear;
  background: #fff;
  margin: 5px;
}

.apple-little a {
  display: block;
  height: 100%;
  padding-top: 1px;
}

.apple-little i {
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: scale(0.8);
  -ms-transform: scale(0.8);
  transform: scale(0.8);
}

.apple-little span:not(.medium) {
  margin-left: 2px;
  display: inline-block;
  vertical-align: middle;
  text-align: left;
  line-height: 1.4rem;
}

.apple-little .medium {
  display: block;
  font-family: "MuseoSansBold";
  font-size: 1.4rem;
}

.apple-little:hover {
  -webkit-transform: scale(1.1);
  -ms-transform: scale(1.1);
  transform: scale(1.1);
}

.apple-little i {
  background: url(../img/buttons/apple-red.svg) no-repeat;
  width: 25px;
  height: 32px;
}

.google-little {
  display: inline-block;
  vertical-align: top;
  width: 121px;
  height: 38px;
  border: 1px solid #fff;
  border-radius: 4px;
  font-family: "MuseoSansLight";
  color: #fff;
  font-size: .85rem;
  text-align: center;
  -webkit-transition: all .2s linear;
  transition: all .2s linear;
  margin: 5px;
}

.google-little a {
  display: block;
  height: 100%;
  padding-top: 3px;
}

.google-little i {
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: scale(0.8);
  -ms-transform: scale(0.8);
  transform: scale(0.8);
}

.google-little span:not(.medium) {
  margin-left: 2px;
  display: inline-block;
  vertical-align: middle;
  text-align: left;
  line-height: 1.4rem;
}

.google-little .medium {
  display: block;
  font-family: "MuseoSansBold";
  font-size: 1.4rem;
}

.google-little:hover {
  -webkit-transform: scale(1.1);
  -ms-transform: scale(1.1);
  transform: scale(1.1);
}

.google-little i {
  background: url(../img/buttons/play-white.svg) no-repeat;
  width: 25px;
  height: 25px;
}

p {
  line-height: 1.88;
}

.ff-black {
  font-family: "MuseoSansBlack";
}

.next-slide {
  margin-top: 35px;
  text-align: center;
  font-size: 1.2rem;
}

.next-slide i {
  display: block;
  margin: 20px auto 0;
  background: url(../img/nav-arrow.svg) no-repeat;
  width: 30px;
  height: 30px;
  -webkit-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  transform: rotate(180deg);
  cursor: pointer;
}

/* 3rd */
.section-3 {
  background: url(../img/bg-3rd.jpg) no-repeat center;
  background-size: cover;
  padding: 50px 0 30px;
}

.section-3 .btn-wrap {
  margin-top: 170px;
}

/* 4th */
.section-4 {
  background: url(../img/bg-4th.jpg) no-repeat center;
  background-size: cover;
  padding: 50px 0 30px;
}

.section-4 .btn-wrap {
  margin-top: 170px;
}

/* 5th */
.section-5 {
  background: url(../img/bg-5th.jpg) no-repeat center;
  background-size: cover;
  padding: 50px 0 30px;
}

.iphone-wrap {
  margin: 30px 0 -500px;
}

.img-wrap {
  display: none;
}

/* 6th */
.section-6 {
  color: #424242;
  margin-top: 500px;
}

.section-6 .block-name {
  border-color: #cb202d;
  text-align: center;
}

.section-6 img {
  display: block;
  margin: 30px auto;
  width: 120px;
  height: 120px;
}

.section-6 p {
  text-align: center;
}

.name {
  margin-top: 10px;
  text-align: center;
  font-size: 1.4rem;
  line-height: 1.88;
}

.name span {
  display: block;
  font-family: "MuseoSansBold";
  font-size: 1.6rem;
}

/* 7th */
footer {
  display: table;
  width: 100%;
  margin-top: 40px;
  padding-bottom: 20px;
  font-size: 1.4rem;
  text-align: center;
}

footer .social-links {
  display: table-header-group;
}

.copyright {
  display: table-footer-group;
}

.copyright a {
  text-decoration: underline;
}
.copyright a:hover {
  color: #cb202d;
}

.grey-btn {
  margin: 20px 0 10px;
}

.grey-btn .apple-little {
  color: #424242;
  border-color: #424242;
}

.grey-btn .apple-little i {
  background: url(../img/buttons/apple-gray.svg) no-repeat;
}

.grey-btn .google-little {
  color: #424242;
  border-color: #424242;
}

.grey-btn .google-little i {
  background: url(../img/buttons/play-gray.svg) no-repeat;
}

.social-links li {
  display: inline-block;
  vertical-align: middle;
  margin-right: 15px;
}

.social-links li:nth-child(1) i {
  background: url(../img/socials/social-red-vk.svg) no-repeat;
  width: 21px;
  height: 12px;
}

.social-links li:nth-child(2) i {
  background: url(../img/socials/social-red-odn.svg) no-repeat;
  width: 12px;
  height: 20px;
}

.social-links li:nth-child(3) i {
  background: url(../img/socials/social-red-fb.png) no-repeat;
  background-size: cover;
  width: 16px;
  height: 16px;
}

.social-links li:nth-child(4) {
  margin-right: 0;
}

.social-links li:nth-child(4) i {
  background: url(../img/socials/social-red-insta.png) no-repeat;
  background-size: cover;
  width: 18px;
  height: 18px;
}

.social-links i {
  display: block;
  -webkit-transition: all .3s linear;
  transition: all .3s linear;
}

.social-links i:hover {
  -webkit-transform: scale(1.2);
  -ms-transform: scale(1.2);
  transform: scale(1.2);
}

/* EXTRA SMALL */
@media screen and (min-width: 480px) {
  .container {
    height: 550px;
  }
  .d-ib-wrap {
    font-size: 0;
  }
  .section-1 {
    padding: 0;
  }
  .section-1 .right {
    margin-top: 20px;
  }
  .section-1 .right img {
    display: inline-block;
    vertical-align: middle;
    width: 50%;
    max-width: 270px;
  }
  .section-1 h1 {
    display: inline-block;
    vertical-align: middle;
    padding-left: 20px;
    width: 50%;
    font-size: 2.2rem;
    margin: 0;
  }
  .section-1 p {
    margin-top: 20px;
  }
  .btn-wrap {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
  }
  .btn-wrap div {
    margin: 0;
  }
  .btn-wrap div:first-child {
    margin-right: 10px;
  }
  .section-2 {
    padding: 0;
  }
  .next-slide {
    margin-top: 0;
    position: absolute;
    bottom: 0;
    right: -webkit-calc(50% - 62px);
    right: calc(50% - 62px);
  }
  .btn-wrap {
    margin-top: 20px;
  }
  .section-3 {
    padding: 0;
  }
  .section-3 .btn-wrap {
    margin-top: 20px;
  }
  .section-4 {
    padding: 0;
  }
  .section-4 .btn-wrap {
    margin-top: 20px;
  }
  .section-5 {
    padding: 0;
  }
  .section-5 .left {
    width: 50%;
    display: inline-block;
  }
  .section-5 .btn-wrap {
    text-align: center;
  }
  .section-5 .btn-wrap div:first-child {
    margin: 0 5px 10px 5px;
  }
  .section-5 .apple-big {
    border-color: #fff;
    background: #fff;
  }
  .section-5 .google-big {
    border-color: #fff;
    color: #fff;
  }
  .section-5 .google-big i {
    background: url(../img//buttons/play-white.svg) no-repeat;
  }
  .section-5 p {
    line-height: 1.5;
  }
  .iphone-wrap {
    display: none;
  }
  .img-wrap {
    display: block;
    float: right;
    width: 50%;
  }
  .img-wrap img {
    width: 220px;
    display: block;
    margin: auto;
  }
  .section-6 {
    margin-top: 0;
  }
  .section-6 .block-name {
    margin: 0;
    font-size: 1.7rem;
  }
  .section-6 img {
    margin-top: 10px;
    margin-bottom: 10px;
  }
  .section-6 p {
    line-height: 1.3;
    font-size: 1.4rem;
  }
  footer {
    position: absolute;
    bottom: 0;
    margin-top: 10px;
  }
  footer .btn-wrap {
    text-align: center;
  }
}

/* SMALL */
@media screen and (min-width: 768px) {
  .content {
    margin-left: 240px;
  }
  .section-1 h1 {
    font-size: 3.2rem;
  }
  .section-6 .block-name {
    font-size: 2.4rem;
  }
  .section-6 p {
    font-size: 1.6rem;
    line-height: 1.88;
  }
  .section-6 img {
    margin-top: 25px;
    margin-bottom: 25px;
  }
  footer {
    left: 0;
    padding: 0 10px;
    text-align: right;
  }
  footer .btn-wrap {
    display: inline-block;
    margin: 0 40px 0 0;
    position: static;
  }
  footer .social-links {
    display: block;
    float: right;
    margin-top: 17px;
  }
  .copyright {
    float: left;
    margin-top: 15px;
  }
  #moveUp {
    position: relative;
    left: -3px;
    top: 2px;
    cursor: pointer;
    background: url(../img/nav-arrow.svg) no-repeat;
    width: 30px;
    height: 30px;
  }
  #moveDown {
    position: relative;
    cursor: pointer;
    background: url(../img/nav-arrow.svg) no-repeat;
    -webkit-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    transform: rotate(180deg);
    width: 30px;
    height: 30px;
    left: -4px;
  }
}

/* MEDIUM */
@media screen and (min-width: 992px) {
  .mobile-visible {
    display: none;
  }
  .mobile-hidden {
    display: block !important;
  }
  .block-name {
    font-size: 4.4rem;
  }
  .container {
    padding: 0 15px;
  }
  .section-1 {
    font-size: 0;
  }
  .section-1 .container {
    padding: 0;
  }
  .section-1 .left {
    margin-top: 0;
    width: 50%;
    display: inline-block;
    vertical-align: middle;
  }
  .section-1 .left span {
    display: none;
  }
  .section-1 .right {
    display: inline-block;
    vertical-align: middle;
    margin: 0;
    width: 50%;
    padding-left: 50px;
    padding-right: 15px;
  }
  .section-1 .right img {
    display: none;
  }
  .section-1 .block-name {
    padding: 0;
    width: 100%;
    font-size: 2.4rem;
    margin: 20px 0 10px;
  }
  .section-1 .btn-wrap {
    position: static;
  }
  .section-1 .social-links {
    position: absolute;
    right: 15px;
    bottom: 0;
  }
  .btn-text {
    margin: 10px 0 20px;
  }
  .btn-wrap {
    position: absolute;
    left: 0;
    bottom: 0;
  }
  .content {
    position: relative;
    margin-left: 275px;
    min-height: 450px;
  }
  .pos-abs .logo {
    width: 100px;
    height: 100px;
    background: #fff;
    text-align: center;
    position: absolute;
    top: -50px;
    left: 30px;
  }
  .pos-abs .logo i {
    margin: 8px 0 0px;
    height: 45px;
    width: 45px;
  }
  .pos-abs .logo i.brand {
      margin: 0px;
      height: 34px;
      width: 95px;
      margin-top: -6px;
  }
  .pos-abs .phone {
    margin: 0;
    position: absolute;
    right: 15px;
    top: -50px;
  }
  .social-white {
    position: absolute;
    right: 0;
    bottom: 0;
  }
  .social-white li:nth-child(1) i {
    background: url(../img/socials/social-white-vk.svg) no-repeat;
  }
  .social-white li:nth-child(2) i {
    background: url(../img/socials/social-white-odn.svg) no-repeat;
  }
  .social-white li:nth-child(3) i {
    background: url(../img/socials/social-white-fb.png) no-repeat;
    background-size: cover;
  }
  .social-white li:nth-child(4) i {
    background: url(../img/socials/social-white-insta.png) no-repeat;
    background-size: cover;
  }
  .section-3 .apple-little,
  .section-4 .apple-little {
    color: #fff;
    background: transparent;
  }
  .section-3 .apple-little i,
  .section-4 .apple-little i {
    background: url(../img/buttons/apple-white.svg) no-repeat;
  }
  .section-5 .left {
    display: inline-block;
    width: 50%;
  }
  .img-wrap {
    float: right;
    width: 50%;
  }
  .img-wrap img {
    width: 320px;
    margin: auto;
    display: block;
  }
  .iphone-wrap {
    margin: 0;
  }
  .iphone-wrap img {
    display: none;
  }
  .section-6 .logo {
    top: -65px;
  }
  .section-6 .phone {
    top: -65px;
  }
  .section-6 .block-name {
    width: 600px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* LARGE */
@media screen and (min-width: 1200px) {
  .container {
    max-width: 1140px;
    height: auto;
  }
  .section-1 .container {
    max-width: 100%;
  }
  .section-1 .block-name {
    font-size: 4rem;
  }
  .section-1 .right {
    max-width: 850px;
    position: relative;
  }
  .section-1 .social-links {
    position: static;
    margin-top: 50px;
  }
  .down-btn {
    background: url(../img/down-btn.svg) no-repeat;
    width: 60px;
    height: 60px;
    position: absolute;
    right: 0;
    bottom: -20px;
    cursor: pointer;

  }
  .pos-abs .logo {
    top: -100px;
  }
  .pos-abs .phone {
    top: -100px;
  }
  .section-5 .logo {
    top: -70px;
  }
  .section-5 .phone {
    top: -70px;
  }
  .section-6 .block-name {
    font-size: 4.4rem;
  }
  .section-6 .logo, .section-6 .up-btn, .section-6 .phone {
    top: -55px;
  }
  .up-btn {
    background: url(../img/down-btn.svg) no-repeat;
    -webkit-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    transform: rotate(180deg);
    width: 60px;
    height: 60px;
    position: absolute;
    left: -webkit-calc(50% - 30px);
    left: calc(50% - 30px);
    top: -60px;
    cursor: pointer;
  }
  footer {
    position: static;
  }
}

@media screen and (max-width: 767px) {
  #fp-nav {
    display: none !important;
  }
}

@media (min-width: 992px) and (max-height: 650px){
  .pos-abs .logo {
    top: -20px;
  }
  .pos-abs .phone{
    top: -20px;
  }
  .img-wrap img{
    width: 280px;
  }

  #fp-nav{
    top: 60%;
  }
}

@media (min-width: 1200px) and (max-height: 700px){
  .pos-abs .logo {
    top: -50px;
  }
  .pos-abs .phone{
    top: -50px;
  }

  .img-wrap img{
    width: 280px;
  }

  .section-6 .logo{
    top: -30px;
  }

  .section-6 .phone{
    top: -30px;
  }

  .section-6 .block-name{
    line-height: 5rem;
  }

  #fp-nav{
    top: 60%;
  }
}
