/* Extra large devices */

@media screen and (max-width: 2559px) {}

/* Large devices (desktops, less than 1920) */

@media (max-width: 1920px) {}

@media (max-width: 1899.99px) {
    .cstm-container4 {
        max-width: 90%;
    }
}

@media (max-width: 1649.98px) {
    .card-group {
        gap: 2rem;
        justify-content: space-around;
    }

}

@media (max-width: 1600px) {
    .logo-header.cstm {
        margin-top: 3.625rem;
        margin-left: 2.5rem;
    }

    .std-title {
        font-size: 2.25rem;
    }

    .main-banner {
        height: calc(100vh - 4.5rem);
        margin: 2.25rem;
        width: calc(100% - 4.5rem);
    }

    .main-banner.style-r .img-bnr-q {
        height: calc(100vh - 4.5rem);
    }

    .wrap-q {
        padding: 3.375rem 3.375rem 2.5rem 3.375rem;
    }

    .info-question {
        margin-bottom: 2rem;
    }

    .header {
        margin-top: 2.375rem;
    }

    .main-banner.s2-s {
        height: calc(100vh - 9.5rem);
    }
}

@media (max-width: 1499.98px) {
    .box-adv {
        font-size: 1.3rem;
    }

    .stat {
        width: 200px;
        height: 200px;
    }
}

@media (max-width: 1399.98px) {
    html {
        font-size: 14px;
    }

    .std-title {
        margin-bottom: 2rem;
    }

    .general-content {
        margin-bottom: 2rem;
    }

    .main-banner {
        height: calc(100vh - 2.5rem);
        margin: 1.25rem;
        width: calc(100% - 2.5rem);
    }

    .main-banner.style-r .img-bnr-q {
        height: calc(100vh - 2.5rem);
    }

    .wrap-q {
        padding: 1.375rem 1.375rem 1rem 1.375rem;
    }

    .quest .wrap-q .radio-list input[type="radio"] {
        margin-top: 3px;
    }

    .wrap-q .radio-list label.card-label {
        min-width: 230px;
    }

    .result {
        margin-bottom: 2.4rem;
    }
}

@media(max-width:1299.98px) {
    .stat {
        width: 170px;
        height: 170px;
    }
}

/* Large devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) {
    html {
        font-size: 13px;
    }

    .std-title {
        font-size: 2rem;
    }

    .general-content {
        font-size: 1rem;
    }

    .s1-btn,
    .s2-btn,
    .main-banner.s2-s .s2-btn,
    .main-banner.s2-s .s1-btn {
        padding: 1rem 2rem;
    }

    .quest .wrap-q .radio-list input[type="radio"] {
        margin-top: 1px;
    }

    .card-label h3 {
        margin-bottom: 1.5rem;
    }

    .question-text {
        font-size: 1rem;
    }

    .cstm-container4 {
        max-width: 95%;
    }

    .main-banner.s2-s .general-content {
        margin-bottom: 3rem;
    }

    .main-banner.s2-s .s1-btn,
    .main-banner.s2-s .s2-btn {
        min-width: 270px;
        margin-bottom: 2.25rem;
    }
}

@media (max-width: 1099.98px) {
    .wrap-q .radio-list label.card-label {
        min-width: 280px;
    }

    .radio-scale span {
        width: 35px;
        height: 35px;
        line-height: 35px;
        font-size: 1rem;
    }

    .chart-container{
            flex-wrap: wrap;
    }

    .dashboard-chart .chart-container #custom-legend h4{ 
       margin-top: 50px;
    }
}

/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
    html {
        font-size: 12px;
    }

    .s1-btn,
    .s2-btn {
        font-size: 1rem;
    }

    .wrap-q.full .sm-title {
        margin-bottom: 3rem;
    }

    .question-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .radio-scale {
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .main-list li {
        margin: 2rem 0;
        display: block;
    }

    .main-list {
        width: fit-content;
        text-align: center;
        margin-right: auto;
        padding-top: 2rem;
        margin-left: auto;
    }

    .header {
        margin-top: 2.375rem;
        margin-bottom: 2.125rem;
    }

    .header .navbar {
        top: -50px;
    }
    .col-sm-auto.col-12 {
        > a > img {
            max-width: 80%;
            height: auto;
        }
        min-height: 4rem;
    }

    .logo-header {
        position: relative;
        z-index: 1;
        max-height: 7rem;
    }

    .stats-container {
        margin-top: 2rem;
        flex-wrap: wrap;
    }

    .values {
        padding: 2.5rem 0 4rem 0;
    }

    .wrap-sh-f,
    .wrap-sh-f2 {
        margin-right: auto;
    }

    .faq {
        padding: 6rem 0;
    }

    .footer {
        background-color: #DEE1DD;
        padding: 4rem 0 2rem 0;
    }

    .list-pg-f {
        margin-bottom: 4rem;
    }

    .contact {
        margin-top: 3.5rem;
        margin-bottom: 4rem;
    }

    .wrap-sh-f.s2 {
        margin-top: 3rem;
    }

    .left-p {
        margin-bottom: 2rem;
    }

    .wrap-sh-f3 {
        margin-bottom: 2rem;
    }

    .bg-bnr {
        margin-bottom: 5rem;
    }

    .more-col {
        margin-bottom: 5rem;
    }

    .img-std {
        margin-bottom: 3rem;
    }

    .il-tr2,
    .tl-ir2 {
        margin-bottom: 3.75rem;
    }

    .box-info {
        position: relative;
        top: auto;
        transform: unset;
        margin-left: auto;
        margin-right: auto;
        bottom: -20%;
        width: auto;
        max-width: 95%;
    }

    .quote-s {
        margin-top: 3.25rem;
        margin-bottom: 4rem;
    }

    .wrap-sh-f4 {
        margin-right: auto;
        margin-top: 3rem;
    }

    .tl-sr {
        padding: 4.375rem 2rem;
    }

    .img-bnr {
        height: calc(100vh - 12rem);
        min-height: 300px;
    }
}

@media (max-width: 849.98px) {}

@media (min-width: 768px) {
    .navbar-collapse.collapse:not(.show) {
        display: none;
    }
}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {


    .img-res {
        display: block;
        margin: 0 auto 2rem auto;
    }

    .wrap-q.s2 {
        max-width: none;
        left: 2%;
        right: 2%;
    }

    .goal-item select {
        min-width: 200px;
    }

    .main-banner.s2-s .s2-btn,
    .main-banner.s2-s .s1-btn {
        min-width: 165px;
    }

    .wrap-wh {
        background-color: var(--color1);
        padding: 2rem;
        border-radius: 10px;
        margin-left: 0;
        margin-top: 1%;
        max-width: 738px;
    }

    .img-about {
        height: 326px;
        max-width: 100%;
    }

    .wrap-wh {
        margin-left: 10%;
        margin-top: -10%;
    }

    .il-tr {
        margin-bottom: 1.625rem;
    }
}

@media (max-width: 649.98px) {
    .stats-container {
        justify-content: space-evenly;
    }
}

@media (max-width: 575.98px) {

    /* Hide question image on mobile, give questions full width */
    .main-banner.quest .col-sm-6.col-3 {
        display: none !important;
    }

    .main-banner.quest .col-sm-6.col-9,
    .main-banner.quest .col-9 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .logo-header.cstm {
        margin-top: 1.625rem;
        margin-left: 1.5rem;
    }

    .info-banner {
        padding: 0 1.5rem;
    }

    .std-title {
        font-size: 1.85rem;
    }

    .logo-header.cstm {
        height: 2rem;
    }

    .sm-title,
    .msg-res {
        font-size: 1.35rem;
    }

    .nr-question {
        margin-bottom: 1.5rem;
    }

    .info-question {
        margin-bottom: 1rem;
    }

    .quest .wrap-q label input[type="radio"] {
        margin-right: .5rem;
    }

    .go-center-w .wrap-q label {
        margin-left: 1.5rem;
        margin-right: 1.5rem;
    }

    .bg-title {
        font-size: 1.85rem;
        margin-bottom: 2rem;
    }

    .wrap-q .radio-list label.card-label {
        min-width: auto;
        padding: 2.1875rem 2.75rem;
    }

    .goal-item select {
        width: 100%;
        min-width: 200px;
    }

    .s1-btn.adj-margin {
        margin-top: 2.25rem;
        margin-bottom: 1rem;
    }

    .logo-header {
        max-height: 3rem;
    }

    .bg-bnr .box-bnr {
        padding: 1.875rem 3rem 1rem 3rem;
        position: relative;
        bottom: auto;
        left: auto;
    }

    .shape-border2,
    .img-shape2 {
        height: 30rem;
        width: 30rem;
    }
}

@media (max-width: 499.98px) {
    .std-title {
        font-size: 1.5rem;
    }

    .info-banner {
        padding: 0 1rem;
    }

    .radio-scale span {
        width: 25px;
        height: 25px;
        line-height: 25px;
        font-size: 1rem;
    }

    .rating img {
        height: 1.25rem;
        margin: 0 2px;
    }

    .img-shape {
        width: 23rem;
        height: 23rem;
    }

    .shape-border {
        width: 23rem;
        height: 23rem;
    }

    .list-pg-f li {
        margin: 0 1rem;
    }

    .shape-border2,
    .img-shape2 {
        height: 20rem;
        width: 20rem;
    }

    .shape-content {
        width: 20rem;
        height: 20rem;
    }


    .shape-border4 {
        width: 20rem;
        height: 20rem;
    }
}