:root {
    --light-background: #fff;
    --light-foreground: #333;
    --dark-background: #333;
    --dark-foreground: #fff;
  }
  
  [data-theme="light"] {
    background-color: var(--light-background);
    color: var(--light-foreground);
  }
  
  [data-theme="dark"] {
    background-color: var(--dark-background);
    color: var(--dark-foreground);
  }
  
  #collection-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-left: 10px;
    margin-right: 10px;
  }
  
  .title_sec img {
    display: flex;
    width: calc(100% / 4 - 20px);
    height: auto;
    border: 5px solid white;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.6); /* horizontal offset, vertical offset, blur, spread, color */
  }
  

  .tile {
    width: calc(100% / 4 - 20px); /* 3 tiles per row, 20px gap */
    margin-bottom: 20px;
  }

  
  .tile img {
    width: 100%;
    height: auto;
    border: 5px solid white; /* Adjust this to change the thickness of the border */
    border-radius: 10px; /* Adjust this to change the roundness of the edges */
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.6); /* horizontal offset, vertical offset, blur, spread, color */
}
  
  .more-info {
    display: none;
  }
  
  /* Responsiveness */
  @media (max-width: 900px) {
    .tile {
      width: calc(100% / 4 - 20px); /* 2 tiles per row */
    }
  }
  
  @media (max-width: 600px) {
    .tile {
      width: 100%; /* 1 tile per row */
    }
  }
  
/* Styles for the data rectangles */
.data-container {
    width: 100%;
    display: flex;
    justify-content: left;
    align-items: left;
    flex-wrap: wrap;
    margin-top: 10px;
}

.data-rect {
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    border: 1px solid #ccc;
    padding: 5px 10px;
    margin: 5px;
    font-weight: bold;
}

/* Styles for the color thumbnails */
.thumbnails-container {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 10px;
}

.color-thumbnail {
  width: 60px;
  height: 60px;
  margin: 4px;
  border: 2px solid #ccc;
  cursor: pointer;
  transition: transform 0.2s;
}

.color-thumbnail:hover {
  transform: scale(2);
}

/* Adjusting the thumbnails container */
.thumbnails-container {
  width: 100%;
  justify-content: space-between;
}

.thumbnail-wrapper {
  width: calc(9% - 4px);
  text-align: center;  /* Center the text below the image */
  margin: 5px;         /* Some space around each thumbnail container */
  height: auto;
}
/* Adjusting the width of each thumbnail */
img.color-thumbnail {
  display: block;
  margin: 0 auto;
  height: auto;
}



.thumbnail-name, .thumbnail-edition {
  display: block;      /* Display the name and edition on separate lines */
  font-size: 0.8em;    /* Slightly smaller font size for the text */
}


.toggle-button {
  display: block;
  cursor: pointer;
}