﻿.review {
    display: grid;
    grid-template-columns: 33% 33% 33%;
    width: 100%;
    column-gap: 0.5%;
    align-items: start;
    max-height: 1000px;
    margin-top: 120px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
    z-index: 5;
    margin-bottom: 10px;
    position: relative;
    max-width: 900px;
}

.review_icone {
    width: 40px;
    height: 40px;
    border-radius: 100%;
    padding: 10px;
    position:absolute;
    bottom:62px;
    background-color: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .1), 0 2px 0 rgba(0, 0, 0, .1);
}


.review_block {
    background-color: white;
    padding: 30px;
    display: inline-grid;
    justify-items: center;
    height: 100%;
    text-align: center;
    position:relative;
    box-shadow: 0 4px 6px rgba(0, 0, 0, .1), 0 2px 0 rgba(0, 0, 0, .1);
    border-radius: 20px;
}

.review_text {
    font-size: 13px;
    font-weight: 400;
    text-align: left;
    hyphens: auto;
    font-style: italic;
}

.parents_name {
    text-align: left;
    font-size: 14px;
    display: inline-block;
    position: relative;
    width: 100%;
    left: 0;
}

.review_header {
    font-size: 18px;
    font-weight: 800;
    text-transform: uppercase;
    text-align: center;
    color: #06c2b7;
    line-height: 1.1;
    margin-bottom: 5px;
}

.stars {
    display: inline-block;
    margin-top: 70px;
    width: 120px;
    align-self: end;
}


.illustration_3 {
    width: 100px;
    height: 100px;
    margin-top: -70px;
    object-fit: cover;
    justify-items: center;
    opacity: 1;
    box-shadow: 0 4px 5px 0 rgba(1, 27, 55, .10);
    align-items: center;
    border-radius: 100%;
    margin-bottom: 20px;
}


.empty.proff_price_frame {
    opacity:0.5;
}

@media screen and (max-width: 900px) {
    .review {
        /* display: block; */
        grid-template-columns: 100%;
        width: 100%;
        column-gap: 0;
        grid-row-gap: 50px;
        align-items: start;
        max-height: none;
        margin-top: 40px;
        margin-left: auto;
        margin-right: auto;
        padding: 0;
        z-index: 5;
        margin-bottom: 140px;
        position: relative;
        max-width: 360px;
    }

    .review_block {
    
        margin-top:60px;
        
    }
}






@media screen and (max-width: 767px) {

    .review_text {
        text-align: center;
    }

    .parents_name {
        text-align: center;

    }
}