/**
Info-Cards CSS File

TWIG --> paragraph--info-card.html.twig
*/


/**
 * Global cards
 */
.card--darker_secondary {background-color: var(--secondary-dark);}
.card--secondary {background-color: var(--primary);}
.card--alert {background-color: var(--secondary);}

/**
 * Global card item
 */

.card__item {
    display: flex;
    align-items: center;
}
.card:nth-child(1),
.card:nth-child(4) {
    max-height: 100%;
}
.card {
    border-radius: var(--border-radius);
    overflow: hidden;
}


/**
 * CSS code 4 the card content.
 */
.card__content {
    padding: 1rem 3rem;
    display: flex;
    flex-direction: column;
}
.card__content > * {
    font-family: "Raleway", sans-serif;
    line-height: 21px;
    color: white;
    font-size: 16px;
}
.card__content {
    padding: 1rem 3rem;
    display: flex;
    flex-direction: column;
}


/**
 * CSS properties for the card icon.
 */

.card__icon {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 0;
    position: relative;
    width: 65px;
    height: 64px;
}
.card__icon::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 65px;
    height: 64px;
    background: #71BBC0;
    border-radius: 50% / 48.5%;
}
.card__icon > * {
    position: relative;
    z-index: 1;
}

@media screen and (max-width: 1000px) {
    .card {
        max-width: 325px;
    }
    .card__item {
        flex-direction: column;
    }
    .card--full-image > .card__item > .card__image > picture > img {
        width: 100%;
        height: auto;
        max-width: 100%;
        background-color: red;
    }
    .card__item:nth-child(1) > .card__image > img{
        margin-top: 2rem;
        max-width: 103px;
        max-height: 134px;
    }
}

@media screen and (min-width: 1000px) {
    .card:nth-child(2),
    .card:nth-child(3) {
        min-height: 209px;
        height: 100%;
    }
    .card:nth-child(1),
    .card:nth-child(4) {
        max-height: 404px;
        height: 100%;
    }
    .card:nth-child(1) > .card__content,
    .card:nth-child(4) > .card__content {
        margin-top: 0;
        margin-bottom: 0;
    }
    .card:nth-child(1) .card__item {
        padding: 2.3125rem;
        box-sizing: border-box;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto;
        height: 100%;
    }
}
