:root {
    --purple-1: #6949FF;
    --purple-2: #F0EDFF;
    --purple-3: #efedf8;
    --black-1: #1A1A1A;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: var(--black-1);
    font-family: 'Baloo 2';
}

@keyframes scroll-left {
        0%   { transform: translateX(0); }
        100% { transform: translateX(-50%); }
    }

body {
    background-color: white;
}
/* -------------------- */
/* COMPONENTS */
/* -------------------- */

/* Button 1 */
.btn-1 {
    padding: 8px 24px;

    display: flex;
    justify-content: center;
    align-items: center;

    font-size: 17px;
    font-weight: 600;
    color: white;
    background-color: var(--purple-1);
    border-radius: 15px;
    border: 2px solid var(--purple-1);
    cursor: pointer;
}

.btn-1:hover {
    background-color: #886fff;
}

.btn-2 {
    padding: 8px 24px;

    display: flex;
    justify-content: center;
    align-items: center;

    font-size: 17px;
    font-weight: 600;
    color: var(--purple-1);
    background-color: var(--purple-2);
    border-radius: 15px;
    border: 2px solid var(--purple-2);
    cursor: pointer;

    i {
        margin-right: 10px;
        font-size: 18px;
        color: var(--purple-1)
    }
}

.btn-2:hover {
        border: 2px solid var(--purple-1);
}

section {
    padding: 20px 350px;
}

/* Header */
header {
    position: fixed;
    padding: 20px 350px;
    width: 100%;

    display: flex;
    justify-content: space-between;
    align-items: center;

    background-color: white;

    z-index: 1000;

    .logo {
        img {
            width: 130px;
        }
    }

    .lang {
        h4 {
            font-size: 16px;
            font-weight: 400;
            color: gray;
            text-transform: uppercase;

            span {
                font-weight: 700;
            }
        }
    }
}

/* Hero */
.hero-section {
    position: relative;

    width: 100%;
    height: 100vh;

    display: flex;
    align-items: center;

    .text-box {
        width: 50%;

        h1 {
            font-size: 34px;
            font-weight: 700;
            line-height: 45px;

            span {
                color: var(--purple-1);
            }
        }

        h2 {
            width: 100%;
            margin-top: 20px;
            font-size: 17px;
            font-weight: 400;
            font-style: italic;
            color: gray;
            text-transform: uppercase;

            span {
                width: 100%;
                margin-top: 20px;
                font-size: 17px;
                font-weight: 400;
                font-style: italic;
                color: var(--purple-1);
                text-transform: uppercase;
            }
        }

        .buttons {
            margin-top: 30px;
            display: grid;
            grid-template-columns: 49% 49%;
            gap: 2%;
        }

        h4 {
            width: 100%;
            font-family: 'Playwrite CU';
            font-size: 18px;
            font-weight: 700;
            text-transform: lowercase;

            span {
                width: 100%;
                margin-top: 10px;
                font-family: 'Playwrite CU';
                font-size: 16px;
                font-weight: 700;
                text-transform: lowercase;
                color: var(--purple-1);
            }
        }
    }

    figure {
        width: 50%;
        display: flex;
        justify-content: right;

        img {
            width: 85%;
        }
    }

    .lang-bar {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100px;
        padding: 0 20px;
        display: flex;
        align-items: center;
        background-color: var(--purple-2);
        overflow: hidden;
    }

    .lang-track {
        display: flex;
        gap: 20px;
        flex-wrap: nowrap;
        width: max-content;
        animation: scroll-left 20s linear infinite !important;
    }

    /* elementy listy */
    .lang-track li {
        list-style: none;
        display: flex;
        align-items: center;
        padding: 5px 20px;
        gap: 10px;
        font-size: 14px;
        font-weight: 500;
        color: gray;
        background-color: white;
        border: 2px solid #EFEEEE;
        border-radius: 15px;
        flex-shrink: 0; 
        white-space: nowrap;
    }

    .lang-track li img {
        height: 35px;
        display: block;
    }

    
}

/* Features */
.features-section {
    width: 100%;
    min-height: 100vh;

    .box {
        padding: 50px 0px;

        width: 100%;
        height: 25%;

        display: grid;
        grid-template-columns: 50% 50%;
        gap: 10px;
        align-items: center;

        .text-box {
            width: 100%;

            h2 {
                font-size: 40px;
                font-weight: 700;
                color: var(--purple-1);
                line-height: 44px;
            }

            p {
                margin-top: 20px;
                font-size: 17px;
                font-weight: 400;
            }
        }

        figure {
            img {
                width: 100%;
            };
        }
    }
}

/* Workflow */
.workflow-section {
    padding-top: 50px;
    padding-bottom: 50px;
    width: 100%;
    min-height: 100vh;
    background: var(--purple-1);

    .box {
        padding: 50px 0px;

        width: 100%;
        height: 25%;

        display: grid;
        grid-template-columns: 50% 50%;
        gap: 10px;
        align-items: center;

        .text-box {
            width: 100%;

            h2 {
                font-size: 40px;
                font-weight: 700;
                color: white;
                line-height: 44px;
            }

            p {
                margin-top: 20px;
                font-size: 17px;
                font-weight: 400;
                color: white;
            }
        }

        figure {
            img {
                width: 100%;
            };
        }
    }
}

/* Get Started Section */
.get-started-section {
    position: relative;
    padding-top: 100px;
    width: 100%;
    height: 480px;

    display: flex;
    flex-direction: column;
    align-items: center;

    h3 {
        font-size: 36px;
        line-height: 40px;
    }

    p {
        margin-top: 20px;
        font-size: 17px;
        font-weight: 400;
    }

    button {
        margin-top: 30px;
    }

    img {
        position: absolute;
        height: 280px;
        transform: translateY(150px);
        z-index: 500;
    }
}

/* Footer */
footer {
    position: relative;
    padding: 20px 350px;
    width: 100%;
    height: 40vh;

    background-color: var(--purple-3);

    .menu {
        padding-top: 80px;
        width: 100%;
        display: flex;
        gap: 40px;
        justify-content: center;

        .col {

            h5 {
                font-size: 18px;
                font-weight: 700;
                color: var(--purple-1);
            }

            ul {padding-top: 5px;
                list-style: none;
                display: flex;
                flex-direction: column;
                gap: 5px;

                li {
                    a {
                        font-size: 16px;
                        font-weight: 500;
                        color: gray;
                        text-decoration: none;
                    }
                }
            }
        }
    }

    p {
        position: absolute;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);

        font-size: 18px;
        font-weight: 500;
        color: gray;
    }
}

/* --------------- */
/* Media */
/* --------------- */
@media (min-width: 768px) and (max-width: 1400px) {
    header {
        padding: 20px 20px;

        justify-content: center;

        .lang {
            display: none;
        }
    }
    
    section {
        padding: 20px 40px;
    }
}

@media (max-width: 767px) {

    header {
        padding: 20px 20px;

        justify-content: center;

        .lang {
            display: none;
        }
    }

    section {
        padding: 20px 40px;
    }

    .hero-section {
        padding: 150px 40px;
        height: 100%;
        flex-direction: column-reverse;
        justify-content: center;
        gap: 20px;

        .text-box {
            width: 100%;
            text-align: center;

            h1 {
                font-size: 42px;
            }

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

            h4, h4 span {
                font-size: 16px;
            }
        }

        figure {
            width: 100%;
            display: flex;
            justify-content: center;

            img {
                width: 80%;
            }
        }
    }

    .features-section {
        .box:nth-child(2), :nth-child(4) {
            display: flex;
            flex-direction: column;
        }

        .box:nth-child(1), :nth-child(3) {
            display: flex;
            flex-direction: column-reverse;
        }

        .box {
            .text-box {
                text-align: center;

                p {
                    font-size: 18px;
                }
            }
        }
    }

    .workflow-section {
        .box:nth-child(2), :nth-child(4) {
            display: flex;
            flex-direction: column;
        }

        .box:nth-child(1), :nth-child(3) {
            display: flex;
            flex-direction: column-reverse;
        }

        .box {
            gap: 30px;
            .text-box {
                text-align: center;

                p {
                    font-size: 18px;
                }
            }
        }
    }

    .get-started-section {
        padding-bottom: 240px;
        height: 100%;

        text-align: center;

        p {
            font-size: 18px;
        }

        button {
            width: 100%;
        }

        img {
            bottom: 0;
            transform: translateY(50px);
        }
    }

    footer {
        padding: 60px 40px;
        height: 100%;

        display: flex;
        justify-content: center;
        align-items: center;

        .menu {
            padding-top: 0;
            padding-bottom: 40px;
            display: flex;
            flex-direction: column;

            text-align: center;

            .col {
                h5 {
                    font-size: 20px;
                }
                
                ul li a {
                    font-size: 16px;
                }
            }
        }

        p {
            width: 100%;
            font-size: 16px;
            text-align: center;
        }
    }
}

@media (max-width: 520px) {
    #cookie-banner {
        flex-direction: column;
    }
}