
/* Default color scheme */
:root {
    --button-color: #638926;
    --button-color-hover: #C6722E;
    --base-bg-color: #f4f4f4;
    --content-box-bg-color: #e0e0e0;
    --header-footer-bg-color: #638926;
    --header-button-hover-color: #C6722E;
    --header-text-color: white;

    --text-color: #444;
    --link-color: #007BFF;

    --accent-light-bg: #fffde3;
    --accent-color: #638926;
    --accent-color-hover: #C6722E;
    --accent-color-active: #455E1F;

    /* Old color scheme
    --button-color: #555;
    --button-color-hover: #333;
    --base-bg-color: #f4f4f4;
    --content-box-bg-color: #e0e0e0;
    --header-footer-bg-color: #333;
    --header-button-hover-color: #555;
    --header-text-color: white;

    --text-color: #444;
    --link-color: #007BFF;
    
    --accent-light-bg: #fffde3;
    --accent-color: #FBC02D;
    --accent-color-hover: #F57F17;
    --accent-color-active: #864e1d; */

    --logo-font: 'Comfortaa', cursive;
    --text-font: 'Lato', sans-serif;
}


/* Default styles */
body {
    font-family: var(--text-font);
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background-color: var(--base-bg-color);
    width: 100%;
}

.container {
    max-width: 800px;
    padding: 20px;
}

.href_text {
    color: var(--link-color, #007BFF);
    text-decoration: none;
}

.content-box {
    display: flex;
    align-items: center;
    background-color: var(--content-box-bg-color);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    margin-top: 10px;
    margin-bottom: 10px;
    max-width: 900px;
}


.text {
    flex: 1;
    text-align: left;
    padding-right: 20px;
}

.image-container {
    flex-shrink: 0;
}

.image-container img {
    width: 150px;
    height: 150px;
    border-radius: 10px;
}

.button-box {
    flex: 1;
    justify-content: space-evenly;
    display: flex;              /* make it flex container */
    justify-content: center;    /* center buttons horizontally */
    gap: 5px;                  /* space between buttons */
    flex-wrap: wrap;            /* allow buttons to wrap on small screens */
}

.button {
    display: inline-block;
    padding: 10px 20px;
    margin: 5px;
    background-color: var(--button-color);
    color: white;
    text-decoration: none;
    font-size: 16px;
    border-radius: 8px;
    transition: background 0.3s;
    cursor: pointer;
    width: 130px;
    text-align: center;
}

.button:hover {
    background-color: var(--button-color-hover);
}


/* Button settings (the element button) */
button {
    background-color: var(--accent-color);
    height: 30px;
    font-size: 16px;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

button:hover {
    background-color: var(--accent-color-hover);
    transform: scale(1.05);
}

button:active {
    background-color: var(--accent-color-active);
    transform: scale(1);
}



/* Table */
.table-wrapper {
    overflow-x: auto;
    margin-top: 2em;
}

.table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.05);
    font-size: 14px;
}

/* Table row styles */
.table th,
.table td {
    text-align: left;
    padding: 12px 16px;
    border-bottom: 1px solid #eee;
}

.table th { /* Table Header */
    background-color: #f4f4f4;
    font-weight: bold;
    color: #333;
}

.table a {
    color: #1e88e5;
    text-decoration: none;
}

.table a:hover {
    text-decoration: underline;
}

.table tr:hover {
    background-color: #fafafa;
}


/* Home page - go to product button */

.product-button {
    background-color: var(--accent-color);
    border-radius: 50px;
    font-size: 20px;
    padding: 10px 20px;
    margin: 10px 0;
    font-weight: bold;
    text-decoration: none;
    color: var(--header-text-color);
    align-self: center;
    transition: background-color 0.3s, transform 0.2s;
}

.product-button:hover {
    background-color: var(--accent-color-hover);
    transform: scale(1.05);
}

.product-button:active {
    background-color: var(--accent-color-active);
    transform: scale(1);
}



/* Mobile Styles */
@media (max-width: 665px) {
    .content-box {
        flex-direction: column;
        margin: 10px auto;
        max-width: 80%;
    }
    .button-box {
        flex-direction: column;  /* stack buttons vertically */
        align-items: center;     /* center buttons horizontally */
    }
}