:root {
    --primary-color: #007acc;
    --secondary-color: #005f99;
    --background-light: #f5f5f5;
    --text-color: #333;
    --text-light: #fff;
    --highlight-bg: #f0f8ff;
}

/* General Styles */
html, body {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    background-color: var(--background-light);
    font-family: 'Arial', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    letter-spacing: 0.5px;
    color: var(--text-color);
}

/* Header */
header {
    background-color: var(--primary-color);
    color: var(--text-light);
    text-align: center;
    padding: 20px 0;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

header .branding h1 {
    margin: 0;
    font-size: 2.5rem;
}

header .branding .tagline {
    margin: 5px 0 0;
    font-size: 1.2rem;
    font-style: italic;
}

/* Main Content */
main {
    padding: 20px;
}

.live-data {
    background-color: var(--highlight-bg);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 40px;
    text-align: center;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.live-data h2 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.live-data p {
    font-size: 1.2rem;
    margin: 10px 0;
    font-weight: 500;
}

.live-data span {
    font-weight: bold;
    color: var(--text-color);
}

button#currency-toggle {
    background-color: var(--primary-color);
    color: var(--text-light);
    border: none;
    padding: 10px 20px;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
}

button#currency-toggle:hover {
    background-color: var(--secondary-color);
    transform: scale(1.05);
}

button:active {
    box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1);
}

/* Footer */
footer {
    background-color: var(--text-color);
    color: var(--text-light);
    text-align: center;
    padding: 10px 20px;
    font-size: 0.9rem;
}

/* Attribution */
.attribution {
    margin-top: 15px;
    font-size: 0.9rem;
    color: var(--text-color);
}

.attribution a {
    color: var(--primary-color);
    text-decoration: none;
}

.attribution a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    header {
        padding: 15px 10px;
    }

    h1 {
        font-size: 1.8rem;
    }

    .live-data {
        padding: 15px;
    }

    button {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
}
/* Live Data Section */
.live-data {
    background-color: var(--highlight-bg);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 40px;
    text-align: center;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.live-data h2 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.live-data-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 20px;
    margin-top: 20px;
}

.data-item {
    flex: 1 1 calc(20% - 20px);
    max-width: 200px;
    text-align: center;
}

.data-title {
    font-size: 1rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: bold;
}

.data-value {
    background-color: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--text-color);
}

/* Button Styles */
button#currency-toggle {
    background-color: var(--primary-color);
    color: var(--text-light);
    border: none;
    padding: 10px 20px;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
}

button#currency-toggle:hover {
    background-color: var(--secondary-color);
    transform: scale(1.05);
}

/* Attribution */
.attribution {
    margin-top: 15px;
    font-size: 0.9rem;
    color: var(--text-color);
}

.attribution a {
    color: var(--primary-color);
    text-decoration: none;
}

.attribution a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .live-data-container {
        flex-direction: column;
        align-items: center;
    }

    .data-item {
        flex: 1 1 100%;
        max-width: 100%;
    }

    button#currency-toggle {
        font-size: 0.9rem;
        padding: 8px 16px;
    }
}
/* Social Links Section */
.social-links {
    background-color: var(--highlight-bg);
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
    text-align: center;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.social-links h2 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.button-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.button-container .btn {
    background-color: var(--secondary-color);
    color: var(--text-light);
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s, transform 0.2s;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
}

.button-container .btn:hover {
    background-color: var(--primary-color);
    transform: scale(1.05);
}

/* Responsive Design */
@media (max-width: 768px) {
    .button-container {
        flex-direction: column;
        gap: 10px;
    }

    .button-container .btn {
        font-size: 0.9rem;
        padding: 8px 16px;
    }
}
/* Header Styles */
header {
    background: url('paul.webp') no-repeat center center;
    background-size: cover; /* Ensures the image covers the entire header area */
    color: var(--text-light); /* Keeps the text visible on top of the image */
    text-align: center;
    padding: 20px 0;
    position: relative; /* Allows for potential overlay effects */
    z-index: 1;
}

header .branding {
    position: relative;
    z-index: 2; /* Keeps the branding content above any overlay */
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Optional: Adds a dark overlay for better text readability */
    z-index: 1;
}