/* 

 CODE couleurs:
 
  violet : #6950BC
  sombre : #121C41
  bleu_sombre_secondaire : #1E1E2E
  rose : #B678CC
  clair : #e8e6df

*/

body {
  background-color: #181A2C;
  font-family: 'Montserrat';
  margin: 0;
  padding: 0;
  position: relative;
}

header.menu {
  position: sticky;
  top: 0px;
  z-index: 10;
}

footer {
  background-color: #181A2C;
  color:#FEFEFD;
  text-align: center;
  margin-bottom: 15px;
  width: 100%;
}

footer img {
  height: 25px;
  width: auto;
  margin-right: 8px;
  margin-left: 8px;
  margin-top: 5px;
}

footer img:hover {
  opacity: 60%;
}

.menu {
  background-color: #1E1E2E;
  height: auto;
  display: flex;
  flex-direction: row;
  justify-content: right;
  align-items: center;
  align-content: center;
  height: 10vh;
}

.menu div {
  width: fit-content;
  height: 100%;
  display: flex;
  align-items: center;
  margin-right: auto;
}

.menu img#logo {
  border-radius: 20px;
  height: 80%;
  width: auto;
  box-shadow: 3px 3px 4px #2C2F71;
  animation-name: logo_shadow;
  animation-duration: 4s;
  animation-iteration-count: infinite;
  margin-right: 20px;
  margin-left: 8px;
  margin-top: 8px;
  margin-bottom: 8px;
}

.menu img#logo:hover {
  cursor: pointer;
}

.menu img#slogan {
  height: 40%;
  width: auto;
}

button {
  background-color: #FFEBCD;
  color: #1E1E2E;
  font-weight: bold;
  border-radius: 8px;
}

button:hover {
  background-color: #686A81;
  color: #FFEBCD;
  cursor: pointer;
}

.menu img#slogan:hover {
  cursor: pointer;
}

@keyframes logo_shadow {
  from {
      box-shadow: 3px 3px 4px #2C2F71;
  }
  25% {
      box-shadow: -3px 3px 4px #3e4292;
  }
  50% {
      box-shadow: -3px -3px 4px #5458ab;
  }
  75% {
      box-shadow: 3px -3px 4px #3e4292;
  }
  to {
      box-shadow: 3px 3px 4px #2C2F71;
  }
}

.menu a {
  margin-right: 20px;
  text-decoration: none;
  color: whitesmoke;
  width: fit-content;
  border-radius: 10px;
  height: fit-content;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: right;
  padding-left: 14px;
  text-decoration: none;
}

.menu a:hover {
  color: rgba(148, 153, 255, 0.484);
  animation-name: underline_animation;
  animation-duration: 1s;
  text-decoration: underline rgba(148, 153, 255, 1);
}

@keyframes underline_animation {
  from {
    text-decoration: underline rgba(255, 255, 255, 0);
  }

  to {
      text-decoration: underline rgba(148, 153, 255, 1);
  }
}

.menu #contenu a:hover {
  color: black;
  cursor: pointer;
  animation-name: underline_animation;
  animation-duration: 0.5s;
  text-decoration: underline;
}

.menu input {
  margin: 10px;
  height: 30%;
  background-color: #2E2E40;
  border-radius: 6px;
  border: none;
  padding: 8px;
  color: rgb(232, 232, 232);
  font-weight: bold;
}