@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto-VariableFont_wdth,wght.ttf') format('truetype');
    font-weight: 400 700;
    font-style: normal;
    font-display: swap;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: #0A0A0A;
    color: #e0e0e0;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: flex-start;
    align-items: stretch;
    min-height: 100vh;
}

.wrapper {
    display: flex;
    width: 100%;
}

/* Sidebar Styling */
.sidebar {
    width: 250px;
    background-color: #1a1a1a;
    padding: 20px;
    border-right: 1px solid #2a414a;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: width 0.3s ease;
    position: sticky;
    top: 0;
    height: 100vh;
}

.sidebar.collapsed {
    width: 60px;
}

.sidebar-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    white-space: nowrap;
    overflow: hidden;
}

.logo {
    font-size: 1.5em;
    font-weight: 700;
    color: #A9D6E5;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.logo.hidden {
    display: none;
}

.toggle-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-left: auto;
    width: 24px;
    height: 24px;
}

.toggle-btn svg {
    width: 24px;
    height: 24px;
    display: none;
}

.toggle-btn .collapse-icon {
    display: block;
}

.sidebar.collapsed .toggle-btn .collapse-icon {
    display: none;
}

.sidebar.collapsed .toggle-btn .expand-icon {
    display: block;
}

.menu-list {
    list-style: none;
    padding: 0;
    width: 100%;
	height: 80vh;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
}

.menu-item {
    margin-bottom: 10px;
}

.menu-item a {
    display: flex;
    align-items: center;
    padding: 15px;
    color: #e0e0e0;
    text-decoration: none;
    border-radius: 8px;
    transition: background-color 0.3s, color 0.3s;
    gap: 15px;
    justify-content: flex-start;
}

/* Stiländerungen, wenn die Sidebar eingeklappt ist */
.sidebar.collapsed .menu-item a {
    justify-content: center;
    display: flex;
}

.menu-icon {
    width: 34px;
    height: 34px;
    opacity: 1;
}

.menu-item a span {
    opacity: 1;
    transition: opacity 0.3s ease;
}

.sidebar.collapsed .menu-item a span {
    opacity: 0;
    /* Der Text wird ausgeblendet und erst nach der Animation entfernt */
    transition: opacity 0.3s ease;
    width: 0;
    display: none;
}

.menu-item a:hover {
    background-color: #2a414a;
    color: #ffffff;
}

.menu-item.active a {
    background-color: #A9D6E5;
    color: #1a1a1a;
    font-weight: 700;
}

/* Main Content Styling */
.main-content {
    flex-grow: 1;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: margin-left 0.3s ease;
}

.container {
    width: 100%;
    max-width: 900px;
    background-color: #1a1a1a;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(169, 214, 229, 0.2);
    border: 1px solid #2a414a;
    margin-top: 64px;
    margin-bottom: 64px;
}

h1, h2, h3 {
    color: #ffffff;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.selector-menu {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    border-bottom: 2px solid #333;
    padding-bottom: 10px;
}

.selector-menu button {
    background-color: #2a2a2a;
    color: #e0e0e0;
    border: 1px solid #444;
    padding: 12px 25px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 700;
}

.selector-menu button:hover {
    background-color: #4a5d66;
    color: #ffffff;
    border-color: #A9D6E5;
    box-shadow: 0 0 10px rgba(169, 214, 229, 0.5);
}

.selector-menu button.active {
    background-color: #A9D6E5;
    color: #1a1a1a;
    border-color: #A9D6E5;
    box-shadow: 0 0 15px rgba(169, 214, 229, 0.7);
}

.input-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

label {
    font-weight: 700;
}

input[type="text"], input[type="number"] {
    background-color: #2a2a2a;
    border: 1px solid #444;
    color: #A9D6E5;
    padding: 12px;
    border-radius: 5px;
    width: 200px;
    font-family: 'Roboto Mono', monospace;
    transition: border-color 0.3s;
}

input[type="text"]:focus, input[type="number"]:focus {
    outline: none;
    border-color: #A9D6E5;
    box-shadow: 0 0 8px rgba(169, 214, 229, 0.5);
}

button {
    background-color: #A9D6E5;
    color: #1a1a1a;
    border: none;
    padding: 12px 30px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 700;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

button:hover {
    background-color: #8da4b0;
    box-shadow: 0 0 15px rgba(169, 214, 229, 0.7);
}

.results-table, .creation-container {
    margin-top: 30px;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 20px;
    background-color: #222;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

td, th {
    padding: 15px;
    border-bottom: 1px solid #444;
    text-align: left;
}

thead th {
    background-color: #333;
    font-weight: 700;
    color: #A9D6E5;
}

tr:nth-child(even) {
    background-color: #2a2a2a;
}

tr:hover {
    background-color: #383838;
}

.hidden {
    display: none;
}

/* Footer Styling */
footer {
    width: 100%;
    padding: 20px;
    margin-top: auto;
    background-color: transparent;
    border-top: 1px solid #2a414a;
    text-align: center;
}

.footer-text {
    font-size: 0.9em;
    color: #A9D6E5;
}
/* Made by Justin Kirsch */