/* Color Palette */
:root {
    --color-background: #FFFFFF;  /* White for background */
    --color-primary: #9EA059;     /* Primary color */
    --color-secondary: #FF0000;   /* For icons and supportive elements */
    --color-text: #2C2A26;        /* For text */
}

@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

/* Typography using Poppins font family */
body {
    font-family: "Poppins", sans-serif;
    font-weight: 400;  /* Regular weight */
    font-size: 16px;
    color: var(--color-text);
    background-color: var(--color-background);
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    font-family: "Poppins", sans-serif;
    font-weight: 700;  /* Bold */
    color: var(--color-text);
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1rem;
}

/* Links */
a {
    color: var(--color-secondary); /* Icon and supportive color */
    text-decoration: none;
}

a:hover {
    color: var(--color-primary);
    text-decoration: underline;
}

/* Buttons */
button, .btn {
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    background-color: var(--color-primary);
    color: #FFFFFF;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover, .btn:hover {
    background-color: var(--color-secondary);
}

/* General Text Elements */
p {
    font-weight: 400;
    font-size: 1rem;
    margin-bottom: 1rem;
}

small {
    font-size: 0.875rem;
}

/* Font Weights (Classes) */
.poppins-thin {
    font-weight: 100;
}

.poppins-extralight {
    font-weight: 200;
}

.poppins-light {
    font-weight: 300;
}

.poppins-regular {
    font-weight: 400;
}

.poppins-medium {
    font-weight: 500;
}

.poppins-semibold {
    font-weight: 600;
}

.poppins-bold {
    font-weight: 700;
}

.poppins-extrabold {
    font-weight: 800;
}

.poppins-black {
    font-weight: 900;
}

/* Italics */
.poppins-thin-italic {
    font-weight: 100;
    font-style: italic;
}

.poppins-extralight-italic {
    font-weight: 200;
    font-style: italic;
}

.poppins-light-italic {
    font-weight: 300;
    font-style: italic;
}

.poppins-regular-italic {
    font-weight: 400;
    font-style: italic;
}

.poppins-medium-italic {
    font-weight: 500;
    font-style: italic;
}

.poppins-semibold-italic {
    font-weight: 600;
    font-style: italic;
}

.poppins-bold-italic {
    font-weight: 700;
    font-style: italic;
}

.poppins-extrabold-italic {
    font-weight: 800;
    font-style: italic;
}

.poppins-black-italic {
    font-weight: 900;
    font-style: italic;
}

.theme-spinner {
    display: inline-block;
    width: 80px;
    height: 80px;
    border: 8px solid var(--color-primary); /* Background color */
    border-top: 8px solid var(--color-primary); /* Primary color */
    border-radius: 50%;
    animation: spin 1.5s linear infinite;
    margin: auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Center the spinner for demo purposes */
.spinner-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: var(--color-background);
}
