@font-face {
    font-family: 'SuisseScreenTrial';
    src: url('../../../custom/fonts/SuisseScreenTrial-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Satoshi_Regular';
    src: url('../../../custom/fonts/Satoshi-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--airy_cream);
}

:root {
    --font-card: 'SuisseScreenTrial';
    --font-Satoshi: 'Satoshi_Regular';
    --vibrant_Lime: #D5FA99;
    --dark_forest_Green: #142D0E;
    --airy_cream: #F0F1E9;
    --forest_Green: #1B3B13;
}

.the-persona-wrapper {
    padding: 50px;
}

.persona-main {
    width: 100%;
    min-height: 500px;

    background-image: url('../../../custom/images/quiz-background.webp'); /* desktop bg */
    background-repeat: no-repeat;
    background-position: right center;
    background-size: cover;
    border-radius: 20px;
    display: flex;
    align-items: center; 
    padding: 60px;
    position: relative;
}

.persona-wrapper-head {
    max-width: 400px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.persona-wrapper-head h1,.persona-wrapper-head h2{
    font-size: 37px;
    color: var(--forest_Green);
    font-family: var(--font-card);
}

.persona-wrapper-head p {
    font-size: 18px;
    font-family: var(--font-Satoshi);
    color: var(--forest_Green);
}

.persona-wrapper-head a {
    background: var(--forest_Green);
    color: var(--vibrant_Lime);
    font-family: var(--font-Satoshi);
    font-size: 18px;
    border-radius: 30px;
    padding: 12px 20px;
    text-decoration: none;
    width: 56%;
    text-align: center;
}

@media screen and (max-width: 767px) {
    .persona-main {
        background-image: url('../../../custom/images/quiz-Mblbackground.webp') !important; /* mobile bg */
        background-position: bottom center;
        background-size: cover;
        min-height: 600px;
        padding: 30px 20px;
        justify-content: flex-start;
        text-align: center;
        flex-direction: column;
    }

    .the-persona-wrapper {
        padding: 20px;
    }

    .persona-wrapper-head {
        max-width: 100%;
        margin: 0 auto;
        height: 600px;
    }

    .persona-wrapper-head h1 {
        font-size: 24px;
        margin:0;
    }
    .persona-wrapper-head h2{
        font-size:24px;
        margin:0;
    }

    .persona-wrapper-head p {
        padding: 0 16px;
    }

    .persona-wrapper-head a {
        margin: 0 auto;
        width: 80%;
    }
}

@media screen and (max-width: 1300px) {
    .container {
        max-width: unset;
    }
}
@media screen and (min-width: 768px) and (max-width: 1024px) {

    .persona-main {
        background-position: right -100px center; 
        background-size: cover;
        padding: 40px;
        min-height: 450px;
        align-items:center; 
    }

    .persona-wrapper-head {
        max-width: 350px;
    }

    .persona-wrapper-head h1 {
        font-size: 30px;
    }

    .persona-wrapper-head p {
        font-size: 16px;
    }

    .persona-wrapper-head a {
        width: 70%;
    }
}