@font-face {
    font-family: 'palatino';
    src: url("res/font/pala.woff")
}

body {
    cursor: url("res/ui/cursor/depress0000.png"), auto;
//    font-family: Calibri;
    font-family: 'palatino';
    color: white;
    margin: 0 30px 0 30px;
}

a {
    color: palegoldenrod;
}

a:visited {
    text-decoration: none;
}

a:hover {
    color: gold;
}

h1 {
    color: gold;
}

h2 {
    color: gold;
}

h3 {
    color: goldenrod;
}

article {
    padding: 2px 20px 2px 20px;
}

details summary:hover {
    background-color: #44444477;
}

summary {
    cursor: pointer;
    color: goldenrod;
    font-weight: bold;
    font-size: 14pt;
}

.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 100vh;
    background: rgba(0, 0, 0, 0.5) url(Images/geographic_map.jpg) no-repeat;
    background-size: cover;
    z-index: -1;
    filter: blur(3px);
    background-blend-mode: darken;
}

.faction_table td {
    text-align: center;
    vertical-align: top;
    padding: 20px;
    color: palegoldenrod;
    font-size: 16pt;
    width: 140px;
}

.faction_table th {
    vertical-align: top;
    padding: 76px 0 0 0;
}

.faction_table a {
    text-decoration: none;
}

.navbar td {
    vertical-align: top;
    padding: 2px 4px 2px 4px;
}

.navbar a {
    text-decoration: none;
    color: gold;
}

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

.tech_tree td {
    text-align: center;
    vertical-align: middle;
    font-size: 10pt;
}

/* .tech_tree {
 	border: 1px solid white;
} */

.tabss {
    overflow: hidden;
    border-bottom: 1px solid #ccc;
    background-color: #f1f1f1;
}

.tabs button {
    color: white;
    background-color: inherit;
    float: left;
    border: 1px solid white;
    outline: none;
    cursor: pointer;
    padding: 8px 16px;
    transition: background-color 0.3s;
    font-size: 16px;
}

.tabs button:hover {
    background-color: grey;
}

.tabs button.active {
    background-color: rgb(99, 95, 77);;
}

.tabcontent {
    display: none;
    padding: 8px;
    border: 1px solid #ccc;
    border-top: none;
    animation: fadeEffect 0.3s;
}

/* Fade-in animation */
@keyframes fadeEffect {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}