@charset "utf-8";

/* Main Content */
main.content {
    padding-top: 14vh;
    padding-bottom: 14vh;
}

header {
    gap: 4rem;
}


/* Header Content */
.header-content {
    gap: 16px;
}

.header-content-text {
    gap: 8px;
}

.header-content-text-title {
    font-size: calc(1.375rem + 1.5vw)!important;
    line-height: 1.2;
}


/* Badge */
.header-content .badge {
    background-color: #cce5ff;
    color: #0275d8;
    border: 1px solid #b8daff;
    font-weight: 700;
    letter-spacing: 0.05rem;
    width: fit-content;
    font-size: 12px;
    gap: 4px;
}

.header-content .badge svg {
    height: 18px;
    width: 18px;
}


/* Form */
.header-content-form {
    gap: 16px;
    width: 100%;
}

.header-content-form-wrapper {
    border: 1px solid #ced4da;
    width: fit-content;
    padding: 4px;
    border-radius: 4px;
    gap: 8px;
    width: 100%;
}

.header-content-form-wrapper input {
    all: unset;
    padding-left: 8px;
}

.header-content-form-wrapper button {
    font-size: 18px;
    cursor: pointer;
}


/* Card */
.card {
    min-height: 130px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-self: center;
}

.card-body {
    padding: 16px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    
}

.card-body .card-icon {
    padding: 12px;
    border-radius: 12px;
    background-color: #cce5ff;
    border: 1px solid #b8daff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-body .card-icon svg {
    color: #0275d8;
}

.card-body .card-text {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.card-body .card-text .card-text-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
}

.card-body .card-text .card-text-description {
    margin: 0;
    font-size: 14px;
}


/* Steps */
.header-steps {
    position: relative;
    gap: 24px;
    padding-left: 1.5rem;
}

.timeline {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 3px;
    width: 2px;
    background: #cce5ff;
}

.timeline:before,
.timeline:after {
    content: '';
    display: block;
    position: absolute;
    height: 6rem;
    left: 0;
    right: 0;
}

.timeline:before {
    top: 0;
    background: linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
}

.timeline:after {
    bottom: 0;
    background: linear-gradient(0deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);;
}

.steps {
    gap: 24px;
    counter-reset: orderedlist;
    list-style: none;
    margin-bottom: 0;
}

.steps li {
    position: relative;
}

.steps li:before {
    counter-increment: orderedlist;
    content: counter(orderedlist);
    position: absolute;
    top: 50%;
    left: -1.2rem;
    transform: translate(-50%, -50%);
    font-size: 18px;
    font-weight: bold;
    color: #0275d8;
    background: #fff;
    padding: 8px;
    border-radius: 100%;
}

.header-steps .btn-outlined {
    border: 1px solid #0275d8;
    color: #0275d8;
    font-weight: 400;
    padding: 18px;
}

.header-steps .btn-outlined span {
    flex-wrap: wrap;
}

.header-steps .btn-outlined.btn-lg {
    font-size: 14px;
}

.header-steps .btn-outlined:hover {
    background-color: #0275d8;
    color: #fff;
}

.header-steps .btn-outlined:active {
    background-color: #0062cc;
    border-color: #005cbf;
}


/* Facts */
.header-content-facts {
    margin-top: 1rem;
}

.fact {
    max-width: 200px;
}

.fact .fact-title {
    font-size: 1.75rem;
    color: #292b2c;
}


/* Divider */
.divider {
    height: 6rem;
    width: 1px;
    background-color: #ced4da;
    margin: 0 0.5rem;
}


/* Media Querie */
@media (min-width: 576px) {
    .divider {
        margin: 0 2rem;
    }

    .card-body {
        padding: 24px;
        gap: 24px;
    }

    .steps {
        gap: 24px;
    }

    .card-body .card-text .card-text-description {
        font-size: 16px;
    }

    .card-body .card-icon {
        padding: 18px;
        border-radius: 18px;
    }

    .card-body .card-text .card-text-title {
        font-size: 1.3rem;
    }

    .header-steps {
        gap: 36px;
    }
}

@media (min-width: 992px) {
    header {
        gap: 0;
    }

    .header-content-text {
        max-width: 530px;
    }

    .header-content-form {
        max-width: 500px;
    }

    .header-content-facts {
        margin-top: 4rem;
    }

    .header-steps {
        padding-left: 3rem;
    }

    .timeline {
        left: 16px;
    }

    .steps li:before { 
        left: -2rem;
    }

    .header-steps .btn-outlined {
        padding: 18px;
    }
    
    .header-steps .btn-outlined.btn-lg {
        font-size: 18px;
    }
}

div#demo-box-info>span {
    left: 50%;
    top: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
    position: absolute;
}

div#demo-box-info {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 15px;
    left: 0px;
    z-index: 2;
    display: block;
    justify-content: center;
    background-color: #001c37bd;
    color: #292b2c;
    border: none;
}

div#demo-box-info>span,
div#demo-box-info a {
    left: 50%;
    top: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
    position: absolute;
    display: flex;
    flex-direction: column;
    background: white;
    max-width: 500px;
}

#demo-box-message p.lead small {
    font-size: 70%;
    opacity: 0.6;
}

#fb-user-auth br,
#error-message {
    display: none;
}