/* ECOLE SAINTE MARIE */
.st-marie-img-hover{
    position:relative;
    width:100%;
    height:520px;
    overflow:hidden;
    border-radius:12px;
    cursor:pointer;
}

.st-marie-img-hover img{
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center;
    transition:transform .5s ease;
}

.st-marie-img-hover::before{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(
        to top,
        rgba(0,0,0,.9) 0%,
        rgba(0,0,0,.45) 40%,
        rgba(0,0,0,0) 75%
    );
    opacity:0;
    transition:.4s ease;
    z-index:1;
}

.st-marie-content{
    position:absolute;
    left:30px;
    right: 30px;
    bottom:25px;
    z-index:2;
    color:#fff;
    opacity:0;
    transform:translateY(25px);
    transition:all .4s ease;
}

.st-marie-content h2{
    font-size:30px;
    margin:0px;
    font-family: jane;
}

.st-marie-content p{
    font-size:16px;
    line-height:1.5;
    font-family: Rubik;
    font-weight: 100;
}

.st-marie-img-hover:hover img{
    transform:scale(1.08);
}

.st-marie-img-hover:hover::before{
    opacity:1;
}

.st-marie-img-hover:hover .st-marie-content{
    opacity:1;
    transform:translateY(0);
}


/* COLLEGE SAINT VICTOR */
.college-st-victor-img-hover{
    position:relative;
    width:100%;
    height:400px;
    overflow:hidden;
    border-radius:12px;
    cursor:pointer;
}

.college-st-victor-img-hover img{
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center;
    transition:transform .5s ease;
}

.college-st-victor-img-hover::before{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(
        to top,
        rgba(0,0,0,.9) 0%,
        rgba(0,0,0,.45) 40%,
        rgba(0,0,0,0) 75%
    );
    opacity:0;
    transition:.4s ease;
    z-index:1;
}

.college-st-victor-content{
    position:absolute;
    left:30px;
    right: 30px;
    bottom:25px;
    z-index:2;
    color:#fff;
    opacity:0;
    transform:translateY(25px);
    transition:all .4s ease;
}

.college-st-victor-content h2{
    font-size:30px;
    margin:0px;
    font-family:jane;
}

.college-st-victor-content p{
    font-size:16px;
    line-height:1.5;
    font-family:Rubik;
    font-weight:100;
}

.college-st-victor-img-hover:hover img{
    transform:scale(1.08);
}

.college-st-victor-img-hover:hover::before{
    opacity:1;
}

.college-st-victor-img-hover:hover .college-st-victor-content{
    opacity:1;
    transform:translateY(0);
}

/* LYCEE SAINT VICTOR */
.lycee-st-victor-img-hover{
    position:relative;
    width:100%;
    height:716px;
    overflow:hidden;
    border-radius:12px;
    cursor:pointer;
}

.lycee-st-victor-img-hover img{
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center;
    transition:transform .5s ease;
}

/* Dégradé */
.lycee-st-victor-img-hover::before{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(
        to top,
        rgba(0,0,0,.9) 0%,
        rgba(0,0,0,.45) 40%,
        rgba(0,0,0,0) 75%
    );
    opacity:0;
    transition:.4s ease;
    z-index:1;
}

.lycee-st-victor-content{
    position:absolute;
    left:30px;
    right: 30px;
    bottom:25px;
    z-index:2;
    color:#fff;
    opacity:0;
    transform:translateY(25px);
    transition:all .4s ease;
}

.lycee-st-victor-content h2{
    font-size:30px;
    margin:0px;
    font-family:jane;
}

.lycee-st-victor-content p{
    font-size:16px;
    line-height:1.5;
    font-family:Rubik;
    font-weight:100;
}

.lycee-st-victor-img-hover:hover img{
    transform:scale(1.08);
}

.lycee-st-victor-img-hover:hover::before{
    opacity:1;
}

.lycee-st-victor-img-hover:hover .lycee-st-victor-content{
    opacity:1;
    transform:translateY(0);
}

/* CENTRE ST MARIE */
.centre-victor-ste-marie-img-hover{
    position:relative;
    width:100%;
    height:555px;
    overflow:hidden;
    border-radius:12px;
    cursor:pointer;
}

.centre-victor-ste-marie-img-hover img{
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center;
    transition:transform .5s ease;
}

.centre-victor-ste-marie-img-hover::before{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(
        to top,
        rgba(0,0,0,.9) 0%,
        rgba(0,0,0,.45) 40%,
        rgba(0,0,0,0) 75%
    );
    opacity:0;
    transition:.4s ease;
    z-index:1;
}

.centre-victor-ste-marie-content{
    position:absolute;
    left:30px;
    right: 30px;
    bottom:25px;
    z-index:2;
    color:#fff;
    opacity:0;
    transform:translateY(25px);
    transition:all .4s ease;
}

.centre-victor-ste-marie-content h2{
    font-size:30px;
    margin:0px;
    font-family:jane;
}

.centre-victor-ste-marie-content p{
    font-size:16px;
    line-height:1.5;
    font-family:Rubik;
    font-weight:100;
}

.centre-victor-ste-marie-img-hover:hover img{
    transform:scale(1.08);
}

.centre-victor-ste-marie-img-hover:hover::before{
    opacity:1;
}

.centre-victor-ste-marie-img-hover:hover .centre-victor-ste-marie-content{
    opacity:1;
    transform:translateY(0);
}

/* LYCEE SAINTE MARIE */
.lycee-st-marie-img-hover{
    position:relative;
    width:100%;
    height:675px;
    overflow:hidden;
    border-radius:12px;
    cursor:pointer;
}

.lycee-st-marie-img-hover img{
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center;
    transition:transform .5s ease;
}

.lycee-st-marie-img-hover::before{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(
        to top,
        rgba(0,0,0,.9) 0%,
        rgba(0,0,0,.45) 40%,
        rgba(0,0,0,0) 75%
    );
    opacity:0;
    transition:.4s ease;
    z-index:1;
}

.lycee-st-marie-content{
    position:absolute;
    left:30px;
    right: 30px;
    bottom:25px;
    z-index:2;
    color:#fff;
    opacity:0;
    transform:translateY(25px);
    transition:all .4s ease;
}

.lycee-st-marie-content h2{
    font-size:30px;
    margin:0px;
    font-family:jane;
}

.lycee-st-marie-content p{
    font-size:16px;
    line-height:1.5;
    font-family:Rubik;
    font-weight:100;
}

.lycee-st-marie-img-hover:hover img{
    transform:scale(1.08);
}

.lycee-st-marie-img-hover:hover::before{
    opacity:1;
}

.lycee-st-marie-img-hover:hover .lycee-st-marie-content{
    opacity:1;
    transform:translateY(0);
}

/* ECOLE SAINT CHARLES */
.lycee-st-charles-img-hover{
    position:relative;
    width:100%;
    height:360px;
    overflow:hidden;
    border-radius:12px;
    cursor:pointer;
}

.lycee-st-charles-img-hover img{
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center;
    transition:transform .5s ease;
}

.lycee-st-charles-img-hover::before{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(
        to top,
        rgba(0,0,0,.9) 0%,
        rgba(0,0,0,.45) 40%,
        rgba(0,0,0,0) 75%
    );
    opacity:0;
    transition:.4s ease;
    z-index:1;
}

.lycee-st-charles-content{
    position:absolute;
    left:30px;
    right: 30px;
    bottom:25px;
    z-index:2;
    color:#fff;
    opacity:0;
    transform:translateY(25px);
    transition:all .4s ease;
}

.lycee-st-charles-content h2{
    font-size:30px;
    margin:0px;
    font-family:jane;
}

.lycee-st-charles-content p{
    font-size:16px;
    line-height:1.5;
    font-family:Rubik;
    font-weight:100;
}

.lycee-st-charles-img-hover:hover img{
    transform:scale(1.08);
}

.lycee-st-charles-img-hover:hover::before{
    opacity:1;
}

.lycee-st-charles-img-hover:hover .lycee-st-charles-content{
    opacity:1;
    transform:translateY(0);
}

/* ETABLISSEMENTS */
.etablissements-img-hover{
    position:relative;
    width:100%;
    height:360px;
    overflow:hidden;
    border-radius:12px;
    cursor:pointer;
}

.etablissements-img-hover img{
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center;
    transition:transform .5s ease;
}

.etablissements-img-hover::before{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(
        to top,
        rgba(0,0,0,.9) 0%,
        rgba(0,0,0,.45) 40%,
        rgba(0,0,0,0) 75%
    );
    opacity:0;
    transition:.4s ease;
    z-index:1;
}

.etablissements-content{
    position:absolute;
    left:30px;
    right: 30px;
    bottom:25px;
    z-index:2;
    color:#fff;
    opacity:0;
    transform:translateY(25px);
    transition:all .4s ease;
}

.etablissements-content h2{
    font-size:30px;
    margin:0px;
    font-family:jane;
}

.etablissements-content p{
    font-size:16px;
    line-height:1.5;
    font-family:Rubik;
    font-weight:100;
}

.etablissements-img-hover:hover img{
    transform:scale(1.08);
}

.etablissements-img-hover:hover::before{
    opacity:1;
}

.etablissements-img-hover:hover .etablissements-content{
    opacity:1;
    transform:translateY(0);
}


/* RESPONSIVE */
/* Responsive */
@media (max-width: 880px) {
    .st-marie-img-hover {
        height: 250px;
    }

    .st-marie-content h2 {
    font-size: 25px;
}

    .college-st-victor-img-hover {
        height: 250px;
    }

    .college-st-victor-content h2 {
    font-size: 25px;
}

    .lycee-st-victor-img-hover {
        height: 250px;
    }

    .lycee-st-victor-content h2 {
    font-size: 25px;
}

    .centre-victor-ste-marie-img-hover {
        height: 250px;
    }

    .centre-victor-ste-marie-content h2 {
    font-size: 25px;
}

    .lycee-st-marie-img-hover {
        height: 250px;
    }

    .lycee-st-marie-content h2 {
    font-size: 25px;
}

    .lycee-st-charles-img-hover {
        height: 250px;
    }

    .lycee-st-charles-content h2 {
    font-size: 25px;
}

.etablissements-img-hover {
        height: 250px;
    }

    .etablissements-content h2 {
    font-size: 25px;
}
}
