﻿/* Common */

.title {
    margin: 0;
    margin-bottom: 20px;
    font-size: 30px;
    font-weight: 600;
    text-align: center;
    color: var(--black);
}

.subtitle {
    text-align: center;
    margin-bottom: 40px;
    font-size: 16px;
    color: #718096;
}

.badge-title {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
}

    .badge-title .text {
        background-color: #e6f1ff;
        color: #0473db;
        padding: 4px 12px;
        text-align: center;
        border-radius: 50px;
    }

/* Hero */
.hero {
    position: relative;
    padding-bottom: 340px;
    overflow: hidden;
}

    .hero .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding-top: 140px;
    }

    .hero .title {
        padding-bottom: 20px;
        font-size: 48px;
        font-weight: 600;
        font-family: poppins, sans-serif;
        margin: 0;
        text-align: center;
        color: #fff;
    }

    .hero .subtitle {
        margin-bottom: 0;
        color: #d3d3d3;
    }

    .hero .button {
        margin-top: 45px!important;
        margin-bottom: 20px!important;
        font-size: 16px;
        padding: 15px 30px;
        border-radius: 8px 8px 8px 8px;
        border: none;
        background-color: #e6f1ff;
        color: #0473db;
        font-weight: 500;
        text-decoration: none;
    }

    .hero .overlay {
        position: absolute;
        bottom: 0;
        left: 0;
        top: 0;
        width: 100%;
        z-index: -1;
        background-image: url(../Images/hero-overlay.svg);
        background-repeat: no-repeat;
        background-size: cover;
        background-position-x: center;
        background-position-y: bottom;
    }

/* Preview */
.preview {
}

    .preview .terminal {
        position: relative;
        top: -250px;
        margin: 0 0 -75px;
        height: 300px;
        background: #f4f5f6;
        box-shadow: 0px 40px 64px -32px rgb(15 15 15 / 10%);
        border-radius: 25px; /* Fake radius */
        max-width: 700px;
    }

        .preview .terminal .topbar {
            display: flex;
            align-items: center;
            justify-content: space-between;
            background-color: #3c4257;
            padding: 10px 12px;
            border-top-left-radius: 12px;
            border-top-right-radius: 12px;
        }

            .preview .terminal .topbar .topbar-title {
                color: #a3acb9;
                font-size: 12px;
            }

            .preview .terminal .topbar .switch {
                margin-left: auto;
                display: flex;
                align-items: center;
                position: relative;
            }

                .preview .terminal .topbar .switch select {
                    display: block;
                    position: static;
                    appearance: none;
                    background-color: transparent;
                    border: 0;
                    outline: 0;
                    white-space: nowrap;
                    color: #c1c9d2;
                    padding: 4px 28px 4px 8px;
                    text-align: right;
                    text-align-last: right;
                }

                .preview .terminal .topbar .switch .arrows {
                    position: absolute;
                    right: 8px;
                    top: 3px;
                    z-index: 2;
                    color: #c1c9d2;
                    pointer-events: none;
                }

                    .preview .terminal .topbar .switch .arrows svg {
                        fill: currentColor;
                    }

            .preview .terminal .topbar .bt-copy {
                border: none;
                background-color: transparent;
                appearance: none;
                color: #ffffff;
                cursor: pointer;
            }

                .preview .terminal .topbar .bt-copy svg {
                    fill: currentColor;
                }

        .preview .terminal .body {
            background-color: #4f566b;
            padding: 0;
            height: 103%;
            border-bottom-left-radius: 12px;
            border-bottom-right-radius: 12px;
        }

        .preview .terminal .scroll {
            display: flex;
            flex-direction: row;
            overflow-y: auto;
            height: 100%;
            padding-left: 5px;
        }

            .preview .terminal .scroll .language::-webkit-scrollbar {
                width: 6px;
                height: 6px;
            }

            .preview .terminal .scroll .language::-webkit-scrollbar-track {
                background: none;
            }

            .preview .terminal .scroll .language::-webkit-scrollbar-thumb {
                background-color: #212121;
                border-radius: 20px;
            }

            .preview .terminal .scroll .language::-webkit-scrollbar-corner {
                background: none;
            }

        .preview .terminal .body .language {
            color: #fff;
            flex-grow: 1;
            overflow: auto;
            direction: ltr;
            text-align: left;
            /* white-space: pre;*/
            word-spacing: normal;
            hyphens: none;
            tab-size: 4;
            padding: 12px 12px 12px 12px;
            background-color: transparent;
            border: none;
            padding-left: 5px;
            margin: -5px 7px 5px -5px;
        }

        .preview .terminal .body .code {
            white-space: pre;
        }

        .preview .terminal .body .language .line, .preview .terminal .body .language .line-last {
            float: left;
            min-height: 22px;
            line-height: 22px;
            counter-increment: lineNumber;
            position: relative;
            top: 0;
            left: 0;
            padding-left: 35px;
            width: 51%;
            word-spacing: normal;
            word-break: break-all;
            word-wrap: normal;
            width: 100%;
        }

        .preview .terminal .body .language .line:before, .preview .terminal .body .language .line-last:before {
            position: absolute;
            color: #697386;
            font-family: SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;
            font-size: 13px;
            left: 0;
            width: 20px;
            pointer-events: none;
            content: counter(lineNumber);
            text-align: right;
            -webkit-user-select: none;
            -moz-user-select: none;
            -ms-user-select: none;
            user-select: none;
        }

.terminal .language .token.api-token {
    background-color: #85d99659;
    color: #85d996;
    padding: 0 3px;
}

.terminal .language .token.string {
    color: #85d996;
}

.terminal .language .token.operator {
    color: #a4cdfe;
}

.terminal .language .token.punctuation {
    color: #8792a2;
}

.terminal .language .token.keyword {
    color: #a4cdfe;
}

.terminal .language .type.string {
    color: #177cdb;
}

.terminal .language .variable {
    color: #78c3bf;
}

.terminal .language .type {
    color: #a4cdfe;
}

.terminal .language .function {
    color: #ffe587;
}

/* Modules */
.modules .container {
    border-radius: 24px;
    padding-bottom: 75px;
}

.container .button-container {
    padding-top: 60px;
    text-align: center;
}

.container .button {
    font-size: 16px;
    padding: 15px 30px;
    border-radius: 8px 8px 8px 8px;
    border: none;
    background-color: #e6f1ff;
    color: #0473db;
    font-weight: 500;
    text-decoration: none;
    display:flex;
    margin: 0 auto;
    width: fit-content;
}

.button:hover {
    text-decoration: none;
}

.modules .details {
    display: flex;
    flex-wrap: wrap;
    margin: 0px -15px;
    justify-content: center;
}

    .modules .details .card {
        width: 100%;
        padding: 15px 0;
    }


        .modules .details .card .card-content {
            display: flex;
            flex-direction: column;
            padding: 20px 30px;
            height: 100%;
            align-items: center;
            text-decoration: none;
            color: #000;
            border-radius: 16px;
            border: 2px solid #fff;
            transition: all .2s ease-in;
        }

            .modules .details .card .card-content:hover {
                background-color: hsl(230deg 30% 99%);
            }

            .modules .details .card .card-content .icon {
                display: flex;
                align-items: center;
                justify-content: center;
                width: 75px;
                height: 75px;
                background: #e6f1ff;
                border-radius: 12px;
                margin-bottom: 15px;
            }

                .modules .details .card .card-content .icon img {
                    width: 35px;
                    height: 35px;
                }

            .modules .details .card .card-content h4 {
                font-size: 16px;
                margin: 0;
            }

            .modules .details .card .card-content h5 {
                font-size: 13px;
                margin-bottom: 14px;
                color:gray;
                margin-top:5px;
            }
            .modules .details .card .card-content p {
                color: rgb(93, 106, 118);
                font-size: 14px;
                text-align: center;
            }

/* Authentification */
.authentification {
    margin-bottom: 110px;
}

    .authentification .container {
        padding-top: 75px;
        padding-bottom: 75px;
    }

    .authentification .authentification-content {
        display: flex;
        flex-direction: column;
        position: relative;
        padding: 75px 35px;
        margin: 75px 25px 0;
    }

    .authentification .authentification-overlay {
        position: absolute;
        inset: 0;
        background: #f2f3f8;
        transform: rotate(2deg);
        border-radius: 24px;
        z-index: -1;
    }

    .authentification .card {
        width: 100%;
        flex: 1;
    }

        .authentification .card:nth-child(2) {
            margin-bottom: 35px;
        }

        .authentification .card .card-content {
            background-color: #fff;
            padding: 45px 55px;
            border-radius: 16px;
        }

            .authentification .card .card-content h4 {
                margin: 0;
                font-size: 18px;
                text-align: center;
                margin-bottom: 15px;
            }

            .authentification .card .card-content p {
                line-height: 28px;
                color: rgb(113, 128, 150);
                font-size: 14px;
                text-align: center;
            }

/* Responsive */
@media (min-width: 768px) {
    .preview .terminal {
        margin: 0 auto;
    }

    .modules .details .card {
        width: 25%;
    }

        .modules .details .card .card-content {
            padding: 30px 30px;
        }

    .authentification-content {
        display: flex;
        flex-direction: row;
        align-items: center;
    }

    .authentification .authentification-content {
        display: flex;
        flex-direction: row;
    }

    .authentification-content .card {
        width: 50%;
    }

    .authentification .card:nth-child(2) {
        margin-right: 15px;
        margin-bottom: 0px;
    }

    .authentification .card:nth-child(3) {
        margin-left: 15px;
    }

    .authentification .steps {
        margin: 35px 0 35px 35px;
        align-items: unset;
    }

        .authentification .steps p {
            text-align: justify;
        }
}
