/* main stuff */
body {
    font-family: Arial, sans-serif;
    text-align: center;
    padding: 30px;
    background-color: #0a0a0a;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
}
input {
    margin: 5px;
    padding: 8px;
    background-color: #333;
    border: 1px solid #555;
    color: white;
    border-radius: 5px;
    width: 60px;
}
button {
    padding: 12px 20px;
    cursor: pointer;
    background-color: #007bff;
    border: none;
    color: white;
    font-size: 16px;
    border-radius: 5px;
    transition: background-color 0.3s;
}
button:hover {
    background-color: #0056b3;
}

/* collapsible menus */
.collapsible-button {
    background-color: transparent;
    color: white;
    cursor: pointer;
    padding: 8px 16px;
    width: auto;
    border: 1px solid #555;
    text-align: left;
    font-size: 16px;
    border-radius: 5px;
    margin-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.2s;
}
.collapsible-button:hover {
    transform: scale(1.05);
}
.arrow {
    margin-left: 10px;
    font-size: 20px;
}
.collapsible-button.active .arrow {
    transform: rotate(180deg);
}
.collapsible-content {
    padding: 10px;
    margin-top: 10px;
    display: none;
    background-color: #333;
    color: white;
    border-radius: 5px;
    max-width: 450px;
    margin-left: auto;
    margin-right: auto;
}
.collapsible-content.active {
    display: block;
}

/* --> server-events calculator 'examples' section */
.example-images {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}
.example-image {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    width: 80%;
}

/* --> level calculator 'more data' section */
.checkbox-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
}
.divider {
    height: 1px;
    background-color: #666;
    margin: 5px 0;
}
.section-container {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
}
.section-container .section p {
    text-align: left;
}
.section {
    flex: 1;
    padding: 0px;
}
.vertical-line {
    width: 1px;
    background-color: #666;
    min-height: 100%;
    margin: 0 10px;
}

/* tab navigation */
.tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}
.tab-button {
    background-color: #222;
    border: 1px solid #444;
    color: white;
    padding: 10px 20px;
    margin: 0 5px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s;
}
.tab-button:hover {
    background-color: #333;
}
.tab-button.active {
    background-color: #007bff;
    border-color: #0056b3;
}
.tab-content {
    display: none;
}
.tab-content.active {
    display: block;
}
.tab-separator {
    width: 100%;
    max-width: 800px;
    height: 2px;
    background-color: #444;
    margin: 0px 0 15px;
}

.explanation-section {
    margin-bottom: 20px;
}

.explanation-separator {
    border-top: 2px solid #333;
    margin: 20px 0;
}

.math-expression {
    font-family: "Courier New", monospace;
    font-weight: bold;
    color: #ffffff;
    background-color: #3f3f3f;
    padding: 0 5px;
    border-radius: 3px;
}
.explanation-image {
    max-width: 50%;
    height: auto;
    border-radius: 5px;
    width: 50%;
}