* {
    box-sizing: border-box;
}

body {
    --h: 212deg;
    --l: 43%;
    --brandColor: hsl(var(--h), 71%, var(--l));
    /* best font-families */

    /* font-family: 'Open Sans', sans-serif; */
}

p {
    /* margin: 0; */
    line-height: 1.6;
}

ol.steps {
    list-style: none;
    counter-reset: list;
    padding: 0 1rem;
}

li.steps {
    --stop: calc(100% / var(--length) * var(--i));
    --l: 62%;
    --l2: 88%;
    --h: calc((var(--i) - 1) * (180 / var(--length)));
    --c1: hsl(var(--h), 71%, var(--l));
    --c2: hsl(var(--h), 71%, var(--l2));

    position: relative;
    counter-increment: list;
    max-width: 45rem;
    margin: 2rem auto;
    padding: 2rem 1rem 1rem;
    box-shadow: 0.1rem 0.1rem 1.5rem rgba(0, 0, 0, 0.3);
    border-radius: 0.25rem;
    overflow: hidden;
    background-color: white;
}


li::before {
    content: '';
    display: block;
    width: 100%;
    height: 1rem;
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(to right, var(--c1) var(--stop), var(--c2) var(--stop));
}

h3 {
    display: flex;
    align-items: baseline;
    margin: 0 0 1rem;
    color: rgb(70 70 70);
    margin-bottom: 10px;
    font-size: 1.3em;
}

h3::before {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 0 0 auto;
    margin-right: 1rem;
    width: 3rem;
    height: 3rem;
    content: attr(data-step);
    padding: 1rem;
    border-radius: 50%;
    background-color: var(--c1);
    color: white;
}

/* Additional styling for a more professional look */
article {
    margin-bottom: 15px;
}

h3,
h4 {
    font-weight: bold;
}

h4 {
    margin-top: 20px;
    font-size: 1.2em;
}

/* Style visited links */
p a:visited,
.showcase a:visited {
    color: inherit;
}

p a,
.showcase a {
    text-decoration: none;
    color: inherit;
}

p a:hover,
.showcase a:hover {
    text-decoration: underline;
    color: #007bff;
}

.steps a:visited {
    color: inherit;
}

.steps a {
    text-decoration: underline;
    color: inherit;
}

.steps a:hover {
    text-decoration: underline;
    color: #007bff;
}


.onboarding-completed {
    /* box-like div to draw attention */
    background-color: rgb(70, 69, 67);
    color: white;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 10px;
    margin: 20px 0;

}

.center{
    /* position h3 text to the center of the page */

    display: flex;
    justify-content: center;
    align-items: center;
    flex: 0 0 auto;
}

