@import "fonts.css";

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
    font-family: 'Fluent', sans-serif;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}

body {
    line-height: 1;
    font-size: 14px;
}

ol, ul {
    list-style: none;
}

blockquote, q {
    quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

:root {
    --main-text: rgba(254, 254, 254, 1);
    --lime-bg: rgba(192, 233, 77, 1);
    --main-bg-color: rgba(14, 14, 14, 1);
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

.d-none {
    display: flex;
}

.mob-none {
    display: none;
}

body {
    position: relative;
    background: rgb(5, 5, 5);
    background: linear-gradient(90deg, rgba(5, 5, 5, 1) 0%, rgba(20, 20, 20, 1) 55%, rgba(5, 5, 5, 1) 100%);
    color: var(--main-text);
}

body::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-image: url('../img/body-bg.png');
    background-size: 100vw;
    background-position: top;
    background-repeat: repeat-y;
    z-index: -1;
    mix-blend-mode: color-dodge;
}

.svg-sprites {
    position: absolute;
    visibility: hidden;
    width: 0;
    height: 0;
}

.container {
    width: 90%;
    margin: 0 auto;
}

header {
    width: 90%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 0;
}

.header__logo,
.footer__logo,
.aff__logo {
    font-family: Inter, sans-serif;
    font-weight: bold;
    font-size: 80px;
    color: var(--main-text);
    text-transform: uppercase;

    span {
        color: var(--lime-bg);
    }
}

@media only screen and (max-width: 1400px) {
    .header__logo,
    .footer__logo {
        font-size: 60px;
    }
}

.lime {
    color: var(--lime-bg);
}

.lime-bg {
    background: var(--lime-bg);
    color: var(--main-bg-color);
    padding: 8px;
}

.header__nav {
    display: flex;
    width: 60%;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.header__nav--links {
    width: 90%;
    border: 1px solid white;
    border-radius: 85px;
    padding: 12px 18px;
    display: flex;
    justify-content: space-between;
    gap: 30px;
    align-items: center;

    a {
        color: var(--main-text);
        text-transform: uppercase;
        text-decoration: none;
        font-size: 16px;
        font-weight: bold;
        line-height: 20px;
        transition: 0.2s ease-in-out;
    }

}

.navigation a:hover {
    font-size: 18px;
}

.nav-btn {
    background: white;
    padding: 10px 15px;
    border-radius: 80px;
    border: 3px solid white;
    transition: 0.2s ease-in-out;
}

.nav-btn:hover {
    background: unset;
    border: 3px solid var(--main-text);
    color: var(--main-text);
}

@media only screen and (max-width: 1400px) {
    .nav-btn {
        padding: 10px 14px;
    }
}

a.nav-btn {
    color: var(--main-bg-color);
}

.lime-btn {
    background: var(--lime-bg);
    border: 3px solid var(--lime-bg);
    transition: 0.2s ease-in-out;
}

.lime-btn:hover {
    border: 3px solid var(--lime-bg);
    color: var(--main-text);
}

.navigation {
    width: 60%;
    display: flex;
    justify-content: space-around;
}

.login {
    display: flex;
    gap: 10px;
}

.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    border: 1px solid white;
    border-radius: 100px;
    padding: 10px 10px;
    width: 35px;
    height: 35px;
    z-index: 999;

    button {
        background: unset;
        border: none;
        padding: 0;
    }
}

.lang-btn:nth-child(1) {
    order: var(--btn-1, 1);
}

.lang-btn:nth-child(2) {
    order: var(--btn-2, 2);
}

.lang-btn:nth-child(3) {
    order: var(--btn-3, 3);
}

.hidden {
    opacity: 0;
}



.language-selector {
    position: relative;
    display: inline-block;
}

.language-button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid #ccc;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    position: absolute;
    z-index: 99999;
    top: -25px;
}

.language-button.open {
    height: 160px;
    border-radius: 25px;
}

.flag {
    width: 75%;
    height: 50px;
    object-fit: contain;
    transition: opacity 0.2s ease;
}

.language-options {
    position: absolute;
    left: 0;
    width: 100%;
    display: none;
    flex-direction: column;
}

.language-button.open .language-options {
    display: flex;
    align-items: center;
}
/*.lang img {*/
/*    width: 32px;*/
/*}*/

main {
    display: flex;
    flex-direction: column;
    position: relative;
}

.nutra {
    position: absolute;
    left: 20px;
    top: 20px;
    height: 600px;
}

.main {
    width: 80%;
    padding: 190px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.main__title {
    font-size: 60px;
    font-weight: 600;
    text-transform: uppercase;
    position: relative;
    text-align: center;
    margin-bottom: 120px;
}

.bg-center {
    position: absolute;
    top: -30px;
    left: -70px;
    right: 0;
    bottom: 0;
    z-index: 1;
    opacity: 5%;
    width: 100%;
    height: 100%;
    font-size: 200px;
    font-weight: 900;
}

.main__title::before {
    content: "CASHGEN";
    position: absolute;
    top: -60px;
    left: -70px;
    right: 0;
    z-index: 1;
    opacity: 2%;
    font-size: 200px;
    font-weight: 900;
}

.main__title::after {
    content: "CASHGEN";
    position: absolute;
    bottom: -80px;
    left: -70px;
    right: 0;
    z-index: 1;
    opacity: 2%;
    font-size: 200px;
    font-weight: 900;
}

.main__btn {
    border-radius: 100px;
    padding: 20px 40px;
    border: 1px solid var(--lime-bg);
    background: unset;
    transition: 0.2s ease-in-out;

    a {
        text-decoration: none;
        color: var(--main-text);
        font-weight: 700;
        text-transform: uppercase;
        transition: 0.2s ease-in-out;
    }
}

.main__btn:hover {
    background: var(--lime-bg);
    border: 1px solid var(--lime-bg);
    transition: .3s easy;

    a {
        color: var(--main-bg-color);
    }
}

.aff {
    margin-top: 110px;
    padding: 0 20px;
}

.aff__description {
    display: flex;
    width: 100%;
    align-items: flex-start;
    justify-content: space-between;
    max-height: 530px;
    min-height: 220px;
    margin-bottom: 100px;
}

.reverse {
    flex-direction: row-reverse;
}

.text-reverse {
    text-align: right !important;
    display: flex;
    flex-direction: column;
    align-items: end;
}

.aff__description--item {
    width: 50%;
    text-align: left;


    p:last-child {
        width: 90%;
        font-size: 20px;
        color: #c3c3c3;
        line-height: 25px;
    }
}

p.item-title {
    text-transform: uppercase;
    font-size: 45px;
    font-weight: bold;
    padding-bottom: 45px;
    line-height: 50px;


    span {
        border-top: 5px solid rgba(59, 70, 21, 0.77);
        border-bottom: 5px solid rgba(59, 70, 21, 0.77);
    }
}

.aff__img {
    position: relative;
    width: 33%;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 450px;
}

.aff__img--bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: -1;
}

.poland {
    /*font-size: 100px;*/
    /*font-weight: bold;*/
    /*text-transform: uppercase;*/
    /*position: relative;*/
    /*left: 10px;*/
}

/*.poland::before {*/
/*    content: "POLAND";*/
/*    position: absolute;*/
/*    top: -10px;*/
/*    left: 0px;*/
/*    right: 0;*/
/*    z-index: 1;*/
/*    opacity: 20%;*/
/*    font-size: 100px;*/
/*    font-weight: bold;*/
/*}*/

/*.poland::after {*/
/*    content: "POLAND";*/
/*    position: absolute;*/
/*    bottom: -5px;*/
/*    left: 0px;*/
/*    right: 0;*/
/*    z-index: 1;*/
/*    opacity: 20%;*/
/*    font-size: 100px;*/
/*    font-weight: bold;*/
/*}*/

.partners {
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 160px;

    p:first-child {
        margin-bottom: 100px;
    }
}

.partner-img {
    width: 100%;
    max-height: 170px;
    height: 170px;
    background: rgba(0, 0, 0, 0.37);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 100px;

    div {
        display: flex;
        align-items: center;
        gap: 10%;
        justify-content: center;
    }

    div:first-child {
        gap: 100px;
        justify-content: space-between;
    }

    div:last-child {
        gap: 100px;
        justify-content: space-between;
    }
}

.contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 190px;
}

.contact__cards {
    width: 85%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    padding-top: 120px;
}

.contact__cards--item {
    display: flex;
    flex-direction: column;
    background: linear-gradient(90deg, rgba(0, 0, 0, 1) 0%, rgba(14, 14, 14, 1) 100%, rgba(23, 27, 10, 1) 100%);
    border: 3px solid white;
    border-radius: 30px;
    max-width: 500px;
    width: 45%;
    height: 170px;
    padding: 20px 30px;
    gap: 15px;
    box-shadow: 0 3px 0 0 #fff;
    transition: 0.2s ease-in-out;
}

.contact__cards--item:hover {
    background: rgb(0, 0, 0);
    background: linear-gradient(90deg, rgba(0, 0, 0, 1) 0%, rgba(14, 14, 14, 1) 33%, rgba(23, 27, 10, 1) 100%);
}

.card-name {
    font-size: 40px;
    font-weight: 600;
    text-transform: uppercase;
}

.media {
    color: var(--main-text);
    text-decoration: none;
    font-size: 20px;
    font-weight: 600;
}

.circle,
.footer-circle {
    display: inline-block;
    padding: 10px;
    border: 1px solid var(--lime-bg);
    border-radius: 50%;
    margin-right: 10px;
}


footer {
    background: #0e0e0e;
    height: 100px;
}

.footer__content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    height: 100%;
}

.footer__logo {
    position: absolute;
    left: 30px;
    font-size: 40px;
}

.footer-circle {
    border: 1px solid var(--main-text);
    width: 40px;
    height: 40px;
}

.footer__media {
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;

    a {
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

.telegram {
    font-size: 30px;
}

.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    font-size: 16px;
    border-radius: 100px;
    border: 1px solid white;
    width: 35px;
    height: 35px;
    z-index: 9999;
    transition: 0.2s ease-in-out;
    opacity: 0;
}

.back-to-top:hover {
    border: 1px solid var(--lime-bg);
    color: var(--lime-bg);
    font-weight: 700;
}

@media only screen and (max-width: 1200px) {
    .mob-none {
        display: flex;
    }

    .d-none {
        display: none;
    }

    .language-selector{
        display: none;
    }

    header {
        position: relative;
    }

    .header__nav {
        opacity: 0;
        width: 112%;
        position: absolute;
        top: 100px;
        left: -6%;
        z-index: 1000;
        display: none;
    }

    .header__nav--links {
        background: var(--main-bg-color);
        width: 100%;
        border: unset;
        border-radius: 0;
        padding: 30px;
        flex-direction: column;
    }

    .nav-btn {
        padding: 10px 15px;
    }

    .navigation {
        flex-direction: column;
        align-items: center;
        gap: 30px;

    }

    .lang-mob button {
        width: 40px;
        height: 40px;
        margin-right: 10px;
        padding: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: unset;
        border: none;
        cursor: pointer;
    }

    .lang-mob button:hover {
        scale: 1.2;
    }



    .main__title {
        font-size: 50px;
        width: 80%;
    }

    .bg-center {
        top: -30px;
        left: -20px;
        right: 0;
        bottom: 0;
        font-size: 150px;
    }

    .main__title::before {
        top: -60px;
        left: -20px;
        right: 0;
        font-size: 150px;
    }

    .main__title::after {
        bottom: -80px;
        left: -20px;
        right: 0;
        z-index: 1;
        opacity: 2%;
        font-size: 150px;
    }

    .nutra {
        display: none;
    }

    .aff__img {

        height: 400px;
    }

    p.item-title {
        font-size: 35px;
    }

    .partner-img {
        div:first-child {
            width: 30%;
            gap: 10px;
        }

        div:last-child {
            width: 60%;
            gap: 10px;
        }
    }

    .contact__cards {
        width: 80%;
    }

    .partner-img {
        width: 100%;
        max-height: 170px;
        height: 170px;
        background: rgba(0, 0, 0, 0.37);
        display: flex;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
        gap: 0;
    }

}

@media (max-width: 1450px) {
    .main {
        width: 100%;
    }

    .main__title {
        width: 90%;
    }

    .main__title::after {
        bottom: -80px;
        left: -10px;
    }

    .main__title::before {
        left: -10px;
    }

    .bg-center {
        left: -10px;
    }

    .aff__description--item {
        width: 50%;
    }

    .aff__img {
        width: 40%;
    }
}

@media (max-width: 1300px) {
    .bg-center {
        top: -30px;
        left: -10px;
        right: 0;
        bottom: 0;
        font-size: 170px;
    }

    .main__title::before {
        top: -50px;
        left: -20px;
        right: 0;
        font-size: 170px;
    }

    .main__title::after {
        bottom: -60px;
        left: -20px;
        right: 0;
        z-index: 1;
        opacity: 2%;
        font-size: 170px;
    }
}

@media (max-width: 1000px) {
    .main__title {
        width: 90%;
        font-size: 40px;
    }

    .bg-center {
        top: -30px;
        left: -10px;
        right: 0;
        bottom: 0;
        font-size: 150px;
    }

    .main__title::before {
        top: -50px;
        left: -20px;
        right: 0;
        font-size: 150px;
    }

    .main__title::after {
        bottom: -60px;
        left: -20px;
        right: 0;
        z-index: 1;
        opacity: 2%;
        font-size: 150px;
    }

    .aff__img {
        height: 350px;
    }

    .aff__logo {
        font-size: 50px;
    }

    .dollar {
        width: 500px;
    }

    .poland {
        width: 400px;
    }


    .partner-img {
        div {
            width: 30%;

            img {
                width: 45%;
            }
        }
    }

    .contact__cards {
        width: 100%;
    }

    .nav-btn {
        padding: 10px 35px;
    }

}

@media (max-width: 940px) {
    body::before {
        background-image: url('../img/bg-mobile.png');
    }

    .bg-center {
        font-size: 120px;
    }

    .main__title::before {
        font-size: 120px;
    }

    .main__title::after {
        bottom: -30px;
        font-size: 120px;
    }

    .aff__img {
        height: 300px;
    }

    p.item-title {
        font-size: 30px;
    }

    .aff__description--item {
        p:last-child {
            width: 100%;
        }
    }

    .contact__cards {
        flex-direction: column;
    }

    .contact__cards--item {
        width: 60%;
    }
}

@media (max-width: 670px) {

    .bg-center {
        font-size: 90px;
    }

    .main__title::before {
        font-size: 90px;
    }

    .main__title::after {
        bottom: -30px;
        font-size: 90px;
    }

    .main__title {
        font-size: 30px;
    }

    .aff__img {
        height: 300px;
    }

    .aff__logo {
        font-size: 50px;
    }

    .aff__img {
        display: none;
    }

    .aff__description--item {
        width: 90%;
    }

    .partner-img {
        div {
            width: 100%;
        }
    }

    .main {
        padding: 50px 0;
    }

    .footer__media {
        width: 100%;
        justify-content: end;
    }

    .contact {
        margin-bottom: 50px;
    }

    .footer__logo {
        font-size: 25px;
    }

    .footer-circle {
        border: 1px solid var(--main-text);
        width: 25px;
        height: 25px;
        padding: 15px;
    }
}

@media (max-width: 540px) {
    .bg-center {
        font-size: 60px;
    }

    .main__title::before {
        font-size: 60px;
    }

    .main__title::after {
        font-size: 60px;
    }

    .main__title {
        font-size: 19px;
    }

    .header__logo {
        font-size: 30px;
    }

    p.item-title {
        font-size: 17px;
    }

    .partner-img {
        flex-wrap: nowrap;
        flex-direction: row-reverse;

        div:first-child {
            width: 30%;
            flex-direction: column;
            gap: 20px;

            img {
                width: 50%;
            }
        }

        div:last-child {
            width: 30%;
            flex-direction: column;
            gap: 20px;

            img {
                width: 80%;
            }
        }
    }

    .partners {
        padding-bottom: 60px;

        p:first-child {
            margin-bottom: 30px;
        }
    }

    .contact__cards {
        padding-top: 40px;
    }

    .contact__cards--item {
        width: 80%;
        height: 130px;
    }

    .card-name {
        font-size: 20px;
    }

    .media {
        font-size: 16px;
    }
}

@media (max-width: 360px) {
    .main__title {
        width: 100%;
    }

    .bg-center {
        left: -5px;
        top: -15px;
        font-size: 55px;
    }

    .main__title::before {
        left: -5px;
        top: -50px;
        font-size: 55px;
    }

    .main__title::after {
        left: -5px;
        bottom: -40px;
        font-size: 55px;
    }

    .main__title {
        font-size: 19px;
        margin-bottom: 80px
    }

    .header__logo {
        font-size: 30px;
    }

    .main__btn {
        width: 90%;
        padding: 20px 0;
    }

    .partner-img {
        div:first-child {
            width: 40%;

            img {
                width: 60%;
            }
        }

        div:last-child {
            img {
                width: 100%;
            }
        }
    }

    .back-to-top {
        bottom: 5rem;
        right: 1rem;
    }

    .nav-btn {
        padding: 6px 20px;
    }
}

@media (min-width: 1560px) {
    .container {
        width: 70%;
    }

    header {
        width: 85%;
    }

    .nav-btn {
        width: 100px;
        text-align: center;
    }

    .back-to-top {
        font-size: 30px;
        border-radius: 100px;
        border: 1px solid white;
        width: 50px;
        height: 50px;
        z-index: 9999;
        transition: 0.2s ease-in-out;
        opacity: 0;
    }

    .aff__img {
        height: 590px;
    }

    .aff__logo {
        font-size: 110px;
    }

    .poland {
        font-size: 130px
    }

    .poland::before,
    .poland::after {
        font-size: 130px;
    }

    .main__btn {
        a {
            font-size: 25px;
        }
    }
}
