@charset "UTF-8";
/* typography */
/* Fonts */
@font-face {
  font-family: 'RFTone';
  src: url("/fonts/RF-Tone-Regular.woff2") format("woff2"), url("/fonts/RF-Tone-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal; }

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

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

@font-face {
  font-family: 'RFTone';
  src: url("/fonts/RF-Tone-Bold-Italic.woff2") format("woff2"), url("/fonts/RF-Tone-Bold-Italic.woff") format("woff");
  font-weight: bold;
  font-style: italic; }

@font-face {
  font-family: 'RFTone';
  src: url("/fonts/RF-Tone-Light.woff2") format("woff2"), url("/fonts/RF-Tone-Light.woff") format("woff");
  font-weight: 300;
  font-style: normal; }

:root {
  --text-color: black;
  --text-light-color: rgba(0, 0, 0, 0.5);
  --bg-color: #FAF6F0;
  --link-color: #0089ff;
  --link-border-color: rgba(0, 137, 255, 0.25);
  --link-hover-color: #c00000;
  --link-border-hover-color: #c00000;
  --toggle-selected-bg: rgba(0, 137, 255, 0.1);
  --block-border: rgba(0, 0, 0, 0.2); }

@media (prefers-color-scheme: dark) {
  :root {
    --text-color: white;
    --text-light-color: rgba(255, 255, 255, 0.5);
    --bg-color: #1f2023;
    --link-color: #66b8ff;
    --link-border-color: rgba(102, 184, 255, 0.5);
    --link-hover-color: #ff6666;
    --link-border-hover-color: #ff6666;
    --toggle-selected-bg: rgba(255, 255, 255, 0.1);
    --block-border: rgba(255, 255, 255, 0.2); } }

html {
  padding: 0;
  height: 100%;
  font-size: 10px; }

body {
  padding: 0;
  margin: 0;
  height: 100%;
  font-family: "RFTone", "SF UI Text_", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
  font-size: 2rem;
  color: var(--text-color);
  background-color: var(--bg-color); }

.mp-link {
  transition: 0.25s cubic-bezier(0.33, 0.66, 0.66, 1); }
  .mp-link:hover {
    text-decoration: none;
    transition: 0.05s cubic-bezier(0.33, 0.66, 0.66, 1); }
  .mp-link img {
    text-decoration: none; }

.inline-icon {
  vertical-align: center;
  margin-top: -2px; }

.mp-top-nav {
  font-family: "RFTone", "SF UI Text_", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
  font-size: 2rem;
  padding-top: 3.2rem; }
  .mp-top-nav ul {
    list-style-type: none;
    padding: 0;
    text-align: center; }
    .mp-top-nav ul li {
      display: inline;
      margin-right: 1.6rem;
      margin-left: -0.6em;
      padding: 0.4em 0.6em; }
    .mp-top-nav ul li.mp-nav-active {
      padding: 0.4em 0.6em;
      border-radius: 2px;
      background-color: var(--toggle-selected-bg); }
      .mp-top-nav ul li.mp-nav-active span {
        background-color: var(--toggle-selected-bg);
        padding: 0.4em 0.6em;
        margin-left: -0.6em;
        margin-right: -0.6em; }

.mp-links-list {
  font-family: "RFTone", "SF UI Text_", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
  font-size: 2rem;
  margin-top: 8px; }
  .mp-links-list ul {
    list-style-type: none;
    padding: 0; }
    .mp-links-list ul li {
      display: inline;
      margin-left: 2px; }
    .mp-links-list ul li:after {
      content: '·';
      margin-left: 6px; }
    .mp-links-list ul li:last-child:after {
      content: ''; }

.mp-h1 {
  font-family: "RFTone", "SF UI Text_", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
  font-size: 4rem;
  color: var(--text-color);
  border-top: 1px solid var(--block-border);
  padding-top: 4px;
  margin-bottom: 16px; }
  .mp-h1 p {
    padding-top: 12px; }

.sans-base-font p {
  padding-bottom: 1rem; }

.padding-64-0-0-0 {
  padding-top: 64px; }

.padding-32-0-0-0 {
  padding-top: 32px; }

.padding-0-40-0-0 {
  padding-right: 40px; }

.padding-24-0-0-0 {
  padding-top: 24px; }

.padding-16-0-0-0 {
  padding-top: 16px; }

.padding-8-0-0-0 {
  padding-top: 8px; }

.padding-0-8-0-0 {
  padding-right: 8px; }

.padding-0-0-64-0 {
  padding-bottom: 64px; }

.margin-0-0-8-0 {
  margin-bottom: 8px; }

.margin-0-0-16-0 {
  margin-bottom: 16px; }

.margin-0-0-32-0 {
  margin-bottom: 32px; }

.mp-about-me {
  font-family: "RFTone", "SF UI Text_", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
  font-size: 4rem;
  color: var(--text-color);
  margin-top: 56px; }
  .mp-about-me p {
    padding-top: 12px; }
  .mp-about-me .mp-about-me__name {
    font-style: italic; }
  .mp-about-me .mp-about-me__photo {
    margin-top: -8px;
    margin-left: 12px;
    height: 48px;
    border-radius: 40px;
    border: 1px solid var(--block-border); }

.interest-list {
  font-family: "RFTone", "SF UI Text_", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
  font-size: 6rem;
  line-height: 6rem;
  font-weight: 300;
  padding-left: 0;
  margin-top: 2rem; }
  .interest-list p {
    padding-top: 12px; }
  .interest-list li {
    list-style-type: none; }

.mp-vertical-list {
  font-family: "RFTone", "SF UI Text_", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
  font-size: 2rem;
  list-style-type: none;
  padding: 0; }
  .mp-vertical-list li {
    margin-bottom: 1rem;
    line-height: 1.5; }
  .mp-vertical-list .subheader {
    font-weight: bold;
    margin-bottom: 2px; }

.mp-text {
  font-family: "RFTone", "SF UI Text_", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
  font-size: 2rem; }

.mp-image-adaptive-with-caption img {
  width: 100%;
  transform-origin: center center;
  transition: transform 0.3s ease; }

.sans-light {
  font-family: 'RFTone', 'RF Tone', "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 300; }

.page-title-font {
  font-family: 'RFTone', 'RF Tone', "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 500; }

html {
  padding: 0;
  height: 100%; }

body {
  font-family: "RFTone", "SF UI Text_", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
  padding: 0;
  margin: 0;
  height: 100%; }

.container-fluid, .main-page-row, .col-xs-12, .col-sm-6, .col-md-4 {
  height: 100%; }

.link {
  color: var(--link-color);
  border-bottom: 1px solid var(--link-border-color);
  transition: 0.25s cubic-bezier(0.33, 0.66, 0.66, 1); }
  .link:hover {
    color: var(--link-hover-color);
    border-bottom: 1px solid var(--link-border-hover-color);
    text-decoration: none;
    transition: 0.05s cubic-bezier(0.33, 0.66, 0.66, 1); }
  .link img,
  .link picture {
    text-decoration: none;
    border-bottom: none; }

.link-disabled {
  color: var(--text-light-color);
  border-bottom: 1px solid var(--block-border); }
  .link-disabled:hover {
    text-decoration: none;
    color: var(--text-light-color); }

.smallcaps {
  letter-spacing: 0.1em;
  text-transform: uppercase; }

.nobr {
  white-space: nowrap; }

.mk-sidebar-white {
  background-color: var(--bg-color);
  padding: 6rem 3rem 6rem 3rem;
  height: 100%;
  font-family: "RFTone", "SF UI Text_", "Helvetica Neue", "Helvetica", "Arial", sans-serif; }
  .mk-sidebar-white .mk-header-label {
    font-family: 'RFTone', 'RF Tone', "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: 300;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-color);
    line-height: 1.1em;
    font-weight: 400;
    margin-bottom: 0; }
  .mk-sidebar-white .mk-about-page-header-title {
    font-family: 'RFTone', 'RF Tone', "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: 500;
    font-size: 2.5em;
    color: var(--text-color);
    line-height: 1.5em;
    padding-bottom: 0.5em; }
  .mk-sidebar-white .mk-about-page-base-text p {
    line-height: 1.4em;
    margin-bottom: 1em; }
  .mk-sidebar-white .mk-about-page-sidebar-links-horizontal {
    bottom: 30px;
    position: absolute; }
    .mk-sidebar-white .mk-about-page-sidebar-links-horizontal ul {
      padding: 0;
      margin: 0; }
    .mk-sidebar-white .mk-about-page-sidebar-links-horizontal ul li {
      display: inline;
      list-style-type: none;
      padding-right: 20px; }
  .mk-sidebar-white .mk-about-page-sidebar-links-vertical {
    bottom: 30px;
    position: absolute; }
    .mk-sidebar-white .mk-about-page-sidebar-links-vertical ul {
      padding: 0;
      margin: 0; }
    .mk-sidebar-white .mk-about-page-sidebar-links-vertical ul li {
      display: inline;
      list-style-type: none;
      padding-right: 20px; }

@media only screen and (orientation: portrait) {
  .mk-sidebar-white {
    height: 50%;
    position: absolute;
    bottom: 0;
    right: 0;
    padding-top: 25px;
    width: 100%; } }

.project-title {
  font-family: "RFTone", "SF UI Text_", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
  padding-top: 2em;
  padding-bottom: 1em; }
  .project-title .project-title-title {
    font-family: "RFTone", "SF UI Text_", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
    font-size: 4rem;
    display: block; }
    .project-title .project-title-title p {
      padding-top: 12px; }

.project-title-subtitle {
  padding-top: 0.5em; }

.h3 {
  font-family: "RFTone", "SF UI Text_", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
  font-size: 2rem;
  font-weight: 600; }

.project-subtitle {
  font-family: "RFTone", "SF UI Text_", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
  font-size: 4rem;
  display: block; }
  .project-subtitle p {
    padding-top: 12px; }

.toggle-bar-links {
  list-style-type: none;
  padding: 0;
  margin-top: 1em;
  margin-bottom: 2em; }
  .toggle-bar-links li {
    display: inline-block;
    margin-right: 0.7em;
    height: 3rem; }
  .toggle-bar-links .toggle-non-selectable span {
    background-color: var(--toggle-selected-bg);
    padding: 0.4em 0.6em;
    margin-left: -0.6em;
    margin-right: -0.6em; }

.section {
  padding-top: 64px; }

.project-screenshot {
  box-shadow: 2px 2px 12px rgba(0, 0, 0, 0.25);
  margin-bottom: 1.5em;
  display: block;
  height: auto;
  max-width: 100%; }

.screenshot-comment {
  font-size: 1rem;
  line-height: 140%; }

.beforeAfterSlidebar {
  position: relative;
  width: 800px;
  height: 600px; }

.beforeAfterSlidebar div {
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden; }

.topImage {
  border-right: solid 1px maroon; }

.safari-window {
  padding-top: 40px;
  border-radius: 8px;
  background: #FFFFFF url(i/safari-header.png) no-repeat top;
  background-size: 100%;
  width: 1000px;
  -moz-box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.25);
  box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.25); }

.safari-window-light {
  width: 1000px;
  -moz-box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.25);
  box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.25); }

.mobile-window {
  padding-top: 76px;
  padding-left: 22px;
  background: #FFFFFF url(i/mobile-window.png) no-repeat top;
  background-size: 100%;
  width: 447px;
  height: 887px; }

.footer {
  padding-top: 60px; }

.width-100 {
  width: 100%; }

.top-nav {
  padding-top: 10px; }
  .top-nav ul {
    list-style-type: none;
    padding: 0;
    margin-top: 1em; }
    .top-nav ul li {
      display: inline;
      margin-right: 1em; }

.product-image {
  width: 100%;
  height: auto;
  max-width: 800px;
  object-fit: contain;
  border-radius: 8px;
  display: block;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  image-rendering: pixelated 0.25;
  transform-origin: center center;
  transition: transform 0.3s ease;
  /* @2x (1600px) ужимается вдвое на 1x экранах до 800px, на 2x показывается full 1600px */ }

/* Увеличение картинок при hover */
.link:hover .product-image,
.link:hover img {
  transform: scale(1.015); }

.image-link img {
  transform-origin: center center;
  transition: transform 0.3s ease; }

.image-link:hover img {
  transform: scale(1.015); }

/* Текст наследует цвет от .link:hover */
.link:hover .product-title {
  color: inherit; }

.product-card {
  margin-bottom: 40px; }

.product-title {
  border-top: none;
  padding-top: 0;
  margin: 16px 0 8px 0; }

@media (prefers-color-scheme: dark) {
  .product-description {
    color: #ccc !important; }
  .image-link:hover .image-link-content {
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.1); } }
