.tec3web-btn-span{
    background-color: #01a1df;
    border: none;
    font-size: 18px;
    opacity: 0;
    animation: btnFade 1s ease-out;
    animation-delay: 2s;
    animation-fill-mode: forwards;
}

@keyframes btnFade{
    0%{opacity: 0; transform: translateY(20px);}
    100%{opacity: 1; transform: translateY(0px);}
}

/* GRID */

.grid-container {
    margin: 0 auto;
}

.cols {
    margin: 0 auto;
    /*  max-width: 1000px;*/
}

.col {
    width: 25%;
    height: 250px;
    float: left;
    margin: 0;
    padding: 5px;
}

.col img {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.col h2 {
    font-weight: 900;
    color: #fff;
    text-shadow: black 0px 0 5px;
    padding: 0px 20px;
}

.grid-1 {
    width: 50%;
}

.logo-tec3web{
    width: 150px;
}

.tec3web-lien{
    color: black;
}

.tec3web-lien:hover{
    color: #222;
}

@supports (display: grid) or (display: -ms-grid) {
    .grid-area {
        display: grid;
        /*    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));*/
        grid-auto-rows: 250px;
    }

    .col {
        width: 100%;
        height: 100%;
        float: none;
    }

    .grid-1 {
        grid-column-end: span 2;
    }
}

/* Media queries for other screen widths */
@media screen and (max-width: 450px) {
    
}

@media screen and (max-width: 768px) {
    .col h2{
        font-size: 30px !important;
    }
    
    figure p, figure button{
        font-size: 16px !important;
    }
}

/************ Hover effect styles *************/

figure {
    position: relative;
    overflow: hidden;
    text-align: center;
}

figure figcaption {
    color: #fff;
    backface-visibility: hidden;
}

figure figcaption::before,
figure figcaption::after {
    pointer-events: none;
}

figure figcaption,
figure figcaption > a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Anchor will cover the whole item by default */

/* For some effects it will show as a button */

figure figcaption > a {
    z-index: 1000;
    text-indent: 200%;
    white-space: nowrap;
    font-size: 0;
    opacity: 0;
}

figure h2 {
    word-spacing: -0.15em;
    font-weight: 300;
}

figure h2 span {
    font-weight: 800;
}

figure h2,
figure p {
    margin: 0;
}

figure button.rww_grid_button {
    background-color: transparent;
    border: 2px solid #01a1df;
    border-radius: 5px;
    margin: 0 auto;
    padding: 0.5rem;
    font-weight: bold;
    font-size: smaller;
    color: #01a1df;
    text-transform: uppercase;
    transition: all 0.3s;
}

figure p {
    letter-spacing: 1px;
    font-size: 16px !important;
}

figure figcaption::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
/*
    background: linear-gradient(to bottom,
        rgba(72, 76, 97, 0) 0%,
        rgba(72, 76, 97, 0.8) 75%);
*/
    background-color: rgba(0,0,0,0.6);
    content: "";
}

figure h2 {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    color: #484c61;
    transition: all 0.35s;
    transform: translate3d(0, -50%, 0) translate3d(0, -40px, 0);
    font-size: 40px !important;
}

figure figcaption::before,
figure p,
figure .grid-button-wrapper {
    transition: all 0.35s;
}

figure .grid-button-wrapper {
    position: absolute;
    bottom: 35%;
    left: 0;
    right: 0;
    width: 100%;
    opacity: 0;
    transform: translate3d(0, 20px, 0);
}

figure p {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    padding-bottom: 3rem;
    width: 100%;
    transform: translate3d(0, 10px, 0);
}

/* --------------------------------Service------------------------------ */

.carousel-full-div {
    margin-top: 50px;
}

.services-titre{
    padding: 5px 15px 0px 15px;
    font-size: 30px !important;
    font-family: 'AssistantLight';
    text-transform: uppercase;
}

.div-service-photo-description {
    padding-top: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: linear-gradient(to top, #ffffff, #fbfbfb, #f6f6f6, #f2f2f2, #ccc);
}

.div-service-photo {
    width: 700px;
    opacity: 0;
    animation: animServiceImage 1s ease-in-out;
    animation-fill-mode: forwards;
}

@keyframes animServiceImage{
    0%{transform: translateX(-100px);}
    100%{transform: translateX(0px); opacity: 1;}
}

.div-service-description {
    width: 35%;
    margin: 10px 0px 0px 40px;
    text-align: justify;
    opacity: 0;
    animation: animServiceDescription 1s ease-in-out;
    animation-fill-mode: forwards;
}

@keyframes animServiceDescription{
    0%{transform: translateY(100px);}
    100%{transform: translateY(0px); opacity: 1;}
}

.img-service-solo {
    width: 100%;
}

.div-services-check {
    margin-top: 40px;
    padding-left: 40px;
}

.check-service-li {
    list-style-image: url(/assets/img/elems/check.png);
}

.service1{
    opacity: 0;
    animation: animServiceListe 1s ease-in-out;
    animation-fill-mode: forwards;
    animation-delay: 0.4s;
}

.service2{
    opacity: 0;
    animation: animServiceListe 1s ease-in-out;
    animation-fill-mode: forwards;
    animation-delay: 0.8s;
}

.service3{
    opacity: 0;
    animation: animServiceListe 1s ease-in-out;
    animation-fill-mode: forwards;
    animation-delay: 1s;
}

.service4{
    opacity: 0;
    animation: animServiceListe 1s ease-in-out;
    animation-fill-mode: forwards;
    animation-delay: 1.2s;
}

.service5{
    opacity: 0;
    animation: animServiceListe 1s ease-in-out;
    animation-fill-mode: forwards;
    animation-delay: 1.4s;
}

.service6{
    opacity: 0;
    animation: animServiceListe 1s ease-in-out;
    animation-fill-mode: forwards;
    animation-delay: 1.6s;
}

.service7{
    opacity: 0;
    animation: animServiceListe 1s ease-in-out;
    animation-fill-mode: forwards;
    animation-delay: 1.8s;
}

.service8{
    opacity: 0;
    animation: animServiceListe 1s ease-in-out;
    animation-fill-mode: forwards;
    animation-delay: 2s;
}

.service9{
    opacity: 0;
    animation: animServiceListe 1s ease-in-out;
    animation-fill-mode: forwards;
    animation-delay: 2.2s;
}

.service10{
    opacity: 0;
    animation: animServiceListe 1s ease-in-out;
    animation-fill-mode: forwards;
    animation-delay: 2.4s;
}

@keyframes animServiceListe{
    0%{transform: translateX(-100px);}
    100%{transform: translateX(0px); opacity: 1;}
}

@media screen and (max-width: 1300px) {
    .div-service-photo-description {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .div-service-photo {
    width: 70%;
}
    
    .div-services-check{
        padding: 0px 20px 0px 0px;
    }
    
    .div-service-description {
    width: 90%;
    margin: 20px 0px 0px 0px;
}
    
    .div-service-description p{
        text-align: center;
    }

}