/* grid flex */

/* 
 * Box home
 */ 

 .box {
     border: 1px solid #eee;

}


 .box-container {
    display: grid;
    grid-template-columns: repeat(2, 3fr);
    grid-gap: 100px;
    padding: 0px;
    margin-bottom: 100px;
    width: 100%;
    min-height: 100px;
    flex-flow: row wrap;
}
.box-container .box {
    position: relative;
    overflow: hidden;
    border-radius: 0px;
    background-color: #fff;
}

.box-container .box:before {
    content: '';
    display: block;
    height: 0;
    padding-bottom: 100%;
}

.box-container .box .box__cover {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: contain;
    background-position: center bottom;
    background-repeat: no-repeat;
}

.box-content {
    position: relative;
    display: table;
}

.box-content-title {
    position: absolute;
    top: 50px;
    left: 50px;
    z-index: 3;
    align-items: stretch;
    width: 65%;
}
.box-content-title h1 {
    text-align: left;
    color: #111;
}
.box-content-en-cours {
    position: absolute;
    top: 50px;
    right: 50px;
    z-index: 3;
    color: #fff;
    width: 100px;
    height: 100px;
    background-color: #111;
    border-radius: 200px;
    display: table;
    transform: rotate(-25deg);
}
.box-content-en-cours p {
    text-align: center;
    vertical-align: middle;
    color: #fff;
    display: table-cell;
    text-transform: uppercase;
    font-weight: 200;
    letter-spacing: 2px;
    font-size: 15px;
    line-height: 20px;
}
.box-content img {
    width: 100%;
    padding: 0px;
    margin: 0px;
    height: auto;
    border: 1px solid #eee;
}
.box-content-txt {
    padding: 50px 0px 50px 0px;
    text-align: center;
    vertical-align: middle;
    display: table-cell;
}
.box-content-solo {
    align-items: center;
    display: flex;
    position: relative;
    border: 1px solid #eee;
}
.box-content-solo img {
    width: 100%;
    padding: 0px;
    margin: 0px;
    height: auto;
}


.box-container .box .box__cover.box__cover--video {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 122%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    -webkit-transform: scale(1.25);
    transform: scale(1.25);
    -webkit-transition: .3s ease-in-out;
    transition: .3s ease-in-out;
    }
    .box-container .box .box__logo {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        max-height: 200px;
        text-align: center;
        color: #fff;
        max-width: 200px;
        }
.box__logo {
-webkit-transform: scale(1);
	transform: scale(1);
	-webkit-transition: .3s ease-in-out;
	transition: .3s ease-in-out;

}
.box__logo:hover {
-webkit-transform: scale(1.1);
	transform: scale(1.1);
}
.box__logo_blog {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: auto;
    text-align: center;
    max-height: 80%;
    height: auto;
}



.box__cover{
	transform: scale(1);
	opacity: 1;
    transition: all 0.5s;
}

.box__cover:hover{
    transform: scale(1.03);
}


.box-content-child-title {
    position: absolute;
    z-index: 3;
    color: #fff;
    mix-blend-mode: difference;
    padding-top: 25px;
    padding-left: 25px;
    width: 30%;
}

h2 {
    font-size: 40px;
    text-align: left;
    line-height: 40px;
    color: #fff;
    }


#box-counter-1{
    order: 1; 
}
#box-counter-2{
    order: 2; 
}
#box-counter-3{
    order: 4; 
}
#box-counter-4{
    order: 3; 
}
#box-counter-5{
    order: 5; 
}
#box-counter-6{
    order: 6; 
}
#box-counter-7{
    order: 8; 
}
#box-counter-8{
    order: 7; 
}

