/*
        Auteur: Melvin Chamorel
        Date: 15 janvier 2025
        Description: page d'acceuil du site
*/
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    height: 100vh;
    background-color: rgb(255, 255, 255);
    display: flex;
    flex-direction: column;
    transition: background-image 1s ease-in-out;
  }

  hr {
    width:80%
  }
  
  header {
    text-align: center;
    background-color: #fce4c5;
    color: goldenrod;
    padding: 20px 0;
    border: 1px solid white;
    font-size: 300%;
  }
  
  .container {
    display: flex;
    flex: 1;
  }


  .nav-bar {
    width: 200px;
    border: 1px solid white;
    background-color: #f8e3c7;
    padding-block: 20px;
    height: auto;
    background-image: url(../images/nav_back.png);
    background-repeat: no-repeat;
  }

  .smalnav {
    display: none;
  }
  .smalnav a {
    color: goldenrod;
    text-decoration: none;
  }
  .smalnav a.active {
    color: goldenrod;
    font-weight: bold;
    text-decoration: none;
  }
/*pour la bare de navigation sur téléphone*/
  .nav-bar ul {
    list-style: none;
    padding: 0;
  }
  
  .nav-bar li {
    margin: 20px 0;
  }
  
  .nav-bar a {
    color: goldenrod;
    text-decoration: none;
    padding: 10px;
    display: block;
    text-align: center;
  }
  
  .nav-bar a.active {
    font-weight: bold;
    font-size: 20px;
  }
  
  .nav-bar a:hover {
    background-color: #fdfdfd9a;
  }
  /*pour la bare de navigation*/
  .tableau {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 20px;
    padding: 20px;
    overflow: auto;
    overflow-y: auto;
    font-size: 13px;
    background-color: #c59b5c52;
    border: double rgb(45, 164, 194);
    max-height: calc(90vh - 80px);
  }
  
  .emblems{
    width: 5%;
  }

  /*pour tous*/
  
  #accueil_body {
    background-image: url(../images/backgrounds/acceuilBG.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
  }

#theme_accueil {
    color: #ffffff;
    background-color: #c59b5c52;
    border: double rgb(45, 164, 194);
    align-items: center;
  }
/* pour accueil*/
#ressources_body {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
/*pour ressources*/
#region_body {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
/* pour region*/
#sort_body {
  background-image: url(../images/backgrounds/sortBG.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
/* pour sort*/
#dieu_body {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
/*pour dieu*/

@media (max-width: 600px) {
  .nav-bar {
    display: none;
  }
  .smalnav {
    display: block;
  }
}