
*{
    margin: 0px;
}

html{
    background-color:  rgb(178, 177, 196);
}

header {
    background-image: url("images/backgroundBUT.jpg");
    background-size: cover;
    background-position: right;
    background-repeat: no-repeat;
}

.maj{
    color : rgb(200, 187, 189); 
    margin : 55px;
    font-size: 12px;
    text-align: right;
    position: absolute;
    top: 0;
    right: 0;
}

main{
    padding : 40px;
    border-top: 2px solid rgb(178, 177, 196);
}

footer{
    background-color: rgba(6, 5, 75);
    display : flex;
    flex-direction: row;
}

footer a {
    color : rgb(178, 177, 196);
}

p, h2, h3, a{
    font-family :'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-decoration: none;
    color : rgba(6, 5, 75);
}

h1{
    font-family :'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size : 60px;
    color : rgb(187, 189, 200);
    padding: 200px;
    padding-left : 200px;
    font-family: url(policeCaractere/Adventure\ ReQuest.otf);
    justify-content : center;
    text-align: left;
}

h2{
    font-size: 50px;
    margin : 50px;
    margin-left : 0px;
    padding-bottom: 0px;
}

h3{
    font-size: 40px;
    padding-bottom: 50px;
}

h4{
    font-family :'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color : rgb(187, 189, 200);
    padding : 50px;
    font-size : 30px;
}

p{
    font-size : 20px;
}

.pFooter{
    font-size : 15px;
    color : rgb(187, 189, 200);
    padding-top : 55px;
    padding-left : 25px;
}

img{
    border-radius: 20px;
    margin : 20px;
}


.lien-conteneur-photo {
    position: relative;
    display: inline-block;
}

.lien-conteneur-photo img {
    display: block;
}

.photo-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(36, 32, 0, 0.7);
    color: white;
    font-size: 40px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 20px;
}

.lien-conteneur-photo:hover .photo-hover {
    opacity: 1;
}

.lienHeader{
    display : flex;
    flex-direction: row;
    text-align: left;
    padding: 30px;
    padding-right: 20px;
}

.aHeader {
    color : rgb(187, 189, 200);
    margin-right : 50px;
    margin-top : 20px;
}

.aHeader:hover{
    color : rgb(255, 230, 0);
    transition-duration: .7s;
    border-bottom: 1px solid rgb(255, 230, 0);
}

.pouletoImage{
    margin-right: 0px;
}

.logo{
    font-size: 40px;
    margin-right : 50px;
    color : rgb(187, 189, 200);
}

.portfolio1{
    display: flex;
    flex-direction: row;
    margin-bottom : 100px;
}

.portfolio2{
    display: flex;
    flex-direction: row;
    margin-bottom : 100px;
}
.exProjet{
    text-align: left;
    margin : 100px;
}

@media screen and (max-width: 1400px){
    .portfolio1{
        display: flex;
        flex-direction : column-reverse;
        margin-bottom : 50px;
        align-items: center;
    }

    .portfolio2{
        display: flex;
        flex-direction : column;
        margin-bottom : 50px;
        align-items: center;
    }

    img{
        max-width: 800px;
    }

    h2{
        margin-bottom: 0px;
    }
}