@font-face {
  font-style: normal;
  font-weight: normal;
  font-family: "Segoe WP";

  src: local("Segoe WP"), url("./assets/fonts/SegoeWP.woff") format("woff");
}

@font-face {
  font-style: normal;
  font-weight: normal;
  font-family: "Asap";

  src: local("Asap"), url("./assets/fonts/Asap-Regular.otf") format("opentype");
}

@font-face {
  font-style: normal;
  font-weight: normal;
  font-family: "Lucida Sans Regular";

  src: local("Lucida Sans Regular"), url("./assets/fonts/LSANS.woff") format("woff");
}

@font-face {
  font-style: normal;
  font-weight: normal;
  font-family: "Segoe UI Regular";

  src: local("Segoe UI Regular"), url("./assets/fonts/Segoe UI.woff") format("woff");
}

@font-face {
  font-style: normal;
  font-weight: normal;
  font-family: "PT Sans";

  src: url("./assets/fonts/PTS55F-webfont.woff") format("woff");
}

@font-face {
  font-style: normal;
  font-weight: normal;
  font-family: "open_sansregular";

  src: url("./assets/fonts/OpenSans-Regular-webfont.woff") format("woff");
}

@font-face {
  font-style: normal;
  font-weight: normal;
  font-family: "Segoe WP Light";

  src: url("./assets/fonts/SegoeWP-Light.woff2") format("woff2");
}

@media (min-width: 641px) {
  body {
    min-width: 1300px;
    margin: 0 auto;

    background-image: url("./assets/images/header-background.png");
    background-repeat: no-repeat;
  }

  .wrapper {
    width: 1020px;
    margin: 0 auto;
  }

  header {
    display: flex;
    justify-content: space-between;
    height: 140px;
    margin-top: 28px;
  }

  .logo {
    display: flex;
    justify-content: center;
  }

  .logo img {
    margin-top: -1px;
  }

  .logo h1 {
    display: inline-block;
    margin-left: 4px;

    font-style: italic;
    font-size: 41px;
    line-height: 94px;
    font-family: "Lucida Sans", sans-serif;
    text-align: center;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 5px;
  }

  .navbar {
    width: 462px;
    height: 50px;
    margin-top: 34px;
  }

  .navbar ul {
    display: flex;
    height: 100%;

    background: url("assets/images/navbar.svg") no-repeat;
  }

  .navbar ul li {
    display: block;
    margin-top: 9px;

    line-height: 41px;
    text-align: center;

    border-right: 1px solid #b99403;
  }

  .navbar img {
    height: 100%;
    padding-right: 8px;

    vertical-align: middle;
  }

  .navbar a {
    height: 100%;

    font-size: 17px;
    font-family: "Segoe WP", sans-serif;
    vertical-align: middle;
    color: #9b7d08;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 0;
  }

  .navbar a:hover {
    color: red;
  }

  .navbar .contacts li {
    border-right: none;
  }

  .about-us {
    width: 183px;
  }

  .services {
    width: 133px;
  }

  .contacts {
    width: 146px;
    margin-left: 0;
  }

  .center-content {
    display: flex;
    padding-left: 10px;
  }

  .video-1-mobile {
    display: none;
  }

  .video-text {
    padding-top: 80px;
    padding-left: 36px;
  }

  .video-text p {
    font-weight: 400;
    font-size: 63px;
    font-family: "Asap", sans-serif;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
  }

  .the-cool {
    color: #f5c506;
  }

  .the-minimal {
    padding-top: 12px;
    padding-left: 12px;

    color: #ffffff;
  }

  .side-buttons {
    position: relative;
  }

  .left-button,
  .right-button {
    position: absolute;
    top: 132px;
  }

  .right-button {
    right: 0;
  }

  .left-button {
    left: 0;
  }

  .separator {
    height: 68px;
  }

  .columns-background {
    background: url("./assets/images/columns-background.png") no-repeat;
  }

  .wrapper.row-icons {
    display: grid;
    justify-content: center;
    box-sizing: border-box;
    height: 211px;

    grid-gap: 0 0;
    grid-template-columns: repeat(3, 1fr);
  }

  .row-icons .nav-icon {
    display: grid;
    box-sizing: border-box;

    border: 1px solid rgba(0, 0, 0, 0.14);

    grid-gap: 0 0;
    grid-template-rows: 70% 30%;
  }

  .img-icon {
    display: grid;
    align-content: end;
    margin-bottom: 15px;

    justify-items: center;
  }

  .nav-icon h3 {
    display: inline-block;

    font-weight: 300;
    font-size: 27px;
    font-family: "Segoe UI Regular", sans-serif;
    text-align: center;
    color: #000000;
    text-transform: uppercase;
    letter-spacing: 0;
  }

  .nav-icon.better-design h3 {
    margin-left: 19px;
  }

  .nav-icon.customise h3 {
    margin-left: 23px;
  }

  .nav-icon.its-free h3 {
    margin-left: -18px;
  }

  .better-design .img-icon img {
    margin-right: 5px;
  }

  .customise .img-icon img {
    margin: 0 0 2px 22px;
  }

  .its-free .img-icon img {
    margin: 0 21px -3px 0;
  }

  .section1-background {
    height: 510px;

    background-image: url("./assets/images/section1-background.png");
  }

  .section1-background .wrapper {
    height: 100%;
  }

  .section1-background h2 {
    font-weight: 400;
    font-size: 37px;
    line-height: 111px;
    font-family: "pt_sansregular", sans-serif;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: -2.4px;
  }

  .section1-columns {
    display: flex;
  }

  .mobile-row-video {
    display: flex;
    width: 664px;
  }

  .video2-text {
    position: relative;

    width: 340px;
    height: 234px;

    background-color: rgb(236, 158, 3);
  }

  .video2-text .plus {
    position: absolute;
    right: 14px;
    bottom: 14px;
  }

  .video2-text p {
    padding: 17px 0 0 28px;

    font-weight: 300;
    font-size: 29px;
    line-height: 38px;
    font-family: "Segoe WP Light", sans-serif;
    color: #ffffff;
    letter-spacing: -0.5px;
  }

  .twitter {
    position: relative;

    display: flex;
    justify-content: center;
    align-items: center;
    width: 328px;
    height: 234px;
    margin-left: 25px;

    background-color: rgb(236, 158, 3);
  }

  .twitter img {
    margin-top: 19px;
  }

  .twitter p {
    position: absolute;
    top: 10px;
    right: 16px;

    font-weight: 300;
    font-size: 25px;
    line-height: 38px;
    font-family: "Segoe WP", sans-serif;
    color: #ffffff;
    letter-spacing: 0;
  }

  .twitter .plus {
    position: absolute;
    right: 8px;
    bottom: 14px;
  }

  .twitter img.plus:hover,
  .video2-text img.plus:hover {
    width: 22px;
    height: 22px;

    background-color: #f7ff35;
  }

  .time {
    width: 112px;
    height: 86px;

    background-color: rgb(221, 177, 1);
  }

  .time p {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 12px 0 0 4px;

    font-weight: bold;
    font-size: 51px;
    line-height: 38px;
    font-family: "Segoe UI Regular", sans-serif;
    color: #ffffff;
    letter-spacing: 1px;
  }

  .time p span {
    font-size: 21px;
    line-height: 38px;
    font-family: "Segoe UI Regular", sans-serif;
    color: #b26529;
    text-transform: uppercase;
    letter-spacing: 0;
  }

  .section2-background {
    height: 495px;

    background-image: url("./assets/images/section2-background.png");
  }

  .section2-background h2 {
    width: 600px;
    margin: 0 auto;

    font-weight: 400;
    font-size: 43px;
    font-family: "PT Sans", serif;
    color: #f5c506;
    text-transform: uppercase;
  }

  .section2-background .wrapper {
    padding-top: 43px;
  }

  .section1-background form {
    width: 908px;
    margin: 0 auto;
    margin-top: 42px;
  }

  .slider {
    display: block;
    width: 100%;
    height: 15px;

    background: rgb(255, 255, 255);
    border-radius: 10px;
    outline: none;
    opacity: 0.48;

    -webkit-transition: 0.2s;
    transition: opacity 0.2s;

    -webkit-appearance: none;
  }

  .device-container {
    display: flex;
  }

  .device-container .devices img {
    position: relative;
    left: -6px;
  }

  .device-container .list {
    padding: 70px 68px;
    padding-right: 0;

    font-weight: 400;
    font-size: 22px;
    font-family: "Open Sans", sans-serif;
    color: #a9a9a7;
    letter-spacing: 0;
  }

  .shadow-top {
    -webkit-box-shadow: inset 0 -5px 6px 0 rgba(0, 0, 0, 0.17);
    -moz-box-shadow: inset 0 -5px 6px 0 rgba(0, 0, 0, 0.17);
    box-shadow: inset 0 -5px 6px 0 rgba(0, 0, 0, 0.17);
  }

  .shadow-center-el {
    -webkit-box-shadow: inset 0 3px 3px 0 rgba(0, 0, 0, 0.30);
    -moz-box-shadow: inset 0 3px 3px 0 rgba(0, 0, 0, 0.30);
    box-shadow: inset 0 3px 3px 0 rgba(0, 0, 0, 0.30);
  }

  .device-container .list li {
    margin: 16px 0;

    line-height: 24px;
    word-wrap: break-word;
  }

  .device-container .list li::before {
    content: "\2022";
    position: relative;
    top: 10px;

    display: inline-block;
    width: 30px;

    font-weight: bold;
    font-size: 50px;
    line-height: 22px;
    color: #f5c506;
  }

  footer {
    height: 65px;

    background-color: rgb(76, 76, 76);
  }

  footer div.wrapper {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    height: 100%;
  }

  .footer-logo {
    position: relative;

    width: 54px;
    height: 54px;
  }

  .footer-logo img {
    position: absolute;

    margin: 0 auto;
  }

  .logo-footer-normal {
    top: 0;
    left: 0;
  }

  .logo-footer-less {
    top: 1px;
    left: 1px;
  }

  footer p {
    display: inline-block;
    margin: 5px 0 0 6px;

    font-style: italic;
    font-size: 29px;
    font-family: "Lucida Sans Regular", sans-serif;
    text-align: left;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0;
  }

  input[type="range"]::-webkit-slider-thumb {
    width: 200px;
    height: 15px;

    background: #ec9e03;
    border-radius: 10px;
    cursor: pointer;

    -webkit-appearance: none;
  }

  /* All the same stuff for Firefox */
  input[type="range"]::-moz-range-thumb {
    width: 200px;
    height: 15px;

    background: #ec9e03;
    border-radius: 10px;
    cursor: pointer;
  }

  /* All the same stuff for IE */
  input[type="range"]::-ms-thumb {
    width: 200px;
    height: 15px;

    background: #ec9e03;
    border-radius: 10px;
    cursor: pointer;
  }

  .hidden-for-pc {
    display: none;
  }
}

@media (max-width: 640px) {
  body {
    min-width: 640px;
  }

  header {
    display: flex;
    justify-content: space-between;
    height: 62px;
  }

  .logo {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 186px;
    height: 100%;

    background-image: url("./assets/images/backgroung-logo-mobile.jpg");
  }

  .logo img {
    width: 41px;
    height: 41px;
  }

  .logo h1 {
    display: inline-block;
    margin: 5px 8px 0 5px;

    font-style: italic;
    font-size: 19px;
    font-family: "Lucida Sans", sans-serif;
    text-align: center;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 3px;
  }

  .navbar {
    box-sizing: border-box;
    width: 454px;
    height: 62px;

    background-color: #f5c506;
  }

  .navbar ul {
    display: flex;
  }

  .navbar ul li {
    display: block;
    padding-top: 9px;

    line-height: 41px;
    text-align: center;
  }

  .navbar img {
    height: 100%;
    padding-right: 8px;

    vertical-align: middle;
  }

  .navbar a {
    height: 100%;

    font-size: 19px;
    font-family: "Segoe WP", sans-serif;
    vertical-align: middle;
    text-align: center;
    color: #9b7d08;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 0;
  }

  .navbar a:hover {
    color: red;

    background-color: rgba(255, 255, 255, 0.5);
  }

  .navbar .contacts ul li {
    border-right: none;
  }

  .about-us {
    box-sizing: border-box;
    width: 172px;

    border-right: 1px solid rgba(185, 147, 3, 0.5);
  }

  .services {
    box-sizing: border-box;
    width: 133px;

    border-right: 1px solid rgba(185, 147, 3, 0.5);
  }

  .contacts {
    box-sizing: border-box;
    width: 147px;
    margin-left: 0;
  }

  .side-buttons {
    display: none;
  }

  .separator {
    display: none;
  }

  .video-text {
    display: none;
  }

  .video-1 {
    display: none;
  }

  .wrapper .center-content {
    height: 327px;
  }

  div.shadow-top.separator {
    display: none;
  }

  .columns-background {
    width: 100%;
    height: 168px;

    background: url("./assets/images/columns-background-mobile.png") no-repeat;
  }

  .wrapper.row-icons {
    display: grid;
    justify-content: center;
    box-sizing: border-box;
    height: 165px;

    grid-gap: 0 0;
    grid-template-columns: repeat(3, 1fr);
  }

  .row-icons .nav-icon {
    display: grid;
    box-sizing: border-box;

    grid-gap: 0 0;
    grid-template-rows: 70% 30%;
  }

  .img-icon {
    display: grid;
    align-content: end;

    justify-items: center;
  }

  .nav-icon h3 {
    font-weight: 300;
    font-size: 23px;
    font-family: "Segoe UI Regular", sans-serif;
    text-align: center;
    color: #000000;
    text-transform: uppercase;
    letter-spacing: 0;
  }

  .nav-icon.better-design h3 {
    margin-right: 24px;
  }

  .nav-icon.customise h3 {
    margin-left: 18px;
  }

  .nav-icon.its-free h3 {
    margin-left: 4px;
  }

  .better-design .img-icon img {
    width: 89px;
    height: 61px;
    margin: 0 35px 21px 0;
  }

  .customise .img-icon img {
    width: 67px;
    height: 69px;
    margin: 0 0 18px 16px;
  }

  .its-free .img-icon img {
    width: 68px;
    height: 69px;
    margin: 0 8px 18px 0;
  }

  /* section 1 video */
  .mobile-row-video {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    height: 252px;
    padding: 3px 0 0 0;
  }

  .section1-background h2 {
    display: none;
  }

  .video2-text {
    position: relative;

    width: 260px;
    height: 232px;
    padding-right: 38px;

    word-break: break-all;

    background-color: rgb(236, 158, 3);
  }

  .video2-text .plus {
    position: absolute;
    right: 12px;
    bottom: 18px;

    width: 10px;
    height: 10px;
  }

  .video2-text p {
    padding: 17px 0 0 28px;

    font-weight: 300;
    font-size: 29px;
    line-height: 33px;
    font-family: "Segoe WP Light", sans-serif;
    color: #ffffff;
    letter-spacing: 0;;
  }

  .video2-text .plus:hover {
    width: 17px;
    height: 17px;

    background-color: #f7ff35;
  }

  .twitter {
    display: flex;
    align-items: center;
    height: 232px;

    background-color: #f5c507;
  }

  .twitter .plus {
    display: none;
  }

  .hidden-for-mobile {
    display: none;
  }

  .twitter .bird {
    width: 320px;
  }

  .twitter img {
    margin-top: 16px;
    margin-left: 82px;
  }

  .tweets {
    display: grid;
    justify-content: end;
    width: 283px;
    height: 187px;
    margin: 0 auto;

    grid-gap: 4px;
    grid-template-rows: repeat(4, 1fr);
  }

  .tweets p {
    align-self: end;
    width: 284px;
    height: 42px;
    padding-top: 10px;
    padding-left: 15px;

    font-size: 13px;
    font-family: "Arial", sans-serif;
    color: #8f8e8e;
    letter-spacing: 1px;

    background: url("assets/images/message-background.png") no-repeat;
  }

  p.second-tweet {
    background: url("assets/images/message-background2.png") no-repeat;
  }

  p.third-tweet {
    background: url("assets/images/message-background3.png") no-repeat;
  }

  .tweets span {
    display: inline-block;
    padding-left: 13px;
    letter-spacing: 0;
  }

  .tweet-inputs-container {
    align-self: center;

    justify-self: center;
  }

  .input-tweet-text {
    box-sizing: border-box;
    width: 200px;
    height: 29px;

    border: 1px solid rgba(217, 151, 21, 0.75);
    border-radius: 10px 0 0 10px;
  }

  .input-tweet-button {
    box-sizing: border-box;
    width: 70px;
    height: 29px;

    font-size: 15px;
    font-family: "Arial";
    color: #ffffff;
    letter-spacing: 0;

    background: url("assets/images/background-button-input.png") no-repeat;
    border: 1px solid rgba(217, 151, 21, 0.75);
    border-left: none;
    border-radius: 0 10px 10px 0;
  }

  .time {
    display: none;
  }

  .form-slider {
    display: none;
  }

  /*section2 */
  .section2-background {
    height: 465px;

    background-color: rgb(71, 71, 71);
  }

  .section2-background h2 {
    margin-top: -4px;
    margin-left: 20px;

    font-weight: 400;
    font-size: 39px;
    font-family: "open_sansregular", serif;
    color: #f5c506;
    text-transform: uppercase;
  }

  .device-container {
    margin-top: 37px;
    margin-left: 26px;
  }

  .footer-logo {
    position: relative;

    width: 32px;
    height: 32px;
    margin-left: 65px;
  }

  .footer-logo img {
    position: absolute;

    margin: 0 auto;
  }

  .logo-footer-normal {
    top: 0;
    left: 0;
  }

  .logo-footer-less {
    top: 1px;
    left: 1px;
  }

  footer p {
    margin-left: 5px;

    font-style: italic;
    font-size: 17px;
    font-family: "Lucida Sans", serif;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0;
  }

  footer {
    height: 43px;

    background-color: rgb(76, 76, 76);
  }

  footer div.wrapper {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    height: 100%;
  }

  .transparent-row {
    position: relative;
    top: -7px;

    height: 5px;

    background: url(./assets/images/columns-background-mobile.png) no-repeat;
  }

  .transparent-row2 {
    position: relative;
    top: -17px;

    height: 10px;

    background: url(./assets/images/columns-background-mobile.png) no-repeat;
  }
}

.section2-background .wrapper {
  padding-top: 43px;
}

.shadow-bottom {
  -webkit-box-shadow: inset 0 -3px 4px 0 rgba(0, 0, 0, 0.75);
  -moz-box-shadow: inset 0 -3px 4px 0 rgba(0, 0, 0, 0.75);
  box-shadow: inset 0 -3px 4px 0 rgba(0, 0, 0, 0.75);
}
