* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-image: url("images/background2.png");
  background-size: cover;
  background-position: center;
  font-family: serif;
  background-color: #e6e1d9; /* fond extérieur */
  color: #2b2b2b;
  line-height: 1.7;
}
/* Layout */
.layout {
  display: flex;
  min-height: 90vh;

  max-width: 1100px;
  margin: 3rem auto;

  background-color: rgba(244, 241, 236, 0.92);
  backdrop-filter: blur(4px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  border: 1px solid #ccc;
}



.layout2 img {
  max-width: 70px;
  height: auto;
}

/* Sidebar */
.sidebar {
  width: 220px;
  background-color: #7b1e1e; /* rouge profond */
  color: #f5eaea;
  padding: 1.5rem;
}

.sidebar h2 {
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.sidebar ul {
  list-style: none;
}

.sidebar li {
  margin-bottom: 0.7rem;
}

.sidebar a {
  color: #f5eaea;
  text-decoration: none;
}

.sidebar a:hover {
  text-decoration: underline;
}

/* Contenu */
.content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Header */
header {
  padding: 2rem;
  border-bottom: 1px solid #ccc;
}

header h1 {
  font-size: 2.5rem;
}

header img {
  width: 180px;
  height: auto;
}

/* Main */
main {
  max-width: 800px;
  padding: 2rem;
}

article {
  background-color: #ffffff;
  padding: 1.5rem;
  border-left: 6px solid #7b1e1e;
}

article h2 {
  margin-bottom: 1rem;
}

/* Footer */
footer {
  margin-top: auto;
  padding: 1.5rem;
  font-size: 0.9rem;
  color: #666;
}

.badges {
    display: flex;
    gap: 0.7rem;
    justify-content: felx-start;
    margin-bottom: 1rem;
}

.hobby-container {
  display: flex;          /* pour mettre les cartes côte à côte */
  gap: 1rem;              /* espace entre les cartes */
  flex-wrap: wrap;         /* permet de passer à la ligne si l’écran est trop petit */
  margin-bottom: 2rem;
}

.hobby-card {
  background-color: rgba(255, 255, 255, 0.95); /* papier légèrement translucide */
  border: 2px solid #7b1e1e;                  /* bord rouge doux */
  border-radius: 8px;
  padding: 1rem;
  flex: 1;                   /* chaque carte prend une part égale */
  min-width: 200px;          /* ne devient pas trop étroite */
  box-shadow: 0 5px 15px rgba(0,0,0,0.1); /* léger effet de profondeur */
}

.hobby-card h3 {
  margin-bottom: 0.5rem;
  color: #7b1e1e;          /* titre en rouge doux */
}

.hobby-card ul {
  list-style: disc;
  padding-left: 1.2rem;
}

main p {
  margin-bottom: 2rem; /* espace entre le texte et les cartes */
}

.minia {
  max-width: 45%; /* jamais plus large que son conteneur */
  height: auto;    /* garde les proportions */
  display: block;  /* évite l’espace blanc sous l’image */
}

.logog {
  height: 20px;
  width: auto;   /
}

.footercadre {
  display: flex;          /* pour mettre les cartes côte à côte */
  gap: 1rem;              /* espace entre les cartes */
  flex-wrap: wrap;         /* permet de passer à la ligne si l’écran est trop petit */
  margin-bottom: 2rem;
}





.badgebar {
  max-height: 150px; 
  min-height: 273px;
  overflow-y: scroll;
  scrollbar-width: thin;
  scrollbar-color: #7b1e1e rgba(0, 0, 0, 0.1);

  float : right; 
  width: 200px;

  border: 1px solid black;
  padding: 1.5rem;
  margin-bottom: 6px;
  display: flex;     
  gap: 1rem;       
  flex-wrap: wrap;   
}


.badgebar p {
  margin-bottom: 0.3rem;
}

.badgebar img {
  width: 80px;
  height: auto;
}


.blinkies {
  display: flex;
  max-height: 150px; 
  max-height: 273px;
  overflow-y: scroll;
  scrollbar-width: thin;
  scrollbar-color: #7b1e1e rgba(0, 0, 0, 0.1);

  float : right; 
  width: 200px;

  border: 1px solid black;
  padding: 1.5rem;
  margin-bottom: 6px;
  display: flex;     
  gap: 6px;       
  flex-wrap: wrap;   
}


.blinkies p {
  margin-bottom: 0.3rem;
}

.blinkies img {
  width: 150px;
  height: auto;
}


.introme {
  display: flex;
  gap: 12px;
}

.linkseader {
  display: flex;
  gap: 6px;
}

.linksheader img {
  width: 100px;
  height: auto;
}

.cotcot {
  display: flex;
  
}

.resizebutton img {
  width: 285px;
  height: auto;
}

.music-player {
  position: fixed;
  bottom: 20px;
  right: 20px;
  
  background: rgba(170, 30, 30, 0.8);
  border: 1px solid #7b1e1e;
  padding: 10px;
  backdrop-filter: blur(6px);
}

.controls {
  display: flex;
  justify-content: space-between;
  margin-bottom: 5px;
}

.controls button {
  background: transparent;
  border: 1px solid #7b1e1e;
  cursor: pointer;
  padding: 2px 6px;
}

.controls button:hover {
  background: #7b1e1e;
  color: black;
}

.playlist {
  max-height: 100px;
  overflow-y: auto;
  margin-top: 5px;
  padding-left: 0;
}

.playlist li {
  list-style: none;
  cursor: pointer;
  padding: 2px;
}

.playlist li:hover {
  background: rgba(123, 30, 30, 0.3);
}

.track-name {
  padding: 2px 6px;
}

.playlistaffiche {
  border: 1px solid #7b1e1e;
}

.progress-container {
  width: 100%;
  height: 6px;
  background: rgba(0,0,0,0.3);
  cursor: pointer;
  margin: 6px 0;
}

.progress-bar {
  height: 100%;
  width: 0%;
  background: #f5eaea;
}
  
.time {
  font-size: 0.7rem;
  text-align: center;
}

.marginplus {
  padding: 10px;
}

.musicpersentation img:hover {
  width: 125%;
  height: auto;
}

.hover-zoom img {
  transition: transform 0.2s ease;
}

.hover-zoom img:hover {
  transform: scale(1.1);
}

.indexleninresize {
  width: 50rem;
  height: auto;
  border: 4px solid;
}

.topbanner{
  width: 25rem;
  height: auto;
}


.blinkieshrine {
  display: flex;     
  gap: 4px;     
  
  border: 1px solid;
  overflow-y: scroll;
  scrollbar-width: thin;
  scrollbar-color: #7b1e1e rgba(0, 0, 0, 0.1);
  
}

.blinkieshrine a{
  margin: 2px auto;
}

.blinkieshrine img{
  width: 10rem;
  height: auto;
}

.shrinemain{
  border: 4px solid;
  margin: 2px;
  border-color: #C21010;
  display: flex;
  gap: 4px;
}

.shrinemain img{
  width: 14rem;
  height: auto;
}
