*,
*::before,
*::after {
    -webkit-box-sizing: inherit;
    -moz-box-sizing: inherit;
    box-sizing: inherit;
}

html {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', Arial, Helvetica, sans-serif;
    background: rgb(242, 241, 232);
    color: #141413;
}

header {
    width: 100%;
    border-bottom: 1px solid lightgray;
}

.header-container {
    max-width: 35rem;
    margin: 0 auto;
    padding: 0.8rem 0;
    display: grid;
    justify-content: center;
    grid-template-columns: 1fr 1fr 1fr;
}

.header-container a {
    display: flex;
    justify-content: center;
}

.header-container nav ul {
    text-align: right;
}

.header-container nav ul li {
    list-style-type: none;
    cursor: pointer;
}

.page-wrapper {
    min-height: 100vh;
    position: relative;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 2.5rem;
    display: flex;
}

.footer p {
    margin: 0;
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-container svg{
    max-width: 50px;
    width: 100%;
}

.page-container {
    width: 100%;
    padding-top: 2rem;;
    padding-bottom: 2.5rem;
}

.page-container h1 {
    font-size: 1.5rem;
    color: #202124;
    font-weight: 600;
}

.page-max-width {
    max-width: 35rem;
    width: 100%;
    margin: 0 auto;
}

.page-form {
    margin-bottom: 1.5rem;
}

.page-form fieldset {
    border: 0;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
    background: white;
    border: 1px solid #dadce0;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    padding: 1.5rem;
    page-break-inside: avoid;
    word-wrap: break-word;
}

.page-form fieldset label {
    margin-bottom: 20px;
    cursor: pointer;
    width: 100%;
}

.page-form fieldset.contact-info input {
    border: 0;
    border-bottom: 1px solid lightgray;
    font-weight: 400;
    letter-spacing: .2px;
    font-size: 0.9rem;
    color: #202124;
    padding-left: 0;
    padding-bottom: 10px;
    max-width: 200px;
    outline: none;
}

.page-form fieldset.contact-info input:focus {
    border-bottom-color: #10584b;
}

.page-form fieldset.questions {
    display: block;
}

.page-form fieldset.questions p {
    margin-top: 0;
    line-height: 1.4;
}

.page-form fieldset.questions [type="radio"] {
    margin-right: 8px;
    cursor: pointer;
    width: 0.95rem;
    height: 0.95rem;
}

.page-form button, .page-form a.next-section-btn {
    border-style: solid;
    border: 2px solid #10584b;
    border-color: #10584b;
    background-color: #10584b;
    border-radius: 1rem;
    color: white;
    padding: 0 0.8rem;
    font-size: 1rem;
    height: 40px;
    cursor: pointer;
}

.page-form a.next-section-btn {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.page-form button[disabled] {
    background: lightgray;
    border-color: lightgray;
    color: #757575;
}

.page-form fieldset.questions label {
    margin-bottom: 0;
}

.questions-box {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-top: 10px;
}

.questions-box span {
    /* text-transform: capitalize; */
}

/* .form-sum-result {
    display: none;
} */

.success-container {
    height: 100%;
    margin-bottom: 1rem;
    position: fixed;
    width: 100%;
    left: 0;
    top: 0;
    width: 100%;
    display: none;
    align-items: center;
    justify-content: center;
}

.success-container p {
    font-size: 2rem;
    text-align: center  ;
}
.sum-yes-val, .sum-no-val {
    display: none;
}

.success-container.is-active {
    background: rgba(242, 241, 232);
    padding: 0.8rem;
    display: flex;
}

.page-form .questions-section{
    border-top-right-radius: 0;
    border-top-left-radius: 0;
}

.section-header {
    background: #93c47d;
    border-top-right-radius: 0.5rem;
    border-top-left-radius: 0.5rem;
}

.section-header h2 {
    margin: 20px 0 0 0;
    padding: 1.25rem 1.25rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.section-btns-wrapper {
    display: flex;
    justify-content: flex-end;
}

.img-header-banner img {
    max-width: 100%;
    border-radius: 8px;
    width: 100%;
    border: 1px solid lightgray;
}

footer .page-max-width p {
    text-align: center;
    font-size: 0.875rem;
}

/* Table results */
.customer-welcome-txt {
    text-align: center;
    font-size: 1.2rem;
}

.table-container:not(:last-child) {
    margin-bottom: 2rem;
}

.table-wrapper h2 {
    margin-top: 0;
    background: lightblue;
    border-top-right-radius: 0.5rem;
    border-top-left-radius: 0.5rem;
}

.table-wrapper {
    background: white;
    border: 1px solid lightgray;
    border-radius: 0.5rem;
}

.table-results-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}

.table-red {
    background: #cc4125;
    border-bottom-left-radius: 0.5rem;
    border-top-left-radius: 0.5rem;
}

.table-yellow {
    background: #ffe598;
}

.table-green {
    background: #93c47d;
    border-bottom-right-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
}

.table-results-container {
    padding: 1.25rem;
    border-bottom-right-radius: 0.5rem;
    border-bottom-left-radius: 0.5rem;
}

.table-results-wrapper .table-box svg {
    margin: 0.9rem 0;
    height: 65px;
}

.table-box {
    display: flex;
    text-align: center;
    justify-content: center;
    flex-direction: column;
    padding: 1rem 0;
}

.table-box .table-th {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.table-numbers {
    font-size: 1.5rem;
    font-weight: 600;
}

.last-table-container {
    margin-bottom: 1.25rem;
}

/* FOOD TYPE PAGE */
#food-type-image {
    max-width: 100%;
    width: 300px;
}

#result-food-type {
    margin-bottom: 1.25rem;
    text-align: center;
}

#food-type-page .page-form fieldset.questions p {
    font-size: 1.1rem;
}

#food-type-page .page-form fieldset label {
    line-height: 1.3;
}

/* OTHER */
html body main .page-container .is-hidden, .lang-switch .is-hidden {
    display: none;
}


/*** MEDIA QURIES ***/

/* Mobile */
@media screen and (max-width: 568px) {
    .page-container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .logo-container svg {
        max-width: 40px;
    }

    .header-container {
        padding: 0.5rem 1.5rem
    }

    .page-form fieldset {
        padding: 1.25rem;
    }

    .page-container h1 {
        font-size: 1.3rem;
    }

    .section-header h2 {
        padding: 1rem 1.2rem;
        font-size: 1.2rem;
    }
}