.navbarrefonte {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    position: sticky;
    top: 0px;
    background-color: #fff;
    z-index: 99;
    box-shadow: rgb(0 0 0 / 15%) 1.95px 1.95px 2.6px;
}

.navbarrefonte li {
    list-style: none;
    border-left: 1px solid grey;
}

.nav-logorefonte{
    width: 30%;
}

.nav-logorefonte img{
    width: 75%;
    margin: 2% 0 0 2%;
    max-width: 185px;
}

.telonly{
    display: none;
}

.hamburgerrefonte {
    display: none;
}

.barrefonte {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background-color: #101010;
}

.nav-menurefonte {
    justify-content: space-between;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
}

.nav-itemrefonte {
    padding-left: 2rem;
}

.nav-itemrefonte a:hover{
    color: #393;
    text-decoration: none;
}

.nav-linkrefonte {
    font-size: 2rem;
    color: #09c;
    cursor: pointer;
}

/* The Modal (background) */
.modal2 {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content2 {
    background-color: #efefef;
    margin: 20px auto;
    padding: 20px;
    width: 95%;
    max-width: 1000px;
    color: black;
    text-align: justify;
}

.modal-content2 p{
  color: black;
}

.modal-content2 h3{
  margin-bottom: 20px;
  color: #09c;
}


/* The Close Button */
.close2 {
  color: #000;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close2:hover,
.close2:focus {
  color: #0099cc;
  text-decoration: none;
  cursor: pointer;
}


#envoyer-question{
    font-size: 17px !important;
    margin: 5px !important;
    padding: 5px 15px;
    width: 25%;
    min-width: 100px;
    max-width: 150px;
    color: #fff;
    background-color: #0099cc;
    border-color: #0099cc;
    box-shadow: rgb(0 0 0 / 15%) 1.95px 1.95px 2.6px;
    transition: background-color 0.5s, box-shadow 0.5s;
}

#envoyer-question:hover{
    background-color: #0099ccdb;
    box-shadow: none;
}

#nbhumainselectionne{
    display: inline-block;
    width: 50px;
    margin-left: 10px;
}

@media only screen and (max-width: 1300px) {
    .nav-logorefonte img{
        width: 50%;
    }
}


@media only screen and (max-width: 1000px) {
    .nav-logorefonte img{
        width: 55%;
    }
}

@media only screen and (max-width: 900px) {
    .nav-menurefonte {
        display: flex;
        position: fixed;
        left: -150%;
        top: 0;
        flex-direction: column;
        background-color: #fff;
        width: 100%;
        border-radius: 10px;
        text-align: center;
        transition: 0.3s;
        box-shadow:
            0 10px 27px rgba(0, 0, 0, 0.05);
    }

    .nav-menurefonte.activerefonte {
        left: 0;
        text-align: left;
    }

    .nav-itemrefonte {
        margin: 2.5rem 0;
    }

    .hamburgerrefonte {
        display: block;
        cursor: pointer;
    }
   .hamburgerrefonte.activerefonte .barrefonte:nth-child(2) {
        opacity: 0;
    }

    .hamburgerrefonte.activerefonte .barrefonte:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburgerrefonte.activerefonte .barrefonte:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

}

@media only screen and (max-width: 800px) {
    .tel{
        display: none;
    }

    .telonly{
        display: block;
    }
}

@media only screen and (max-width: 550px) {
    .nav-logorefonte img{
        width: 75%;
    }
}

