* {
    margin: 0;
    padding: 0
}

html {
    height: 100%
}

/* p {
    color: grey
} */

.inf{
    border-radius: 10px
}
#heading {
    text-transform: uppercase;
    color: #673AB7;
    font-weight: normal
}

#msform {
    text-align: center;
    position: relative;
    margin-top: 20px
}

#msform fieldset {
    background: white;
    border: 0 none;
    border-radius: 0.5rem;
    box-sizing: border-box;
    width: 100%;
    margin: 0;
    padding-bottom: 20px;
    position: relative
}

.form-card {
    text-align: left
}

#msform fieldset:not(:first-of-type) {
    display: none
}

#msform input,
#msform textarea {
    padding: 8px 15px 8px 15px;
    border: 1px solid #ccc;
    border-radius: 0px;
    margin-bottom: 25px;
    margin-top: 2px;
    width: 100%;
    box-sizing: border-box;
    font-family: montserrat;
    color: #2C3E50;
    background-color: #ECEFF1;
    font-size: 16px;
    letter-spacing: 1px
}

#msform input:focus,
#msform textarea:focus {
    -moz-box-shadow: none !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    border: 1px solid #673AB7;
    outline-width: 0
}

#msform .action-button {
    width: 100px;
    background: #673AB7;
    font-weight: bold;
    color: white;
    border: 0 none;
    border-radius: 0px;
    cursor: pointer;
    padding: 10px 5px;
    margin: 10px 0px 10px 5px;
    float: right
}

#msform .action-button:hover,
#msform .action-button:focus {
    background-color: #311B92
}

#msform .action-button-previous {
    width: 100px;
    background: #616161;
    font-weight: bold;
    color: white;
    border: 0 none;
    border-radius: 0px;
    cursor: pointer;
    padding: 10px 5px;
    margin: 10px 5px 10px 0px;
    float: right
}

#msform .action-button-previous:hover,
#msform .action-button-previous:focus {
    background-color: #000000
}

.card {
    z-index: 0;
    border: none;
    position: relative
}

.fs-title {
    font-size: 25px;
    color: #673AB7;
    margin-bottom: 15px;
    font-weight: normal;
    text-align: left
}

.purple-text {
    color: #673AB7;
    font-weight: normal
}

.steps {
    font-size: 25px;
    color: gray;
    margin-bottom: 10px;
    font-weight: normal;
    text-align: right
}

.fieldlabels {
    color: gray;
    text-align: left
}

#progressbar {
    margin-bottom: 30px;
    overflow: hidden;
    color: lightgrey
}

#progressbar .active {
    color: #673AB7
}

#progressbar li {
    list-style-type: none;
    font-size: 15px;
    width: 25%;
    float: left;
    position: relative;
    font-weight: 400
}

#progressbar #account:before {
    content: "1"
}

#progressbar #personal:before {
    content: "2"
}

#progressbar #payment:before {
    content: "3"
}

#progressbar #final:before {
    padding-top: 3px;
    font-family: "Font Awesome 5 Free";
    content: "\f00c"
}


#progressbar li:before {
    width: 30px;
    height: 30px;
    line-height: 24px;
    display: block;
    font-size: 15px;
    font-weight: bold;
    color: #ffffff;
    background: lightgray;
    border-radius: 50%;
    /* margin: 0 auto 10px auto; */
    padding: 2px

}


#progressbar li:after {
    content: '';
    width: 300px;
    height: 2px;
    background: lightgray;
    position: absolute;
    left: 0;
    top: 15px;
    z-index: -1
}

#progressbar li.active:before,
#progressbar li.active:after {
    background: rgb(22, 180, 1)
}

.progress {
    height: 20px
}

.progress-bar {
    background-color: #673AB7
}

.next{
        margin: 1rem 0;
        height: 3.5rem;
        width: 40%;
        font-size: 1.7rem;
        text-transform: capitalize;
        cursor: pointer;
        color:#fff;
        border-radius:.5rem;
        background-color:rgb(21, 165, 1);
        position: relative;
        z-index: 0;
        overflow: hidden;
}

.previous{
        margin: 1rem 0;
        height: 3.5rem;
        width: 40%;
        font-size: 1.7rem;
        text-transform: capitalize;
        cursor: pointer;
        color:#fff;
        border-radius:.5rem;
        background-color:orange;
        position: relative;
        z-index: 0;
        overflow: hidden;
}