.criteria_cont {
    display: flex;
    justify-content: space-between;
    width: 100vw;
    background-color: rgb(232, 225, 219);
    overflow-x: hidden;
}

.inner_criteria_text {
    padding: 30px;
}

.inner_criteria_text p {
    font-size: 19px;
    color: rgb(26, 24, 27);
    text-align: left;
    margin-top: 40px;
}

.inner_criteria_text .bigger_p {
    color: rgb(26, 24, 27);
    text-align: left;
    margin-bottom: 40px;
    font-size: 30px;
    font-weight: bold;
}

.image_criteria_cont img {
    width: 500px;
    height: 100%;
    border-top-left-radius: 15px;
    border-bottom-left-radius: 15px;
}

.inner_criteria_text .text_with_image {
    display: flex;
    margin-bottom: 20px;
}

.inner_criteria_text .text_with_image img {
    width: 80px;
    height: 80px;
}

.inner_criteria_text .text_with_image p {
    margin-left: 8px;
    text-align: left;
    font-size: 20px;
    color: rgb(26, 24, 27);
    margin-bottom: 0;
    margin-top: 0;
}

.blocks {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
}

.blocks p {
    margin: 0;
}

.blocks span {
    flex: 1 1 calc(50% - 10px);
    box-sizing: border-box;
    padding: 10px;
    margin-bottom: 20px;
    background-color: white;
    border-radius: 15px;
    display: flex;
    align-items: center;
}

.blocks span img {
    width: 30px;
    height: 30px;
    margin-right: 20px;
}

.puncts_cont {
    display: flex;
    justify-content: center;
    align-items: center;
}

.puncts {
    align-self: center;
    background-color: rgba(0, 0, 0, 0);
    border: 1px solid grey;
    border-radius: 15px;
}

.puncts ul {
    list-style: none;
    display: flex;
    padding: 0;
    margin: 0;
    padding: 10px;
    align-items: center;
    justify-content: center;
}

.puncts ul li p {
    display: flex;
    margin: 0;
    text-align: center;
    align-items: center;
}

.puncts ul li {
    display: flex;
    &::before {
        content: "→";
        display: flex;
        align-self: center;
        padding-bottom: 3px;
        font-size: 40px;
        font-weight: bold;
        margin-left: 10px;
        margin-right: 10px;
    }
    &:first-child::before {
        display: none;
    }
}

.puncts ul {
    flex-direction: column;
}

.puncts ul li {
    display: flex;
    flex-direction: column;
}

.puncts ul li::before {
    transform: rotate(90deg);
}

.crit_line {
    display: none;
}

@media (max-width: 1037px) {
    .crit_line {
        display: block;
        align-self: center;
        font-size: 70px;
        color: rgb(26, 24, 27);
    }

    .criteria_cont {
        flex-direction: column;
    }

    .image_criteria_cont {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        margin-bottom: 50px;
    }

    .image_criteria_cont img {
        align-self: center;
        border-radius: 15px;
        width: 500px;
        height: 600px;
    }
}

@media (max-width: 588px) {
    .image_criteria_cont img {
        width: 300px;
        height: 400px;
    }
}
