* {
  margin: 0px;
  box-sizing: border-box;
}
html {
  font-family: Regular, Arial, sans-serif;
  font-size:  62.5%;
}
body { background-color: rgb(245, 245, 245); }
@font-face {
  font-family: 'Regular';
  src: url('../police/Urbanist-Regular.woff2') format('woff');
}
@font-face {
  font-family: 'Bold';
  src: url('../police/Urbanist-Bold.woff2') format('woff');
}
:root {
  --vert: rgba(109, 238, 156, 1);
  --jaune: rgba(237, 213, 109, 1);
  --rose: rgba(237, 115, 109, 1);
  --bleu: rgba(138, 183, 242, 1);
  
  --titre-1: 3.2rem;
  --titre-2: 2.8rem;
  --titre-3: 2.4rem;
  --titre-4: 2rem;
  --titre-5: 1.8rem;
  --titre-6: 1.6rem;
  --paragraphe : 1.5rem;
}
.bleu { color: var(--bleu); }
.rose { color: var(--rose); }
a {
  color: black;
  text-decoration: none;
}

/* Style de l'entete et du logo */
.entete {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  height: 96pxpx;
}
.entete__titre {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 80%;
  height: 48px;
  margin: 0 auto 8px auto;
  border-radius: 0 0 24px 24px;
  background-color: white;
}
.nom__module-texte {
  font-family: Bold;
  font-size: var(--titre-4);
  letter-spacing: 0.2rem;
}
@media (min-width: 1200px) { 
  .entete {
    flex-direction: row;
    justify-content: flex-start;
    height: 64px;
  }
  .entete__titre {
    width: 256px;
    height: 64px;
    margin: 0 72px;
    border-radius: 0 0 24px 24px;
    background-color: white;
  }
  .nom__module-texte { font-size: var(--titre-3); }
}

/* Style du menu principal */
.nav__menu {
  position: fixed;
  bottom: 0px;
  left: 0;
  display: flex;
  justify-content: space-around;
  align-items: center;
  width: 100%;
  height: 72px;
  background-color: white;
}
.menu__lien {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  width: 56px;
  height: 56px;
  border-radius: 8px;
  background-color: white;
}
.menu__lien:hover { background-color: var(--gris0); }
.nav__sousMenu {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: calc( 100vh - 96px);
  margin: 8px 0;
}
.sousMenu__lien {
  width: 70%;
  height: 38px;
  margin: 16px 0;
  padding-top: 8px;
  border-radius: 8px;
  border-top: 1px solid var(--jaune);
  border-bottom: 1px solid var(--jaune);
  background-color: white;
}
.sousMenu__lien:hover { background-color: var(--gris0); }
.sousMenu__lien-texte {
  font-size: var(--titre-6);
  text-align: center;
}
@media (min-width: 1200px) {
  .nav__menu {
    top: calc((100vh - 384px) / 2);
    left: 0;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    width: 72px;
    height: 384px;
  }
  .nav__sousMenu {
    width: 800px;
    height: calc( 100vh - 96px);
    margin: 0 auto;
  }
  .sousMenu__lien {
    height: 42px;
    padding: 10px 24px;
  }
  .sousMenu__lien-texte { font-size: var(--titre-5); }
}
.icoAccueil { background: center / 100% no-repeat url("../images/accueil.png"); }
.icoDepense { background: center / 100% no-repeat url("../images/depenses.png"); }
.icoRessource { background: center / 100% no-repeat url("../images/ressources.png"); }
.icoAjouter { background: center / 100% no-repeat url("../images/ajouter.png"); }
.icoEtat { background: center / 100% no-repeat url("../images/etat.png"); }
.icoParametre { background: center / 100% no-repeat url("../images/parametre.png"); }

/* Style de la navigation mensuelle */
.nav__mois {
  display: flex;
  justify-content: space-around;
  align-items: center;
  width: 100%;
  height: 36px;
  background-color: white;
}
.nav__mois__cache { display: none; }
.nav__iconeMois {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background-color: white;
}
.nav__iconeMois:hover { background-color: var(--gris0); }
.icoFlecheG { background: center / 70% no-repeat url("../images/flecheG.png"); }
.icoMoisEnCours {background: center / 70% no-repeat url("../images/moisEnCours.png"); }
.icoFlecheD { background: center / 70% no-repeat url("../images/flecheD.png"); }
.nav__mois-texte {
  font-size: var(--titre-6);
  letter-spacing: .2rem;
}
@media (min-width: 1200px) {
  .nav__mois { 
    width: calc(100% - 600px);
    height: 64px;
    margin: 0 auto;
  }
  .nav__mois-texte { font-size: var(--titre-3); }
  .nav__iconeMois {
    width: 48px;
    height: 48px;
  }
}

/* Style des titres de page */
.titre { margin-left: 36px; }
.titre-titre-4 {
  font-family: Bold;
  font-size: var(--titre-4);
  letter-spacing: 0.2rem;
}
@media (min-width: 1200px) {
  .titre { margin-left: 128px; }
  .titre-titre-4 {
    font-size: var(--titre-3);
    letter-spacing: 0.5rem;
  }
}

/* Style Page Accueil */
.resultat__mensuel {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  width: 100%;
  min-height: 72px;
  margin: 8px 0;
}
.cadre__resultat {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 162px;
  height: 72px;
  margin: 12px 0;
  border-radius: 8px;
  border-top: 1px solid var(--jaune);
  border-bottom: 1px solid var(--jaune);
  background-color: white;
}
.cadre__resultat-titre { font-size: var(--titre-6); }
.cadre__resultat-chiffre {
  font-family: Bold;
  font-size: var(--titre-5);
}
@media (min-width: 1200px) {
  .resultat__mensuel {
    width: 1100px;
    height: auto;
    margin: 16px auto;
  }
  .cadre__resultat {
    justify-content: space-around;
    width: 256px;
    height: 152px;
    margin: 64px 0 ;
  }
  .cadre__resultat-titre { font-size: var(--titre-4); }
  .cadre__resultat-chiffre { font-size: var(--titre-3); }
}

.fondVert { background-color: rgba(109, 238, 156, .2); }
