body {
    font-family: "Helvetica Neue", Helvetica, sans-serif;
    background-color: #fff;
    margin: 0;
    padding: 0;
}

.homepage .content {
    max-width: 800px;
    margin: 50px auto;
}

.content {
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
}

a {
    color: #000;
    text-decoration: underline;
    margin-bottom: 20px;
    display: block;
}

a:hover {
    text-decoration: none;
}

details > summary {
    cursor: pointer;
    font-weight: normal;
    margin-top: 10px;
}

.main-title {
    font-size: 1.1em;
}

dropdown-content, .dropdown-content > p, .dropdown-content > a {
    margin-left: 40px;
    margin-top: 10px;
}

.nested-details > summary {
    margin-left: 40px;
}

.nested-content {
    margin-left: 60px;
}

details[open] > summary {
    font-weight: normal;
}

.main-title a {
    text-decoration: none; /* Removes the underline */
    color: inherit; /* Ensures the link has the same color as the surrounding text */
}

.main-title a:hover {
    text-decoration: underline; /* Optional: Underline on hover for better UX */
}

p {
    line-height: 1.5; /* Adjust this value as needed */
}

.grid {
    display: grid;
}

.proxy-collection {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 5px; /* Spacing for PROXY Collection */
}

.proxy-collection img {
    max-width: 100%;
    height: auto;
}

.lux-collection {
    grid-template-columns: repeat(auto-fill, minmax(450px, 1fr));
    gap: 5px; /* Spacing for PROXY Collection */
}

.lux-collection img {
    max-width: 100%;
    height: auto;
}

.salt-collection {
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 5px; /* Spacing for SALT Collection */
}

.salt-collection img {
    max-width: 100%;
    height: auto;
}

.line-collection {
    grid-template-columns: repeat(auto-fill, minmax(43px, 1fr));
    gap: 5px; /* Spacing for LINE Collection */
}

.line-collection img {
    max-width: 100%;
    height: auto;
}

/* Mode Selector Styles */
.mode-selector {
    display: flex;
    justify-content: space-between; /* This will push "grid" to the left and "single" to the right */
    margin-bottom: 10px;
    width: 100%; /* Ensures the container takes the full width of its parent */
}

.mode-selector span {
    cursor: pointer;
    margin: 0px 0px;
    padding: 0px 0px;
    transition: background-color 0.3s;
    border: none; /* Remove the border */
    background-color: transparent; /* Remove the background color */
}

.mode-selector span:hover {
    background-color: transparent; /* Ensure no background color on hover */
    text-decoration: underline; /* Optional: Underline on hover for better UX */
}

/* Individual View Styles */
#individual-view {
    display: flex;
    align-items: center;
    justify-content: center; /* This centers the image horizontally */
    position: relative;
}

#individual-image {
    max-width: 100%;
    height: auto;
}

#left-arrow, #right-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2em;
    cursor: pointer;
    padding: 10px;
    background-color: rgba(255, 255, 255, 0.7);
}

#left-arrow {
    left: 10px;
}

#right-arrow {
    right: 10px;
}

#random-symbol {
    position: absolute;
    bottom: 10px;
    right: 10px;
    font-size: 2.5em;
    cursor: pointer;
    padding: 5px;
    background-color: rgba(255, 255, 255, 0.7);
}

#random-symbol:hover {
    background-color: rgba(255, 255, 255, 0.9);
}

/* Customization for individual view image size per collection */
body.PROXY #individual-image {
    max-width: 45%; /* Adjust this value as needed for PROXY */
}

body.LUX #individual-image {
    max-width: 45%; /* Adjust this value as needed for collection2 */
}

body.SALT #individual-image {
    max-width: 45%; /* Adjust this value as needed for collection2 */
}

body.LINE #individual-image {
    max-width: 45%; /* Adjust this value as needed for collection2 */
}

.image-container {
    flex: 1; /* This allows the container to grow and occupy available space */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ... Add more collections as needed ... */
