:root {
    --main-color: #323A7C;
    --secondary-color: #141E29;
    --body-text-color: #5F6368;
    --inverse-main-color: white;
    --inverse-secondary-color: #E0E2E9;
}

html {
    scroll-behavior: smooth;
}

@media screen and (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

html, body {
    font-family: Roboto Flex, sans-serif;
    color: var(--secondary-color) !important;
}

.btn-primary {
    --bs-btn-padding-x: 0.75rem;
    --bs-btn-padding-y: 0.375rem;
    --bs-btn-font-size: 1rem;
    --bs-btn-font-weight: 400;
    --bs-btn-line-height: 1.5;
    --bs-btn-color: var(--inverse-main-color);
    --bs-btn-hover-bg: #6750A4;
    --bs-btn-bg: #6750A4;
    --bs-btn-border-color: transparent;
    --bs-btn-border-radius: 100px;
    --bs-btn-hover-border-color: transparent;
    --bs-btn-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 1px rgba(0, 0, 0, 0.075);
    --bs-btn-disabled-opacity: 0.65;
    height: 48px;
    display: flex;
    padding: 10px 24px 10px 16px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex: 1 0 0;
    align-self: stretch;
}

.btn-primary:hover {
    --bs-btn-box-shadow: 0px 1px 3px 1px rgba(0, 0, 0, 0.15), 0px 1px 2px 0px rgba(0, 0, 0, 0.30);
}

header .nav-link:hover {
    background: linear-gradient(90deg, #2F3A7B 9.27%, #423C81 19.35%, #543E86 29.43%, #653F8A 39.51%, #763F8D 49.59%, #873F8F 59.68%, #983F8F 69.76%, #A83F8F 79.84%, #B73F8D 89.92%, #C6408A 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.navbar {
    --bs-navbar-color: var(--secondary-color);
    --bs-navbar-hover-color: var(--secondary-color);
}

.headline-main {
    max-width: 648px;
}

h1 {
    color: var(--main-color);
    font-size: 48px;
    font-style: normal;
    font-weight: 800;
    line-height: 110%;
    margin: 0;
}

h2 {
    color: var(--secondary-color);
    font-size: 36px;
    font-style: normal;
    font-weight: 400;
    line-height: 44px; /* 122.222% */
    letter-spacing: 0.108px;
}

.about-items {
    display: flex;
    flex-direction: column;
    gap: 120px;
}

.about-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.about-item .image {
    width: 400px;
    height: 280px;
    border-radius: 8px;
    background-repeat: no-repeat;
    background-size: cover;
}

.about-item .thesis {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 448px;
}

.about-item .thesis div {
    align-self: stretch;
    color: var(--body-text-color);
    font-family: Roboto Flex, sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 28px; /* 155.556% */
    letter-spacing: 0.5px;
}

.about-item .image.item-1 {
    background-image: url(../img/item-1.jpeg);
}

.about-item .image.item-2 {
    background-image: url(/img/item-2.jpeg);
}

.about-item .image.item-3 {
    background-image: url(/img/item-3.jpeg);
}

.about-item .image.item-4 {
    background-image: url(/img/item-4.jpeg);
}

header {
    justify-content: space-between;
    background: #F7F9FC;
}

.btn-bot {
    display: inline-flex;
}

header nav {
    padding: 12px 0;
}

#headline {
    position: relative;
}

#headline > .headline-content {
    padding: 120px 0;
    position: relative;
    z-index: 2;
}

#headline .description {
    color: var(--secondary-color);
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 28px; /* 140% */
    letter-spacing: 0.5px;
}

#headline > .headline-content:before {
    z-index: -1;
    content: ' ';
    background: url(/img/top-bg.png) right no-repeat, linear-gradient(90deg, rgba(210, 171, 205, 0.36) 0%, rgba(245, 234, 209, 0.36) 100%), #FFF;;
    opacity: 0.5;
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

#about_project {
    padding: 64px 0 120px 0;
    display: flex;
    flex-direction: column;
    gap: 64px;
}

#how_it_works {
    padding: 64px 0 120px 0;
    display: flex;
    flex-direction: column;
    gap: 32px;
    background: linear-gradient(90deg, rgba(210, 171, 205, 0.12) 0%, rgba(245, 234, 209, 0.12) 100%);
}

#how_it_works .flow {
    gap: 32px;
    padding: 0 32px 8px 32px;
    width: 462px;
}

#get_it {
    padding: 64px 0 120px 0;
}

#get_it > div {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    height: 240px;
    padding-left: 32px;
    padding-right: 72px;
    border-radius: 8px;
    border: 1px solid #2F3A7B;
    background: linear-gradient(90deg, rgba(210, 171, 205, 0.24) 0%, rgba(245, 234, 209, 0.24) 100%), #FFF;
}

#get_it h1 {
    font-size: 32px;
    font-style: normal;
    font-weight: 800;
    line-height: 110%;
    background: linear-gradient(90deg, #2F3A7B 9.27%, #423C81 19.35%, #543E86 29.43%, #653F8A 39.51%, #763F8D 49.59%, #873F8F 59.68%, #983F8F 69.76%, #A83F8F 79.84%, #B73F8D 89.92%, #C6408A 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

#get_it .description {
    padding-top: 32px;
    width: 520px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.qr-code {
    margin-top: 10px;
    height: 220px;
    width: 220px;
    background: url(/img/onqueta-bot-qr.jpg) center no-repeat, url(/img/smartphone-2.png) no-repeat;
    background-size: cover;
    overflow: visible;
}

#how_it_works .content {
    display: flex;
    justify-content: space-between;
}


#how_it_works .content > div:first-child {
    color: var(--secondary-color);
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 28px; /* 155.556% */
    letter-spacing: 0.5px;
    width: 420px;
}

.use-case {
    color: var(--secondary-color);
    text-align: center;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 130%; /* 18.2px */
    letter-spacing: 0.5px;
    display: flex;
    padding: 8px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 4px;
    border: 1px solid #2F3A7B;
}


.smartphone {
    height: 500px;
}

.smartphone img {
    height: 100%;
}

.bot-steps {
    background: url(/img/line.svg) center 38px no-repeat,
        url(/img/ellipse.svg) center 32px no-repeat,
        url(/img/ellipse.svg) center 108px no-repeat,
        url(/img/ellipse.svg) center 184px no-repeat,
        url(/img/ellipse.svg) center 260px no-repeat;
}

.bot-step {
    display: flex;
    flex-direction: row;
    height: 76px;
}

.step-description {
    flex: 1;
    display: flex;
    align-items: center;
    color: var(--secondary-color);
    font-size: 16px;
    font-style: normal;
    font-weight: 300;
    line-height: 110%; /* 17.6px */
    letter-spacing: 0.5px;
}
.step-description span {
    text-align: center;
}

.step-graphic {
    width: 24px;
}

footer {
    background: #203040;
    display: flex;
    padding: 26px 0 48px 0;
    justify-content: center;
    align-items: flex-start;
    gap: 116px;
    color: var(--inverse-main-color) !important;
}

.brand-info {
    color: #E0E2E9;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 16px;
    min-width: 500px;
}

footer .navbar-nav {
    justify-content: end;
}

.container {
    --bs-gutter-x: 0;
    max-width: 1128px;
}

main .container {
    max-width: 936px;
}

.it-information {
    font-size: 1rem;
    line-height: 1.7;
    color: #222;
}

.it-information h1,
.it-information h2,
.it-information h3,
.it-information p,
.it-information ul,
.it-information ol,
.it-information li,
.it-information table,
.it-information thead,
.it-information tbody,
.it-information tr,
.it-information th,
.it-information td {
    margin: 0;
    padding: 0;
}

.it-information h1 {
    font-size: 2.25rem;
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #1f2937;
}

.it-information h2 {
    font-size: 1.75rem;
    line-height: 1.3;
    font-weight: 700;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.6rem;
    border-bottom: 0.125rem solid #dfe3e8;
    color: #1f2937;
}

.it-information h3 {
    font-size: 1.35rem;
    line-height: 1.4;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #374151;
}

.it-information p {
    margin-bottom: 1rem;
}

.it-information ul {
    list-style: disc;
    margin: 1rem 0 1rem 1.5rem;
    padding-left: 1rem;
}

.it-information ol {
    list-style: decimal;
    margin: 1rem 0 1rem 1.5rem;
    padding-left: 1rem;
}

.it-information li {
    margin-bottom: 0.5rem;
}

.it-information strong {
    font-weight: 700;
}

.it-information a {
    color: #005bbb;
    text-decoration: none;
}

.it-information a:hover {
    text-decoration: underline;
}

.it-information table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    font-size: 0.95rem;
    line-height: 1.5;
    background: #fff;
    border: 0.0625rem solid #d1d5db;
}

.it-information th,
.it-information td {
    border: 0.0625rem solid #d1d5db;
    padding: 0.85rem 1rem;
    text-align: left;
    vertical-align: top;
}

.it-information th {
    background: #f3f4f6;
    font-weight: 700;
    color: #111827;
}

.it-information tbody tr:nth-child(even) {
    background: #fafafa;
}

.it-information tbody tr:hover {
    background: #eef6ff;
    transition: background-color 0.2s ease;
}

@media (max-width: 1439px) {
    #headline > .headline-content {
        padding: 64px 0;
    }

    #headline > .headline-content:before {
        opacity: 0.3;
    }

    .container {
        max-width: 857px;
    }

    main .container {
        max-width: 777px;
    }

    .about-items {
        gap: 64px;
    }

    .about-item .thesis {
        width: 322px;
    }

    #how_it_works .content {
        width: 100%;
        flex-direction: column;
        align-items: center;
        gap: 64px;
    }

    #how_it_works .content > div:first-child {
        width: 100%;
    }

    #get_it .description {
        width: 468px;
    }
}

@media (max-width: 904px) {
    h1 {
        font-size: 36px;
        font-weight: 700;
        line-height: 110%;
    }

    .container {
        max-width: 580px;
    }

    main .container {
        max-width: 580px;
    }

    .headline-main {
        max-width: initial;
    }

    .smartphone {
        display: none;
    }

    #about_project {
        background: #F1F1F1;
    }

    .about-item {
        display: flex;
        flex-direction: column-reverse;
        align-items: center;
        gap: 24px;
    }

    .about-item:nth-child(even) {
        flex-direction: column;
    }

    .about-item .thesis {
        width: 100%;
    }

    #get_it > div {
        flex-direction: column-reverse;
        height: auto;
        align-items: center;
        padding: 32px;
        padding-top: 0;
    }

    footer > div {
        flex-direction: column;
        gap: 32px;
    }

    .brand-info {
        min-width: initial;
    }

    footer .navbar-nav {
        justify-content: start;
    }
}

@media (max-width: 619px) {
    .btn-primary {
        width: 100%;
        box-sizing: border-box;
    }

    .container {
        width: 100%;
        max-width: initial;
        padding-left: 24px;
        padding-right: 24px;
    }

    main .container {
        width: 100%;
        max-width: initial;
    }

    #how_it_works .flow {
        width: 100%;
        padding: 0 0 8px 0;
    }

    #get_it .description {
        width: 100%;
    }

    #get_it {
        padding: 64px 24px;
    }
}

@media (max-width: 450px) {
    .step-description {
        font-size: 14px;
    }

    .step-graphic {
        width: 16px;
    }

    .about-item .image {
        width: calc(100vw - 68px);
        height: calc(280vw/4 - 14px);
    }
}