@font-face {
  font-family: 'Orbitron';
  src: url('fonts/orbitron-medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'Montserrat';
  src: url('fonts/Montserrat-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Source Sans Pro';
  src: url('fonts/SourceSansPro-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
}

body {
    background-color: #141420;
    color: #e0e0e0;
    font-family: 'Orbitron', sans-serif;
    margin: 0;
    padding: 0;
}

header {
    padding: 1.25rem 2.5rem;
}

.header-container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 500;
    color: #00aaff;
    margin-right: 1.25rem;
    padding-top: 0.5625rem;
}

.logo a {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

.logo a:hover {
    color: inherit;
    text-decoration: none;
}

.menu {
    position: relative;
    display: inline-block;
}

.menu-icon {
    cursor: pointer;
    padding: 0.625rem;
}

.bar {
    width: 1.5625rem;
    height: 0.1875rem;
    background-color: #e0e0e0;
    margin: 0.3125rem 0;
    transition: 0.4s;
}

.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    background-color: #162447;
    min-width: 9.375rem;
    box-shadow: 0rem 0.5rem 1rem 0rem rgba(0,0,0,0.2);
    z-index: 1;
    margin-top: 0.625rem;
}

.dropdown-content a {
    color: #e0e0e0;
    padding: 0.75rem 1rem;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background-color: #1f4068;
}

.show {
    display: block;
}

.header-line {
    border-bottom: 0.0625rem solid #00aaff;
    margin-top: 1.25rem;
}

.header-info {
    text-align: left;
    padding-bottom: 0.625rem;
    font-size: 1.125rem;
}

.old-system-page .header-container {
    justify-content: space-between;
}

.old-system-page .header-right {
    display: flex;
    align-items: center;
}

.old-system-page main {
    font-family: 'Source Sans Pro', sans-serif;
}

.old-system-page .header-info {
    font-size: 1.125rem;
    padding-bottom: 0;
    padding-top: 0.9375rem;
    padding-left: 0.5rem;
}

.coming-soon {
    font-family: 'Montserrat', sans-serif;
    font-size: 3rem;
    text-align: center;
    margin-top: 2.5rem;
}

.placeholder-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.125rem;
    text-align: center;
    margin-top: 1.25rem;
    padding: 0 1.25rem;
}

.main-content-wrapper {
    max-width: 75rem;
    margin: 0 auto;
    padding: 2rem 1rem;
    background-color: transparent;
}

.data-table {
    width: 82%;
    margin: 3.5rem auto 0 auto;
    border-collapse: collapse;
}

.data-table caption {
    font-size: 1.75rem;
    font-weight: bold;
    padding-bottom: 1rem;
    text-align: left;
}

.data-table th, .data-table td {
    border: 0.0625rem solid #6c757d;
    padding: 0.75rem;
    text-align: center;
}

.data-table .title-cell {
    font-size: 1.25rem;
    font-weight: bold;
    text-align: left;
    vertical-align: top;
}

.data-table .date-note {
    display: block;
    font-size: 0.875rem;
    font-style: italic;
    font-weight: normal;
    margin-top: 0.25rem;
}

.data-table td:first-child {
    text-align: left;
    font-weight: bold;
}

.data-table th {
    background-color: #343a40;
    color: #e0e0e0;
}

/* Make the year columns equal width */
.data-table {
    table-layout: fixed;
}

.data-table th:not(.title-cell) {
    width: 6%;
}

.data-table .title-cell {
    width: 45%;
}

/* Individual elevated sections */
#treasuryChart {
    background-color: #1e1e2a !important;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    padding: 20px;
}

#gdpChart {
    background-color: #1e1e2a !important;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    padding: 20px;
}

#monetaryChart {
    background-color: #1e1e2a !important;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    padding: 20px;
}

#interestChart {
    background-color: #1e1e2a !important;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    padding: 20px;
}

#receiptsOutlaysChart {
    background-color: #1e1e2a !important;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    padding: 20px;
}

#energyChart {
    background-color: #1e1e2a !important;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    padding: 20px;
}

#electricityChart {
    background-color: #1e1e2a !important;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    padding: 20px;
}

.data-table {
    background-color: #1e1e2a;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Homepage styles */
.homepage-main {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 70vh;
    padding: 2rem;
}

.money-comparison {
    display: flex;
    gap: 12rem;
    align-items: center;
    justify-content: center;
}

.money-section {
    text-align: center;
    transition: transform 0.3s ease;
}

.money-section:hover {
    transform: translateY(-5px);
}

.money-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.money-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    text-transform: lowercase;
}

.money-icon {
    font-size: 8rem;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
}

.clown-money .money-title {
    color: #ff6b6b;
}

.dollar-icon {
    color: #2ecc71;
    font-family: 'Orbitron', sans-serif;
}

.clown-money:hover .dollar-icon {
    color: #ff6b6b;
    transform: rotate(-10deg);
}

.sound-money .money-title {
    color: #f7931a;
}

.bitcoin-icon {
    color: #f7931a;
    font-family: 'Orbitron', sans-serif;
}

.sound-money:hover .bitcoin-icon {
    color: #ffb84d;
    transform: scale(1.1);
}

/* Responsive design */
@media (max-width: 768px) {
    .money-comparison {
        flex-direction: column;
        gap: 3rem;
    }
    
    .money-icon {
        font-size: 6rem;
    }
    
    .money-title {
        font-size: 1.5rem;
    }
}
