/* Basic reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: 'PFDinTextPro-Medium';
    src: url('format/mainfont.woff') format('woff');
}

/* Main font style */
body {
    font-family: 'PFDinTextPro-Medium', sans-serif;
    color: #d9d9d9;
    background-color: #000;
    background-image: url('images/fort1.png');
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    font-size: 18px;
}

.content a {
    color: #87CEEB;
}
/* Main container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.container iframe {
    width: 100%;
    height: 500px; /* Adjust as needed */
}
/* Header */
.header {
    background: #111;
    padding: 10px;
    text-align: center;
}

/* Navigation menu */
.nav-menu {
    background: #222;
    overflow: hidden;
}

.nav-menu a {
    float: left;
    display: block;
    color: #d9d9d9;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}

.nav-menu a:hover {
    background-color: #ddd;
    color: black;
}

/* Main content area */
.content {

    padding: 40px;
    min-height: 100px; /* Adjust based on content */
    width: 100%;
    max-width: 2000px;
    background-color: rgba(0, 0, 0, 0.67);
    
}

.content p {
    margin-bottom: 10px;
}
a
.content li {
    margin-bottom: 10px;
}
.content h2 {
  
    margin-top: 50px;
}
/* Sidebar */
.sidebar {
    background: #333;
    padding: 20px;
    margin-top: 20px;
}

/* Footer */
.footer {
    background: #111;
    color: #d9d9d9;
    text-align: center;
    padding: 10px;
    position: relative;
    bottom: 0;
    width: 100%;
}

.image-placeholder {
    width: 100%;
    height: 200px;
    background: #444;
    margin-bottom: 20px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative; /* Added this line */
}

.image-placeholder img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* Added this line */
    display: block;
}

.image-giantplaceholder {
    width: 100%;
    height: 300px;
    background: #444;
    margin-bottom: 20px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative; /* Added this line */
}
.image-giantplaceholder img {
    transform: scale(0.5);
    display: block;
}

/* Existing styles for the table */
.cour-table {
    width: 100%; /* Full width of the container */
    max-width: 1000px;
    border-collapse: collapse; /* Remove double borders */
    margin: 1em 0; /* Add space above and below the table */
}

/* Existing styles for the table headers */
.cour-table th {
    background-color: #f2f2f2; /* Light grey background */
    color: #333; /* Dark text */
    font-weight: bold; /* Bold text */
    padding: 8px; /* Padding inside the header cells */
    text-align: left; /* Left-aligned text */
}

/* Existing styles for the table data cells */
.cour-table td {
    border: 1px solid #ddd; /* Light grey border */
    padding: 8px; /* Padding inside the data cells */
    text-align: left; /* Left-aligned text */
    background-color: rgba(0, 0, 0, 0.67);
}

/* Responsive styles for mobile devices */
@media screen and (max-width: 600px) {
    .cour-table, .cour-table thead, .cour-table tbody, .cour-table th, .cour-table td, .cour-table tr {
        display: block;
    }

    .cour-table thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    .cour-table tr {
        border: 1px solid #ccc;
        margin-bottom: 10px;
    }

    .cour-table td {
        border: none;
        border-bottom: 1px solid #eee;
        position: relative;
        padding-left: 50%;
    }

    .cour-table td:before {
        position: absolute;
        top: 6px;
        left: 6px;
        width: 45%;
        padding-right: 10px;
        white-space: nowrap;
    }

    .cour-table td:nth-of-type(1):before { content: "Route"; }
    .cour-table td:nth-of-type(2):before { content: "ISK/m3"; }
    .cour-table td:nth-of-type(3):before { content: "Min. Reward"; }
    .cour-table td:nth-of-type(4):before { content: "Ship"; }

    /* Add more lines above if you have more columns */
}

/* Existing styles for the table */
.styled-table {
    width: 100%; /* Full width of the container */
    max-width: 1000px;
    border-collapse: collapse; /* Remove double borders */
    margin: 1em 0; /* Add space above and below the table */
}

/* Existing styles for the table headers */
.styled-table th {
    background-color: #f2f2f2; /* Light grey background */
    color: #333; /* Dark text */
    font-weight: bold; /* Bold text */
    padding: 8px; /* Padding inside the header cells */
    text-align: left; /* Left-aligned text */
}

/* Existing styles for the table data cells */
.styled-table td {
    border: 1px solid #ddd; /* Light grey border */
    padding: 8px; /* Padding inside the data cells */
    text-align: left; /* Left-aligned text */
    background-color: rgba(0, 0, 0, 0.67);
}

/* Responsive styles for mobile devices */
@media screen and (max-width: 600px) {
    .styled-table, .styled-table thead, .styled-table tbody, .styled-table th, .styled-table td, .styled-table tr {
        display: block;
    }

    .styled-table thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    .styled-table tr {
        border: 1px solid #ccc;
        margin-bottom: 10px;
    }

    .styled-table td {
        border: none;
        border-bottom: 1px solid #eee;
        position: relative;
        padding-left: 50%;
    }

    .styled-table td:before {
        position: absolute;
        top: 6px;
        left: 6px;
        width: 45%;
        padding-right: 10px;
        white-space: nowrap;
    }

    .styled-table td:nth-of-type(1):before { content: "Buyback"; }
    .styled-table td:nth-of-type(2):before { content: "Status"; }
    .styled-table td:nth-of-type(3):before { content: "Rate"; }
    .styled-table td:nth-of-type(4):before { content: "Locations"; }
    .styled-table td:nth-of-type(5):before { content: "Contract to"; }

    /* Add more lines above if you have more columns */
}
/* Utility classes */
.text-center {
    text-align: center;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

.center {
    text-align: center;
}

#logo {
    width: 50px;
    height: 50px;
    vertical-align: middle;

}

#toc {
    float: left;
    width: 200px;
    min-height: 100px;
    padding: 10px;
    background-color: #333; /* Dark background */
    color: #fff; /* White text */
    border: 10px solid #444; /* Darker border for contrast */
    margin-right: 100%;
    margin-top: 25px;
    margin-bottom: 25px;
}
#toc h2 {
    font-size: 1.2em;
    margin-top: 50px;
    color: #fff; /* White text for the title */
    
}
#toc ul {
    list-style-type: none;
    padding: 0;
}
#toc li {
    margin-bottom: 5px; /* Spacing between items */
}
#toc a {
    text-decoration: none;
    color:#fff;
}

#toc a:hover {
    background-color: #ddd;
    color: black;
}

pre {
    white-space: pre-wrap;
}