h1{
    margin-bottom : 75px;
}

.headMain{
    background-color: #e6ddcd;
    padding: 300px 100px 150px;
    background-image: url(../images/espacePro/backHeadEspacePro.jpg);
    background-position: right;
    background-size:contain;
    background-repeat: no-repeat;
}

.headMain h1, .headMain h2, .headMain p{
    width: 40%;
}

.headMain h1{
    color: #dba627;
    text-shadow: 1px 1px rgba(255, 255, 255, 0.5);
}

.headMain h2{
    font-size:3em;
}

.headMain p{
    font-size:18px;
    line-height: 23px;
}

.espacePro{
    background-color: #fff8e9;
}

.textEspacePro {
    padding:50px;
}

.blocEspacePro{
    display:flex;
    flex-direction: row;
    justify-content: center;
    gap: 20px;
    width: 90%;
    margin : 0 auto;
    padding : 50px 0 100px;
}

.blocEspacePro div{
    flex:1;
}

.blocEspacePro h3{
    margin: 10px 0 10px;
}

.blocEspacePro p{
    line-height: 23px;
    margin: 10px 0 10px;
}

.blocContent{
    display: flex;
    flex-direction: column;
    background-color: #e6ddcd;
    color:black;
    border-radius: 10px;
    padding: 0 20px 20px;
    justify-content: space-between;
    transition: .5s;
}

.blocContent img{
    width: 100%;
    margin: 50px auto 0;
    border-radius: 5px;
}

.blocContent span img{
    width: 100px;
}

.blocContent p, .blocContent h3{
    width: 90%;
}

.blocContent:hover{
    transition: .5s;
    transform: translateY(-10px);
    box-shadow: 1px 1px 10px 5px #b8b0a4;
}

.projet{
    background-color: #dba627;
    padding: 75px 25px 50px;
    color:white;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-around;
}

.projet h2, .projet p{
    width: 77%;
}

.projet a{
    background-color: white;
    padding: 20px;
    border-radius: 50px;
    border : 3px solid white;
    text-decoration: none;
    color:#30373d;
    transition:.25s;
    line-height: 125px;
}

.projet a:hover{
    background-color: #30373d;  
    color: #dba627;
    border : 3px solid #dba627;
    box-shadow: 1px 1px 20px 1px #30373d;
    transition:.25s;
    transform: translateY(-5px);
}

@media screen and (max-width:1800px) {
    
    .headMain{
        background-image : none;
    }

    .headMain h1, .headMain h2, .headMain p{
        width: 90%;
    }   

    .projet{
        display: flex;
        flex-direction: column;
        text-align: center;
        align-items: center;
        gap:50px;
    }

    .projet a{
        text-align: center;
    }

    .projet h2, .projet p{
        width: 100%;
    }

}

@media screen and (max-width:1400px) {

    .blocEspacePro{
        display: grid;
        grid-template-columns: 50% 50%;
    }

}

@media screen and (max-width:800px) {

    .headMain{
        padding: 150px 50px 50px;
    }

    .headMain h1, .headMain h2, .headMain p{
        width: 100%;
    }

    .headMain h2{
        font-size:25px;
    }

    .headMain p{
        font-size:15px;
        line-height: 1.25em;
    }

    .projet{
        padding: 50px 25px 10px;
        gap:20px;
    }

    .projet h2, .projet p{
        width: 100%;
    }

    .blocEspacePro{
        padding : 0 0 0px;
    }

    .textEspacePro {
        padding:20px;
    }

}

@media screen and (max-width:500px) {
    
    .blocEspacePro{
        display: flex;
        flex-direction: column;
        padding : 50px 0 100px;
    }

}

