body {
    font-family: "Montserrat";
    background-color: white;
}

h1,
h2,
h3,
h4,
h5 {
    font-weight: bold;
    color: #5F1937;
}

.ImageContact {
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.bandeau {
    padding: 0px;
    top: 0px;
    margin: 0;
    margin-left: 0;
    margin-right: 0;
    position: fixed;
    height: 110px;
    width: 100%;
    background-color: #FAFAFA;
    text-align: center;
    border-bottom: #f0f0f0 2px solid;
    z-index: 10;
}

nav.bandeau h1 {
    margin: 10px;
}

.bandeauheader,
nav.bandeau {
    display: flex;
}

.Contact {
    margin-left: auto;
    margin-right: 1em;
    color: #5F1937;
    text-decoration: none;
}

.Contact:hover,
.LangueFR:hover,
.LangueEN:hover {
    text-decoration: underline;
}

nav.bandeau {
    justify-content: space-between;
    align-items: center;
}

.Image {
    width: 100%;
    margin-top: 120px;
    position: relative;
    display: inline-block;
    display: block;
}

section {
    display: flex;
    align-self: center;
}

.mail {
    text-decoration: none;
    color: #00B9FF;
}

.mail:hover {
    text-decoration: underline;
    text-transform: uppercase;
}

.SousLeBandeau {
    margin-top: 120px;
}

.TexteSurImage {
    text-align: center;
    padding-left: 10px;
    padding-right: 10px;
}

.PageAccueil {
    display: none;
}

.PageAccueil:hover,
.LegalNotices:hover {
    text-decoration: underline;
}

article {
    margin-top: 40px;
}

.footer {
    display: block;
    height: 50px;
    width: 100%;
    background-color: #FAFAFA;
    text-align: center;
    border-top: #f0f0f0 2px solid;
    position: fixed;
    bottom: 0px;
}

.footerMentionLegales {
    display: block;
    height: 50px;
    width: 100%;
    background-color: #FAFAFA;
    text-align: center;
    border-top: #f0f0f0 2px solid;
    bottom: 0px;
}

.MentionsLegales {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 15px;
    margin-left: auto;
    margin-right: auto;
}

.LegalNotices {
    color: #5F1937;
    text-decoration: none;
}

.LangueFR {
    margin-left: auto;
    margin-right: auto;
    color: #5f1937;
    text-decoration: none;
}

.LangueEN {
    margin-left: auto;
    margin-right: 1em;
    color: #5f1937;
    text-decoration: none;
}

.NomSite {
    position: absolute;
    left: 20%;
    transform: translateX(-30%);
}

.NomSite h1 a {
    color: #5f1937;
    text-decoration: none;
}

.LogoEDHECGauche {
    position: relative;
    height: 40px;
    width: 105px;
    margin-right: 1em;
}

.LogoEDHEC {
  position: relative;
  height: 40px;
  width: 105px;
  margin-left: auto;
  margin-right: 1em;
  bottom: -5px;
}

img {
    width: 100%;
}

.MarginBottomMax {
    margin-bottom: 70px;
}

.NomSite {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.ContactEtLangues {
    display: flex;
    flex-direction: column;
}


@media screen and (min-width: 500px) {
    .bandeau {
        height: 80px;
    }

    .SousLeBandeau {
        margin-top: 90px;
    }

    .Image {
        margin-top: 100px;
    }


}

@media screen and (min-width: 701px) {
    .bandeau {
        height: 60px;
    }

    .SousLeBandeau {
        margin-top: 70px;
    }

    .ContactEtLangues {
        display: flex;
        flex-direction: row;
    }
}


@media screen and (min-width: 1001px) {


    body,
    html {
        height: 100%;
    }

    header {
        display: flex;
    }

    section {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .TexteSurImage {
        position: absolute;
        top: 50%;
        left: 33%;
        margin-top: 2.5%;
        transform: translate(-50%, -50%);
        text-align: center;
        font-size: larger;
    }

    .TexteSurImage h1,
    .TexteSurImage p {
        color: #F0F0F0;
    }

    .ImageGenderParity {
        position: relative;
    }

    .ImageGenderParity::before {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 200px;
        height: 70px;
        background-color: white;
        z-index: 2;
    }

    .ImageGenderParity::after {
        content: "";
        position: absolute;
        bottom: -70px;
        left: 0;
        width: 200px;
        height: 70px;
        background-color: #FF6E6E;
    }

    .mail {
        color: #FFC82D;
    }

    .PageAccueil {
        margin-right: auto;
        color: #5F1937;
        text-decoration: none;
        display: initial;
    }

}

@media screen and (min-width: 1501px) {

    body,
    html {
        height: 100%;
    }


    section {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .TexteSurImage {
        position: absolute;
        top: 50%;
        left: 33%;
        transform: translate(-50%, -50%);
        text-align: center;
        font-size: x-large;
    }

}


@media screen and (min-width: 2501px) {
  body {
    font-size: 1.5rem;
  }

  .bandeau {
    height: 60px;
  }

  .SousLeBandeau {
    margin-top: 80px;
  }

  .LogoEDHECGauche {
    margin-top: 8px;
  }
}


@media screen and (min-width: 5501px) {
  body {
    font-size: 2.5rem;
  }

  img {
    height: 200%;
    width: 200%;
  }

    .ContactEtLangues > div:has(> a.PageAccueil) {
    margin-left: 90px;
  }
}

@media print {
    .bandeau {
        position: static !important;
    }

    .SousLeBandeau {
        margin-top: 10px;
    }

      .Langues {
    display: none;
  }

  
  a::after {
    content: " (" attr(href) ")";
    text-decoration: underline;
  }

  header h1 a::after {
    content: none;
  }


  a[href^="#"]::after {
    content: "";
  }
}
