
#quotes {
    background: #F8FBFF;
    padding: 40px 0;
    overflow: hidden;
    background-image: url('../img/quotes/bg.svg');
    background-size: contain;
    background-repeat: no-repeat;
}

.quote_1 {
    border-radius: 15px;
    margin: 40px 120px 40px 200px;
    height: 80vh;
    background: #2C57DC;
    display: flex;
    z-index: 1;
    position: relative;
}

.quote_2 {
    border-radius: 15px;
    margin: 80px 200px 40px 120px;
    height: 80vh;
    background: #0D2F90;
    display: flex;
    z-index: 1;
    position: relative;
}

.quotes-left_1 {
    flex: 5;
    position: relative;
    padding: 20px;
    display: flex;
    flex-direction: column;
}
.quotes-right_1  {
    flex: 4;
    color: #F8FBFF;
    padding: 60px;
    font-size: 14px;
    font-family: 'Manrope-Regular';
}

.quotes-left_2 {
    flex: 4;
    color: #F8FBFF;
    padding: 60px;
    display: flex;
    flex-direction: column;
}
.quotes-right_2  {
    position: relative;
    flex: 5;
    padding: 20px;
    font-size: 14px;
    font-family: 'Manrope-Regular';
}


.quote-links {
    color: #F8FBFF;
    font-size: 14px;
    align-self: flex-end;
}

#quote-links_1 {
    position: relative;
    top: 20%;
    width: 80px;
    z-index: 4;
}
#quote-links_1::before {
    content: "";
    position: absolute;
    top: 100%;
    left: -40%;
    width: 50px;
    height: 70px;
    background-image: url('../img/quotes/arrow1.svg');
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}
#quote-links_1::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    width: 50px;
    height: 90px;
    background-image: url('../img/quotes/arrow2.svg');
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}



#quote-links_2 {
    position: relative;
    margin: -40px;
    width: 140px;
    z-index: 4;
}
#quote-links_2::before {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    width: 200px;
    height: 40px;
    background-image: url('../img/quotes/arrow3.svg');
    background-position: center;
    background-repeat: no-repeat;
}




.quote-arrow1 { 
    position: absolute;
    left: -30px;
}
.quote-arrow2 { 
    position: absolute;
    top: 120px;
    left: 30px;
}


.quote-caption {
    color: #F8FBFF;
    position: absolute;
} 
.quote-caption p {
    margin: 0;
    font-size: 14px;
}
#quote-caption_1 {
    bottom: 30px;
    left: 30px; 
}
#quote-caption_2 {
    width: 50%;
    bottom: 30px;
    right: 30px; 
}


.quote-image {
    position: absolute;
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 1px 6px rgba(46, 46, 46, 0.5);
    border: 1px dashed #2C57DC;
    background-size: cover;
}

#quote-image_1 {
    background-image: url("../img/quotes/togzhan.jpg");
    top: -20px;
    left: -40px;
    rotate: -2deg;
    max-width: 400px;
    height: 500px;
    z-index: 1;
}
#quote-image_2 {
    background-image: url("../img/quotes/kiizo_insta.gif");
    top: 30px;
    left: 300px;
    rotate: -1deg;
    height: 310px;
    max-width: 180px;
    z-index: 3;
}
#quote-image_3 {
    background-image: url("../img/quotes/kiizo_insta2.gif");
    top: 320px;
    left: 320px;
    height: 270px;
    rotate: 2deg;
    max-width: 210px;
    z-index: 2;
}
#quote-image_4 {
    background-image: url("../img/quotes/arinova_insta.gif");
    top: 30px;
    left: -30px;
    rotate: -3deg;
    height: 440px;
    max-width: 240px;
    z-index: 1;
}
#quote-image_5 {
    background-image: url("../img/quotes/saniya.jpg");
    top: -20px;
    right: 20px;
    height: 470px;
    rotate: 2deg;
    max-width: 400px;
    z-index: 2;
}



.quotes-left_2 .quote-text_end {
    margin-top: 40px;
    margin-bottom: 100px;
}
.quote-text_end{
    border: 1px dashed #F8FBFF;
    border-radius: 15px;
    padding: 20px 40px;
    margin: 80px 0;
}



@media only screen and (max-width: 600px) { 
    .quote_1 {
        margin: 15px;
        flex-direction: column;
        height: auto;
        border: 1px dashed #F8FBFF;
        box-shadow: 0px 2px 6px 0px rgba(46, 46, 46, 0.5);
    }
    .quotes-left_1 {
        flex: 1;
        position: relative;
        padding: 20px;
        padding-bottom: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .quotes-right_1  {
        position: relative;
        flex: 1;
        padding-left: 20px;
        padding-right: 20px;
        padding-bottom: 700px;
        padding-top: 0;
    }

    .quote_2 {
        margin: 15px;
        margin-top: 120px;
        height: auto;
        flex-direction: column-reverse;
        border: 1px dashed #F8FBFF;
        box-shadow: 0px 2px 6px 0px rgba(46, 46, 46, 0.5);
    }
    .quotes-left_2 {
        flex: 1;
        padding-bottom: 620px;
        padding-left: 30px;
        padding-right: 30px;
        padding-top: 0;
        font-size: 14px;
    }
    .quotes-right_2  {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        flex: 0;
        padding-top: 30px;
        padding-left: 30px;
        padding-right: 30px;
        padding-bottom: 0;
    }
    
    .quotes-right_1  .quote-text_end {
        position: absolute;
        bottom: 40px;
        left: 20px;
        right: 20px;
        padding: 32px;
        margin: 0;
        box-sizing: border-box;
    }
    .quotes-left_2 .quote-text_end {
        padding: 32px;
        box-sizing: border-box;
        margin: 0;
        margin-top: 30px    ;
    }


    .quote-links {
        color: #F8FBFF;
        font-size: 14px;
    }
    #quote-links_1 {
        position: absolute;
        top: calc(170% + 320px);
        width: 100%;
        left: 0;
        right: 0;
        text-align: center;
    }
    #quote-links_1::before {
        content: "";
        position: absolute;
        top: -10px;
        left: 30px;
        width: 50px;
        height: 50px;
        transform: rotate(90deg);
    }
    #quote-links_1::after {
        content: "";
        position: absolute;
        top: -10px;
        left: auto;
        right: 30px;
        width: 50px;
        height: 50px;
        background-image: url('../img/quotes/arrow1.svg');
        transform: rotate(-90deg) scaleX(-1);
    }


    #quote-links_2 {
        position: absolute;
        margin: 0;
        left: 15%;
        bottom: 40px;
        width: 100px;
        z-index: 4;
    }
    #quote-links_2::before {
        top: 30%;
        right: -148px;
        left: auto;
        width: 200px;
        height: 40px;
        transform: rotate(-20deg);
        background-image: url('../img/quotes/arrow3.svg');
    }
    
    




    .quote-caption {
        margin-top: 20px;
        width: 100%;
        position: relative;
    } 

    #quote-caption_1 {
        bottom: auto;
        left: 0; 
        order: 2;
    }
    #quote-caption_2 {
        order: 2;
        right: 0;
        bottom: 0;
        width: 100%;
    }

    #quote-image_1 {
        order: 1;
        position: relative;
        left: auto;
        rotate: -2deg;
        max-width: 285px;
        height: 354px;
        margin-top: -40px;
    }
    #quote-image_2 {
        order: 3;
        left: 20px;
        top: 170%;
        rotate: -1deg;
        height: 310px;
        max-width: 180px;
        z-index: 3;
    }
    #quote-image_3 {
        order: 3;
        left: auto;
        right: 20px;
        top: 170%;
        height: 270px;
        rotate: 2deg;
        max-width: 210px;
        z-index: 2;
    }

    #quote-image_4 {
        background-image: url("../img/quotes/arinova_insta.gif");
        top: auto;
        bottom: -190%;
        left: auto;
        right: auto;
        rotate: -3deg;
        height: 435px;
        max-width: 240px;
        z-index: 1;
    }

    #quote-image_5 {
        position: relative;
        order: 1;
        height: 354px;
        max-width: 285px;
        z-index: 2;
        margin-top: -30px;
    }
}