﻿.briefcase__container {
    margin: 20px 0 60px 0;
}

.briefcase__space {
    margin-bottom: 20px;
}

.briefcase {
    border-radius: 8px;
    box-shadow: 0px 8px 12px 6px rgba(0, 0, 0, 0.15), 0px 4px 4px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: flex-end;
    overflow: hidden;
    padding: 65px 0 20px 0;
    position: relative;
}

.briefcase:after {
    border-radius: 8px;
    background: #000;
    content: "";
    height: 100%;
    left: 0;
    opacity: 0.4;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 0;
}

.briefcase__image {
    border-radius: 8px;
    height: 100%;
    left: 0;
    overflow: hidden;
    position: absolute;
    top: 0;
    width: 100%;
}

.briefcase__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.briefcase__text {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: flex-end;
    padding: 0 20px 0 20px;
    z-index: 1;
}

.briefcase__title {
    align-items: center;
    display: flex;
}

.briefcase__title-text {
    color: #fff;
    font-family: 'Ubuntu', sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 22px;
}

.briefcase__summary p {
    color: #fff;
    font-family: 'Ubuntu', sans-serif;
    font-size: 14px;
    font-weight: 500;
    flex: 0 0 55%;
    line-height: 16px;
    margin: 0 0 10px 0;
    padding: 0 20px 0 0;
    text-align: left;
}

@media(min-width: 1200px){
    
    .briefcase {
        padding: 70px 0 20px 0;
    }

    .briefcase__text {
        margin-top: 23%;
        padding: 0 15px 15px 15px;
    }

    .briefcase__title {
        left: 20px;
        max-width: 65%;
        position: absolute;
        top: 30px;
    }

    .briefcase__title-text {
        font-size: 32px;
        line-height: 48px;
    }

    .briefcase__summary {
        display: flex;
        align-items: center;
    }

    .briefcase__summary p {
        font-size: 16px;
        line-height: 24px;
        margin: 0;
    }

    .briefcase__link {
        /* flex: 0 0 40%;
        text-align: center; */
    }
}