/* FIRST PART */

/* "first_part" correspond au titre d'accueil et au bouton "En savoir plus" */

/* texte d'accueil */
.first_part {
    padding: 0 2vw;
    width: 75%;
    max-width: 2000px;
}

.first_part h1 {
    color: whitesmoke;
    font-size: 4em;
    font-weight: 400;
    width: fit-content;
}

.first_part p {
    color: rgba(245, 245, 245, 0.9);
    font-size: 1.31em;
    font-weight: 300;
    margin-top: 25px;
    padding: 5px;
    border-radius: 2px;
    width: 85%;
    max-width: 1200px;
}


/* Bouton "En savoir plus" */
.enSavoirPlus {
    width: fit-content;
}

.enSavoirPlus a {
    display: inline-block;
    padding: 10px 20px;
    margin-top: 25px;
    font-size: 1em;
    letter-spacing: 1px;
    transition: 0.5s;
    color: whitesmoke;
    border: 1.5px solid #03e9f4;
    border-radius: 7px;
    background-color: rgba(3, 233, 244, .25);
}

.enSavoirPlus a:hover {
    background-color: rgba(3, 233, 244, .85);
    box-shadow: 0px 0px 5px rgba(3, 233, 244, .4), 0px 0px 25px rgba(3, 233, 244, .4), 0px 0px 25px rgba(3, 233, 244, .4), 0px 0px 25px rgba(3, 233, 244, .4);
    /*-webkit-box-reflect: below 1px linear-gradient(transparent, #0005); */
}

/* FIN FIRST PART */





/* NOS SOLUTIONS */
.nos_solutions {
    margin-top: 8vh;
    color: rgb(0, 20, 73);
    width: 75vw;
    max-width: 1750px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.nos_solutions h1 {
    font-size: 2.6em;
}

.nos_solutions table {
    width: 100%;
    margin: 5vh 0;
}

.nos_solutions table tr {
    display: flex;
    justify-content: center;
    gap: 5vw;
}

.nos_solutions table tr:last-child {
    margin-top: 5vh;
}

.nos_solutions table tr td {
    display: flex;
    align-items: center;
    justify-content: start;
    flex-direction: column;
    border: 1px solid rgba(0, 20, 73, 0.5);
    border-radius: 10px;
    width: 16%;
    height: 32%;
    padding: 25px 5px;
    box-shadow: 4px 8px 20px -5px #7dc8da;
    transition: all ease 0.3s;
}

.nos_solutions table tr td:hover {
    transform: scale(1.1);
    z-index: 0;
    background-color: rgba(0, 20, 73, 0.8);
    border: 1px solid rgba(125, 200, 218, 1);
    box-shadow: 0px 0px 100px 0px rgba(125, 200, 218, 1);
    transition: all ease 0.3s;
}

.nos_solutions table tr td a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    text-align: center;
    height: 32vh;

}

.nos_solutions table tr td:hover a h2,
.nos_solutions table tr td:hover a p {
    color: whitesmoke;
}

.nos_solutions table tr td:hover a p {
    font-weight: 300;
}


.nos_solutions table tr td a h2 {
    color: rgb(0, 20, 73);
    font-size: 1.5em;
}

.nos_solutions table tr td a p {
    color: rgba(0, 20, 73, 0.75);
    font-size: 0.9em;
    padding: 0 5px;
}

.nos_solutions table tr td a img:first-child {
    width: 30%;
}

.nos_solutions table tr td a img:last-child,
.nos_solutions table tr td a #plus_white {
    width: 20px;
}

.nos_solutions table tr td a #plus_white {
    display: none;
}

.nos_solutions table tr td:hover a #plus_white {
    display: block;
}


.nos_solutions table tr td:hover a img:last-child {
    display: none;
}

.stats {
    display: flex;
    width: 60%;
    justify-content: center;
    margin-bottom: 65px;
}

.stats tr {
    display: flex;
    flex: 1;
    flex-direction: row;
}

.stats tr td {
    display: flex;
    flex: 1;
    justify-content: center;
    flex-direction: column;
    padding: 25px;
    gap: 10px
}

.stats p {
    width: 80%;
    margin-top: -10px;
}

.stats h1 {
    font-size: 3.8em;
    color: rgb(3, 3, 179);
}


.carousel {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    margin-bottom: 50px;
}

.carousel-track {
    display: flex;
    width: 100%;
    animation: scroll 70s linear infinite;
}

.carousel-track img {
    margin: 0 50px;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-300%);
    }
}



/* FIN NOS SOLUTIONS */

@media screen and (min-width: 1450px) and (min-height: 1250px) {

    .first_part h1 {
        font-size: 5em;
    }

    .first_part p {
        font-size: 1.6em;
    }

}

@media screen and (max-width: 1350px) {

    .nos_solutions {
        width: 90vw;
    }

}

@media screen and (max-width: 1250px) {

    .background_top .first_part {
        width: 100%;
        padding: 0 0 0 15%;
    }

    .first_part h1 {
        font-size: 3.5em;
    }

    .first_part p {
        font-size: 1.1em;
    }

}

@media screen and (max-width: 1050px) {

    .nos_solutions {
        width: 100vw;
    }

    .nos_solutions h1 {
        margin-left: 50px;
    }

    .nos_solutions table tr td {
        width: 18%;
    }

}

@media screen and (max-width: 950px) {

    .first_part h1 {
        font-size: 3.2em;
    }

}

@media screen and (max-width: 870px) {
    
    .first_part h1 {
        font-size: calc(4vw + 1em);
    }

    .first_part p {
        font-size: 1em;
    }   
    
    .enSavoirPlus a {
        padding: 8px 13px;
        font-size: .9em;
        letter-spacing: 0px;
    }

    .nos_solutions h1 {
        font-size: 2em;
    }

    .nos_solutions table,
    .nos_solutions table tbody,
    .nos_solutions table tbody tr  {
        height: max-content;
    }

    .nos_solutions table tbody {
        display: flex;
        flex-direction: row;
        justify-content: center;
        gap: 25px;
    }

    .nos_solutions table tbody tr {
        width: 43%;
        flex-direction: column;
        align-items: center;
        justify-content: start;
    }

    .nos_solutions table tr:last-child {
        margin-top: 0;
    }

    .nos_solutions table tr td {
        width: 90%;
        height: 3%
    }

    .nos_solutions table tr td:hover {
        transform: scale(1);
    }

    .nos_solutions table tr td a {
        flex-direction: row;
        height: 10%;
    }

    .nos_solutions table tr td a img:first-child {
        width: 15%;
    }

    .nos_solutions table tr td a h2 {
        font-size: 1.2em;
    }

    .nos_solutions table tr td p,
    .nos_solutions table tr td #plus_white, 
    .nos_solutions table tr td img:last-child,
    .nos_solutions table tr td:hover a #plus_white {
        display: none;
    }

}

@media screen and (max-width: 700px) {
    
    .nos_solutions table tr td {
        width: 100%;
    }

    .first_part p {
        font-size: smaller;
    }

    .enSavoirPlus a {
        padding: 6px 12px;
        font-size: .8em;
    }

}

@media screen and (max-width: 500px) {
    

    .nos_solutions table tbody {
        flex-direction: column;
        justify-content: center;
    }

    .nos_solutions table tbody tr {
        width: 100%;
    }

    .nos_solutions table tbody tr td {
        width: 80%;
        padding: 15px 5px;
        height: auto;
    }

}

@media screen and (max-width: 400px) {

    .nos_solutions table tbody tr td a {
        justify-content: start;
    }

    .nos_solutions table tbody tr td a img:first-child {
        margin-left: 3%;
    }

    .nos_solutions table tr td a h2 {
        width: 82%;
        font-size: 1.1em;
    }

}