@font-face {
    font-family: 'Sofia Pro';
    src: url('../fonts/Sofia Pro Regular Az.woff') format('woff');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Sofia Pro';
    src: url('../fonts/Sofia Pro Semi Bold Az.woff') format('woff');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Sofia Pro';
    src: url('../fonts/Sofia Pro Bold Az.woff') format('woff');
    font-weight: 700;
    font-style: normal;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: #000;
    background-image: url(../images/bg.jpg);
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    font-family: 'Sofia Pro';
    line-height: 150%;
    display: flex;
    justify-content: center;
    padding: 160px 50px;
    position: relative;
    min-height: 100vh;
}

.bg_top_left {
    width: 380px;
    position: absolute;
    top: 0;
    left: 0;
}

.bg_bottom_right {
    width: 352px;
    position: absolute;
    bottom: 0;
    right: 0;
}

.container {
    background: #FFFFFF;
    max-width: 1000px;
    width: 100%;
    border-radius: 25px;
    padding: 100px 45px;
    position: relative;
}

.logo {
    width: 100%;
    max-width: 272px;
    display: block;
    position: absolute;
    top: -37px;
    left: 50%;
    transform: translateX(-50%);
}

.main_heading {
    width: 100%;
    max-width: 731px;
    display: block;
    margin: 0 auto;
}

.sub_heading_container {
    background: linear-gradient(to right, #a0fff5, #25d5d1);
    padding: 2px;
    display: block;
    width: fit-content;
    border-radius: 8px;
    margin: 30px auto;
}

.sub_heading {
    background: #ffffff;
    border: 2px solid black;
    text-align: center;
    font-weight: bold;
    border-radius: 6px;
    padding: 15px;
    font-size: 27px;
    line-height: 32px;
    font-weight: 400;
}

.body_text {
    font-size: 26px;
    line-height: 32px;
    font-weight: 400;
    text-align: center;
    margin-bottom: 15px;
    color: #353535;
}

.bar {
    background: #000;
    width: 40%;
    height: 3px;
    margin: 50px auto;
}

/* --------------------------------- RESULTS --------------------------------- */

.result_box {
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    -webkit-box-shadow: 0 0px 30px 12px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 0px 30px 12px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    padding: 25px;
}

.result_box_heading {
    background: #000;
    border-radius: 15px;
    text-align: center;
    padding: 8px 12px;
    margin-bottom: 30px;
    font-size: 27px;
    line-height: 150%;
    font-weight: 700;
}

.result_box_heading_inner {
    background: linear-gradient(to right, #a0fff5, #25d5d1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.result_box_description {
    font-size: 26px;
    line-height: 32px;
    font-weight: 400;
    text-align: center;
    margin-bottom: 30px;
    color: #353535;
}

.format_grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.format_grid .item {
    display: block;
}

.format_grid .item img {
    width: 100%;
}

/* --------------------------------- QUIZ --------------------------------- */

.quiz-container {
    background: #fff;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
    width: 100%;
    text-align: center;
    -webkit-box-shadow: 0 0px 30px 12px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 0px 30px 12px rgba(0, 0, 0, 0.2);
}

.question {
    font-size: 24px;
    margin-bottom: 30px;
}

.answers {
    display: flex;
    flex-direction: column;
}

.answers button {
    margin-bottom: 10px;
    padding: 10px;
    font-size: 1em;
    cursor: pointer;
    border: 2px solid #000;
    border-radius: 5px;
    background: #000;
    color: #fff;
    transition: all 0.2s ease;
}

.answers button:hover {
    background: #fff;
    color: #000;
}

.result {
    font-size: 1.2em;
    font-weight: bold;
    color: #2c3e50;
    margin-top: 20px;
}

.restart {
    display: inline-block;
    padding: 15px 30px;
    border: 2px #64C3C4 solid;
    background: #64C3C4;
    font-size: 16px;
    color: #000;
    font-weight: 700;
    margin: 0;
    cursor: pointer;
    transition: all 400ms;
    text-decoration: none;
    line-height: 20px;
    flex: 0 0 auto;
}

.restart:hover {
    border: 2px #000 solid;
    background-color: #fff;
    color: #000;
}

#contact_us {
    display: inline-block;
    padding: 15px 30px;
    border: 2px #000 solid;
    background: #000;
    font-size: 16px;
    color: #64C3C4;
    font-weight: 700;
    margin: 0;
    cursor: pointer;
    transition: all 400ms;
    text-decoration: none;
    line-height: 20px;
    flex: 0 0 auto;
}

#contact_us:hover {
    border: 2px #000 solid;
    background-color: #fff;
    color: #000;
}

#btn_container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

/* --------------------------------- QUIZ --------------------------------- */

/* --------------------------------- RESULTS --------------------------------- */

.hs-form-frame {
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    -webkit-box-shadow: 0 0px 30px 12px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 0px 30px 12px rgba(0, 0, 0, 0.2);
}

.form_section {
    margin-top: 40px;
}

.form_heading {
    font-size: 52px;
    line-height: 150%;
    font-weight: 600;
    color: #353535;
    text-align: center;
}

.form_subheading {
    font-size: 26px;
    line-height: 150%;
    font-weight: 400;
    color: #353535;
    text-align: center;
    margin-bottom: 50px;
}

.bg_top_left {
    width: 380px;
    position: absolute;
    top: 0;
    left: 0;
}

.bg_bottom_right {
    width: 352px;
    position: absolute;
    bottom: 0;
    right: 0;
}

@media (max-width: 1440px) {

    .bg_top_left {
        width: 250px;
    }

    .bg_bottom_right {
        width: 277px;
    }

}

@media (max-width: 1200px) {

    .logo {
        max-width: 250px;
        top: -34px;
    }

}

@media (max-width: 1024px) {

    .logo {
        max-width: 225px;
        top: -30px;
    }

}

@media (max-width: 768px) {

    .container {
        padding: 80px 45px;
    }

    body {
        padding: 130px 50px;
    }

    .bg_top_left {
        width: 180px;
    }

    .bg_bottom_right {
        width: 200px;
    }

    .logo {
        max-width: 200px;
        top: -27px;
    }

    .main_heading {
        max-width: 500px;
    }

    .sub_heading {
        font-size: 24px;
        line-height: 28px;
    }

    .body_text {
        font-size: 23px;
        line-height: 28px;
        margin-bottom: 15px;
    }

    .result_box_description {
        font-size: 23px;
        line-height: 28px;
    }

    .form_heading {
        font-size: 36px;
    }

    .form_subheading {
        font-size: 23px;
    }

}

@media (max-width: 550px) {

    .container {
        padding: 70px 25px;
    }

    body {
        padding: 100px 25px;
    }

    .bg_top_left {
        width: 120px;
    }

    .bg_bottom_right {
        width: 150px;
    }

    .logo {
        max-width: 160px;
        top: -22px;
    }

    .sub_heading {
        font-size: 18px;
        line-height: 20px;
    }

    .body_text {
        font-size: 18px;
        line-height: 20px;
        margin-bottom: 15px;
    }

    .result_box_description {
        font-size: 18px;
        line-height: 20px;
    }

    .form_heading {
        font-size: 28px;
    }

    .form_subheading {
        font-size: 18px;
    }

    .bar {
        margin: 30px auto;
    }

    .result_box_heading {
        font-size: 22px;
    }


}

@media (max-width: 375px) {

    .container {
        padding: 60px 20px;
    }

    .form_heading {
        font-size: 28px;
    }

    .form_subheading {
        font-size: 18px;
    }

}