:root {
    --on-surface: hsla(210, 6%, 14%, 1);
    --on-primary-container: hsla(206, 58%, 8%, 1);
    --primary: hsla(207, 59%, 28%, 1);
    --outline-variant: hsla(205, 12%, 80%, .5);
    --on-surface-variant: hsla(204, 6%, 35%, 1);
    --on-success: hsla(0, 0%, 100%, 1);
    --primary-60: hsla(206, 59%, 43%, 1);
    --white-bg: hsla(0, 0%, 100%, 1);
    --on-primary: hsla(0, 0%, 100%, 1);
    --on-secondary-container: hsla(178, 58%, 8%, 1);
    --outline: hsla(206, 8%, 58%, 1);
    --secondary-container: hsla(177, 43%, 71%, 1);
    --yellow-bg: hsla(49, 94%, 93%, 1);
    --yellow-stroke: hsla(49, 81%, 88%, 1), hsla(146, 87%, 91%, 1);
    --main-surface: hsla(206, 5%, 96%, 1);
    --stroke-color: hsla(49, 81%, 88%, 1), hsla(46, 87%, 91%, 1);
    --blue-bg: hsla(206, 94%, 93%, 1);
    --body-text: 'Inter', sans-serif;
    --green-bg: hsla(148, 95%, 92%, 1);
    --green-stroke: hsla(206, 72%, 76%, 1), hsla(146, 81%, 73%, 1);
    --light-bg: hsla(178, 94%, 93%, 1);
    --light-stroke: hsla(206, 72%, 76%, 1), hsla(146, 81%, 73%, 1);
    --tonal-color: hsla(177, 43%, 71%, 1);
}

html {
    box-sizing: border-box;
    scroll-behavior: smooth;
}

*,
*::after,
*::before {
    box-sizing: inherit;
}

* {
    margin: 0;
    padding: 0;
}

@font-face {
    font-family: 'HeadingFont-extrabold';
    src: url('./assets/fonts/BricolageGrotesque-ExtraBold.ttf');
}

@font-face {
    font-family: 'NormalHeading-text';
    src: url('./assets/fonts/BricolageGrotesque-Medium.ttf');
}

img {
    width: 100%;
    object-fit:cover;
}

.res-img {
    width: 100px; 
    object-fit: contain;
}

body {
    font-family: var(--body-text);
    background: var(--white-bg);
}

.nav-desktop,
.header-card-desktop,
.header-img-desktop,
.enable-section-btns-desktop,
.payment-options-container-desktop,
.benefits,
.developers-btns-desktop,
.products-header-text.desktop,
.enable-section-btns.desktop {
    display: none;
}

.header {
    width: 100%;
}

.container {
    padding: 0 12px;
}

.navbar {
    width: 100%;
    position: fixed;
    top: 0;
    background: var(--white-bg);
    padding-top: 16px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--on-surface);
    z-index: 100;
}

#competition-banner {
    background: var(--primary);
    display: flex;
    align-items: center;
    top: 80px;
    padding: 16px;
    border-bottom: none;
    gap: 20px;
}

.country-flags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
}

.country-flag-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    justify-content: center;
}

.country-name {
    font-size: 1rem;
    font-weight: 400;
    line-height: 24px;
    color: var(--on-surface);
    letter-spacing: .024px;
}

.competition-text {
    font-size: 1rem;
    font-weight: 500;
    line-height: 24px;
    color: var(--on-primary);
    letter-spacing: .024px;
}

.arrow-right {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    background: #E2E6E9;
    border-radius: 50px;
}

.dev-tools-container {
    display: flex;
    gap: 20px;
    width: 100%;
    flex-wrap: wrap;
}

.dev-tool {
    width: 9%;
}

.nav-mobile {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.navbar-mobile {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu-btn {
    display: flex;
    gap: 8px;
    padding: 16px;
    justify-content: center;
    align-items: center;
    border-radius: 4px;
    background: var(--primary);
}

#close-btn {
    background: none;
    display: none;
}

#close-word {
    color: var(--primary);
}

.menu-word {
    font-size: 1rem;
    font-style: normal;
    font-weight: 800;
    line-height: 24px;
    letter-spacing: 0.08px;
    color: var(--on-primary);
}

.navlinks-mobile {
    display: none;
    flex-direction: column;
    list-style-type: none;
}

.navlink-mobile-container {
    padding: 16px 0;
    border-bottom: .2px solid var(--outline-variant);
}

.navlink-action-btns {
    border-bottom: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.first-navlinks-item {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.first-navlink-mobile-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

#arrow-up {
    display: none;
}

.products-menu-mobile-container {
    padding: 0 12px;
    list-style-type: none;
    display: none;
    flex-direction: column;
}

.show-submenu {
    display: 'flex';
}

.navlink-mobile,
.product-menu-mobile-link {
    text-decoration: none;
    color: var(--on-surface);
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: .035px;
}

.product-menu-mobile-container {
    padding: 16px 0;
    border-bottom: .1px solid var(--outline-variant);
}

.last-product-link-item {
    border-bottom: none;
}

.action-btn {
    text-decoration: none;
}

.login-btn {
    padding: 8px 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
    font-style: normal;
    font-weight: 800;
    line-height: 24px;
    letter-spacing: 0.08px;
    color: var(--primary);
}

.register-btn {
    padding: 15px 24px 15px 16px;
    justify-content: center;
    align-items: center;
    border-radius: 50px;
    background: var(--primary);
    color: var(--on-primary);
    font-size: 1rem;
    font-style: normal;
    font-weight: 800;
    line-height: 24px;
    letter-spacing: 0.08px;
}


header #top-section {
    padding-top: 220px;
    padding-bottom: 64px;
    background: var(--blue-bg);
    display: flex;
    flex-direction: column;
    gap: 64px;
    width: 100%;
}

.top-section-left {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 64px;
}

.top-texts {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.header-main-text {
    color: var(--on-surface);
    font-size: 3rem;
    font-style: normal;
    font-weight: 800;
    line-height: 48px;
    letter-spacing: -.12px;
    font-family: 'HeadingFont-extrabold', sans-serif;
}

.header-subtext {
    color: var(--on-surface);
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: .024px;
}

.header-btns {
    display: flex;
    gap: 32px;
    align-items: center;
}

#get-started,
#contact-sales {
    text-decoration: none;
}

.enable-sections {
    padding-top: 80px;
    padding-bottom: 80px;
    display: flex;
    flex-direction: column;
    gap: 48px;
    width: 100%;
}

.img-text-container {
    display: flex;
    width: 100%;
    flex-direction: column;
    gap: 32px;
}

.section-header-text {
    font-family: 'HeadingFont-extrabold', sans-serif;
    color: var(--on-surface);
    font-size: 1.75rem;
    font-style: normal;
    font-weight: 800;
    line-height: 32px;
    letter-spacing: -.07px;
}

.description-section-container {
    display: flex;
    width: 100%;
    flex-direction: column;
}

.description-section,
.products-description-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 52px;
}

.description-texts-container,
.products-description-texts-container {
    display: flex;
    width: 100%;
    flex-direction: column;
    gap: 40px;
}

.description-intro-texts,
.products-description-main-text {
    color: var(--on-surface);
    font-size: 1rem;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: .024px;
}

.description-list-container,
.products-description-list-container {
    display: flex;
    width: 100%;
    flex-direction: column;
    gap: 32px;
}

.description-text-container,
.products-description-list-item-container {
    display: flex;
    gap: 12px;
    align-items: center;
}

.description-icon,
.products-description-list-item-icon,
#apis .products-description-list-item-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    background: var(--green-bg);
    border-radius: 8px;
    border: 1px solid var(--green-stroke);
}

.description-text,
.products-description-list-item-text,
.products-api-tab-text {
    color: var(--on-surface);
    font-size: 1rem;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: .024px;
}

.enable-section-btns-mobile {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.store-btns {
    display: flex;
    align-items: center;
    gap: 20px;
}

#sole-traders .description-icon,
.products-description-list-item-icon {
    background: var(--yellow-bg);
    border: 1px solid var(--yellow-stroke);
}

#startups .description-icon {
    background: var(--light-bg);
    border: 1px solid var(--light-stroke);
}

.enable-section-btns {
    display: flex;
    gap: 32px;
    align-items: center;
}

.get-started-enable-section {
    padding: 15px 24px 15px 16px;
    justify-content: center;
    align-items: center;
    border-radius: 50px;
    background: var(--tonal-color);
    color: var(--on-secondary-container);
    font-size: 1rem;
    font-style: normal;
    font-weight: 800;
    line-height: 24px;
    letter-spacing: 0.08px;
    text-decoration: none;
}

.contact-sales {
    padding: 8px 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
    font-style: normal;
    font-weight: 800;
    line-height: 24px;
    letter-spacing: 0.08px;
    color: var(--primary);
    text-decoration: none;
}

.products {
    padding-top: 80px;
    padding-bottom: 80px;
    display: flex;
    flex-direction: column;
    gap: 32px;
    width: 100%;
}

.section-intro-text {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    border-radius: 50px;
    background: var(--main-surface);
    color: var(--on-surface);
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.024px;
    line-height: 24px;
    margin-right: auto;
}

.products-main-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 52px;
}

.products-img-container {
    display: flex;
    flex-direction: column;
    gap: 32px;
    width: 100%;
}

.products-apis-img-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 20px;
}

.apis-content-container {
    display: flex;
    width: 100%;
}

.products-item-container {
    display: flex;
    flex-direction: column;
    gap: 32px;
    width: 100%;
}

.products-donation,
.products-invoice,
.products-payment-link {
    display: none;
}

/* .products-apis-tabs-container {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 40%;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    border-bottom: 1px solid var(--outline-variant);
    width: 100%;
} */

.products-apis-tabs-container {
    display: flex;
    overflow-x: auto;
    border-bottom: 1px solid var(--outline-variant);
    width: 100%;
    white-space: nowrap;
}

.products-api-tab {
    color: var(--on-surface-variant);
    font-size: 1rem;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: .024px;
    padding: 16px 12px;
    text-align: center;
    width: 100%;
}

.api-active-tab {
    font-weight: 600;
    border-bottom: 2px solid var(--primary);
    color: var(--primary);
}

#apis .products-description-container {
    gap: 32px;
}

.payment-options {
    padding-top: 80px;
    padding-bottom: 80px;
    background: var(--yellow-bg);
    display: flex;
    flex-direction: column;
    gap: 64px;
    width: 100%;
}

.currency-country-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.payment-options-btn-container {
    display: flex;
    flex-direction: column;
}

.payment-options-container-mobile {
    display: flex;
}

.pricing {
    display: flex;
    width: 100%;
    flex-direction: column;
    padding-top: 80px;
    padding-bottom: 80px;
    gap: 52px;
}

.pricing-texts {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

.pricing-body-text {
    color: var(--on-surface);
    font-size: 1rem;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: .024px;
}

.pricing-btn {
    margin-right: auto;
}

.developers {
    padding-top: 80px;
    padding-bottom: 80px;
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 32px;
}

.developers-main-container {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.developers-texts-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 32px;
}

.developers-heading-texts {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.developers-subheading {
    font-size: 1.375rem;
    font-weight: 400;
    line-height: 28px;
    color: var(--on-surface);
}

.developers-frame-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 32px;
}

.developers-btns {
    display: flex;
    flex-direction: column;
    gap: 32px;
    width: 100%;
}

.developers-btn {
    display: flex;
    height: 56px;
    padding: 15px 24px 15px 16px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border-radius: 50px;
    border: 1px solid var(--outline);
    margin-right: auto;
    text-decoration: none;
    color: var(--primary);
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.08px;
    line-height: 24px;
}

.developers-btns-desktop {
    display: none;
}

.community {
    display: flex;
    flex-direction: column;
    gap: 32px;
    width: 100%;
    padding-top: 80px;
    padding-bottom: 80px;
}

.community-texts-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 32px;
}

.community-heading-texts {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.community-img-container {
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding: 32px;
    width: 100%;
    background: var(--blue-bg);
}

.footer {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 80px;
    padding-top: 80px;
    padding-bottom: 80px;
    border-top: 1px solid var(--outline-variant);
}

.footer-links-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
    width: 100%;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.footer-links-heading-text {
    color: var(--on-surface);
    font-size: 1rem;
    font-weight: 600;
    line-height: 24px;
    letter-spacing: .024px;
}

.footer-under-text {
    padding: 32px 0px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-top: 1px solid var(--outline-variant);
}

.footer-links-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    list-style-type: none;
}

.footer-link {
    color: var(--on-surface);
    font-size: 1rem;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: .024px;
    text-decoration: none;
}

@media screen and (min-width: 1280px) {
    .container {
        padding: 0 100px;
    }

    .navbar {
        padding-top: 20px;
        padding-bottom: 20px;
    }

    #competition-banner {
        padding: 20px 100px;
    }

    .nav-mobile {
        display: none;
    }

    .nav-desktop {
        display: flex;
        justify-content: space-between;
    }

    .nav-left {
        display: flex;
        gap: 40px;
        align-items: center;
    }

    .country-flags-container {
        gap: 32px;
    }

    .nav-links-desktop {
        display: flex;
        gap: 20px;
        align-items: center;
        list-style-type: none;
    }

    .nav-link-desktop-container {
        padding: 12px;
        border-radius: 12px;
    }

    .nav-link-desktop-container:hover {
        background: var(--blue-bg);
    }

    .navlink-desktop {
        text-decoration: none;
        color: var(--on-surface);
        font-size: 1rem;
        font-weight: 500;
        line-height: 20px;
        letter-spacing: .035px;
    }

    #submenu-opener {
        display: flex;
        align-items: center;
    }

    #desktop-arrow-up {
        display: none;
    }

    .products-menu-container {
        position: absolute;
        z-index: 5000;
        top: 80px;
        left: 150px;
        padding: 8px 0;
        border-radius: 4px;
        background: #F9FAFB;
        box-shadow: 0px 2px 6px 2px rgba(0, 0, 0, 0.15), 0px 1px 2px 0px rgba(0, 0, 0, 0.30);
        list-style-type: none;
        width: 218px;
        display: none;
    }

    .show-desktop-submenu {
        display: block;
    }

    .product-link-container {
        padding: 16px 12px;
        width: 100%;
    }

    .product-link-container:hover {
        background: var(--blue-bg);
    }

    .product-link {
        color: var(--on-surface);
        font-size: 14px;
        font-weight: 500;
        line-height: 20px;
        letter-spacing: .014px;
        text-decoration: none;
    }

    .nav-right {
        display: flex;
        gap: 20px;
    }

    .nav-right-btn {
        text-decoration: none;
    }

    header #top-section {
        flex-direction: row;
        justify-content: space-between;
        padding-top: 200px;
        padding-bottom: 200px;
    }

    .top-section-left {
        flex-grow: 1;
    }

    .header-img-container {
        flex-grow: 2;
        width: 100%;
    }

    .top-texts {
        gap: 32px;
    }

    .header-main-text {
        font-size: 6rem;
        line-height: 86px;
        letter-spacing: -.24px;
    }

    .header-subtext {
        font-size: 1.375rem;
        font-weight: 400;
        line-height: 28px;
    }

    .header-img-mobile {
        display: none;
    }

    .header-img-desktop {
        display: block;
    }

    .enable-sections {
        padding-top: 150px;
        padding-bottom: 150px;
        flex-direction: row;
        gap: 48px;
        width: 100%;
    }

    .section-header-text {
        font-size: 3.625rem;
        font-weight: 800;
        line-height: 60px;
        letter-spacing: -.145px;
    }

    .description-divider-container {
        display: block;
        width: 100%;
        padding: 81px 0;
    }

    .desription-divider {
        width: 100%;
        height: 2px;
        background: var(--on-surface);
    }

    .enable-section-btns-mobile {
        display: flex;
        flex-direction: row;
    }

    #sole-traders .img-text-container {
        order: 2;
    }

    .products {
        padding-top: 150px;
        padding-bottom: 150px;
    }

    .products-main-container {
        display: flex;
        flex-direction: row;
        width: 100%;
        justify-content: space-between;
    }

    .products-img-container {
        order: 2;
    }

    .enable-section-btns.mobile {
        display: none;
    }

    .enable-section-btns.desktop {
        display: flex;
    }

    .products-header-text.desktop {
        display: block;
    }

    .products-header-text.mobile {
        display: none;
    }

    #apis {
        flex-direction: row-reverse;
        justify-content: space-between;
    }

    .products-apis-tabs-container {
        display: flex;
        border-bottom: 1px solid var(--outline-variant);
        width: 100%;
    }

    .products-api-tab {
        cursor: pointer;
        width: 100%;
    }

    #apis .products-description-container {
        padding-top: 200px;
    }

    .payment-options {
        padding-top: 80px;
        padding-bottom: 80px;
    }

    .payment-options.header-text {
        font-size: 4rem;
        font-weight: 800;
        line-height: 68px;
        letter-spacing: -.16px;
    }

    .payment-options-container-desktop {
        display: flex;
        margin-right: auto;
    }

    .payment-options-container-mobile {
        display: none;
    }

    .pricing {
        padding-top: 150px;
        padding-bottom: 150px;
        flex-direction: row;
        justify-content: space-between;
    }

    .pricing-btn-container {
        width: 100%;
        display: flex;
        align-items: end;
    }

    .developers-btns.mobile {
        display: none;
    }

    .developers {
        padding-top: 150px;
        padding-bottom: 150px;
        background: #F8FEFB;
        ;
    }

    .developers-btns-desktop {
        display: flex;
        flex-direction: row;
        gap: 32px;
    }

    .developers-main-container {
        flex-direction: row;
        align-items: end;
        justify-content: space-between;
    }

    .community {
        padding-top: 150px;
        padding-bottom: 150px;
    }

    .community-texts-container {
        width: 800px;
    }

    .community-img-container {
        flex-direction: row;
        padding-top: 100px;
        padding-bottom: 100px;
        /*overflow-x: auto;
        scrollbar-width: none;*/
    }

    /*.community-img-container::-webkit-scrollbar {
        display: none;
    } */

    /*.community-img {
        max-width: 100%;
        object-fit: cover;
    }*/

    .footer {
        padding-top: 150px;
        padding-bottom: 40px;
    }

    .footer-links-container {
        flex-direction: row;
    }

    .benefits {
        display: flex;
        flex-direction: column;
        gap: 32px;
        padding-top: 150px;
        padding-bottom: 150px;
    }

    .benefits-container {
        display: flex;
        flex-direction: column;
        gap: 64px;
    }

    .benefits-cards-container {
        display: flex;
        flex-direction: column;
        gap: 52px;
    }

    .first-benefits-cards {
        display: flex;
        gap: 52px;
    }

    .benefit-card {
        display: flex;
        flex-direction: column;
        gap: 32px;
        background: #DCFEFD;
        padding: 32px;
    }

    .benefit-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 16px;
        border: 1px solid #B5F7CB;
        background: var(--on-success);
        margin-right: auto;
    }

    .benefit-texts {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .benefit-heading-text {
        font-family: 'NormalHeading-text', sans-serif;
        font-size: 1.5625rem;
        font-weight: 500;
        line-height: 32px;
        color: var(--on-surface);
    }

    .benefit-body-text {
        color: var(--on-surface);
        font-size: 1rem;
        font-weight: 400;
        line-height: 24px;
        letter-spacing: .024px;
    }
}