/*

1. Add your custom Css styles below
2. Place the this code in your template:

 <link href="css/custom.css" rel="stylesheet">

*/
/*.header {*/
/*    height: 50vh;*/
/*    width: 100%;*/
/*    color: white;*/
/*    display: flex;*/
/*    font: bold 1em monospace;*/
/*    justify-content: center;*/
/*    align-items: center;*/

/*    background: linear-gradient(to top, #3204fdba, #9907facc), url('assets/images/header_home.png') no-repeat center center;*/
/*}*/

.card-container{
    position: relative;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;

}

.card-container .card
{
    position: relative;
    height: 275px;
    background: #fff;
    display: flex;
    width: 48%;
    margin: 15px 0;
}

.card-container .card  .imgBox
{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    transition: 0.5s ease-in-out;
}

.bg-olympiad{
    background-color: #ed008c; /*  d8c7d3 */
}

.bg-edu-stem{
    background-color: #f68121; /* rgba(246,129,33, 0.9);  */
}
/*.bg-recrutement{*/
/*    background-color: #ed008c;*/
/*}*/
.bg-mentorat{
    background-color: #83a8bd; /* #83a8bd */
}
.bg-decouverte-stem{
    background-color: #25bdae;
}
.bg-entreprendre{
    background-color: #811591;
}

.card-container .card:hover  .imgBox
{
    width: 150px;
    height: 150px;
    left: -75px;
    top: calc(50% - 75px);
    transition: 0.5s ease-in-out;
    /*background: #ff0057;*/

}

.card-container .card  .imgBox::before
{
    content: attr(data-text);
    position: absolute;
    bottom: 20%;
    left: 0;
    width: 100%;
    text-align: center;
    font-size: 1.8em;
    color: rgba(255, 255, 255, 1);
    font-weight: 700;

}

.card-container .card:hover  .imgBox::before
{
    content: attr(data-text);
    color: rgba(255, 255, 255, 0.001);
    font-size: 1.3em;
    font-weight: 700;


}

.card-container .card  .imgBox .icon
{
    max-width: 100px;
    transition: 0.8s ease-in-out;
    color: #fff;
}

.card-container .card:hover  .imgBox .icon
{
    max-width: 75px;

}

.card-container .card  .content
{
    position: absolute;
    right: 0;
    width: calc(100% - 75px);
    height: 100%;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;

}

.card-container .card  .content h3
{
    margin-bottom: 5px;
    font-size: 24px;

}

.card-container .card  .content a
{
    display: inline-block;
    margin-top: 10px;
    padding: 5px 10px;
    background: #B42E5E;
    text-decoration: none;
    color: #fff;


}

.icon i{
    height: 120px;
    width: 120px;
    border: 1px solid #fff;
    border-radius: 50%;
    padding: 15px;
}


.icon i {
    width: 100%;
    height: 100%;

}


@media (max-width: 992px)
{
    .card-container
    {
        width: 100%;
        flex-direction: column;
        align-items: center;
    }
    .card-container .card
    {
        width: 400px;

    }

    .card-container .card  .imgBox::before
    {
        content: attr(data-text);
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        text-align: center;
        font-size: 1em;
        color: rgba(255, 255, 255, .05);
        font-weight: 700;

    }


}


@media (max-width: 768px)
{

    .card-container .card
    {
        max-width: 300px;
        flex-direction: column;
        height: auto;
    }

    .card-container .card .imgBox
    {
        position: relative;
        width: 100%;
        height:  200px;
    }

    .card-container .card .imgBox,
    .card-container .card:hover .imgBox
    {
        width: 100%;
        top: 0;
        left: 0;

    }

    .card-container .card .imgBox .icon,
    .card-container .card:hover .imgBox .icon
    {
        max-width: 100%;

    }

    .card-container .card .content
    {
        position: relative;
        width: 100%

    }

    .card-container .card  .imgBox::before
    {
        content: attr(data-text);
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        text-align: center;
        font-size: 2em;
        color: rgba(255, 255, 255, .05);
        font-weight: 700;

    }

    .inspiro-slider.slider-fullscreen {
        height: 70vh;
    }

    @media (max-width: 768px) {
        .carousel .polo-carousel-item .icon {
            width: 100%;
        }
        .polo-carousel-item .icon {
            height: 60%;
        }
        .inspiro-slider.slider-fullscreen {
            height: 40vh;
        }
    }


}