@font-face {
    font-family: 'MainFont';
    src: url('fonts/MainFont.ttf') format('truetype');
}

@font-face {
    font-family: 'ContFont';
    src: url('fonts/ContFont.ttf') format('truetype');
}

@font-face {
    font-family: 'Mono';
    src: url('fonts/Mono.ttf') format('truetype');
}

h1 {
    font-family: 'ContFont';
    color: white;
}

h2 {
    font-family: 'ContFont';
    color: white;
}

h3 {
    font-size: 23px;
    font-family: 'ContFont';
    color: white;
}

p {
    font-size: 20px;
    line-height: 30px;
    font-family: 'ContFont';
    color: white;
}

pre {
    font-size: 20px;
    line-height: 26px;
    font-family: 'ContFont';
    color: white;
}

.code {
    font-family: 'Mono'; /* Monospaced font for code */
    background-color: #2b2c2f; /* Light gray background */
    color: #8b8b8d; /* Darker text color */
    padding: 10px; /* Adds space inside the element */
    border-radius: 8px; /* Slightly rounded corners */
    white-space: pre-wrap; /* Preserves line breaks and indentation */
    display: block; /* Ensures it spans the full width */
}

.download-link {
    display: inline-block;
    padding: 10px 20px;
    font-size: 16px;
    color: #fff;
    background-color: #5c3d2a;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 10px;
    transition: background-color 0.3s;
}

.download-link:hover {
    background-color: #0056b3;
}

/* Dashed border */
hr.dashed {
  border-top: 3px dashed #bbb;
}

/* Dotted border */
hr.dotted {
  border-top: 3px dotted #bbb;
}

/* Solid border */
hr.solid {
  border-top: 3px solid #bbb;
  margin-top: 30px;
}

/* Rounded border */
hr.rounded {
  border-top: 8px solid #bbb;
  border-radius: 5px;
}

body {
    display: flex;
    margin: 0;
}

.sidebar {
    width: 250px;
    background-color: #1f2a54;
    border-right: 1px solid #ccc;
    padding: 10px;
    line-height: 5px;
    box-sizing: border-box;
}

.sidebar h2 {
    margin-top: 0;
    font-size: 20px;
    text-align: center;
}

.sidebar ul {
    list-style: none;
    padding: 0;
}

.sidebar ul li {
    margin: 10px;
}

.sidebar ul li a {
    text-decoration: none;
    color: #fff;
    display: block;
    padding: 8px;
    border-radius: 4px;
    font-family: 'ContFont';
    transition: background-color 0.3s;
}

.sidebar ul li a:hover {
    background-color: #5d6a9c;
}

.main-content {
    flex: 1;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 16px;
    padding-bottom: 20px;
    box-sizing: border-box;
    overflow-y: auto;
    background-color: #222840;
    color: white;
}

iframe {
    width: 100%;
    height: calc(100vh - 40px);
    border: none;
}
