* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: Verdana, Helvetica, sans-serif;
}

body {
    background-color: black;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

header {
    position: fixed;
    background-color: rgb(230, 230, 230);
    height: 100px;
    width: 100%;
    z-index: 1;
    border-bottom: 1px solid white;
    border-image-slice: 1;
    border-width: 1px;
    border-image-source: linear-gradient(to left, #000, #e6e6e6, #000);
}

.infinity-logo-blanc {
    height: 100%;
    margin-left: 10%;
    background-color: rgb(230, 230, 230);
}

nav {
    width: 1000px;
    height: 50px;
    background-color: rgb(230, 230, 230);
    float: right;
    margin-top: auto;
    margin-bottom: auto;
    position: relative;
    top: 50%;
    -webkit-transform: translateY(-50%);
    /* pour centrer les élements */
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

ul li {
    float: left;
    position: relative;
}

a {
    text-decoration: none;
    color: black;
    display: block;
    width: 200px;
    line-height: 50px;
    text-align: center;
    transition: color 0.5s;
    transition: background 0.5s;
}

.qui,
.projets,
.clients,
.partenaires {
    border-right: 1px solid white;
    border-image-slice: 1;
    border-width: 1px;
    border-image-source: linear-gradient(to top, #e6e6e6, #000, #e6e6e6);
}

.contact {
    width: 200px;
}


a:hover {
    color: rgb(0, 0, 255);
    background-color: rgb(210, 210, 210);
}

ul li ul {
    position: absolute;
    left: 0;
    top: 40px;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0.5s, opacity 1s;
    border-right: 1px solid white;
    border-left: 1px solid white;
    border-image-slice: 1;
    border-width: 1px;
    border-image-source: linear-gradient(to top, #e6e6e6, #000, #e6e6e6);
}

ul li:hover>ul {
    visibility: visible;
    opacity: 1;
}

ul li ul li {
    background-color: #e6e6e6;
    height: 40px;
}

ul li ul li a {
    background-color: rgb(230, 230, 230);
    line-height: 40px;
    border-top: 1px solid white;
    border-image-slice: 1;
    border-width: 1px;
    border-image-source: linear-gradient(to left, #e6e6e6, #000, #e6e6e6);
}

.gal {
    border-top: none;
}

/* main */

.titlecenter {
    padding-top: 10px;
    padding-bottom: 10px;
    border-top: 1px solid white;
    border-image-slice: 1;
    border-width: 1px;
    border-image-source: linear-gradient(to left, black, white, black);
    color: #45b5c6cb;
    text-align: center;
    font-size: 20px;
    font-family: Cormorant Garamond;
    letter-spacing: 3px;
}

main {
    position: relative;
    background-color: black;
}

.imgslide {
    vertical-align: middle;
    width: 100%;
}

.imgsalons {
    height: 112.5%;
}

.slideshow-container {
    max-width: 1000px;
    position: relative;
    margin: auto;
  }

.text {
    color: white;
    font-size: 15px;
    padding: 8px 12px;
    position: absolute;
    bottom: 8px;
    width: 100%;
    text-align: center;
    text-shadow: #45b5c6cb 1px 0 10px;
  }
  
  /* Number text (1/3 etc) */
  .numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
  }
  
  /* The dots/bullets/indicators */
  .dot {
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
  }
  
  .active {
    background-color: #717171;
  }
  
  /* Fading animation */
  .fade {
    animation-name: fade;
    animation-duration: 1.5s;
  }
  
  @keyframes fade {
    from {opacity: .4} 
    to {opacity: 1}
  }

  .text {
    padding-bottom: 15px;
    font-weight: bold;
    font-size: 25px;
  }

  .button-display-left {
    position: absolute;
    top: 50%;
    font-size: 50px;
  }

  .button-display-right {
    position: absolute;
    top: 50%;
    left: 97%;
    font-size: 50px;
  }

  .dots {
     text-align: center;
     margin-bottom: 20px;
  }

/* main */

.infinity-logo {
    display: block;
    width: 60%;
    height: 60%;
    margin-left: auto;
    margin-right: auto;
}

.infinity-signature {
    display: block;
    width: 30%;
    height: 30%;
    float: right;
}

.infinity-logo-villes {
    display: block;
    width: 90%;
    height: 90%;
    margin-left: auto;
    margin-right: auto;
}

footer {
    background-color: white;
    color: black;
    overflow: auto;
    /* nécessaire pour background-color car footer a un height de base de 0 */
    margin-top: auto;
    margin-bottom: auto;
    border-top: 1px solid white;
    border-image-slice: 1;
    border-width: 1px;
    border-image-source: linear-gradient(to left, #e6e6e6, #000, #e6e6e6);
}

.divfooter {
    display: flex;
    justify-content: space-around;
    margin-top: 10px;
}

.logo-linkedin {
    height: 60px;
    width: 60px;
    display: block;
}

.logo-facebook,
.logo-x,
.logo-instagram {
    height: 60px;
    width: 60px;
    display: block;
    margin-right: auto;
    margin-left: auto;
    border-radius: 50%;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
}

.logo-architectes-ordre,
.logo-MAF {
    width: 200px;
    background-color: white;
    margin-right: auto;
    margin-left: auto;
    background-color: white;
    margin-top: 5px;
}

.gal {
    border-top: 1px solid white;
}

.immeubles {
    border-bottom: 1px solid white;
}

.cookies, .liens {
    font-weight: bold;
}

.parent1,
.parent2 {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.parent3 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    grid-row-gap: 10px;
    grid-column-gap: 10px;
    width: 130px;
}

.li22 {
    font-weight: bold;
    margin-bottom: 20px;
}

.li23,
.li24,
.li25 {
    margin-bottom: 10px;
}

.logo-architectes-ordre {
    height: 53.24px;
}

.divfooter4 {
    margin-top: 20px;
    margin-bottom: 20px;
    margin-left: 3%;
    text-align: center;
    justify-content: center;
}

.divfooter2 {
    width: 200px;
}

.accueil2, .plan, .mentions, .cookies2, .liens {
    line-height: 0px;
    margin-top: 10px;
}

.copyright {
    text-align: center;
}

.li26, .li27, .li28, .li29{
    width: 60px;
}

.lien, .lien:hover {
    all: unset; 
}

@media (max-width: 1300px) {

    header {
        width: 100%;
    }

    nav {
        float: none;
        margin-left: auto;
        margin-right: auto;
    }

    .infinity-logo {
        height: 100%;
        width: 100%;
    }

    .infinity-logo-villes {
        width: 100%;
        height: 100%;
    }

    .infinity-logo-blanc {
        display: none;
    }
}

@media (max-width: 1000px) {

    nav {
        width: 850px;
    }

    a {
        width: 170px;
    }

    .contact {
        width: 170px;
    }
}

    @media (max-width: 900px) {

        nav {
            width: 600px;
        }
    
        a {
            width: 120px;
        }
    
        ul li ul li a {
            width: 150px;
            margin: 0;
            padding: 0;
            vertical-align: middle;
        }
    
        .contact {
            width: 120px;
        }
    
        .qui {
            padding-right: 10px;
        }
    
        .mentions, .liens, .cookies2, .accueil2, .plan {
            width: 140px;
        }
    
        .qui,
        .clients {
            height: 50px;
        }
    
        .nosclients,
        .qui2 {
            position: relative;
            top: -10px;
        }
    
        .satisfaits,
        .exclam {
            position: relative;
            top: -40px;
        }

    .infinity-logo {
        padding-top: 5%;
        padding-bottom: 5%;
    }

    .infinity-signature {
        padding-top: 5%;
        padding-bottom: 5%;
    }
}

@media (min-width: 700px) and (max-width: 900px) {

    .nous {
        position: relative;
        top: -30px;
    }

    .infinity-logo {
        padding-top: 5%;
        padding-bottom: 5%;
    }

    .infinity-signature {
        padding-top: 5%;
        padding-bottom: 5%;
    }
}

@media (max-width: 700px) {
    nav {
        width: 550px;
    }

    a {
        width: 110px;
    }

    .contact {
        width: 110px;
    }

    .qui {
        padding-right: 0;
    }

    .nous {
        position: relative;
        top: -30px;
    }

    .infinity-logo {
        padding-top: 10%;
        padding-bottom: 5%;
    }

    .infinity-signature {
        padding-top: 5%;
        padding-bottom: 5%;
    }

    .divfooter {
        align-items: center;
        flex-direction: column;
        display: flex;
    }

    .divfooter1 {
        margin-bottom: 40px;
    }
    .divfooter2,
    .divfooter3 {
        margin-bottom: 20px;
    }

    .parent2,
    .parent3 {
        flex-direction: row;
        display: flex;
        gap: 10px;
        margin-bottom: 40px;
    }

    .parent3 {
        gap: 20px;
        width: 320px;
    }

    .parent1 {
        margin-bottom: 10px;
        text-align: center;
    }

    .button-display-right {
        position: absolute;
        top: 50%;
        left: 96%;
        font-size: 50px;
      }
}

@media (max-width: 530px) {
    nav {
        width: 500px;
    }

    a {
        width: 100px;
        font-size: 12px;
    }

    .contact {
        width: 100px;
    }

    .infinity-logo {
        padding-top: 10%;
        padding-bottom: 5%;
    }

    .infinity-logo {
        padding-top: 25%;
    }

    .qui,
    .projets,
    .clients,
    .partenaires {
        border: none;
    }
}

@media (max-width: 480px) {
    nav {
        width: 450px;
    }

    a {
        width: 90px;
        font-size: 11px;
    }

    .contact {
        width: 90px;
    }

}

@media (max-width: 430px) {
    nav {
        width: 410px;
    }

    a {
        width: 82px;
    }

    .contact {
        width: 82px;
    }

    .parent2 {
        flex-direction: column;
    }
}

@media (max-width: 400px) {
    nav {
        width: 390px;
    }

    a {
        width: 78px;
        font-size: 12spx;
    }

    .contact {
        width: 78px;
    }

    .qui {
        font-size: 11px;
    }

    .parent1 {
        flex-direction: column;
    }
}

@media (max-width: 380px) {
    nav {
        width: 370px;
    }

    a {
        width: 74px;
        font-size: 10px;
    }

    .contact {
        width: 74px;
    }

    .infinity-logo {
        padding-top: 35%;
        padding-bottom: 10%;
    }

    .infinity-signature {
        padding-top: 10%;
        padding-bottom: 10%;
    }
}

@media (max-width: 360px) {
    nav {
        width: 320px;
    }

    a {
        width: 64px;
    }

    a,
    .qui {
        font-size: 9px;
        font-weight: bold;
    }

    .contact {
        width: 64px;
    }
}