/* Base HTML & Body */
html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    background: black;
    color: white;
    font-family: "Workbench", sans-serif;
    font-optical-sizing: auto;
    font-weight: 320;
    font-style: normal;
    font-variation-settings: "BLED" 10, "SCAN" -20;
    text-transform: uppercase;
}

/* Layout Container */
#page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Shared Workbench Font Settings */
.workbench {
    font-family: "Workbench", sans-serif;
    font-optical-sizing: auto;
    font-weight: 320;
    font-style: normal;
    font-variation-settings: "BLED" 10, "SCAN" -20;
}

/* Header */
.header {
    background: #ccccccec;
    color: #000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    font-size: 30px;
    font-variation-settings: "BLED" 15, "SCAN" -20;
}

.logo {
    font-size: 30px;
}

.datetime {
    font-size: 25px;
}

/* Main Content */
.content {
    background: #073ad4f3;
    color: rgba(255, 255, 255, 0.815);
    padding: 10px;
    font-size: 45px;
    line-height: 1.6;
    flex: 1 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    white-space: pre-wrap;
}

/* Alert Styling */
.alert {
    color: yellow;
    background: red;
    font-weight: bold;
    animation: blink 1s infinite;
}

/* Ticker Bars */
#ticker-bar,
#alert-ticker-bar {
    width: 100%;
    overflow: hidden;
    font-size: 1.5rem;
    padding: 5px 0;
    z-index: 1000;
    font-family: "Workbench", sans-serif;
    font-optical-sizing: auto;
    font-weight: 320;
    font-style: normal;
    font-variation-settings: "BLED" 10, "SCAN" -20;
}

#ticker-bar {
    background-color: #000033;
    color: #fff;
    border-top: 2px solid #00BFFF;
}

#alert-ticker-bar {
    max-height: 40px;
    background-color: #db3327;
    color: #240707;
    font-size: 2rem;
    border-top: 1.5px solid #000;
    border-bottom: 3px solid #000;
}

/* Ticker Content Animation */
#ticker-content,
#alert-ticker-content {
    display: inline-block;
    white-space: nowrap;
    padding-left: 100%;
}

#ticker-content {
    animation: ticker-scroll 100s linear infinite;
}

#alert-ticker-content {
    animation: ticker-scroll 2000s linear infinite;
}

/* Footer */
.footer {
    background: #ccc;
    color: #000;
    text-align: center;
    padding: 10px 0;
    font-size: 16px;
    width: 100%;
}

.footer a {
    color: #0000cc;
    text-decoration: none;
}

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

/* Ticker Animation */
@keyframes ticker-scroll {
    0% { transform: translateX(0%); }
    100% { transform: translateX(-100%); }
}
