:root {
    --s-text-primary: #434343;
    --s-text-secondary: #777777;
    --s-border: #e6e6e6;
    --s-gray-primary: #c8c8c8;
    --s-gray-secondary: #f3f3f3;
    --s-check-background: #f8f8f8;
    --s-purple-primary: #9136b2;
    --s-purple-secondary: #b379c5;
    --s-warning: #cc4125;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}

#survey input[type="number"]::-webkit-outer-spin-button,
#survey input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

#survey input[type="number"],
#survey input[type="number"]:hover,
#survey input[type="number"]:focus {
    appearance: none;
    -moz-appearance: textfield;
}

#survey input[type="radio"],
#survey input[type="checkbox"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

#survey input[type="file"] {
    display: none;
    visibility: hidden;
    opacity: 0;
}

#survey input {
    border: none;
    outline: none;
    background: transparent;
}

#survey textarea {
    resize: none;
    border: none;
    outline: none;
    background: transparent;
}

#survey button {
    display: block;
    border: none;
    outline: none;
    background: transparent;
    cursor: pointer;
    user-select: none;
}

.s-mount {
    max-width: calc(100% - 60px);
    height: 40px;
    padding: 0 10px;
    margin: 0 30px 30px;
    font-size: 16px;
    border-radius: 2px;
    text-transform: uppercase;
}

.s-mount--banner {
    width: 260px;
    color: white;
    background-color: black !important;
}

.s-mount--card {
    width: 100%;
    color: black;
    background-color: white !important;
}

/* ###################################################### */

.s-banner {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    min-height: 260px;
    background-image: url("./assets/survey-banner.png");
    background-size: cover;
    background-position: 83%;
    background-repeat: no-repeat;
}

.s-banner__heading {
    max-width: 350px;
    align-self: stretch;
    font-size: 18px;
    line-height: 24px;
    text-transform: uppercase;
    padding: 20px 16px 50px;
}

/* ###################################################### */

.s-container--card {
    padding-bottom: 40px;
}

.s-card__desc {
    padding: 30px 20px 20px;
    background-color: var(--s-gray-secondary);
}

.s-card__heading {
    font-size: 18px;
    line-height: 20px;
    margin-bottom: 16px;
}

.s-card__text {
    font-size: 14px;
    color: var(--s-text-primary);
}

.s-card__text:not(:first-child) {
    margin-top: 10px;
}

.s-card__fill {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    min-height: 230px;
    background-image: url("./assets/survey-card.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* ###################################################### */

@media (min-width: 393px) {
    .s-container--card {
        max-width: 400px;
        padding: 40px 12px;
        margin: 0 auto;
    }

    .s-card {
        border-radius: 12px;
        overflow: hidden;
    }

    .s-card__desc {
        padding: 20px;
    }
}

/* ###################################################### */

@media (min-width: 539px) {
    .s-banner__heading {
        max-width: 100%;
    }
}

/* ###################################################### */

@media (min-width: 767px) {
    .s-banner {
        min-height: 300px;
        justify-content: center;
    }

    .s-banner__heading {
        text-align: center;
        padding: 40px 16px 60px;
    }

    .s-container--card {
        max-width: 760px;
    }

    .s-card {
        display: flex;
    }

    .s-card__fill {
        min-width: 300px;
    }
}

/* ###################################################### */

@media (min-width: 997px) {
    .s-banner {
        min-height: 340px;
    }

    .s-banner__heading {
        font-size: 26px;
        line-height: 38px;
    }

    .s-container--card {
        max-width: 980px;
        padding: 80px 12px;
    }

    .s-card__fill {
        min-width: 400px;
    }

    .s-card__desc {
        padding: 30px;
    }

    .s-card__heading {
        font-size: 28px;
        line-height: 32px;
        margin-bottom: 24px;
    }

    .s-card__text {
        font-size: 16px;
    }

    .s-card__text:not(:first-child) {
        margin-top: 16px;
    }
}

/* ###################################################### */

@media (min-width: 1221px) {
    .s-mount {
        font-size: 18px;
    }

    .s-mount--banner {
        max-width: calc(100% - 80px);
        height: 62px;
        margin: 0 40px 40px;
    }

    .s-mount--card {
        max-width: calc(100% - 80px);
        height: 48px;
        margin: 0 40px 40px;
    }

    .s-banner {
        min-height: 460px;
        justify-content: flex-start;
    }

    .s-banner__heading {
        font-size: 30px;
        line-height: 46px;
        padding: 80px 16px 100px;
    }

    .s-container--card {
        max-width: 1200px;
        padding: 120px 12px;
    }

    .s-card__fill {
        min-width: 510px;
    }

    .s-card__desc {
        padding: 40px;
    }

    .s-card__heading {
        font-size: 40px;
        line-height: 48px;
        margin-bottom: 40px;
    }

    .s-card__text {
        font-size: 18px;
    }

    .s-card__text:not(:first-child) {
        margin-top: 32px;
    }
}

/* ###################################################### */
