﻿.frame__container {
    /* margin: 100px 0 0 0;
    padding: 30px 0 40px 0; */
    position: relative;
}

.frame__container .frame__space {
    max-width: 440px;
}

.frame__item {
    background: #fff;
    border-radius: 8px 8px 20px 20px;
    height: 100%;
}

.frame__content {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: center;
    z-index: 2;
}

.frame__image {
    border: 1px solid #D3D3D3;
    border-radius: 8px 8px 0 0;
    height: 170px;
}

.frame__img {
    border-radius: 8px 8px 0 0;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.frame__text {
    display: flex;
    border-radius: 0 0 20px 20px;
    box-shadow: 0px 0px 8px #00000029;
    flex-direction: column;
    flex-grow: 1;
    padding: 10px 15px 25px 15px;
}

.frame__title{
    flex-grow: 1;
    font-family: 'Ubuntu', sans-serif;
    font-size: 24px;
    font-weight: 500;
    line-height: 32px;
    margin: 5px 0 15px 0;
}

@media (min-width: 576px){
    .frame__container:before {
        left: 0;
        width: 100%;
        left: -100%;
        width: 200vw;
    }
}

@media (min-width: 768px){

    .frame__container:before {
        border-radius: 0px 20px 20px 0px;
        /* height: 92%; */
        height: 75%;
        left: -30vw;
        /* top: 15%; */
        top: 25%;
        width: 100vw;
    }

    .frame__text {
        padding: 10px 25px 25px 25px;
    }

   .frame__image {
        height: 200px;
    }

    .frame__title{
        margin: 10px 0 30px 0;
    }
}

@media (min-width: 992px){
    .frame__container:before {
        top: 130px;
        height: calc(100% - 130px);
    }

    .frame__intro {
        margin: 190px 0 0 0;
    }
}