/* CSS Reset */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
    font-family: sans-serif;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: #f7f7f7;
}

img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
    height: auto;
}

input, button, textarea, select {
    font: inherit;
}

a {
    text-decoration: none;
    color: inherit;
}

ul, ol {
    list-style: none;
}

/*MY CSS*/
.navbar-brand {
    border-bottom: 1px solid #8cc63f;
    padding-bottom: 15px;
}
.page-wrapper, header {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 2rem;
    text-align: center;
}

.page-wrapper {
    padding-bottom: 2rem;
}

.page-title {
    margin-bottom: 20px;
    color: #222;
}
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    justify-content: center;
}

.gallery-item {
    width: 100%;
    max-width: 180px;
    border: 1px solid #ccc;
    transition: border-color 0.3s ease, background-color 0.3s ease;
}

.gallery-item:hover {
    border-color: #777;
    background-color: #ccc;
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
}

.desc {
    padding: 15px;
    text-align: center;
}

@media (max-width: 600px) {
    .gallery {
        grid-template-columns: 1fr;
        justify-items: stretch; /* Ensures items stretch to fill the column */
    }

    .gallery-item {
        width: 100%;
        max-width: 100%; /* Ensures it fills the full width */
    }
}

.buttons {
    background-color: #009145;
    height: 32px;
    width: 125px;
    padding: 5px 8px;
    border: none;
    border-radius: 5px;
    color: #fff;
    font-weight: bold;
    margin-bottom: 20px;
    cursor: pointer;
}

.download-section {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.download-item {
    flex: 1 1 300px;
    text-align: center;
}

.download-item img {
    border: 1px solid #ccc;
    margin-bottom: 0.5rem;
}

.copy-text {
    background: #fff;
    border: 1px solid #ccc;
    padding: 1rem;
    white-space: pre-wrap;
    text-align: left;
    max-width: 700px;
    margin: 0 auto 20px auto;
}

.copy-text:focus {
    outline: 2px solid #8cc63f;
}

.subtitle {
    margin-bottom: 2rem;
}

@media (max-width: 600px) {
    .download-section {
        flex-direction: column;
        align-items: center;
    }

    .download-item {
        width: 100%;
    }
}

