/* Mise en page de la page d'accueil */

.ruban{
    color: rgb(255, 255, 255);
    background: linear-gradient(to right, #000428, #004e92);
    padding-left: 40px;
    padding-top: 80px;
    padding-bottom: 80px;
}
.intro{
    background-color:#004e921e;
    display: flex;
    flex-direction: row;
    align-items: center;
    margin: auto;
}

.intro div{
    margin-right: 60px;
    text-align: justify;
}
.important{
    font-weight: 700;
}

.info{
    background-color: #ffffff;
    display: flex;
    flex-direction: row;
    align-items: center;
    margin: auto;
}

.info div{
    margin-left:40px;
    text-align: justify;
    display: flex;
    flex-direction: column;
}

.but2, .but3{
    font-size: 1em;
    background: linear-gradient(to left, #216f60, #093637); 
    color: white;
    border-radius: 20px;
    padding: 20px 30px;
    box-shadow: 2px 2px 5px black;
    text-decoration: none;
    align-items: center;
    text-align: center;
    justify-content: center;
}



.but2:hover, .but3:hover{
    opacity: 0.9;
    border-color: rgb(1, 1, 60);
}

.but2:active, .but3:active{
    background:rgb(0, 0, 54) ;
    border-color: rgb(1, 1, 60);
}

/* Mise en page de la section synthèse expertise*/
.expertise{
    background-color:#004e921e;
}
.expertise h1{
    text-align: start;
}
.elem1, .elem3, .elem5, .elem2, .elem4 {
    color: white;
    background: linear-gradient(to bottom, #000428, #004e92);
    border-radius: 10px;
    border: 1px solid rgb(51, 51, 51);
    font-size: 1em;
    text-align: center;
    width: 300px;
    height: 200px;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}


.expertise div {
    font-size: 1.2em;
    display: flex;
    flex-direction: row;
    gap: 15px;
    justify-content: center;
    margin-bottom: 15px;
}

/* Adaptation aux écrans laptop */

@media only screen and (min-width:996px) and (max-width: 1599px) {
    .ruban h2{
        font-size:1.5em
    }
    .info div{
        margin-left:30px;
        text-align: justify;
        display: flex;
        flex-direction: column;
    }
    .expertise div {
        font-size: 1em;
        display: flex;
        flex-direction: row;
        gap: 15px;
        justify-content: center;
        margin-bottom: 15px;
    }
    .elem1, .elem3, .elem5, .elem2, .elem4 {
        color: white;
        background: linear-gradient(to bottom, #000428, #004e92);
        border-radius: 10px;
        border: 1px solid rgb(51, 51, 51);
        font-size: 1em;
        text-align: center;
        width: 230px;
        height: 130px;
        padding: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}
/* Adaptation aux écrans mobiles  */
@media only screen and (max-width:996px) {
    .ruban{
        padding-left: 10px;
        padding-top: 30px;
        padding-bottom: 30px;
    }
    .ruban h2{
        font-size:1em
    }
    .intro{
        display: flex;
        flex-direction: column;
        align-items: center;
        margin: auto;
    }
    .intro div{
        margin-right: 0px;
        text-align: justify;
    }
    .info div{
        margin-left:0px;
        text-align: justify;
        display: flex;
        flex-direction: column;
    }
    .info{
        background-color: #ffffff;
        display: flex;
        flex-direction: column;
        align-items: center;
        margin: auto;
    }
    .but2, .but3{
        font-size: 0.9em;
        padding: 5px 5px;
    }
    .container {
        display:flex;
        flex-direction:column;
        font-size:0.6em;
    }
    .elem1, .elem3, .elem5, .elem2, .elem4 {
        font-size: 0.5em;
        width: 200px;
        height: 100px;
        padding: 10px;
        flex-direction:column;
    }
    .legend{
        font-size:0.6em;
        text-align:center;
    }
    .expertise div {
        font-size: 1.1em;
        display: flex;
        flex-direction: column;
        align-items:center;
    }
    .but3{
        width: 150px;
        height: 50px;
        align-items: center;
        text-align: center;
        justify-content: center;
    }
}

