/************ Prestation générale ***********/
html{
    background-color: #e7e6e4;
    font-family: "Segoe UI Emoji", "Noto Color Emoji", "Twemoji", "Arial", sans-serif;
}


#onglet-prestation{
    display: flex;
    flex-flow: row wrap;
    justify-content: space-evenly;
}
    

#prestation1, #prestation2, #prestation3, #prestation4, #prestation5{
    position: relative;
}



.prestation,
.prestation2{
    
    width: 24%;
    height: 30vw;
    background-color: #1E464B ;
    display: flex;
    border-radius: 1.5vw;
    flex-direction: column;
    margin: 5% 3% 0% 3%;
    box-shadow: -0.16vw -0.09vw 0vw 0.25vw #406743;

}


#prestation5{
    margin-bottom: 4vw;
}



.prestation > h1,
.prestation2 > h1{
    color: #e9e9e9;
    display: block;
    margin: 53% auto 10% auto;
    font-size: 3.2vw;
    border-bottom: solid 0.25vw #fcdd13;
}

.button{
    width: 14%;
    padding: 5% ;
    position: absolute;
    bottom: 10%;
    right: 10%;
    background-color: #29575e;
    border-radius: 2vw;
}


.image-prestation1{
    position: absolute;
    top: 22%;
    left: 50%;
    height: 30%;
    transform:translate(-50%,-50%);
}


.prestation > button,
.prestation2 > button{
    border: none; 
    background-color: #1E464B;
}


.prestation2{
    margin-top: 5%;
}

#stag, #renov, #cons, #metre, #plan {
    width: 60%;
    border: #1E464B 10px solid;
    background-color: #e7e6e4;
    line-height: 2vw;
    display: none;
    flex-direction: column;
    padding: 2em;
    font-size: 1.2vw;
    justify-content: center;
    margin: 0% auto 3em auto;
}

#stag h1, #renov h1, #cons h1, #metre h1, #plan h1 {
    text-align: center;
}

#stag h3 {
    margin-top: 1%;
}

#stag p, #stag div {
    font-size: 1.1vw;
}

.closeBtn {
    width: 4%;
    font-size: 1vw;
    color: whitesmoke;
    background-color: #dd7456;
    cursor: pointer;
    padding: 0.4vw 0.4vw;
    border-radius: 0.8vw;
    border: none;
    margin-left: 96%;
}

/************ Hover ***********/


.en-savoir-plus > p:hover{
    cursor: pointer;
}

.button:hover {
    border: #336e60 solid 1px;
    transition: 0.5s;
    cursor: pointer;
}

/* ---------------------------------- RESPONSIVE ------------------------------------- */

@media screen and (max-width: 768px) {
    .hiddenDiv{
        font-size: 50%;
    }
}

@media screen and (max-width: 768px) {

    #onglet-prestation{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    }
    .prestation,
    .prestation2{  
    width: 90%;
    height: 20vw;
    }

    .prestation > h1,
    .prestation2 > h1{
       text-align: center;
       margin: 5% auto 0% auto;
       font-size: 5vw;

    }

    .en-savoir-plus > p{

        border-radius: 2vw;
        padding-right: 5%;
        padding-top: 2% ;
        padding-bottom: 2%;
    }

    .button{
        width: 6%;
        padding: 3%;
        bottom: 25%;
    }

    .image-prestation1 {      
        top: 45%;
        left: 15%;
        height: 55%;
    }
}