/* Import a web-friendly font */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700&display=swap');

/* Root variables for consistent color scheme */
:root {
    --primary-color: #0052cc; /* A more vibrant primary color */
    --secondary-color: #ffc107; /* A secondary color for buttons and accents */
    --background-color: #f8f9fa; /* A light background color */
    --text-color: #212529; /* A darker color for improved text readability */
    --font-family: 'Open+Sans', sans-serif; /* Web-friendly font */
}

/* Apply root variables */
body {
    font-family: var(--font-family);
    color: var(--text-color);
    background-color: var(--background-color);
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

.logo img {
    width: 25px;
}
/* Improved navbar styling */
.navbar {
    background-color: var(--primary-color);
    padding: 1em 1em;
    display: flex;
}

.navbar a {
    color: white;
    padding: 0.5em 1em;
    text-decoration: none;
    transition: color 0.3s ease;
}

.navbar a:hover {
    color: var(--secondary-color);
}

/* Header enhancements */
.header {
    padding: 2em 1em;
    background-color: var(--background-color);
    text-align: center;
}

/* Content spacing */
.content {
    padding: 1em;
}

/* Button styles with hover effect */
#join-button {
    background-color: var(--secondary-color);
    border: none;
    padding: 10px 20px;
    font-size: 1em;
    color: white;
    cursor: pointer;
    border-radius: 0.25em;
    transition: background-color 0.3s ease;
}

#join-button:hover {
    background-color: var(--primary-color);
}

/* Footer adjustments */
.footer {
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    padding: 1px 0px 1px 0px;
    position: relative;
    bottom: 0;
    width: 100%;
}

/* Media query for responsive design */
@media (max-width: 768px) {
    /* Adjustments for smaller screens */
}


/* Notification styles */
.notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 1em;
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    color: #fff;
    background-color: var(--secondary-color);
    opacity: 0.9;
    transition: opacity 0.3s ease-in-out;
}

.notification.success {
    background-color: #28a745; /* Green for success messages */
}

.notification.error {
    background-color: #dc3545; /* Red for error messages */
}

/* Animation for the notification */
@keyframes slideIn {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 0.9;
    }
}

.notification {
    animation: slideIn 0.5s ease-in-out;
}
