body {
    padding: 0;
    margin: 0;
    overflow-x: hidden;
}

.header{
    position: relative;
    width: 100%;
    height: 80vh;
    background: #92b2c5;
    background-image:url(../img/fond-header.png);
    background-size:  contain;
    background-repeat: no-repeat;
    background-position: bottom;
    padding: 0;
    margin: 0;
    text-align: center;
    max-width: 2731px;
    margin: 0;
    z-index: -1;
}
img.voeux {
    position: absolute;
    left: 50%;
    top: 0;
    width: 500px;
    margin-top: 85px;
    margin-left: -250px;
    max-width: 100%;
    z-index: 10;
}
.ligne img:hover {
    filter: brightness(1.2);
    transform: scale(1.03);
    transition: all 0.5s;
}
.ligne img {
    transition: all 0.5s;
}
section{
    width: 100%;
    margin-top: -140px;
}
.content {
    width: 1020px;
    height: 427px;
    margin: auto;
    max-width: 100%;
}
.ligne{
    text-align: center;
}
section#second{
    margin-top: 170px;
    position: relative;
}
section#third{
    margin-top: 30px;
    position: relative;
}
section img{
    max-width: 40%;
    padding: 0 2%;
}

section#second {
    margin-top: 170px;
}

.footer {
    margin-top: 30px;
    width: 1020px;
    margin: 60px auto;
    max-width: 100%;
}
.footer img{
    max-width:100%;
}
.bottom-img-mobile-1,.bottom-img-mobile-2{
    display:none;
    width:100%;
}

.fadein {
    opacity:0;
    animation:  fadein 1s ease-in 0.3s;
    -moz-animation: fadein 1s ease-in 0.3s; /* Firefox */
    -webkit-animation: fadein 1s ease-in 0.3s; /* Safari et Chrome */
    -o-animation: fadein 1s ease-in 0.3s; /* Opera */
    animation-fill-mode: forwards;
    -webkit-animation-fill-mode: forwards;
}

@keyframes fadein {
    from {
        opacity:0;
    }
    to {
        opacity:1;
    }
}
@-moz-keyframes fadein { /* sur Firefox */
    from {
        opacity:0;
    }
    to {
        opacity:1;
    }
}
@-webkit-keyframes fadein { /* sur Safari et Chrome */
    from {
        opacity:0;
    }
    to {
        opacity:1;
    }
}
@-o-keyframes fadein { /* sur Opera */
    from {
        opacity:0;
    }
    to {
        opacity: 1;
    }
}

@media all and (max-width: 1050px) {
    .header{
        background-size: contain;}
    #first{
        position: relative;
        margin-top: 30px;
    }
    section img {
        max-width: 90%;
        padding: 0;
    }

    .content {
     height: initial;
  }
  section#second ,section#third{
    margin-top: 0; 
}
.footer img{
    margin: auto;
    width: initial;
}
.bottom-img-large{display:none;}
.bottom-img-mobile-1,.bottom-img-mobile-2{display:block;}
}

@media all and (max-width: 750px) {
    img.voeux {
        left: 0;
        top: 0;
        width: 80%;
        margin-top: 85px;
        margin-left: 10%;
        z-index: 10;
    }
    section{
        margin-top: -80px;
    }

}

@media all and (orientation: landscape) and (max-height: 750px) {
    .header{height: 90vh;}
    img.voeux{transform: scale(0.7);margin-top: 0;}
}

@media all and (orientation: landscape) and (min-width: 2048px) {
    .header{height: 90vh;}
}