@font-face {
    font-family: inter;
    src: url(/fonts/Inter-VariableFont.ttf);
}

@keyframes fadeIn {
  from {
    transform: translate(-50%, 50%);
    opacity: 0;
    visibility: hidden
  }

  to {
    transform: translate(-50%, 0);
    opacity: 1;
    visibility: visible
  }
}

@keyframes fadeOut {
  from {
    transform: translate(-50%, 0);
    opacity: 1;
    visibility: visible
  }

  to {
    transform: translate(-50%, 50%);
    opacity: 0;
    visibility: hidden
  }
}

:root {
    color-scheme: only dark;
    --green: #40F99B;
}

body {
    background: #000101 url(img/bg-header-mobile.png) no-repeat 40% 253px;
    color:#FFF; 
    font-family: inter;
}

img {
    max-width: 100%;
    max-height: 100%;
}

.text {
    font-size: 16px;
    line-height: 1.6;
}

.container {
    margin: 0 auto;
    padding: 0 40px;
}

.logo {
    width: 87px;
}

.header-block {
    display: flex;
    margin: 40px 0 15px;
    justify-content: space-between;
}

.hero-block {
    padding: 10px 0 69px 0;
}

.upper-main {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 16px;
}

.upper-text {
    max-width: 500px;
}

.middle-block {
    padding: 30px 0 10px 0;
}

.middle-items {
    display: grid;
    gap: 24px;
    padding: 0;
}

.middle-item {
    background: #000101;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.40);
    display: flex;
    flex-direction: column;
    gap: 15px;
    justify-content: space-between;
    padding: 23px 15px;
}

.middle-icon {
    height: 72px;
    width: 72px;
    border-radius: 8px;
    margin: 0 0 13px;
}

.middle-item-header {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 6px;
}

.middle-icon img{
    height: 100%;
    width: 100%;
}

.middle-header {
    font-size: 32px;
    font-style: normal;
    font-weight: 700;
    line-height: 120%;
}

.middle-item-download {
    align-items: center;
    padding:24px;
    display: flex;
    border-radius: 12px;
    border: 1px solid #444;
    background: #161616;
    color: #FFF;
    flex-wrap: wrap;
    gap: 17px;
    justify-content: center;
    text-decoration: none;
}

.middle-item-download img {
    width: 80px;
    height: 80px;
}

.middle-block-2 .middle-item-download img {
    width: 120px;
    height: 120px;
}

.middle-block-2 .middle-item-download {
    gap: 32px;
}

.middle-item-download-header {
    color: var(--green);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;
    text-align: center;
}

.indevelopment {
    font-size: 20px;
    font-weight: 500;
    margin: 0 0 29px;
    text-align: right;
}

.indevelopment-badge {
    border-radius: 24px;
    background: #007F8D;
    display: inline-block;
    padding: 7px 22px;
    margin: 51px 4px 0;
    text-align: center;
    transform: rotate(-21.706deg);
}

.divider-text {
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    background: linear-gradient(90deg, #006A47 0%, #002A1C 100%);
    margin: 30px 0px 34px;
    padding: 8px 0px;
}

.instruction {
    background: url(/local/templates/mruss/img/bg-bottom-mobile.svg) no-repeat -37% 122%;
    padding: 2px 0 80px;
}

.instruction a {
    color: #FFF;
    text-decoration: none;
}

.instruction a:hover {
    text-decoration: underline;
}

.instruction-header {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 21px;
}

.instruction-items {
    display: grid;
    gap: 25px;
}

.instruction-block-item {
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.40);
    background: #000101;
    box-shadow: 10px 10px 16px 0 rgba(246, 255, 251, 0.05);
    font-size: 14px;
    line-height: 1.8;
    padding: 18px 16px 23px;
}

.instruction-item p {
    margin: 0 0 20px;
}

.instruction-item p:last-child {
    margin: 0;
}

p.instruction-item-header {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 4px;
}

p.instruction-item-subheader {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 12px;
}

footer {
    color: #FFF;
    font-size: 16px;
    background: #212121;
    padding: 25px 0px;
}

.footer-content {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.footer-left {
    color: #FFFFFF66;
    font-weight: 700;
    width: 100%;
    order: 2;
    text-align: center;
}

.footer-right {
    order: 1;
    width: 100%;
    margin: 0 0 12px;
}

.footer-header {
    color: #FFFFFF66;
    margin: 0 0 25px;
}

.footer-right a {
    color: #FFF;
    font-weight: 600;
    text-decoration: none;
}

.footer-right a:hover {
    text-decoration: underline;
}

.footer-link-item {
    margin: 0 0 18px;
}

footer .container {
    padding-right: 10px;
}

.bg-middle {
    background: url(/local/templates/mruss/img/bg-middle-laptop.svg) no-repeat 20% 37%;
}

.middle-item-qr {
    display: none;
}

.cookie-section {
    font-size: 12px;
    margin: 0 auto;
    width: 100%;
    max-width: 410px;
    padding: 15px;
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translate(-50%, 0);
}

.cookie {
    align-items: center;
    background: #000101;
    border-radius: 24px;
    display: flex;
    flex-wrap: wrap;
    justify-content: right;
    gap: 20px;
    padding: 24px 16px;
}

.cookie-text {
    line-height: 1.6;
    width: 100%;
}

.cookie-buttons {
    display: flex;
    font-size: 16px;
    gap: 24px;
}

.cookie-button {
    background: none;
    border: none;
    border-radius: 16px;
    color: #FFF;
    padding: 10px 16px;
}

.cookie-approve {
    background: var(--green);
    color: #161616;
}

.cookie-section a {
    color: var(--green);
    text-decoration: underline;
}

.cookie-section a:hover {
    text-decoration: none;
}

.use-cookie {
    opacity: 0;
    visibility: hidden;
}

.use-cookie-visible {
  animation: fadeIn .85s cubic-bezier(0.19, 1, 0.22, 1) both alternate;
}

.use-cookie-hidden {
  animation: fadeOut .85s cubic-bezier(0.19, 1, 0.22, 1) both alternate;
}

.middle-downloads {
    border-radius: 12px;
    border: 1px solid #444;
    background: #161616;
}

.middle-download {
    align-items: center;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 24px;
    text-decoration: none;
    transition: background .2s;
}

.middle-download:first-child {
    padding-bottom: 10px;
}

.middle-download:last-child {
    padding-top: 10px;
}

.middle-download-qr {
    display: none;
    width: 100px;
}

.middle-download .middle-item-download-header {
    flex: 1;
}

.middle-download .highlight {
    color: var(--green);
    display: none;
    text-decoration: underline;
}

.middle-download:hover .highlight {
    text-decoration: none;
}

.instruction-pwa-items {
    display: grid;
    font-size: 16px;
    gap: 15px;
    grid-template-columns: repeat(1, 1fr);
}

.instruction-pwa-item {
    display: flex;
    gap: 20px;
}

.instruction-pwa-item-data {
    flex: 1;
    position: relative;
}

.instruction-pwa-item-image {
    margin: 5px 0 0;
    width: 130px;
}

.instruction-pwa-item-image img {
    border-radius: 24px;
}

.instruction-pwa-title {
    font-weight: 700;
    margin: 0 0 18px;
}

.instruction-pwa a {
    color: var(--green);
    text-decoration: underline;
}

.instruction-pwa a:hover {
    text-decoration: none;
}

.instruction-pwa-lead {
    font-weight: 700;
    line-height: 1.2;
}

.pwa-arrow-up {
    position: absolute;
    right: -22px;
    top: 167px;
    pointer-events: none;
}

.pwa-arrow-down {
    position: absolute;
    right: -22px;
    top: 177px;
    pointer-events: none;
}

.instruction-pwa {
    margin: 72px 0 0;
}

.top {
    background: #00010199 url(img/icons/top.svg) no-repeat 50%;
    border: 1px solid #FFFFFF66;
    border-radius: 16px;
    display: none;
    width: 60px;
    height: 60px;
    position: fixed;
    bottom: 17px;
    right: 17px;
}

.open-menu {
    background: url(img/icons/burger.svg) no-repeat 50%;
    border: none;
    width: 24px;
    height: 24px;
}

.open-menu.opened {
    background-image: url(img/icons/close.svg);
}

.header-mobile-menu {
    display: none;
    font-size: 20px;
    font-weight: 700;
    list-style: none;
    text-align: center;
    padding: 0;
    margin: 0;
}

.header-mobile-menu a {
    border-bottom: 1px solid #40F99B;
    color: #FFF;
    display: block;
    padding: 9px 0;
    text-decoration: none;
    transition: background .2s;
}

.header-mobile-menu li:first-child {
    padding-top: 29px;
}

.header-mobile-menu .active {
    background: #40F99B66;
}

@media screen and (max-width: 576px) {
    .top {
        display: none !important;
    }

    .is-stuck-2 {
        animation: stickySlideDown .65s cubic-bezier(0.23, 1, 0.32, 1) both;
        background: #030B06E5;
        box-shadow: none;
        padding: 0 0 10px;
        position: fixed;
        left: 0;
        right: 0;
        top: 0;
        z-index: 2;
        margin: 0 auto;
        max-width: 100%;
    }

    .apps-container {
        padding: 70px 0 0;
    }

    header {
        background: #030B06E5;
        position: fixed;
        width: 100%;
    }
}

@media screen and (min-width: 576px) {

    body {
        background-image: url(img/bg-2.jpg);
        background-position: 40% -164px;
        background-size: 1070px;
    }

    .container {
        max-width: 704px;
        padding: 0 15px;
    }

    .logo {
        width: 99px;
    }

    .header-block {
        margin: 60px 0 10px;
    }

    .upper-main {
        font-size: 24px;
        margin: 0 0 23px;
        width: 444px;
    }

    .middle-items {
        gap: 12px;
        grid-template-columns: repeat(3, 1fr);
    }

    .middle-block-2 .middle-items {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .middle-item {
        gap: 32px;
        padding: 30px 19px;
        max-width: 215px;
    }

    .middle-block-2 .middle-item {
        max-width: none;
    }

    .text {
        font-size: 14px;
    }

    .hero-block {
        padding: 10px 0 110px 0;
    }

    .middle-icon {
        margin: 0 0 20px;
    }

    .middle-item-header {
        font-size: 24px;
        margin: 0 0 11px;
    }

    .middle-item-qr {
        display: block; 
    }

    .middle-item-download-header {
        color: #FFF;        
    }

    .indevelopment {
        font-size: 13px;
        margin: 0;
    }

    .indevelopment-badge {
        margin: 61px -1px 0;
    }

    .divider-text {
        font-size: 20px;
        margin: 51px 0px 54px;
        padding: 16px 0px;
    }

    .divider-text br {
        display: none;
    }

    .instruction-header {
        font-size: 24px;
        margin: 0 0 18px;
    }

    p.instruction-item-header {
        font-size: 24px;
        margin: 0 0 12px;
    }

    .instruction-block-item {
        line-height: 1.6;
        padding: 26px 20px 30px;
    }

    .instruction-item {
        font-size: 16px;
    }

    p.instruction-item-subheader {
        font-size: 20px;
        margin: 0 0 16px;
    }

    .instruction {
        background: url(/local/templates/mruss/img/bg-bottom-laptop.svg) no-repeat 106% 117%;
        padding: 2px 0 80px;
    }

    .middle-download-qr {
        display: block;
    }

    .middle-download .highlight {
        display: block;    
    }

    .open-menu {
        display: none;
    }
}

@media screen and (min-width: 689px) {
    .indevelopment {
        font-size: 20px;
    }

    .cookie-section {
        font-size: 14px;
        max-width: 816px;
    }

    .cookie {
        flex-wrap: nowrap;
        padding: 24px;
    }

    .cookie-text {
        width: auto;
    }

    .cookie-buttons {
        font-size: inherit;
    }

    footer {
        padding: 18px 0px;
    }

    .footer-left {
        order: 1;
        width: auto;
    }

    .footer-right {
        order: 2;
        width: auto;
        margin: 0;
    }

    .footer-content {
        flex-wrap: nowrap;
    }

    .footer-link-item {
        margin: 0 0 11px;
    }

    .footer-header {
        margin: 0 0 18px;
    }

    .instruction-pwa-items {
        font-size: 14px;
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (min-width: 992px) {
    body {
        background-position: 35% -366px;
        background-size: 1754px;
    }

    .container {
        max-width: 1240px;
    }

    .logo {
        width: 142px
    }

    .header-block {
        margin: 80px 0 10px;
    }

    .hero-block {
        padding: 29px 0 161px 0;
    }

    .upper-main {
        width: 615px;
        font-size: 38px;
        letter-spacing: 2.3px;
        line-height: 1.6;
        margin: 0 0 23px;
    }

    .middle-items {
        padding: 0 5px;
    }

    .middle-item {
        padding: 39px 32px;
        max-width: none;
    }

    .middle-item-header {
        font-size: 32px;
    }

    .text {
        font-size: 16px;
    }

    .bg-middle {
        background: url(/local/templates/mruss/img/bg-middle-desktop.svg) no-repeat 50% 20%;
        padding: 0;
    }

    .instruction {
        background: url(/local/templates/mruss/img/bg-bottom-desktop.svg) no-repeat 29% -166%;
        padding: 0 0 120px;
    }

    .middle-item-download {
        flex-wrap: nowrap;
    }

    .middle-item-download-header {
        font-size: 20px;
    }

    .indevelopment-badge {
        padding: 12px 47px;
        margin: 40px -6px 0;
    }

    .divider-text {
        font-size: 36px;
        margin: 71px 0px;
        padding: 13px 0px;
    }

    .instruction-header {
        font-size: 48px;
        margin: 0 0 25px;
    }

    .instruction-items {
        gap: 15px;
        grid-template-columns: repeat(2, 1fr);
    }

    .instruction-item:last-child {
        grid-column: span 2;
    }

    .instruction-block-item {
        font-size: 16px;
        padding: 26px 32px 30px;
    }

    p.instruction-item-header {
        margin: 0 0 15px;
    }

    p.instruction-item-subheader {
        margin: 0 0 21px;
    }

    .instruction-item p {
        margin: 0 0 25px;
    }

    .cookie-section {
        font-size: 16px;
        max-width: 1118px;
    }

    .cookie-button {
        padding: 13px 24px;
    }

    .middle-download-qr {
        width: 115px;
    }

    .instruction-pwa-item-image {
        width: 155px;
    }

    .pwa-arrow-up {
        top: 194px;
    }

    .pwa-arrow-down {
        top: 206px;
    }
}

@media screen and (min-width: 1200px) {
    .middle-block-2 .middle-item-download img {
        width: 250px;
        height: 250px;
    }

    .instruction-pwa-items {
        font-size: 16px;
        grid-template-columns: repeat(3, 1fr);
    }
}