/* General page styles */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    color: #333;
    margin: 0;
    padding: 0;
    padding-top: 50px; /* Adjusted to accommodate the scrolling message */
}

header {
    background-color: #333;
    color: white;
    padding: 10px 0;
    text-align: center;
}

header h1 {
    margin: 10px 0;
}

header a {
    color: white;
    text-decoration: none;
    padding: 10px;
}

nav {
    margin: 20px 0;
    text-align: center;
}

nav a {
    margin: 0 15px;
    text-decoration: none;
    color: #333;
    font-weight: bold;
}

nav a:hover {
    color: #ff6600; /* Highlight on hover */
}

footer {
    text-align: center;
    background-color: #333;
    color: white;
    padding: 20px 0;
    position: fixed;
    width: 100%;
    bottom: 0;
}

/* Scrolling message styles */
.scrolling-message {
    background-color: #ffcc00; /* Yellow background */
    color: #000; /* Black text */
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000; /* Ensure it stays above all content */
    white-space: nowrap; /* Prevent text from wrapping */
    overflow: hidden; /* Hide overflowing text */
}

.scrolling-message span {
    display: inline-block;
    animation: scrollMessage 10s linear infinite; /* Smooth scrolling */
}

/* Keyframes for scrolling effect */
@keyframes scrollMessage {
    0% {
        transform: translateX(100%); /* Start from the right */
    }
    100% {
        transform: translateX(-100%); /* Move to the left */
    }
}

/* Main content container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Links within the content */
.container a {
    color: #007BFF;
    text-decoration: none;
}

.container a:hover {
    text-decoration: underline;
}

/* Buttons */
.button {
    display: inline-block;
    background-color: #ff6600;
    color: white;
    padding: 10px 15px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 14px;
    margin: 10px 0;
}

.button:hover {
    background-color: #e65c00;
}

/* Contact form styles */
form {
    max-width: 600px;
    margin: 20px auto;
    padding: 20px;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
}

form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

form input,
form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
}

form input[type="submit"] {
    background-color: #007BFF;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 16px;
    padding: 10px 20px;
}

form input[type="submit"]:hover {
    background-color: #0056b3;
}
