#myTopMenu {
  font-family: policePolytech;
}

.topMenu{
  overflow: hidden;
  background-color: rgb(0,157,218);
  top:0;
}

.topMenu a{
  float: left;
  display: block;
  color: #DADADA;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 18px;
  transition: all 0.3s ease-out;
}

.topMenu .iconMenuMobile {
  display: none;
  font-size: 18px;
  cursor: pointer;
}

.listeDeroulante {
  float: left;
  overflow: hidden;
}

.listeDeroulante .boutonListe {
  font-size: 18px;
  border: none;
  outline: none;
  color: #DADADA;
  padding: 14px 16px;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
  transition: all 0.25s ease-out;
}

.listeDeroulante-contenu {
  display: none;
  position: absolute;
  background-color: rgb(0,157,218);
  min-width: 140px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;

  opacity: 1;
	animation-name: fadeInOpacity;
	animation-iteration-count: 1;
	animation-timing-function: ease-in;
	animation-duration: 0.25s;
}

@keyframes fadeInOpacity {
	0% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}

.listeDeroulante-contenu a {
  float: none;
  color: #DADADA;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.topMenu a:hover, .listeDeroulante:hover .boutonListe {
  color: white;
}

.listeDeroulante:hover .listeDeroulante-contenu {
  display: block;
}

.topMenu.darkmode, .topMenu.darkmode.responsive, .listeDeroulante-contenu.darkmode{
  background-color: rgb(0, 77, 153);
  /* transition: all 0.3s ease-out; */
}

@media screen and (max-width: 600px) {
  .topMenu .boutonListe, .topMenu a:not(:first-child), .listeDeroulante .boutonListe, .listeDeroulante:hover .listeDeroulante-contenu{
    display: none;
  }
  .topMenu a.iconMenuMobile {
    float: right;
    display: block;
  }
}

@media screen and (max-width: 600px) {
  .topMenu.responsive {
    position: relative;
  }
  .topMenu.responsive .iconMenuMobile {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topMenu.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
  .topMenu.responsive .listeDeroulante {
    float: none;
  }
  .topMenu.responsive .listeDeroulante-contenu {
    position: relative;
    padding-left: 30px;
    background-color: rgb(0, 183, 255);
    display: block;
    box-shadow: none;
  }
  .topMenu.responsive .listeDeroulante-contenu{
    animation-name: none;
  }
  .topMenu.darkmode.responsive .listeDeroulante-contenu {
    background-color: rgb(0, 106, 211);

  }
  .topMenu.responsive .listeDeroulante .boutonListe {
    display: block;
    width: 100%;
    text-align: left;
    color: white;
    cursor: default;
  }
}
