/* ----------------------------CREATION DU TOGGLE DARK OR LIGHT MODE --------------------------------------*/

/* ICONS LUNE ET SOLEIL */
i.material-icons.dark {
    color: rgb(113,190,65, 0.7);
}

i.material-icons.light {
  color: rgb(113,190,65, 0.7);
}

/*---------------------------------CSS POUR LE TOGGLE ET LE SWITCH (CHECKED BOX+ANIMATION)-----------------------*/
.theme-switch-wrapper {
  display: flex;
  align-items: center;
}

.theme-switch {
  display: inline-block;
  height: 23px;
  position: relative;
  width: 50px;
}

.theme-switch input {
  display:none;
}

.slider {
  background-color: #ccc;
  bottom: 0;
  cursor: pointer;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  transition: .4s;
}

.slider:before {
  background-color: #fff;
  top: 4px;
  bottom: 8px;
  content: "";
  height: 15px;
  left: 4px;
  position: absolute;
  transition: .4s;
  width: 15px;
}

input:checked + .slider {
  background-color: #0f736f;
}

input:checked + .slider:before {
  transform: translateX(26px);
}

.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

/* ----------------------------VARIABLES POUR CHANGER LE THEMING DARK/LIGHT------------------------------*/
:root {
  --font-color: #161625;
  --bg-color: rgb(214, 214, 214);
  --icons-color: #0f736f;
  --shadow-logo: #161625;
  --shadow-pictogramme: #57a300;
  --border-width: 3px;
}

[data-theme="dark"] {
  --font-color: #e1e1ff;
  --bg-color: #161625;
  --icons-color: #b6d6d8;
  --shadow-logo: white;
  --shadow-pictogramme: white;
}