﻿.channels__container {
    overflow-x: hidden;
    padding: 0 0 10px 0;
}

.cards__container {
    margin: 100px 0 0 0;
    padding: 30px 0 40px 0;
    position: relative;
}

.cards__container:before {
    background: #EFF2F3;
    border-radius: 0px 0 20px 20px;
    box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.3), 0px 1px 3px 1px rgba(0, 0, 0, 0.15);
    content: "";
    height: 100%;
    left: calc(0px - 12px);
    position: absolute;
    top: 0;
    width: 100vw;
    z-index: -1;
}

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

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

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

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

.cards__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;
}

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

.cards__button-link,
.cards__button-link:visited{
    background: #006633;
    border-radius: 6px;
    box-shadow: 0px 0px 1px rgb(27 29 34 / 2%), 0px 1px 1px rgb(27 29 34 / 5%);
    color: #F0FFF7;
    display: inline-flex;
    font-family: 'Ubuntu', sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 20px;
    padding: 12px 50px 12px 16px;
    position: relative;
    text-decoration: none;
    transition: all 0.5s;
}

.cards__button-link svg,
.cards__button-link:visited svg {
    fill: #F0FFF7;
    position: absolute;
    right: 20px;
    top: 52%;
    transform: translateY(-50%);
    transition: all 0.5s;
}

.cards__button-link:hover{
    background: #C0E0D0;
    color: #333333;
    text-decoration: none;
}

.cards__button-link:hover svg{
    fill: #333333;
}

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

@media (min-width: 768px){

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

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

   .cards__image {
        height: 200px;
    }

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

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

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