@media screen and (min-device-width: 901px){
    .to-get-a-consultation {
        width: 100rem;
        margin: 0 10rem;
        border-radius: 2rem;
        background: rgb(30, 30, 30);
        padding: 10rem 0;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        gap: 3rem;
    }
    .to-get-a-consultation__title {
        color: rgb(255, 255, 255);
        font-size: 4rem;
        font-weight: 700;
        line-height: 5rem;
    }
    .to-get-a-consultation__image {
        width: 46rem;
        height: 35rem;
        background-image: url(/assets/images/10119675.png);
        background-position: center;
        background-size: 35rem auto;
        background-repeat: no-repeat;
    }
    .to-get-a-consultation__image p{
        padding: 3rem;
        border-radius: 2rem;
        backdrop-filter: blur(5px);
        background-color: rgba(59, 54, 56, 0.9);
        text-align: center;
        color: rgb(255, 255, 255);
        font-size: 1.6rem;
        font-weight: 400;
        line-height: 2.5rem;
        position: absolute;
        left: 0;
        bottom: -1rem;
        width: 100%;
    }
    .to-get-a-consultation__info {
    
    }
    .to-get-a-consultation__first-string {
        color: white;
        font-size: 3rem;
        font-weight: 500;
        line-height: 3.7rem;
        width: 100%;
        text-align: center;
    }
    .to-get-a-consultation__last-string {
        color: rgb(136, 136, 136);
        font-size: 3rem;
        font-weight: 500;
        line-height: 3.7rem;
        width: 100%;
        text-align: center;
    }
    .to-get-a-consultation__button {
        border: 0.3rem solid rgb(223, 32, 99);
        border-radius: 2rem;
        background-color: transparent;
        width: 30rem;
        padding: 2rem;
        color: rgb(223, 32, 99);
        font-size: 2rem;
        font-weight: 500;
        line-height: 2.4rem;
        cursor: pointer;
    }
}

@media screen and (min-device-width: 320px) and (max-device-width: 900px)  {
    .to-get-a-consultation {
        width: calc(100% - 4rem);
        margin: 2rem;
        border-radius: 2rem;
        background: rgb(30, 30, 30);
        padding: 3rem 0;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        gap: 3rem;
    }
    .to-get-a-consultation__title {
        color: rgb(255, 255, 255);
        font-size: 2.7rem;
        font-weight: 700;
        line-height: 3.2rem;
        text-align: center;
        width: 100%;
    }
    .to-get-a-consultation__image {
        width: 90%;
        margin: 0 5%;
        height: 35rem;
        background-image: url(/assets/images/10119675.png);
        background-position: center;
        background-size: 35rem auto;
        background-repeat: no-repeat;
    }
    .to-get-a-consultation__image p{
        padding: 3rem;
        border-radius: 2rem;
        backdrop-filter: blur(5px);
        background-color: rgba(59, 54, 56, 0.9);
        text-align: center;
        color: rgb(255, 255, 255);
        font-size: 1.6rem;
        font-weight: 400;
        line-height: 2.5rem;
        position: absolute;
        left: 0;
        bottom: -20%;
        /* width: 90%;
        margin: 0 5%; */
    }
    .to-get-a-consultation__info {
        margin-top: 5rem;
        padding: 0 2rem;
    }
    .to-get-a-consultation__first-string {
        color: white;
        font-size: 2.7rem;
        font-weight: 500;
        line-height: 3.2rem;
        width: 100%;
        text-align: center;
    }
    .to-get-a-consultation__last-string {
        color: rgb(136, 136, 136);
        font-size: 2.7rem;
        font-weight: 500;
        line-height: 3.2rem;
        width: 100%;
        text-align: center;
    }
    .to-get-a-consultation__button {
        border: 0.3rem solid rgb(223, 32, 99);
        border-radius: 2rem;
        background-color: transparent;
        width: 30rem;
        padding: 2rem;
        color: rgb(223, 32, 99);
        font-size: 2rem;
        font-weight: 500;
        line-height: 2.4rem;
        cursor: pointer;
    }
}