/******************
 menu
 **************** */

.menu {
  position: relative;
  z-index: 1;
}
.menu .navbar-fixed {
  position: fixed;
  top: 0;
  height: fit-content;
  z-index: 1;
}
.menu .navbar {
  background-color: var(--color-two-light);
  height: 4.5rem;
  display: flex;
  flex-direction: column;
  z-index: 2;
  -webkit-box-shadow: 0px 2px 15px 2px rgba(0, 0, 0, 0.35);
  box-shadow: 0px 2px 15px 2px rgba(0, 0, 0, 0.35);
}

/* navbar-head*/
.menu .navbar .navbar-head {
  width: 100vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.menu .navbar .navbar-head i {
  color: var(--color-light);
}

.menu .navbar .navbar-head .burger,
.menu .navbar .navbar-head .close {
  padding-left: 1rem;
  padding-right: 1rem;
}

.menu .navbar .navbar-head .burger i,
.menu .navbar .navbar-head .close i {
  font-size: 1.3rem;
}

.menu #logo {
  min-height: 2rem;
  max-height: 4rem;
  margin-left: 1rem;
  margin-right: 1rem;
}
.menu #logo img {
  max-height: 4rem;

}
/* navbar-menu*/
.menu .navbar .navbar-menu {
  display: flex;
  flex-direction: column;
  width: 100vw;
}
.menu .navbar .navbar-menu .navbar-link {
  border-bottom: 2px var(--color-light) solid;
  display: block;
  width: 75vw;
  padding: 1rem 2rem 0.7rem 3rem;
  background-color: var(--color-two-light);
}
.menu .contact {
  position: fixed;
  display: block;
  top: 5rem;
  right: 1rem;
  margin: 1rem 1rem 0.7rem;
  z-index: 0;
}

.hideNav {
  position: relative;
  left: -400px;
  opacity: 0;
  background-color: #ffffff00;
}
.showNav {
  left: 0;
  opacity: 1;
  background-color: var(--color-two-light);
}
/******************
 message flash
 **************** */
.alert {
  margin-top: 4.5rem;
}

/******************
 Modale contact
 **************** */
.modal-container {
  /* display: none; */
  visibility: hidden;
  transition: visibility 0.4s;
  position: fixed;
  top: 0;
  width: 100vw;
  height: 100vh;
  z-index: 10;
}
.modal-container.active {
  /* display: block; */
  visibility: visible;
  transition: visibility 0s;
}
.overlay {
  opacity: 0;
  position: absolute;
  width: 100%;
  height: 100%;
  background: #333333d3;
  transition: opacity 0.4s 0.2s ease-out;
}
.modal-container.active .overlay {
  opacity: 1;
  transition: opacity 0.4s ease-out;
}

.modal {
  opacity: 0;
  width: 95%;
  max-width: 500px;
  min-width: 300px;
  max-height: 500px;
  padding: 30px;
  background: #ffffff;
  border-radius: 5px;
  position: absolute;
  top: 50%;
  left: 50%;
  /* top: 6rem;
  left: 2.5%; */
  transform: translate(-50%, calc(-50% - 50px));
  overflow: scroll;
  transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}
.modal-container.active .modal {
  opacity: 1;
  transform: translate(-50%, -50%);
  transition: opacity 0.4s 0.2s ease-out, transform 0.4s 0.2s ease-out;
}

.close-modal {
  padding: 8px 10px;
  border: none;
  border-radius: 5px;
  font-size: 0.9rem;
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
  background-color: #000;
  color: #ffffff;
}

/******************
 footer
 **************** */

footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--color-two-light);
}

footer .imageFooter {
  width: 28%;
  max-width: 10rem;

  margin-left: 2rem;
  margin-right: 2rem;
}
footer .imageFooter img {
  border-radius: 5px;
}
footer .centreFooter {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
footer p {
  padding: 1rem 0 0.5rem;
}
footer div {
  padding: 0.5rem 0 1rem;
}
footer p,
footer div a {
  font-size: 0.8rem;
}

/* *********************** 
   RESPONSIVE DESKTOP
   ************************ */

@media screen and (min-width: 576px) {
  /******************
 menu
 **************** */
  .menu .contact {
    top: 0rem;
    right: 1rem;
    margin: 1rem 1rem 0.7rem;
    z-index: 2;
  }
  .menu .navbar {
    width: 100vw;
    padding-right: 10rem;
    flex-direction: row;
    align-items: center;
  }

  /*navbar-head*/
  .menu .navbar .navbar-head .burger,
  .menu .navbar .navbar-head .close {
    display: none;
  }

  /*navbar-menu*/
  .menu .navbar .hideNav {
    left: 0;
    opacity: 1;
    background-color: var(--color-light);
  }

  .menu .navbar .navbar-menu {
    width: fit-content;
    flex-direction: row;
    align-items: center;
  }
  .menu .navbar .navbar-menu .navbar-link {
    display: block;
    width: 8rem;
    padding: 1rem;
    border: none;
    text-align: center;
  }

  .menu .navbar .navbar-menu .navbar-link:hover {
    font-weight: bold;
    text-decoration: underline;
  }

  /*fin responsive*/
}
