@charset "utf-8";

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Abril+Fatface&display=swap');

html,
body {
    font-family: 'Open Sans', sans-serif;
    display: flex;
    align-items: center;
    flex-direction: column;
    width: 100%;
    height: auto;
    color: #000;
    background: #333;
    overflow: auto;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

*,
*::after,
*::before {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

a.logo {
    font-family: 'Abril Fatface', cursive;
    display: flex;
    font-size: 30px;
    font-weight: 600;
    line-height: 1;
    outline: 0;
    gap: 2px;
    color: #24A0ED;
    text-decoration: none;
    transition: all .3s ease;
}

a.logo::after {
    content: "ShopBathRemodelSavings";
}

nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: stretch;
    flex-direction: column;
    width: 1330px;
    z-index: 999;
    margin: 0 auto;
}

nav::before,
nav::after {
    position: absolute;
    content: "";
    top: 0;
    left: 50%;
    width: 100vw;
    transform: translateX(-50%);
}

nav::after {
    height: 100%;
    z-index: -1;
    background: #fff;
}

nav::before {
    height: 50px;
    z-index: 1;
    border-bottom: 1px solid #ccc;
}

.menu {
    display: none;
}

.first a.logo {
    font-size: 30px;
}

.first .content:nth-child(2) {
    height: 60px;
}

.content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 666;
}

.content:nth-child(1) {
    height: 40px;
}

.content:nth-child(2) {
    height: 90px;
}

.content a {
    outline: 0;
    color: inherit;
    white-space: nowrap;
    text-decoration: none;
}

.links {
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    gap: 50px;
}

.links a {
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    text-transform: uppercase;
}

.links a:last-child {
    height: 45px;
    line-height: 45px;
    padding: 0 25px;
    color: #fff;
    border-radius: 25px;
    background: #24A0ED;
}

.actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.call,
.actions a {
    display: flex;
    align-items: center;
    font-size: 12px;
    font-weight: 400;
    line-height: 1;
    gap: 5px;
}

.call::after {
    content: "Call us today 1-800-216-8256";
}

nav a.logo {
    font-family: 'Abril Fatface', cursive;
    display: flex;
    font-size: 40px;
    font-weight: 600;
    line-height: 1;
    outline: 0;
    gap: 2px;
    color: #24A0ED;
    text-decoration: none;
    transition: all .3s ease;
}

nav a.logo::after {
    content: "ShopBathRemodelSavings";
}

header {
    position: relative;
    display: flex;
    align-items: center;
    flex-direction: column;
    width: 1330px;
    height: auto;
    margin-top: 130px;
}

.start {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 40px;
    width: 100%;
    height: auto;
    padding: 100px 0;
    color: #fff;
    z-index: 2;
    text-align: center;
}

.submit-button {
    cursor: pointer;
}

.start::before {
    position: absolute;
    content: "";
    top: 0;
    left: 50%;
    width: 100vw;
    height: 100%;
    z-index: -1;
    transform: translateX(-50%);
    background: url("../img/bg2.jpg");
    background-position: center center;
    background-size: cover;
}

.start::after {
    position: absolute;
    content: "";
    top: 0;
    left: 50%;
    width: 100vw;
    height: 100%;
    z-index: -1;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.3);
}

.start label {
    font-size: 50px;
    font-weight: 600;
    line-height: 1;
}

.start span {
    display: flex;
    gap: 5px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
}

.start a,
.button-container button {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 45px;
    padding: 0 50px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    color: inherit;
    border-radius: 25px;
    background: #24A0ED;
    text-decoration: none;
    text-transform: uppercase;
}

div.button-container button.next {
    margin-top: 15px;
    color: #fff;
}

.survey {
    display: flex;
    align-items: flex-start;
    width: 100%;
    height: auto;
    gap: 30px;
    padding: 20px 0;
    z-index: 1;
}

.survey::before {
    position: absolute;
    content: "";
    top: 0;
    left: 50%;
    width: 100vw;
    height: 100%;
    z-index: -1;
    transform: translateX(-50%);
    background: #fff;
}

.house {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 250px;
    height: 160px;
    overflow: hidden;
    border-radius: 10px;
    width: 250px;
}

.house img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.answer {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: column;
    gap: 15px;
    width: calc(100% - 250px);
}

.progress {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    gap: 10px;
    height: 30px;
    margin-bottom: 15px;

}

.progress label {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
}

.progress button {
    display: flex;
    align-items: center;
    gap: 5px;
    width: auto;
    height: auto;
    color: inherit;
    border: 0;
    font-size: 14px;
    font-weight: 400;
    line-break: 1;
    cursor: pointer;
    background: transparent;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.progress button::after {
    font-family: "Font Awesome 6 Pro";
    font-weight: normal;
    font-size: 16px;
}

.progress .next {
    margin-left: auto;
}

.progress .next::after {
    content: "\f054";
}

.progress .back::after {
    content: "\f053";
}

.question {
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 15px;
    display: flex;
    width: 100%;
}

.first-question .question {
    gap: 5px;
}

.question p {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.7;
    margin-bottom: 15px;
}

.first-question .question p {
    font-size: 11px;
}

.choose {
    display: flex;
    align-items: center;
    /* justify-content: center; */
    width: 100%;
    gap: 10px;
}

.option {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    width: 25%;
    height: auto;
    color: #999;
    cursor: pointer;
    border-width: 2px;
    border-style: solid;
    border-color: #ddd;
    border-radius: 5px;
    text-align: center;
    background: #ddd;
}

.option:hover i,
.option:hover {
    color: #000;
}

.option p {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
    font-size: 12px;
    font-weight: 400;
    line-height: 30px;
    transition: all .3s ease;
}

.option i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 60px;
    font-size: 34px;
    color: #999;
    background: #fff;
    border-radius: 5px;
    transition: all .3s ease;
}

.option.selected {
    color: #fff;
    border-color: #24A0ED;
    background: #24A0ED;
}

.option.selected i {
    color: #24A0ED;
}

.option.selected::before {
    position: absolute;
    font-family: "Font Awesome 6 Pro";
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 10px;
    content: "\f00c";
    color: #fff;
    top: 4px;
    right: 4px;
    width: 18px;
    height: 18px;
    background: #24A0ED;
    border-radius: 50%;
}

.question-group {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
}

.question-item {
    width: 65%;
}

.button-container {
    width: 35%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fill {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 10px;
    width: 100%;
    height: auto;
}

.first-question .field {
    flex-direction: column;
}

.field {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    width: calc(50% - 5px);
    margin-bottom: 15px;
    gap: 5px;
}

.field label.error {
    color: red;
}

.thankyou-box {
    padding-top: 100px;
    min-height: 450px;
    width: 100%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.first-question .field {
    width: 100%;
}

.field input {
    width: 100%;
    height: 40px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    padding: 0 15px;
    color: #24A0ED;
    background: #fff;
    outline: 0;
    border-radius: 0;
    border: 1px solid #24A0ED;
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
}

.field input::placeholder {
    color: #24A0ED;
}

.field label {
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
}

.field label::after {
    content: "*";
    color: #24A0ED;
}

.accept {
    display: flex;
    align-items: flex-start;
    gap: 5px;
    color: #24A0ED;
    font-size: 12px;
    font-weight: 600;
    line-height: 18px;
}

.accept input {
    height: 18px;
}

.disclosure {

    align-items: flex-start;
    flex-direction: column;
    width: 100%;
    gap: 10px;
    text-align: justify;
    font-size: 10px;
}

.disclosure p {
    font-size: 10px;
    font-weight: 300;
    line-height: 1.7;
}

.disclosure a {
    color: #24A0ED;
    text-decoration: underline;
}

footer {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 0;
    width: 768px;
    z-index: 1;
    color: #fff;
    margin: 0 auto;
    text-align: center;
}

footer::after {
    position: absolute;
    content: "";
    top: 0;
    left: 50%;
    width: 100vw;
    height: 100%;
    z-index: -1;
    transform: translateX(-50%);
    background: #333;
}

footer a.logo {
    color: #fff;
}

.copyright {
    color: #999;
    font-size: 12px;
    font-weight: 400;
    line-height: 1;
    margin-top: 10px;
}

.disclaimer {
    color: #999;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    margin-bottom: 20px;
}

.disclaimer a {
    color: #fff;
    text-decoration: underline;
}

.contact {
    color: inherit;
    font-size: 30px;
    font-weight: 700;
    line-height: 1;
    outline: 0;
    margin: 30px 0;
    text-decoration: none;
}

.legal {
    display: flex;
    align-items: center;
    gap: 20px;
}

.legal a {
    color: inherit;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
}

@media only screen and (max-width: 1330px) {

    header {
        width: 100%;
        padding-right: 5%;
        padding-left: 5%;
    }

    .house {
        /* display: none; */
    }

    .first-question div.house {
        display: flex;
    }

    nav {
        width: 100%;
        padding-right: 5%;
        padding-left: 5%;
    }
}

@media only screen and (max-width: 768px) {

    header {
        flex-direction: column-reverse;
        margin-top: 80px;
    }

    .content:nth-child(1) {
        display: none;
    }

    .house {
        min-width: 100%;
        height: 180px;
        margin-bottom: 15px;
    }

    .answer,
    .question-group {
        width: 100%;
        display: inline-block;
    }

    .question-item,
    .button-container {
        width: 100%;
    }

    .choose {
        justify-content: center;
    }

    .start label {
        font-size: 30px;
    }

    .first-question .question {
        height: auto;
    }

    .question {
        height: calc(100% -35px);
    }

    .survey {
        flex-direction: column;
        width: 100%;
        min-height: 540px;
        justify-content: space-between;
    }

    .disclosure {
        line-height: 10px;
    }

    .survey img {
        width: 100%;
        height: auto;
    }

    footer {
        width: 100%;
        padding-right: 5%;
        padding-left: 5%;
        align-items: flex-start;
        text-align: left;
    }

    .contact {
        font-size: 20px;
    }

    .disclaimer {
        margin-bottom: 30px;
    }

    .legal {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }

    .content:nth-child(2) {
        height: 60px;
    }

    nav {
        overflow: hidden;
    }

    nav::before {
        height: 40px;
        border: none;
    }

    .call {
        font-size: 10px;
    }

    nav.open .menu::after {
        content: "\f00d";
    }

    nav.open .links {
        transform: translateX(0);
    }

    .actions {
        gap: 15px;
    }

    .actions a {
        font-size: 10px;
    }

    .links {
        position: fixed;
        top: 100px;
        left: 0;
        align-items: stretch;
        flex-direction: column;
        width: 100%;
        height: auto;
        gap: 0;
        z-index: 2;
        transform: translateX(100%);
        background: #fff;
        transition: all .3s ease;
    }

    .links a,
    .links a:last-child {
        display: flex;
        align-items: center;
        justify-content: space-between;
        border-top: 1px solid #ddd;
        padding: 10px 15px;
        height: auto;
        line-height: 1;
        color: inherit;
        border-radius: 0;
        background: transparent;
    }

    .menu {
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 26px;
        font-weight: normal;
        line-height: 1;
        color: #24A0ED;
        cursor: pointer;
    }

    .menu::after {
        font-family: "Font Awesome 6 Pro";
        content: "\f0c9";
    }

    nav a.logo {
        font-size: 26px !important;
    }

    .call::after {
        content: "1-800-216-8256";
    }

    .thankyou-box {
        padding: 15px;
        text-align: center;
    }
}

@media only screen and (max-width: 425px) {

    .fill .field {
        width: 100%;
    }
}