/* General Body and Page Layout */
body {
    background-color: #343a40;
    font-family: Lato, sans-serif;
    margin: 0;
    padding: 10px;
    color: #d7d7d7;
}

.logo-container {
    text-align: center;
    margin-bottom: 20px;
}

.logo {
    width: 300px;
    height: auto;
}

/* Header Section */
.header {
    font-size: 26px;
    line-height: 1.5;
    max-width: 1000px;
    margin: 0 auto 20px;
    text-align: center;
}

.header-box {
    background-color: #5d6166;
    max-width: 500px;
    width: 90%;
    padding: 5px 20px;
    border-radius: 10px;
    display: inline-block;
}

/* New styling for the home page informational text */
.info-text {
    font-size: 26px;
    line-height: 1.5;
    margin-top: 10px;
    color: #d7d7d7;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

/* Old button styling (removed from HTML, but left in CSS for other pages) */
.single-column-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 200px; 
    margin: 20px auto; 
}

/* Main Calculator Grid (not used on this page, but kept) */
.calculator-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr; 
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    background-color: #2a2e33;
    border-radius: 10px;
}

/* Form and Button Styling (left in for other pages) */
.form {
    width: 100%;
    background-color: #acacac;
    color: #343a40;
    font-size: 20px;
    padding: 10px;
    cursor: pointer;
    border-radius: 10px;
    border-style: none;
    box-sizing: border-box;
    text-align: center;
}

.button {
    width: 100%;
    background-color: #d7d7d7;
    color: #343a40;
    font-size: 20px;
    padding: 10px;
    cursor: pointer;
    border-radius: 10px;
    border-style: none;
    box-sizing: border-box;
    text-align: center;
    text-decoration: none;
    display: inline-block;
}

/* Results section (not used on this page, but kept) */
.grid-results-row {
    grid-column: 1 / 4; 
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.grid-item-results {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #1e2124;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
}

.grid-item-results p {
    font-size: 18px;
    margin: 0;
}

.result-number {
    font-size: 24px;
    font-weight: bold;
    color: #5cb85c;
    margin-top: 5px;
}

/* --- New Styles for Wallpaper Gallery --- */
.wallpaper-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    max-width: 1200px;
    margin: 20px auto;
    padding: 10px;
    background-color: #2a2e33;
    border-radius: 10px;
}

.wallpaper-gallery a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
}

.wallpaper-thumbnail {
    width: auto;
    height: 200px;
    border-radius: 8px;
    border: 2px solid #5d6166;
    transition: transform 0.2s, border-color 0.2s;
}

.wallpaper-thumbnail:hover {
    transform: scale(1.05);
    border-color: #d7d7d7;
    cursor: pointer;
}

.thumbnail-label {
    font-size: 14px;
    margin-top: 5px;
    color: #d7d7d7;
    text-align: center;
    width: 150px;
}
