/* Général */
body {
  background-color: #303030;
  margin: 0;
  font-family: Georgia, 'Times New Roman', Times, serif;
}

/* Titre */
#titre {
  background-image: url("../images/marbre.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  padding: 0;
  transition: height 0.6s ease, padding 0.6s ease;
  position: sticky;
  top: 0;
  z-index: 1000;
  gap: 20px;
  width: 100%;
  box-sizing: border-box;
}

#titre.shrink {
  height: 150px;
  padding: 20px 40px;
  flex-direction: row;
  justify-content: space-between;
  background: #000;
}

#titre img {
  width: 120px;
  transition: all 0.6s ease;
}

#titre h1 {
  font-size: 3rem;
  margin: 0;
  transition: all 0.6s ease;
}

#titre.shrink h1 {
  font-size: 2rem;
}

#titre p {
  font-size: xx-large;
}

#titre.shrink p {
  color: black;
}

/* Boutons du header */
.boutons {
  display: flex;
  gap: 10px;
  transition: all 0.6s ease;
}

.boutons button {
  background-color: #6d6d6d;
  color: white;
  border: none;
  border-radius: 20px;
  padding: 10px 20px;
  font-weight: bold;
  cursor: pointer;
  border: 5px solid #5b251e;
}

/* Contenu principal */
main {
  color: white;
  max-width: 800px;
  margin: 0 auto;
  padding-bottom: 100px;
}

main img {
  width: 120px;
  transition: all 0.6s ease;
}

main section {
  padding: 50px 40px;
}

/* Menu */
#side-menu {
  position: fixed;
  top: 150px;              
  left: 0;
  width: 150px;
  height: calc(100% - 150px);
  background: #515151;
  border: 6px solid #5b251e;
  display: flex;
  flex-direction: column;
  padding: 10px 0;
  box-sizing: border-box;
  z-index: 9;
}

#side-menu a {
  color: #ffffff;
  text-decoration: none;
  padding: 20px;
  width: 100%;
  box-sizing: border-box;
  font-size: larger;
}

#side-menu a.active {
  background-color: #5b251e; 
  font-weight: bold;
}
 
/* Informations de l'accueil */
#infosClasses {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 60px;
  padding: 60px 40px;
  color: white;
}

#infosClasses .bloc {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  max-width: 250px;
}

#infosClasses img {
  width: 150px;                
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  border: 3px solid #5b251e;   
}
