/* App CSS Bootstrap 4 */
/* Ressource Documentation Bootstrap 4: https://mdbootstrap.com/ */

/* Main CSS Rules */

#nav-bar {
  height: auto;
  width: auto;
}

/* Logo dans le Footer */
#img-logo {
  border-radius: 10px 10px 10px 10px;
  box-shadow: 0 0 8px #000000;
}

/* Logo dans la Navigation */
.logo-home {
  display: contents;
  width: 100%;
}

/* Ombre du texte des élément du menu */
#menu-element {
  text-shadow: 10px 5px 8px #000000;
}

/* Alignement vertical des colonnes du footer */
#app-footer > div {
  align-self: center;
}

/* Element texte du footer */
#app-footer > div > ul > li > a {
  text-shadow: 0px 7px 10px #000000;
  line-height: 35px;
}

body > footer > div.footer-copyright.text-center.py-3 > a {
  color: white;
  text-shadow: 0px 7px 10px #000000;
}

.success {
  color: #23946e;
}

.error {
  color: #a83c32;
}

.flash {
  margin-bottom: -80px;
}

#carousel {
  width: 50%;
  margin: 0 auto;
  margin-bottom: 15px;
}

.carousel-item log {
  width: 100%;
  height: auto;
}
h2 {
  font-size: 1.8rem;
}

/* Bouton vert (page docs gnx) */
.button_green a {
  text-decoration: none;
  color: #ffffff;
}
.button_green a:hover {
  text-decoration: none;
  color: #ffffff;
}
.button_green {
  border-radius: 30px;
  background-color: #23946e;
  padding: 10px;
  width: 5em;
  height: 3em;
}

.button_green:hover {
  background-color: #3dc497;
}

.submit-col {
  text-align: right;
}

/* Menu dropdowns Bootstrap override */

.menu-element {
  text-shadow: 10px 5px 8px #000000;
  color: white;
  margin-right: 15px;
  text-align: center;
  font-size: 1em;
  font-weight: 700;
}

.menu-element:hover,
.menu-element:visited,
.menu-element:focus {
  color: white;
  outline: none;
  box-shadow: none;
}

/* Media Queries */

/* Min screen size: 1024px */
@media (min-width: 1024px) {
  #bloc-menu {
    position: relative;
    justify-content: flex-end;
    margin-bottom: auto;
  }

  #menu-logo {
    max-width: 15%;
    margin-top: -20px;
  }

  #app-menu {
    font-size: 1em;
    font-weight: bolder;
    align-items: center;
    border-left: solid;
    /*border-radius: 130px 0 0 130px;*/
    border-radius: 5px 0 0 5px;
    background-color: #23946e;
    padding-bottom: 25px;
    box-shadow: 0px 0px 6px 2px;
    max-width: -webkit-fill-available;
    padding-left: 15px;
    padding-top: 25px;
    margin-right: -15px;
  }

  #menu-element {
    color: white;
    margin-right: 15px;
    text-align: center;
  }

  .container {
    padding: 50px;
  }

  footer {
    background-color: #23946e;
    color: white;
  }

  /* Couleur des liens <a> du footer */
  #app-footer > div > ul > li > a {
    color: white;
  }
}

/* Max screen size: 1024px */
@media (max-width: 1024px) {
  #bloc-menu {
    position: relative;
    justify-content: flex-end;
    margin-bottom: auto;
  }

  #menu-logo {
    max-width: 15%;
    margin-top: -20px;
  }

  #app-menu {
    font-size: 0.9em;
    font-weight: bold;
    align-items: center;
    border-left: solid;
    /*border-radius: 130px 0 0 130px;*/
    background-color: #23946e;
    padding-bottom: 15px;
    box-shadow: 0px 0px 6px 2px;
    max-width: -webkit-fill-available;
    padding-top: 15px;
    padding-left: 15px;
    margin-right: -10px;
  }

  #menu-element {
    color: white;
    margin-right: 15px;
    text-align: center;
  }

  .container {
    padding: 50px;
  }

  footer {
    background-color: #23946e;
    color: white;
  }

  #app-footer > div > ul > li > a {
    color: white;
  }
}

/* Max screen size: 576px */
@media (max-width: 991px) {
  #nav-bar {
    background-color: #23946e !important;
    border-bottom: solid;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 0 6px 2px;
  }

  /* <button> */
  #menu-button {
    display: flex;
    justify-content: center;
    height: 50px;
    width: 50px;
    border: none;
    margin: inherit;
    padding: 0;
    background-color: #a8f0ba !important;
    box-shadow: 0 0 6px #a7cbd9;
    border-radius: 100px;
    transition: 0.25s ease-in-out;
  }

  #menu-button:active {
    border: none;
  }

  #menu-button:focus {
    outline: none;
  }

  /* <span> */
  .target #button-icon {
    position: relative;
    background-color: transparent;
    transition: 0.25s ease-in-out;
  }

  .target #button-icon:before {
    position: relative;
    transform: rotate(-135deg);
    transition: 0.25s ease-in-out;
    top: -13px;
  }

  .target #button-icon:after {
    position: relative;
    transform: rotate(135deg);
    transition: 0.25s ease-in-out;
    top: -33px;
  }

  #button-icon {
    /* Burger Button */
    display: inline-block;
    height: 4px;
    width: 30px;
    background-color: #030140;
    border-radius: 10px 10px 10px 10px;
    transition: 0.25s ease-in-out;
  }

  #button-icon::before {
    position: relative;
    content: '';
    display: inline-block;
    height: 4px;
    width: 30px;
    background-color: #030140;
    border-radius: 10px 10px 10px 10px;
    top: -21px;
    transition: 0.25s ease-in-out;
  }

  #button-icon::after {
    position: relative;
    content: '';
    display: inline-block;
    height: 4px;
    width: 30px;
    background-color: #030140;
    border-radius: 10px 10px 10px 10px;
    top: -25px;
    transition: 0.25s ease-in-out;
  }

  /* Logo Style */
  #menu-logo {
    max-width: 15%;
    /*margin-right: inherit;*/
    padding: 0;
    margin-right: 5px;
    margin-top: 5px;
    margin-bottom: 5px;
    border-radius: 10px 10px 10px 10px;
    box-shadow: 0 0 10px #000000;
  }

  #app-menu {
    /* Font du menu */
    font-size: smaller;
    font-weight: bold;

    /* Marge, Largeur, Bordure */
    padding-top: 15px;
    background-color: #23946e;
    max-width: -webkit-fill-available;
    border-left: unset;
    border-radius: unset;
    box-shadow: unset;

    /* Alignement des éléments du menu */
    display: flex;
    flex-direction: column;
    align-items: end;

    /* Espacement des lettres des <li> */
    letter-spacing: 2px;
  }

  #bloc-menu {
    /* Marge gauche de la liste du menu */
    margin-left: -10px;
  }

  #menu-element {
    color: white;
    margin-right: 15px;
    text-align: center;
  }

  /*
    .container {
        padding: 50px;
    }
    */

  footer {
    background-color: #23946e;
    color: #ffffff;
  }

  #app-footer > div > ul > li > a {
    color: white;
    line-height: 30px;
  }
}
