* {
    font-family: Onest;
}

button,
a {
    cursor: pointer;
}

body {
    position: relative;
    background: url(../img/bg.png);
    background-position: top right;
    background-repeat: no-repeat;
    margin: 0;
    background-size: cover;
}

/* шапка */
header {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    background: transparent;
    padding: 32px 208px;
}

.logo-nav-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 48px;
    z-index: 1000;
}

.nav-header nav {
    display: flex;
    flex-direction: row;
    gap: 32px;
    padding-top: 5px;
}

header a {
    color: #1a2021;
    font-size: 18px;
    font-weight: 500;
    line-height: 24px;
    text-decoration: none;
    transition: color 0.45s ease;
    position: relative;
    padding-bottom: 5px;
}

header a::before {
    content: '';
    position: absolute;
    width: 0;
    height: 1.5px;
    bottom: 0;
    left: 50%;
    background-color: #00aab6;
    transition: all 0.45s ease;
    transform: translateX(-50%);
}

header a:hover::before {
    width: 100%;
}

header a:hover {
    color: #00aab6;
}

.logo-nav-header nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding-top: 5px;
}

.logo-nav-header p {
    margin: 0;
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
    position: relative;
    padding-bottom: 5px;
    color: #164249;
}

.logo-nav-header p::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: repeating-linear-gradient(to right, #164249 0, #164249 6px, transparent 6px, transparent 10px);
}

.logo-a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.logo-a::before {
    background-color: transparent;
}

.for-whom {
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
    position: relative;
    padding-bottom: 5px;
    color: #1A202159;
}

.for-whom:hover {
    color: #164249;
}

.for-whom::before {
    background-color: transparent;
}

.no-scroll {
    overflow: hidden;
}

/* кнопка Войти 1 */
.btn-header {
    display: flex;
    flex-direction: row;
    gap: 48px;
    align-items: center;
}

.btn-header button:first-of-type {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    color: #1a2021;
    border: 1px solid #164249;
    border-radius: 100px;
    padding: 12px 24px;
    background: transparent;
    width: 96px;
    height: 44px;
    font-weight: 600;
    font-size: 14px;
    line-height: 20px;
    transition: all 0.45s ease;
}

.btn-header button:first-of-type:hover,
.side-menu button:hover {
    background: #00aab6e2;
    border-color: #00aab6;
    color: #fff;
}

/* меню */
.menu {
    display: none;
    border: none;
}

.menu img {
    width: 24px;
    height: auto;
}

.side-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background: #fff;
    z-index: 100;
    overflow-x: hidden;
    transition: transform 0.45s, visibility 0.45s;
    transform: translateX(100%);
    visibility: hidden;
    display: flex;
    gap: 50px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 100;
    padding-top: 80px;
}

.side-menu button {
    width: 280px;
    height: 64px;
    border-radius: 100px;
    padding: 20px 24px;
    border: 1px solid #1a2021;
    color: #1a2021;
    font-weight: 600;
    font-size: 18px;
    line-height: 24px;
    background: transparent;
    transition: all 0.45s ease;
}

.side-menu.active {
    transform: translateX(0);
    visibility: visible;
}

.social-networks-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.social-networks-menu a {
    padding: 0;
}

.forest {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #164249;
    transition: all 0.45s ease;
}

.forest img {
    width: 20px;
}

main nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 45px;
}

main a {
    font-size: 33px;
    font-weight: 700;
    line-height: 24px;
    text-decoration: none;
    transition: color 0.45s ease;
    position: relative;
    padding-bottom: 10px;
    color: #1a2021;
}

nav a::before {
    content: '';
    position: absolute;
    width: 0;
    height: 1.5px;
    bottom: 0;
    left: 50%;
    background-color: #00aab6;
    transition: all 0.45s ease;
    transform: translateX(-50%);
}

nav a:hover::before {
    width: 100%;
}

nav a:hover {
    color: #00aab6;
}

.for-whom-menu {
    display: none;
}

@media (max-width: 1700px) {
    body {
        background-size: auto;
    }

    header {
        padding: 32px 88px;
    }
}

@media (max-width: 1400px) {
    header {
        padding: 24px 48px;
    }
}

@media (max-width: 1280px) {
    .nav-header {
        display: none;
    }

    .menu {
        display: flex;
        background: transparent;
        z-index: 1000;
    }
}

@media (max-width: 830px) {
    .logo-nav nav {
        display: none;
    }

    .for-whom-menu {
        display: flex;
        flex-direction: row;
        gap: 24px;
        font-weight: 700;
        font-size: 25px;
        line-height: 24px;
        color: #164249;
    }

    .for-whom-menu nav {
        display: flex;
        flex-direction: row;
        gap: 24px;
    }

    .logo-nav-header nav {
        display: none;
    }

    .for-whom-menu a {
        font-size: 25px;
    }

    .for-whom-menu p {
        margin: 0;
        position: relative;
        padding-bottom: 5px;
    }

    .for-whom-menu p::after {
        content: '';
        position: absolute;
        left: 0;
        bottom: 0;
        width: 100%;
        height: 1px;
        background: repeating-linear-gradient(to right, #164249 0, #164249 6px, transparent 6px, transparent 10px);
    }
}

@media (max-width: 750px) {
    header {
        padding: 24px;
    }

    .side-menu {
        gap: 30px;
    }
}

@media (max-width: 550px) {
    .btn-header button:first-of-type {
        display: none;
    }

    .for-whom-menu,
    .for-whom-menu a {
        font-size: 16px;
    }

    main nav {
        gap: 24px;
    }

    main a {
        font-size: 22px;
    }

    .forest {
        width: 32px;
        height: 32px;
    }

    .forest img {
        width: 16px;
    }

    .social-networks-menu {
        gap: 16px;
    }
}

/* главный контент */
main {
    display: flex;
    flex-direction: column;
    margin-top: 100px;
}

/* блок 1 увеличение прибыли */
.first {
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 50px;
    padding: 0 208px;
}

.first-header-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    font-weight: 800;
    font-size: 52px;
    line-height: 64px;
    text-align: center;
    padding: 0 60px;
    color: #1a2021;
}

.first-header-text span {
    color: #8672E7;
}

.first-text {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
}

.first-text span {
    font-weight: 500;
    font-size: 18px;
    line-height: 24px;
    color: #1a2021;
}

.first-header-dot {
    width: 8px;
    height: 8px;
    background: #00aab6;
    border-radius: 50%;
}

@media (max-width: 1700px) {
    .first {
        padding: 0 88px;
    }
}

@media (max-width: 1400px) {
    .first {
        padding: 0 48px;
    }
}

@media (max-width: 1010px) {
    .first-text {
        gap: 16px;
    }

    .first-text span {
        font-size: 16px;
    }

    .first-header-text {
        padding: 0;
    }
}

@media (max-width: 760px) {
    .first {
        padding: 0 24px;
    }

    .first-header-text {
        font-size: 36px;
        line-height: 48px;
        color: #1a2021;
    }
}

@media (max-width: 710px) {
    .first-header-dot {
        display: none;
    }

    .first-text {
        flex-wrap: wrap;
        gap: 8px;
    }
}

@media (max-width: 630px) {
    .first-header-text {
        font-size: 30px;
        line-height: 32px;
    }
}

/* кнопка Попробовать бесплатно */
.first-btn-free,
.third-btn-free {
    display: flex;
    align-items: center;
    justify-content: center;
}

.first-btn-free button,
.third-btn-free button {
    width: 320px;
    height: 65px;
    border-radius: 100px;
    padding: 8px;
    padding-left: 32px;
    background: #02c0cd;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    border: 0;
    box-shadow: 0px 8px 40px 0px #00C2D033;
    transition: all 0.45s ease;
    color: #fff;
}

.first-btn-free button:hover {
    background: #01a3af;
}

.first-btn-free span,
.third-btn-free span {
    font-weight: 600;
    font-size: 18px;
    line-height: 24px;
    color: #fff;
}

.first-btn-arrow,
.third-btn-arrow {
    width: 48px;
    height: 48px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.first-btn-arrow img,
.third-btn-arrow img {
    width: 20px;
    height: auto;
}

/* картинка видео */
.first-video,
.sixth-video {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    box-shadow: 0px -44px 89.3px 0px #1A20210F;
}

.first-video-img {
    width: 975px;
    height: auto;
}

.first-video a,
.sixth-video a {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 50%;
    background: #02c0cd;
    box-shadow: 0px 8px 24px 0px #00CBD94D;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.45s ease-in;
    padding: 0 0 0 5px;
}

.first-video a img,
.sixth-video a img {
    width: 22px;
    height: auto;
    align-items: end;
}

.first-video a:hover,
.sixth-video a:hover {
    background: #01a3af;
}

@media (max-width: 1080px) {
    .first-video-img {
        width: 928px;
    }
}

@media (max-width: 1020px) {
    .first-video-img {
        width: 100%;
    }
}

@media (max-height: 700px) {
    main nav {
        gap: 30px;
    }

    .side-menu {
        gap: 30px;
        padding-top: 50px;
    }
}

@media (max-height: 640px) {
    main nav {
        gap: 20px;
    }

    .side-menu {
        gap: 20px;
        padding-top: 50px;
    }
}


/* блок 2 оптимизировать и увеличить */
.second {
    position: static;
    padding: 100px 208px;
    background: #fff;
    display: flex;
    flex-direction: column;
    gap: 64px;
    justify-content: center;
}

.second-header {
    font-weight: 800;
    font-size: 36px;
    line-height: 48px;
    color: #1a2021;
    width: 920px;
}

.second-header span {
    color: #00aab6;
}

.second-blockS {
    display: grid;
    align-items: start;
    grid-template-columns: auto auto auto;
    row-gap: 32px;
    column-gap: 30px;
}

.second-block {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 400px;
    height: auto;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #607376;
}

.second-block span {
    font-weight: 600;
    font-size: 20px;
    color: #1a2021;
}

.second-block img {
    width: 48px;
    height: auto;
}

@media (max-width: 1700px) {
    .second {
        padding: 100px 88px;
    }
}

@media (max-width: 1400px) {
    .second {
        padding: 100px 48px;
    }
}

@media (max-width: 1300px) {
    .second-blockS {
        grid-template-columns: auto auto;
    }

    .second-block {
        width: 450px;
    }

    .second-header {
        width: 100%;
    }
}

@media (max-width: 1020px) {
    .second-block {
        width: 330px;
    }
}

@media (max-width: 1020px) {
    .second {
        gap: 48px;
    }

    .second-block {
        width: 330px;
    }
}

@media (max-width: 800px) {
    .second-block {
        width: 230px;
    }
}

@media (max-width: 800px) {
    .second {
        padding: 100px 24px;
    }
}

@media (max-width: 630px) {
    .second {
        gap: 32px;
    }

    .second-blockS {
        grid-template-columns: auto;
    }

    .second-block {
        gap: 16px;
        width: 400px;
        font-size: 14px;
        line-height: 20px;
    }

    .second-header {
        width: 100%;
        font-size: 24px;
        line-height: 24px;
    }

    .second-block span {
        font-size: 16px;
        line-height: 24px;
    }

    .first-video button,
    .sixth-video button {
        width: 50px;
        height: 50px;
    }

    .first-video button img,
    .sixth-video button img {
        width: 18px;
    }
}

@media (max-width: 490px) {
    .second-block {
        width: 300px;
    }
}

/* блок 3 особенности */
.third {
    height: auto;
    padding: 100px 208px;
    background: url(../img/bg-green.png) center center no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

.feat {
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.third-header {
    color: #fff;
    font-weight: 800;
    font-size: 50px;
    line-height: 56px;
}

.third-blockS {
    display: flex;
}

.third-block {
    height: 600px;
    visibility: hidden;
    opacity: 0;
    transition: opacity 1s ease, visibility 0s 1s;
    overflow: hidden;
}

.third-block.active {
    height: 600px;
    visibility: visible;
    opacity: 1;
    transition: opacity 1s ease, visibility 0s 0s;
    grid-template-columns: 30% auto;
    column-gap: 50px;
}

.third-block-text {
    display: flex;
    flex-direction: column;
    gap: 16px;
    color: #fff;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    margin: 0;
}

.third-block-text span {
    font-weight: 700;
    font-size: 32px;
    line-height: 40px;
    color: #fff;
}

.third-img {
    width: 900px;
    height: auto;
}

.third-block-text-btn {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.third-scroll {
    display: flex;
    gap: 10px;
    justify-content: space-between;
}

.scroll-indicator {
    cursor: pointer;
    width: 100%;
    height: 6px;
    border-radius: 6px;
    position: relative;
    overflow: hidden;
    transition: transform 0.45s ease;
}

.scroll-indicator:hover {
    transform: scaleY(1.7);
}

.progress-fill {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 100%;
    background-color: #02C0CD;
    width: 0;
    transition: width 5s linear;
}

@keyframes slideUp {
    from {
        opacity: 0;
        visibility: hidden;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

.animate-slide-up {
    animation: slideUp 0.5s ease-out forwards;
    opacity: 0;
}

.third-block-text,
.third-btn-free button {
    position: relative;
}

.animated-letter {
    display: inline-block;
    opacity: 0;
    transform: translateY(30px);
    animation: slideUpFadeIn 0.5s forwards;
}

@keyframes slideUpFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.third-block-text span.animate-text {
    display: inline-block;
    white-space: nowrap;
}

@media (max-width: 1700px) {
    .third {
        padding: 100px 88px;
    }

    .third-img {
        width: 100%;
    }
}

@media (max-width: 1400px) {
    .third {
        padding: 100px 48px;
    }

    .third-block,
    .third-block.active {
        height: 900px;
    }

    .scroll-indicator {
        width: 100%;
        height: 6px;
    }

    .third-scroll {
        display: flex;
        justify-content: space-between;
    }

    .third-block.active {
        display: grid;
        grid-template-columns: auto;
        grid-template-rows: auto auto;
        row-gap: 20px;
        opacity: 1;
    }

    .third-img {
        width: 100%;
        height: auto;
    }

    .third-btn-free button {
        display: none;
    }

    .third-block-text-btn {
        gap: 0;
    }

}

@media (max-width: 1000px) {

    .third-block,
    .third-block.active {
        height: 700px;
    }
}

@media (max-width: 800px) {
    .third {
        padding: 100px 24px;
    }
}

@media (max-width: 700px) {

    .third-block,
    .third-block.active {
        height: 600px;
    }
}

@media (max-width: 630px) {
    .third-header {
        font-size: 32px;
        line-height: 40px;
    }

    .third-block-text span {
        font-size: 20px;
        line-height: 24px;
    }

    .third-block-text {
        font-size: 14px;
        line-height: 20px;
    }

    .third-block-text-btn {
        gap: 0;
    }

    .third-block,
    .third-block.active {
        height: 500px;
    }
}

@media (max-width: 430px) {

    .third-block,
    .third-block.active {
        height: 400px;
    }
}


/* кнопка Войти 2 */
.third-btn-free {
    justify-content: start;
}

.third-btn-free button {
    background: #fff;
    color: #1a2021;
    align-self: start;
}

.third-btn-free span {
    color: #1a2021;
}

.third-btn-arrow {
    transition: all 0.45s ease;
    background: #02c0cd;
}

.third-btn-free button:hover .third-btn-arrow {
    background: #01a3af;
}

/* блок 3 сервисная электронная книжка */
.fourth {
    background: #fff;
    height: auto;
    padding: 100px 208px;
    display: flex;
    gap: 100px;
}

.fourth-text {
    display: flex;
    flex-direction: column;
    gap: 48px;
    color: #1a2021;
    width: 50%;
}

.f-text {
    display: flex;
    flex-direction: column;
    gap: 24px;
    font-weight: 400;
    font-size: 24px;
    line-height: 32px;
}

.f-text span {
    font-weight: 800;
    font-size: 52px;
    line-height: 64px;
}

.fourth-tick {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.fourth-tick-item {
    display: flex;
    flex-direction: row;
    gap: 8px;
    align-items: center;
}

.fourth-tick-item img {
    width: 24px;
    height: auto;
}

.fourth-tick-item span {
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
}

.btn-fourth {
    display: flex;
    gap: 16px;
}


.btn-fourth button {
    width: 220px;
    height: 64px;
    background: #1a2021;
    border: none;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.45s linear;
}

.btn-text {
    display: flex;
    align-items: start;
    justify-content: center;
    flex-direction: column;
}

.btn-access {
    color: #fff;
    font-weight: 300;
    font-size: 12px;
}

.btn-market {
    color: #fff;
    font-weight: 500;
    font-size: 20px;
}

.btn-fourth button:hover {
    background: #164249;
    text-shadow: 0 0 3px #164249;
}

.fourth-img {
    width: 50%;
}

.fourth-img img {
    width: 100%;
}

@media (max-width: 1700px) {
    .fourth {
        padding: 100px 88px;
    }
}

@media (max-width: 1400px) {
    .fourth {
        gap: 50px;
        padding: 100px 48px;
    }
}

@media (max-width: 1000px) {
    .fourth {
        flex-direction: column-reverse;
    }

    .fourth-text {
        width: 100%;
    }

    .fourth-img {
        width: 100%;
    }

}

@media (max-width: 800px) {
    .fourth {
        padding: 100px 24px;
    }
}

@media (max-width: 630px) {
    .fourth-text {
        gap: 32px;
    }

    .f-text {
        font-size: 16px;
        line-height: 24px;
    }

    .f-text span {
        font-size: 22px;
        line-height: 24px;
    }

    .fourth-tick-item span {
        font-weight: 400;
    }

    .fourth-tick {
        gap: 8px;
    }

    .btn-fourth button {
        width: 160px;
        height: 48px;
    }

    .btn-access {
        font-size: 10px;
    }

    .btn-market {
        color: #fff;
        font-size: 16px;
    }
}

@media (max-width: 435px) {
    .btn-fourth {
        flex-direction: column;
    }
}

/* блок 5 Цены */
.fifth {
    background: #fff;
    height: auto;
    padding: 100px 208px;
    display: flex;
    flex-direction: column;
    gap: 56px;
}

.fifth-header {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    justify-content: center;
    font-weight: 400;
    font-size: 24px;
    line-height: 32px;
}

.fifth-header span {
    font-weight: 800;
    font-size: 52px;
    line-height: 64px;
}

.fifth-blocks {
    display: grid;
    grid-template-columns: 50% 50%;
}

.fifth-block-base,
.fifth-block-choose {
    padding: 48px;
    border-radius: 48px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 40px;
}

.fifth-block-base {
    background: #0097a1;
}

.fifth-block-choose {
    background: #f4f9f9;
}

.base,
.choose {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.base-header,
.choose-header {
    display: flex;
    flex-direction: row;
    gap: 24px;
    align-items: center;
    font-weight: 700;
    font-size: 32px;
    line-height: 40px;
}

.base-header {
    color: #fff;
}

.choose-header {
    color: #00606d;
}

.base-img,
.choose-img {
    width: 72px;
    height: 72px;
    background: #00aab6;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.choose-img {
    background: #DCF1F2;
}

.base-img img,
.choose-img img {
    width: 40px;
    height: auto;
}

.base-text,
.choose-text span {
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 400px;
    font-weight: 500;
    font-size: 18px;
    line-height: 24px;
}

.choose-text {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.choose-text span {
    color: #1a2021;
}

.base-tick {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.base-tick-item {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
}

.base-tick-item img {
    width: 24px;
    height: auto;
}

.base-start,
.choose-start,
#total-price {
    display: flex;
    flex-direction: column;
    gap: 32px;
    color: #fff;
    font-weight: 800;
    font-size: 50px;
    line-height: 56px;
    padding: 0;
}

.choose-start,
#total-price {
    color: #1a2021;
}

.choose-start span {
    font-weight: 400;
    font-size: 18px;
    line-height: 24px;
    color: #607376;
    padding-bottom: 7px;
}

.choose-price {
    display: flex;
    flex-direction: row;
    align-items: end;
    gap: 10px;
}

.base-start button,
.choose-start button {
    height: 60px;
    padding: 8px;
    border: 0;
    border-radius: 100px;
    background: #fff;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0px 8px 40px 0px #00C2D033;
    transition: all 0.45s ease;
}

.choose-start button {
    background: #02c0cd;
}

.base-start span,
.choose-start span {
    font-weight: 600;
    font-size: 18px;
    line-height: 24px;
    justify-self: center;
}

.choose-start button span {
    color: #fff;
    padding: 0;
}

.start-arrow,
.choose-arrow {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #02c0cd;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 8px;
    transition: all 0.45s ease;
}

.choose-arrow {
    background: #fff;
}

.start-arrow img,
.choose-arrow img {
    width: 20px;
    height: auto;
}

.choose-option {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.choose-option button {
    height: 40px;
    border-radius: 50px;
    border: 1px solid #ACB5B766;
    padding: 8px 16px;
    background: #fff;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    transition: all 0.45s ease;
}

.base-start button:hover .start-arrow,
.choose-start button:hover {
    background: #01a3af;
}

.choose-option button:hover {
    border-color: #164249;
}

.module-btn.active {
    background-color: #164249;
    color: white;
}

@media (max-width: 1700px) {
    .fifth {
        padding: 100px 88px;
    }
}

@media (max-width: 1400px) {
    .fifth {
        padding: 100px 48px;
    }
}

@media (max-width: 1130px) {
    .fifth-blocks {
        display: grid;
        grid-template-columns: auto;
        grid-template-rows: auto auto;
    }
}

@media (max-width: 800px) {
    .fifth {
        padding: 100px 24px;
        gap: 32px;
    }
}

@media (max-width: 630px) {
    .fifth-header {
        font-size: 18px;
        line-height: 24px;
    }

    .fifth-header span {
        font-size: 36px;
        line-height: 48px;
    }

    .base-header,
    .choose-header {
        font-size: 32px;
        line-height: 40px;
    }
}

@media (max-width: 550px) {

    .base-header,
    .choose-header {
        font-size: 22px;
        line-height: 24px;
        gap: 16px;
    }

    .base-img,
    .choose-img {
        width: 48px;
        height: 48px;
        border-radius: 12px;
    }

    .base-img img,
    .choose-img img {
        width: 24px;
        height: auto;
    }

    .base,
    .choose {
        gap: 24px;
    }

    .base-text,
    .choose-text span {
        gap: 16px;
        width: 100%;
        font-size: 16px;
        line-height: 24px;
    }

    .base-start,
    .choose-start,
    #total-price {
        gap: 16px;
        font-size: 36px;
        line-height: 48px;
    }

    .fifth-block-base,
    .fifth-block-choose {
        padding: 24px;
        border-radius: 24px;
        gap: 32px;
    }

    .base-start span,
    .choose-start span {
        font-size: 14px;
        line-height: 20px;
    }

    .base-tick-item {
        font-size: 14px;
        font-weight: 500;
        line-height: 24px;
    }
}


/* блок 6 настройка платформы? */
.sixth {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 30px;
    background: #164249;
    height: auto;
    padding: 100px 208px;
}

.sixth-text {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.sixth-header {
    display: flex;
    flex-direction: column;
    gap: 24px;
    color: #fff;
}

.sixth-header-p {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sixth-header-p p {
    font-weight: 400;
    font-size: 18px;
    line-height: 24px;
    margin: 0;
}

.sixth-header span {
    font-weight: 800;
    font-size: 36px;
    line-height: 48px;
}

.phone-container {
    display: flex;
    flex-direction: row;
    gap: 8px;
    align-items: center;
    background: #fff;
    width: 350px;
    padding: 16px;
    border-radius: 15px;
    color: #1a2021;
    cursor: pointer;
}

.phone-container span {
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
}

.phone-input {
    border: 0;
    background: transparent;
    height: 100%;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    width: 100%;
    outline: none;
}

.sixth-number {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.check-privacy,
.check-privacy a {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    color: #fff;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    padding: 0;
}

.check-privacy a {
    color: #02c0cd;
    text-decoration: none;
    transition: all 0.45s ease;
}

.check-privacy a:hover {
    color: #0097a1;
}

.block-video {
    width: 720px;
    height: 420px;
    border-radius: 24px;
    background: #F4F9F9;
    box-shadow: 0px 16px 48px 0px #00C2D040;
}

@media (max-width: 1700px) {
    .sixth {
        padding: 100px 88px;
    }

    .block-video {
        width: 620px;
        height: 400px;
    }
}

@media (max-width: 1400px) {
    .sixth {
        padding: 100px 48px;
    }

    .block-video {
        width: 450px;
        height: 330px;
    }
}

@media (max-width: 1130px) {
    .sixth {
        flex-direction: column;
        gap: 64px;
    }

    .block-video {
        width: 90vw;
        height: 70vh;
    }
}

@media (max-width: 800px) {
    .sixth {
        padding: 100px 24px;
    }

    .block-video {
        width: 80vw;
        height: 50vh;
    }
}

@media (max-width: 630px) {
    .sixth-header span {
        font-size: 22px;
        line-height: 24px;
    }

    .sixth-header-p p {
        font-size: 16px;
    }

    .phone-container {
        width: auto;
    }

    .check-privacy,
    .check-privacy a {
        font-size: 16px;
        line-height: 24px;
    }

    .block-video {
        width: 80vw;
        height: 30vh;
    }
}

/* блок 7 Отзывы */
.seventh {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    justify-content: center;
    background: #fff;
    height: auto;
    padding: 100px 0;
}

.header-review {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-bottom: 10px;
}

.header-review-text {
    font-weight: 800;
    font-size: 50px;
    line-height: 56px;
    color: #1a2021;
    text-align: center;
}

.review-text {
    font-weight: 300;
    font-size: 24px;
    line-height: 32px;
    color: #1a2021;
    text-align: center;
}

.item {
    opacity: 0.4;
    transition: .4s ease all;
    transform: scale(.8);
}

.active .item {
    opacity: 1;
    transform: scale(1);
}

.owl-item {
    -webkit-backface-visibility: hidden;
    -webkit-transform: translateZ(0) scale(1.0, 1.0);
}

.owl-stage-outer {
    height: 300px;
}

.reviews-blocks {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    height: 290px;
    overflow: hidden;
}

.block-review {
    height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    background: #f4f9f9;
    border-radius: 20px;
    padding: 25px 35px;
    margin: 0 -20px;
}

.active {
    transform: translateX(0) scale(1);
    opacity: 1;
}

.prev,
.next {
    transform: scale(0.8);
    opacity: 0.5;
    z-index: 2;
}


@media(max-width:1000px) {
    .item {
        margin: 0;
        transform: scale(.9)
    }
}

@media(max-width:1300px) {
    .block-review {
        margin: 0;
    }
}

.review-block-text {
    font-weight: 300;
    font-size: 16px;
    line-height: 24px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    /* -webkit-line-clamp: 4; */
    -webkit-box-orient: vertical;
}

@media (max-width: 900px) {
    .header-review-text {
        font-size: 36px;
        line-height: 48px;
    }

    .review-text {
        font-size: 18px;
        line-height: 24px;
    }
}

@media (max-width: 500px) {
    .header-review-text {
        font-size: 32px;
        line-height: 40px;
    }

    .review-text {
        font-size: 18px;
        line-height: 24px;
    }

    .block-review {
        width: 270px;
        height: 200px;
        padding: 25px;
        justify-content: space-between;
    }

    .review-block-text {
        font-size: 14px;
        line-height: 20px;
    }

    .features-text-block {
        height: 327px;
    }

    .ocean-soft::before {
        left: auto;
    }
}

@media (max-width: 450px) {
    .block-review {
        width: 250px;
        padding: 35px 25px 20px 25px;
    }
}

/* Для элементов, которые находятся слева от активного */
.prev {
    transform: translateX(-100%) scale(0.8);
}

.prev-prev {
    transform: translateX(-190%) scale(0.7);
    opacity: 0.3;
    z-index: 1;
}

.prev-prev-prev {
    transform: translateX(-270%) scale(0.6);
    opacity: 0;
    z-index: 0;
}

/* Для элементов, которые находятся справа от активного */
.next {
    transform: translateX(100%) scale(0.8);
}

.next-next {
    transform: translateX(190%) scale(0.7);
    opacity: 0.3;
    z-index: 1;
}

.next-next-next {
    transform: translateX(270%) scale(0.6);
    opacity: 0;
    z-index: 0;
}

/* Блок с пользователем */
.user {
    padding-top: 10px;
    border-top: 0.88px solid #ACB5B766;
    display: flex;
    flex-direction: row;
    gap: 10px;
}

.user-name-data {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
}

.user-name {
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
    color: #1a2021;
}

.service-name {
    font-weight: 300;
    font-size: 14px;
    line-height: 20px;
    color: #6a6e6f;
}

.owl-nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.owl-prev {
    width: 56px;
    height: 56px;
    background-image: url(../img/left-arrow.svg) !important;
    background-repeat: no-repeat;
}

.owl-prev span {
    display: none;
}

.owl-next span {
    display: none;
}

.owl-next {
    width: 56px;
    height: 56px;
    background-image: url(../img/right-arrow.svg) !important;
    background-repeat: no-repeat;
}

.prev-btn-feat,
.next-btn-feat {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 1px solid #164249;
    background: #fff;
    transition: background 0.45s ease-in-out;
}

.prev-btn img,
.next-btn img,
.prev-btn-feat img,
.next-btn-feat img {
    width: 70%;
    transition: filter 0.45s ease;
}

.prev-btn:hover,
.next-btn:hover,
.prev-btn-feat:hover,
.next-btn-feat:hover {
    background: #164249;
}

.prev-btn:hover img,
.next-btn:hover img,
.prev-btn-feat:hover img,
.next-btn-feat:hover img {
    filter: brightness(0) invert(1);
}

@media (max-width: 1920px) {
    .btns-prev-next {
        gap: 24px;
    }
}

@media (max-width: 500px) {
    .user {
        padding-top: 20px;
        gap: 16px;
    }

    .logo-user {
        width: 36px;
        height: 36px;
        font-size: 12px;
        line-height: 24px;
    }

    .user-name {
        font-size: 14px;
        line-height: 20px;
    }

    .service-name {
        font-size: 12px;
        line-height: 16px;
    }
}

/* блок 8 вопросы */
.eighth {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 50px;
    background: #fff;
    height: auto;
    padding: 100px 208px;
}

.question-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    color: #1a2021;
}

.question-header {
    font-weight: 800;
    font-size: 50px;
    line-height: 56px;
    text-align: center;
}

.question-text-header {
    font-weight: 300;
    font-size: 24px;
    line-height: 32px;
    text-align: center;
}

.blocks-question {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.quest {
    width: 100%;
}

.accordion {
    width: 100%;
    max-width: 735px;
    background: #f4f9f9;
    padding: 16px 24px;
    border: none;
    transition: background 0.45s ease, border-radius 0.45s ease;
    border-radius: 16px;
    font-weight: 500;
    font-size: 18px;
    line-height: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
}

.accordion span {
    color: #1a2021;
}

.accordion.active {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    z-index: 1;
}

.panel {
    width: 100%;
    max-width: 735px;
    padding: 0 24px;
    background: #f4f9f9;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s ease, opacity 0.45s ease;
    opacity: 0;
    box-sizing: border-box;
    border-radius: 0 0 16px 16px;
}

.panel.active {
    max-height: 200px;
    opacity: 1;
    transition: max-height 0.45s ease, opacity 0.45s ease;
}

.panel p {
    margin: 16px 0;
    font-weight: 300;
    font-size: 16px;
    line-height: 24px;
}

.plus {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    background: #02c0cd;
    transition: all 0.45s ease-in;
    flex-shrink: 0;
}

.plus img {
    width: 70%;
}

.accordion.active .plus {
    background: #164249;
}

.accordion .plus img {
    transition: transform 0.45s ease;
}

.accordion.active .plus img {
    transform: rotate(45deg);
}

.accordion:hover .plus {
    background: #164249;
}

@media (max-width: 1700px) {
    .eighth {
        padding: 100px 88px;
    }
}

@media (max-width: 1440px) {
    .question {
        gap: 48px;
    }

    .question-text {
        gap: 20px;
    }
}

@media (max-width: 1400px) {
    .eighth {
        padding: 100px 48px;
    }
}

@media (max-width: 1300px) {
    .question {
        gap: 48px;
    }

    .question-text {
        gap: 24px;
    }
}

@media (max-width: 1130px) {
    .eighth {
        padding: 100px 48px;
    }
}

@media (max-width: 900px) {
    .question-header {
        font-size: 36px;
        line-height: 48px;
    }

    .question-text-header {
        font-size: 18px;
        line-height: 24px;
        text-align: center;
    }
}

@media (max-width: 800px) {
    .eighth {
        padding: 100px 24px;
    }
}

@media (max-width: 630px) {
    .question-header {
        font-size: 32px;
        line-height: 40px;
    }

    .question-text-header {
        font-size: 16px;
        line-height: 24px;
    }

    .accordion {
        font-size: 16px;
        line-height: 20px;
    }

    .panel p {
        font-size: 14px;
        line-height: 20px;
    }
}

@media (max-width: 600px) {
    .accordion {
        gap: 24px;
    }
}

@media (max-width: 500px) {
    .question {
        gap: 32px;
    }

    .question-header {
        font-size: 32px;
        line-height: 40px;
    }

    .question-text-header {
        font-size: 18px;
        line-height: 24px;
    }

    .accordion {
        max-width: 600px;
    }

    .accordion span {
        text-align: left;
    }

    .panel {
        width: 100%;
        max-width: 600px;
    }
}

/* подвал страницы */
footer {
    padding-top: 100px;
    background: url(../img/bg-green.png) center center no-repeat;
    background-size: cover;
    background-attachment: fixed;
    height: auto;
    display: flex;
    flex-direction: column;
}

.contacts {
    display: grid;
    grid-template-columns: 50% 50%;
    column-gap: 100px;
    padding-bottom: 72px;
    border-bottom: 1px solid #FFFFFF24;
}

.forms form {
    display: flex;
    flex-direction: column;
    gap: 32px;
    width: 510px;
    height: auto;
}

form input[placeholder="Ваше имя"],
form input[placeholder="Email"],
textarea {
    width: auto;
    border: 0;
    border-radius: 12px;
    background: #fff;
    padding: 16px;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
}

form input[placeholder="Email"] {
    width: 50%;
}

form input:focus {
    box-shadow: 0 0 15px green;
}

form input.error {
    box-shadow: 0 0 25px red;
}

.phone-container.error {
    box-shadow: 0 0 25px red !important;
}

/* box-shadow */

form .phone-container {
    border: 0;
    border-radius: 12px;
    background: #fff;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    width: 50%;
}

form input[type="text"] .phone-input {
    padding: 0;

}

.phone-input {
    box-shadow: none !important;
}



.checkbox-input {
    display: none;
}

.checkbox-input:checked+.checkbox-label::after {
    transform: scale(1);
}

.checkbox-label {
    font-size: 16px;
    width: -webkit-fill-available;
    display: inline-flex;
    align-items: center;
    position: relative;
    cursor: pointer;
    margin-left: 3px;
    color: #ffffff;
}

.checkbox-label::before {
    content: '';
    align-self: flex-start;
    flex: 0 0 18px;
    height: 18px;
    background-color: #fff;
    border-radius: 4px;
    margin: 0 11px 0 0;
}

.checkbox-label::after {
    transition: transform 0.2s ease 0s;
    content: '';
    width: 14px;
    height: 14px;
    background-color: #02C0CD;
    position: absolute;
    top: 2px;
    left: 2px;
    border-radius: 2px;
    transform: scale(0);
}

.checkbox-label a {
    color: #02c0cd;
    text-decoration: none;
    transition: all 0.45s ease;
}

.txtar-link {
    font-size: 16px !important;
}

.error .checkbox-label::before {
    box-shadow: 0 0 15px red;
}

.num-email {
    display: flex;
    gap: 12px;
}

textarea {
    height: 120px;
    resize: none;
}

.txtar-check {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

form button {
    border: 0;
    background: #02c0cd;
    height: 64px;
    border-radius: 100px;
    padding: 20px 32px;
    color: #fff;
    box-shadow: 0px 8px 40px 0px #00C2D033;
    font-weight: 600;
    font-size: 18px;
    line-height: 24px;
    transition: all 0.45s ease;
}

form button:hover {
    background: #01a3af;
}

.forms {
    justify-self: end;
}

.connect {
    justify-self: start;
    display: flex;
    flex-direction: column;
    gap: 64px;
}

.connect-header {
    display: flex;
    flex-direction: column;
    gap: 16px;
    font-weight: 400;
    font-size: 18px;
    line-height: 24px;
    color: #acb5b7;
}

.connect-header span {
    color: #fff;
    font-weight: 800;
    font-size: 50px;
    line-height: 56px;
}

.connect-main {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.connect-main-item {
    display: flex;
    flex-direction: row;
    gap: 16px;
    color: #fff;
    font-weight: 500;
    font-size: 18px;
    line-height: 24px;
    flex-wrap: wrap;
    text-decoration: none;
}

.connect-main-item img {
    width: 24px;
    height: 24px;
}

.item-col,
.item-col2 {
    width: 400px;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 8px;
}

.item-col2 {
    gap: 0;
}

@media (max-width: 1700px) {
    .contacts {
        gap: 50px;
    }
}

@media (max-width: 1400px) {
    .contacts {
        gap: 30px;
    }

    .forms form {
        width: auto;
    }

    .connect-main-item {
        flex-wrap: wrap;
    }
}

@media (max-width: 1000px) {
    .contacts {
        display: flex;
        flex-direction: column-reverse;
        padding: 0 48px;
    }

    .connect {
        gap: 32px;
    }

    .forms form {
        padding-bottom: 72px;
    }
}

@media (max-width: 800px) {
    .contacts {
        padding: 0 24px;
    }
}

@media (max-width: 660px) {
    .num-email {
        flex-direction: column;
        gap: 20px;
    }

    form .phone-container,
    form input[placeholder="Email"] {
        width: auto;
    }

    .forms form {
        gap: 20px;
    }

    .item-col,
    .item-col2 {
        width: auto;
    }
}

@media (max-width: 630px) {
    .connect-header span {
        font-size: 32px;
        line-height: 40px;
    }

    .connect-main-item {
        flex-direction: column;
        font-size: 16px;
        line-height: 24px;
    }

    .item-col2 {
        width: auto;
    }
}

.copyright {
    display: flex;
    flex-direction: column;
    gap: 24px;
    color: #fff;
}

.copyright img {
    width: 128px;
    height: auto;
}

.copyright-text {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.copyright-text span {
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
}

.copyright-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.social-networks {
    display: flex;
    flex-direction: row;
    gap: 16px;
    align-items: center;
    justify-content: center;
}

.sn-block {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.45s ease;
    background: #fff;
}

.sn-block img {
    width: 20px;
}

.vk:hover {
    background: #4680C2;
}

.fb:hover {
    background: #3C5A99;
}

.tg:hover {
    background: #0088cc;
}

.inst:hover {
    background: #E1306C;
}

.yt:hover {
    background: #FF0000;
}

.copyright a {
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    text-decoration: none;
    color: #02c0cd;
    transition: all 0.45s ease;
}

.copyright a:hover {
    color: #1a2021;
}

.f-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    padding: 72px 208px;
}

@media (max-width: 1700px) {
    .f-footer {
        padding: 72px 88px;
    }
}

@media (max-width: 1400px) {
    .f-footer {
        padding: 72px 48px;
    }
}

@media (max-width: 800px) {
    .f-footer {
        flex-direction: column;
        align-items: start;
        gap: 32px;
        padding: 72px 24px;
    }
}

@media (max-width: 630px) {
    .connect-header span {
        font-size: 32px;
        line-height: 40px;
    }

    .connect-main-item {
        font-size: 16px;
        line-height: 24px;
    }

    .copyright-text span {
        font-size: 14px;
        line-height: 20px;
    }
}

#notes {
    &:empty {
        display: none;
    }
}

#notes {
    position: fixed;
    top: 1em;
    width: 100%;
    cursor: default;
    transition: height 0.45s ease-in-out;
    -webkit-transition: height 0.45s ease-in-out;
    pointer-events: none;
    z-index: 1;
}

#notes .note-item {
    border-radius: 20px;
    max-height: 12em;
    opacity: 1;
    will-change: opacity, transform;
    transition: all 0.2s linear;
    -webkit-transition: all 0.2s linear;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    width: 50vw;
    -webkit-touch-callout: none;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    z-index: 2;
    pointer-events: auto;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-align-content: flex-start;
    -ms-flex-line-pack: start;
    align-content: flex-start;
    -webkit-box-align: start;
    -ms-flex-align: start;
    -webkit-align-items: flex-start;
    -moz-align-items: flex-start;
    align-items: flex-start;
    -webkit-align-content: flex-start;
    -ms-flex-line-pack: start;
    align-content: flex-start;
    max-width: 20em;
    font: inherit;
    line-height: 1.25em;
    color: #fff;
    margin: 0 auto 1em auto;
    transform: translateZ(0);
    -moz-transform: translateZ(0);
    -ms-transform: translateZ(0);
    -webkit-transform: translateZ(0);
    padding: 0.75em 1em;
}

@media all and (max-width: 30em) {
    #notes .note-item {
        width: 75vw;
        max-width: none;
    }
}

#notes .note-item[data-show="false"] {
    pointer-events: none;
    opacity: 0 !important;
    max-height: 0 !important;
    margin-bottom: 0 !important;
}

#notes .note-item[data-type="info"] {
    background-color: rgba(55, 94, 151, 0.72);
}

#notes .note-item[data-type="warn"] {
    background-color: rgba(235, 172, 0, 0.72);
    animation: shake 0.9s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
    -webkit-animation: shake 0.9s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

#notes .note-item[data-type="error"] {
    background-color: rgba(251, 101, 66, 0.72);
    animation: shake 0.54s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
    -webkit-animation: shake 0.54s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

#notes .note-item[data-type="success"] {
    background-color: #02c0cd;
}

#notes .note-item .note-item-text {
    flex: auto;
    -webkit-flex: auto;
    -moz-flex: auto;
    -ms-flex: auto;
    padding-right: 0.5em;
    max-width: calc(100% - 1.25em);
    max-width: -webkit-calc(100% - 1.25em);
}

#notes .note-item .note-item-btn {
    border: none;
    width: 1.25em;
    height: 1.25em;
    cursor: pointer;
    background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz48c3ZnIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0IiB4bWw6c3BhY2U9InByZXNlcnZlIiBmaWxsPSIjZmZmIj48cGF0aCBkPSJNMTguMyw1LjcxTDE4LjMsNS43MWMtMC4zOS0wLjM5LTEuMDItMC4zOS0xLjQxLDBMMTIsMTAuNTlMNy4xMSw1LjdjLTAuMzktMC4zOS0xLjAyLTAuMzktMS40MSwwbDAsMCBjLTAuMzksMC4zOS0wLjM5LDEuMDIsMCwxLjQxTDEwLjU5LDEyTDUuNywxNi44OWMtMC4zOSwwLjM5LTAuMzksMS4wMiwwLDEuNDFoMGMwLjM5LDAuMzksMS4wMiwwLjM5LDEuNDEsMEwxMiwxMy40MWw0Ljg5LDQuODkgYzAuMzksMC4zOSwxLjAyLDAuMzksMS40MSwwbDAsMGMwLjM5LTAuMzksMC4zOS0xLjAyLDAtMS40MUwxMy40MSwxMmw0Ljg5LTQuODlDMTguNjgsNi43MywxOC42OCw2LjA5LDE4LjMsNS43MXoiLz48L3N2Zz4=) no-repeat 0 0 / contain;
    transition: opacity 0.2s;
    -webkit-transition: opacity 0.2s;
}

#notes .note-item .note-item-btn:hover {
    opacity: 0.6;
}

@keyframes shake {

    10%,
    90% {
        transform: translate3d(-1px, 0, 0);
        -webkit-transform: translate3d(-1px, 0, 0);
        -ms-transform: translate3d(-1px, 0, 0);
    }

    20%,
    80% {
        transform: translate3d(2px, 0 0);
        -webkit-transform: translate3d(2px, 0, 0);
        -ms-transform: translate3d(2px, 0, 0);
    }

    30%,
    50%,
    70% {
        transform: translate3d(-4px, 0, 0);
        -webkit-transform: translate3d(-4px, 0, 0);
        -ms-transform: translate3d(-4px, 0, 0);
    }

    40%,
    60% {
        transform: translate3d(4px, 0, 0);
        -webkit-transform: translate3d(4px, 0, 0);
        -ms-transform: translate3d(4px, 0, 0);
    }
}

@-webkit-keyframes shake {

    10%,
    90% {
        -webkit-transform: translate3d(-1px, 0, 0);
    }

    20%,
    80% {
        -webkit-transform: translate3d(2px, 0, 0);
    }

    30%,
    50%,
    70% {
        -webkit-transform: translate3d(-4px, 0, 0) t;
    }

    40%,
    60% {
        -webkit-transform: translate3d(4px, 0, 0);
    }
}

h3 {
    margin-bottom: 0.75rem;
}

.btn {
    transition: background-color 0.1s;
    -webkit-transition: background-color 0.1s;
    cursor: pointer;
    background-color: #f9f9f9;
    color: #7f7f7f;
    font: inherit;
    padding: 0.25rem 0;
    width: 4rem;
    margin: 0.25rem 0.25rem 0 0;
    text-align: center;
}

.btn:hover {
    background-color: #ececec;
}

.btn:first-child {
    margin-left: 0;
}

.link-for-nav {
    cursor: default;
}