@import "fonts.css";

/* variables */
:root {
    --text-color: rgb(27, 27, 27);
    --primary-color: rgb(252, 95, 73);
    --secondary-color: rgb(255, 235, 232);
    --field-color: rgb(255, 255, 255);
    --nutox-primary-color: #ee283b;
}

body {
    font-family: "Gotham Book";
    width: 100%;
    height: 100vh;

    display: flex;
    flex-direction: column;
}

main {
    width: 100%;
    height: 100%;
    /*background-image: url(../images/nutox/background/bg.png);*/
    /*background-size: 100% 100%;*/

    background-image: url(../images/nutox/background/bg.png);
    background-size: cover;
    background-repeat: no-repeat;
}

.container {
    max-width: 1450px !important;
}

.selections-rd,
.selections-sq {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    margin-top: 40px;
}

.selections-sq-wrapper {
    display: flex;
}

.selections-rd input[type="radio"],
.selections-sq input[type="radio"] {
    -webkit-appearance: none;
}

.selections-rd label {
    height: 250px;
    width: 250px;
    border-radius: 150px;
    padding: 15px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
}

#step3 .selections-sq label {
    height: 200px;
    width: 200px;
    padding: 12px;
}

.selections-sq label {
    height: 280px;
    width: 240px;
    border-radius: 30px;
    padding: 15px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
}

.selections-sq label > span.description {
    border-radius: 10px;
    padding: 10px 18px;
    font-size: 15px;
    font-weight: bold;
    background-color: var(--nutox-primary-color);
    color: white;
    min-height: 80px;

    box-shadow: inset 0 0 5px rgba(20, 20, 20, 0.89);

    display: flex;
    align-items: center;
}

#step3 .selections-sq label > span.description {
    min-height: 50px;
}

.selections-rd label,
.selections-sq label {
    /*border: 5px solid var(--nutox-primary-color);*/
    box-shadow: darkgray 0 0 20px 1px;
    position: relative;
    margin: auto;
    color: var(--nutox-primary-color);
    transition: 0.5s;
    background-color: white;
}

.selections-rd label > img,
.selections-sq label > img {
    /*margin-left: -8px;*/
}

.selections-rd .fa,
.selections-sq .fa {
    font-size: 80px;
    /*position: absolute;*/
    /*top: 50%;*/
    /*left: 50%;*/
    /*transform: translate(-50%, -80%);*/
}

.selections-rd label > span {
    font-size: 30px;
    font-weight: bolder;
}

.selections-sq label > span {
    font-size: 20px;
    font-weight: bolder;
}

.selections-rd label > span,
.selections-sq label > span {
    text-align: center;
    /*position: absolute;*/
    /*top: 50%;*/
    /*left: 50%;*/
    /*transform: translate(-50%, 80%);*/
    /*font-family: "Poppins", sans-serif;*/
}

.selections-rd input[type="radio"]:checked + label,
.selections-sq input[type="radio"]:checked + label {
    background-color: var(--nutox-primary-color);
    color: white;
    box-shadow: 0 15px 45px rgba(24, 249, 141, 0.2);
}

.selections-rd input[type="radio"]:checked + label img,
.selections-sq input[type="radio"]:checked + label img {
    filter: invert(100%) sepia(100%) saturate(0%) hue-rotate(360deg) brightness(135%) contrast(100%);
}

.selections-sq input[type="radio"]:checked + label {
    width: calc(240px + 15px);
    height: calc(280px + 20px);
}

.selections-sq input[type="radio"]:checked + label > span.description {
    background-color: white;
    color: var(--nutox-primary-color);
    font-weight: bold;
}

.start > article {
    text-align: left;
}

.start-wrapper {
    min-height: 90vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    padding: 10px 0;
    position: relative;
}

.start {
    text-align: center;
    flex: 1;
    display: flex;
    align-content: space-between;
    align-items: center;
    height: 100%;
}

.start.home,
.startForm {
    width: 100%;
    margin: 0 auto;
}

.start .start-img {
    width: auto;
}

.start-img img {
    width: auto;
}

.start-text {
    width: 100%;
    margin: 0 auto;
    position: relative;
}

.start-text::before {
    content: "";
    background-color: transparent;
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    bottom: 0;
}

.start-text .title h1 {
    font-size: 60px;
    color: var(--nutox-primary-color);
    font-weight: bold;
    margin-bottom: .25rem !important;
}

.start-text .title h2 {
    font-size: 50px;
    color: var(--nutox-primary-color);
    font-weight: bold;
    margin-bottom: .25rem !important;
}

.start-text .subtitle h3 {
    font-size: 40px;
    color: white;
    font-weight: lighter;
    text-shadow: #1a1d20 -2px 2px 8px;
}


.start-text p {
    font-size: 30px;
    color: var(--text-color);

    margin-top: 20px;
}

.start-btn {
    border-radius: 30px;
    background-color: white;
    padding: 5px 80px;
    height: 60px;
    font-size: 26px;
    color: var(--nutox-primary-color);
    font-weight: bold;
    margin: 0 auto;
    margin-top: 30px;
    width: max-content;
    position: relative;
    /*border: solid 5px transparent;*/

    --border-angle: 0turn;
    --main-bg: conic-gradient(
            from var(--border-angle),
            #fff,
            #fff 5%,
            #fff 60%,
            #fff 100%
    );
    border: solid 3px transparent;
    --gradient-border: conic-gradient(from var(--border-angle), transparent 25%, var(--nutox-primary-color), var(--nutox-primary-color) 85%, transparent);
    background: var(--main-bg) padding-box, var(--gradient-border) border-box, var(--main-bg) border-box;
    background-position: center center;
    -webkit-animation: bg-spin 1.5s linear infinite;
    animation: bg-spin 1.5s linear infinite;
}
@-webkit-keyframes bg-spin {
    to {
        --border-angle: 1turn;
    }
}
@keyframes bg-spin {
    to {
        --border-angle: 1turn;
    }
}
@property --border-angle {
    syntax: "<angle>";
    inherits: true;
    initial-value: 0turn;
}

.startForm {
    width: 100%;
}

.startForm h2 {
    font-size: 40px;
}

.startForm .start-img {
    width: 100%;
    margin: 0 auto;
}

.startForm .start-img img {
    width: 100%;
}

#steps,
#recommend {
    width: 100%;
    display: flex;
    height: 100%;
    flex-direction: column;
}

#recommend .form-inner {
    display: block;
}

.navbar {
    background-color: #ee283b !important;
    color: white !important;
    padding: 8px 32px;
    justify-content: space-between;
}

.navbar .navbar-nav li {
    padding: 5px 20px;
}

.navbar .navbar-nav li a {
    color: white !important;
}

.steps,
.recommend {
    position: relative;
}

.recommend .selections-sq {
    margin-top: 40px;
}

.recommend .selections-sq span.product {
    color: black;
    font-size: 14px;
    font-weight: bold;
}

.recommend .selections-sq-wrapper {
    margin: 0 15px;
}

.recommend .selections-sq label {
    min-height: 280px;
    height: auto;
    width: 240px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
}

.recommend .selections-sq label > a.buynow {
    border-radius: 10px;
    padding: 10px 18px;
    font-size: 15px;
    font-weight: bold;
    background-color: var(--nutox-primary-color);
    color: white;
    min-height: 40px;
    margin-top: 10px;

    box-shadow: inset 0 0 5px rgba(20, 20, 20, 0.89);

    display: flex;
    align-items: center;
    text-decoration: none;
}

.recommend .selections-sq label {
    /*border: 5px solid var(--nutox-primary-color);*/
    box-shadow: none;
    position: relative;
    margin: auto;
    background-color: transparent;
    padding: 10px;
    transition: none;
}

.recommend .selections-sq input[type="radio"]:checked + label {
    background-color: transparent;
    color: inherit;
    box-shadow: none;
}

.recommend .selections-sq input[type="radio"]:checked + label img {
    filter: none;
}

.recommend .selections-sq input[type="radio"]:checked + label {
    width: 240px;
    height: 280px;
}

.recommend .selections-sq input[type="radio"]:checked + label > span.description {
    background-color: transparent;
    color: inherit;
    font-weight: inherit;
}

.steps fieldset,
.recommend fieldset {
    position: relative;
}

.steps .svgBG,
.recommend .svgBG,
.svgBGLast {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.svgBGLast {
    left: 60%;
}

.form-inner {
    flex: 1;
    height: 100%;
    display: grid;
    align-items: center;
    padding: 50px;
}

.form-wrapper {
    width: 100%;
    margin: 0 auto;
}

.steps > fieldset,
.recommend > fieldset {
    width: 100% !important;
    margin: 0 auto;
}

.steps .label-head {
    font-size: 50px;
    color: var(--nutox-primary-color);
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.recommend > fieldset {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.recommend label.title {
    font-size: 38px;
    color: black;
    font-weight: bold;
}
.recommend label.title-sm {
    font-size: 25px;
    color: black;
    font-weight: bold;
}
.recommend p.title {
    font-size: 20px;
    color: black;
    margin-bottom: 0;
}
.recommend p.subtitle {
    font-size: 16px;
    color: black;
    margin-bottom: 0;
    width: 900px;
    text-align: center;
}

.select-field {
    width: 100%;
    height: auto;
    position: relative;
    margin-bottom: 40px;
}

.select-field select {
    appearance: none;
    border: 0;
    border-bottom: solid 3px var(--primary-color);
    width: 100%;
    height: 60px;
    font-size: 29px;
    color: rgb(206, 206, 206);
    cursor: pointer;
    transition: 0.4s;
}

.select-field select + span::before {
    content: "\f063";
    font-family: "Font Awesome 5 free";
    font-weight: 900;
    font-size: 18px;
    color: var(--primary-color);
    position: absolute;
    right: 7px;
    top: 20px;
    pointer-events: none;
}

.select-field select:focus {
    outline: none;
    border-color: var(--secondary-color);
}

.select-field select:focus ~ span::before {
    color: var(--secondary-color);
}

.next-prev {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.confirm,
.prev {
    border: solid 4px var(--nutox-primary-color);
    border-radius: 50px;
    width: 110px;
    height: 65px;
    font-size: 22px;
    font-weight: bold;
    transition: 0.25s;
    margin: 30px 10px;
}

.confirm {
    color: var(--nutox-primary-color);
    background-color: white;
}

.confirm > span.error {
    position: absolute;
    font-weight: normal;
    font-size: 18px;
    font-style: italic;
    text-decoration: underline;
}

#step1 .confirm > span.error,
#step2 .confirm > span.error {
    margin: 50px -200px;
}

#step3 .confirm > span.error {
    margin: 50px -195px;
}

.confirm > span.show {
    display: block;
}

.confirm > span.hide {
    display: none;
}

.prev {
    background-color: white;
    color: var(--nutox-primary-color);
    width: 135px;
}

.prev::before {
    content: "<";
    padding-right: 8px;
}

#step3 .confirm {
    width: 380px;
}

/*.confirm::after {*/
/*    content: "?";*/
/*    display: inline-block;*/
/*    margin-left: 7px;*/
/*    width: 17px;*/
/*}*/

.confirm:hover,
.prev:hover {
    background-color: var(--nutox-primary-color);
    color: white;
}

#step2,
#step3 {
    width: 52%;
    margin: 0 auto;
}

.field-wrap {
    width: 87%;
    margin-left: auto;
}

.radio-field {
    width: 100%;
    height: 70px;
    position: relative;
    margin-bottom: 15px;
    display: grid;
    align-items: center;
    padding: 15px 20px 15px 20px;
    opacity: 0;
}

.radio-field input {
    appearance: none;
    border: solid 1px rgb(255, 221, 216);
    border-radius: 50px;
    background-color: rgb(255, 249, 248);
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    transition: 0.4s;
    cursor: pointer;
    overflow: hidden;
}

.radio-field label {
    color: var(--primary-color);
    font-size: 25px;
    position: relative;
    z-index: 10;
    pointer-events: none;
    transition: 0.4s;
}

.radio-field label::before {
    content: "C";
    border-radius: 50%;
    border: solid 1px rgb(255, 221, 216);
    background-color: rgb(255, 255, 255);
    display: inline-block;
    color: var(--primary-color);
    text-align: center;
    line-height: 43px;
    width: 43px;
    height: 43px;
    margin-right: 25px;
    transition: 0.4s;
    text-transform: uppercase;
}

.radio-field .op1::before {
    content: "a";
}

.radio-field .op2::before {
    content: "b";
}

.radio-field .op3::before {
    content: "c";
}

.radio-field .op4::before {
    content: "d";
}

.radio-field .op5::before {
    content: "e";
}

.radio-field .op6::before {
    content: "f";
}

.radio-field input::before {
    content: "";
    width: 0;
    height: 100%;
    background-color: var(--primary-color);
    position: absolute;
    top: 0;
    left: 0;
    transition: 0.4s;
}

.radio-field input:checked {
    border-color: var(--primary-color);
}

.radio-field input:checked::before {
    width: 100%;
}

.radio-field input:checked ~ label {
    color: rgb(255, 255, 255);
}

/* step 4 */
.step-width {
    width: 85%;
}

.pricing-table {
    margin-top: 40px;
}

.table-single {
    border-radius: 150px;
    background-color: rgb(255, 255, 255);
    box-shadow: 0px 3px 73px 0px rgba(0, 0, 0, 0.06);
    width: 100%;
    min-height: 430px;
    text-align: center;
    cursor: pointer;
    border: solid 2px transparent;
    transition: 0.5s;
    overflow: hidden;
    opacity: 0;
}

.table-single .table-heading {
    background-color: rgb(0, 191, 111);
    height: 110px;
    width: 100%;
    position: relative;
    overflow: hidden;
    text-align: center;
    position: relative;
    z-index: 2;
}

.table-single .table-heading h3 {
    font-size: 20px;
    color: rgb(255, 255, 255);
    line-height: 70px;
    position: relative;
    z-index: 10;
}

.table-single .table-heading::before {
    content: "";
    width: 102%;
    height: 100%;
    position: absolute;
    left: -2px;
    top: 0px;
    background-color: rgb(255, 255, 255);
    clip-path: ellipse(50% 40% at 50% 100%);
    pointer-events: none;
    z-index: 1;
}

.table-single .table-heading::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background-color: var(--primary-color);
    z-index: 0;
    transition: 0.4s;
}

.table-2 .table-heading {
    background-color: rgb(5, 70, 126) !important;
}

.table-3 .table-heading {
    background-color: rgb(83, 34, 91) !important;
}

.table-price {
    font-size: 20px;
    color: rgb(51, 51, 51);
    font-weight: bold;
    margin-top: 20px;
}

.table-single p {
    font-size: 25px;
    font-weight: 500;
    color: rgb(60, 60, 60);
    width: 90%;
    margin: 30px auto;
}

.step5img {
    width: 100%;
}

#step5 {
    margin-left: 100px;
}

.step-width-2 {
    width: 90%;
}

footer {
    background-color: transparent;
    height: 68px;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}

/* .next-prev { 
  display: flex;
  width: auto;
  height: 68px;
  justify-content: space-between;
  position: absolute;
  left: 0;
  flex-wrap: wrap;
  bottom: 0;
}
.next-prev button {
  background-color: var(--primary-color);
  padding: 0 80px;
  height: 100%;
  width: max-content;
  font-size: 19px;
  color: rgb(255, 255, 255);
  font-weight: bold;
  border: 0;
  margin-right: 1px;
}
.next-prev button i {
  position: relative;
  top: 2px;
  margin: 0 10px;
}*/
.step-bar {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
}

.bar-inner {
    background-color: rgb(255, 205, 197);
    width: 280px;
    height: 16px;
    border-radius: 50px;
}

.bar-inner .fill {
    border-radius: inherit;
    height: 100%;
    background-color: var(--primary-color);
    transition: 0.4s;
}

.complete-rate {
    font-size: 19px;
    color: rgb(36, 36, 36);
    font-weight: bold;
    margin-left: 50px;
}

.thankyou .start-btn {
    font-weight: normal;
    text-transform: uppercase;
}

.thankyou .start-text p {
    color: rgb(84, 84, 84);
    width: 90%;
    margin: 0 auto;
}

#error {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 20;
}

.invalid {
    border: solid 2px #ff4444 !important;
    position: relative;
}

#navbarSupportedContent {
    flex-direction: row-reverse;
}

@media (max-width: 576px) {
    .confirm > span.error {
        margin: 40px -160px !important;
    }

    header {
        padding: 0 !important;
    }

    main {
        /*height: 110vh !important;*/
        height: auto;
        background-image: url(../images/nutox/background/bg.png);
        background-size: cover;
    }

    .start-img {
        display: none;
    }

    #step3 .confirm {
        height: 80px !important;
        font-size:  18px !important;
    }

    .steps .label-head {
        text-align: center;
    }

    .form-inner {
        padding: 0 !important;
        display: flex;
        align-items: normal;
        margin-top: 30px;
    }

    .start-btn {
        padding: 6px 45px !important;
        height: 55px !important;
        font-size: 25px !important;
        display: flex !important;
        justify-content: center !important;
    }

    .next-prev button {
        padding: 6px 30px !important;
        height: 55px !important;
        font-size: 20px !important;
    }

    .start-text .title h1,
    .start-text .title h2 {
        font-size: 35px;
    }

    .start-text .subtitle h3 {
        font-size: 30px;
    }

    .title,
    .subtitle {
        text-align: center;
    }

    .steps .label-head {
        font-size: 30px !important;
    }

    .selections-rd,
    .selections-sq,
    .recommend .selections-sq {
        flex-wrap: wrap;
        flex-direction: row;
    }

    .selections-rd label {
        width: 160px;
        height: 160px;

        margin: 8px !important;
    }

    .selections-rd label img {
        width: 80px;
    }

    .selections-rd label > span {
        font-size: 25px;
    }

    .selections-sq-wrapper {
        margin: 5px;
    }

    #step3 .selections-sq label,
    .selections-sq label {
        width: 170px;
        height: 215px;

        border-radius: 10px;
    }

    .recommend .selections-sq label {
        width: 170px;
        min-height: 320px;
        height: auto;
    }

    .selections-sq label img {
        width: 80px;
    }

    .recommend .selections-sq label img {
        width: 170px;
    }

    .recommend p.subtitle {
        width: auto;
    }

    .recommend label.title {
        font-size: 25px;
    }

    .selections-sq label > span {
        font-size: 15px;
    }

    .selections-sq label > span.description {
        border-radius: 10px;
        padding: 5px 10px;
        font-size: 11px;
        min-height: 60px;
    }

    .selections-sq input[type="radio"]:checked + label {
        width: calc(170px + 5px);
        height: calc(215px + 5px);
    }
}
