/* Background image */
.main_page_ad{
    width: 100%;
    height: 662px;
    background-image: url("/wp-content/themes/lenkijoje-pigiau/assets/img/main_page_image.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: relative;
}

/* Main info div */
.main_page_info{
    position: absolute;
    top: 14.8%;
    right: 9.85%;
    width: 450px;
}

/* Main info text */
.main_page_general_info{
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 40px;
}

/* Colored text */
.colored_text{
    color: var(--purple1);
}

/* "How it works" text */
.how_it_works .caption2{
    color: var(--grey1);
}

/* How it works container */
.how_it_works{
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Purple circle */
.purple_circle{
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: var(--purple1);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--white1);
    font-size: 16px;
    font-weight: 500;
}

/* Informational div */
.information_div{
    display: flex;
    gap: 20px;
    height: 50px;
}

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

    /* Background image */
    .main_page_ad{
        height: 522px;
    }

    /* Text within background image */
    .main_page_general_info{
        width: 310px;
        align-items: center;
    }

    /* Text within background image */
    .main_page_general_info > h1{
        height: 87px;
        font-size: 22px;
        line-height: 29px;
        text-align: center;
    }

    /* Text within background image */
    .main_page_info{
        position: unset;
        display: flex;
        flex-direction: column;
        width: 100%;
        height: 100%;
        align-items: center;
        padding: 50px 0px;
        gap:35px;
    }

    /* Circle + number inside */
    .dashed_circle, .information_div .last_information_number{
        order: 2;
    }

    /* "how it works" informational text */
    .information_div > span, .information_div .last_information_text{
        order: 1;
        font-size: 14px;
    }

    /* "how it works" div */
    .information_div{
        justify-content: end;
        height: 40px;
    }

    /* "how it works" div (bottom) */
    .how_it_works{
        width: 310px;
    }

        /* "how it works" div (bottom) text*/
    .how_it_works > span{
        text-align: end;
        font-size: 12px;
    }

    /* Purple circle */
    .purple_circle{
        width: 25px;
        height: 25px;
    }

    /* Dashed line (purple) */
    .dashed_circle img{
        width: 24px;
        height: 20px;
    }

    /* Register button */
    #register.main-button{
        background-color: var(--yellow1);
    }

    /* Register button (hovered) */
    #register.main-button:hover{
        background-color: var(--yellow2);
    }
}