/* General reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body and background */
body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    background-color: #f4f4f9;
    color: #333;
    padding-top: 60px;
}

/* Header styling */
header {
    background-color: #2c3e50;
    color: white;
    padding: 20px 0;
    text-align: center;
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

nav ul {
    list-style-type: none;
}

nav ul li {
    display: inline;
    margin-right: 20px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
}

nav ul li a:hover {
    text-decoration: underline;
}

/* Main section styling */
section {
    padding: 20px;
    margin: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

section h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #2c3e50;
}

section p {
    font-size: 1.1rem;
    margin-bottom: 15px;
}

section ul {
    font-size: 1.1rem;
    margin-left: 20px;
}

section ul li {
    margin-bottom: 10px;
}

section img {
    max-width: 100%;
    border-radius: 8px;
}

/* Form & interactive elements */
select, button {
    padding: 10px;
    font-size: 1rem;
    border-radius: 5px;
    border: 1px solid #ccc;
}

select:focus, button:focus {
    outline: none;
    border-color: #3498db;
}

button {
    background-color: #3498db;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #2980b9;
}

/* Footer styling */
footer {
    text-align: center;
    padding: 20px;
    background-color: #2c3e50;
    color: white;
    position: fixed;
    bottom: 0;
    width: 100%;
}

/* Canvas graph container */
#graph {
    max-width: 1000px;
    margin: 20px auto;
}

/* Code block styling */
pre {
    background-color: #2c3e50;
    color: white;
    padding: 20px;
    border-radius: 5px;
    overflow-x: auto;
    font-family: 'Courier New', monospace;
}

code {
    color: #e67e22;
}

/* Table styling (for any future tables) */
table {
    width: 100%;
    margin-top: 20px;
    border-collapse: collapse;
}

table th, table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

table th {
    background-color: #3498db;
    color: white;
}

/* Mobile responsiveness */
@media screen and (max-width: 768px) {
    nav ul {
        text-align: center;
        margin-top: 10px;
    }

    nav ul li {
        display: block;
        margin: 5px 0;
    }

    section {
        margin: 10px;
        padding: 15px;
    }

    footer {
        position: relative;
    }

    header h1 {
        font-size: 2rem;
    }
}

.small-text {
    font-size: 0.85rem; /* Kleinere Schriftgröße */
    margin-top: 20px;   /* Mehr Abstand zur Tabelle */
    color: #555;        /* Etwas dunklerer Text für besseren Kontrast */
}

#exampleTitle {
    font-size: 1.5rem;  /* Etwas kleiner als der Haupttitel */
    margin-top: 20px;   /* Etwas Abstand zum Button */
    color: #2c3e50;     /* Gleiche Farbe wie der Haupttitel */
}

#exampleTitle {
    font-size: 1.5rem;  /* Etwas kleiner als der Haupttitel */
    margin-top: 20px;   /* Etwas Abstand zum Button */
    color: #2c3e50;     /* Gleiche Farbe wie der Haupttitel */
}

#container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px; /* Abstand zwischen den Boxen */
}

#interaktiv, #comparisonTable {
    flex: 1; /* Beide nehmen gleich viel Platz ein */
    min-width: 48%; /* Stellt sicher, dass beide Boxen fast gleich groß bleiben */
    max-width: 48%; /* Verhindert, dass eine Box breiter wird als die andere */
}

#output-matchmaking {
    display: flex;
    flex-direction: column; /* Stapelt die Gruppen übereinander */
    gap: 20px; /* Abstand zwischen den Gruppen */
    margin-top: 20px;
}

#output-matchmaking > div {
    display: flex;
    flex-direction: row; /* Stellt sicher, dass die Buttons innerhalb jeder Gruppe nebeneinander sind */
    gap: 10px; /* Abstand zwischen den Buttons innerhalb der Gruppe */
}


/* Buttons nebeneinander anordnen */
.emoji-btn {
    font-size: 2rem; /* Kleinere Schriftgröße für die Emojis */
    padding: 10px;   /* Padding, um einen quadratischen Button zu erstellen */
    width: 50px;     /* Breite des Buttons */
    height: 50px;    /* Höhe des Buttons */
    display: flex;
    align-items: center; /* Zentriert das Emoji */
    justify-content: center; /* Zentriert das Emoji */
}

.emoji-btn:hover {
    background-color: #e0e0e0;
}

.emoji-btn:active {
    background-color: #ccc;
}

/* Button-Container auf der linken Seite ausrichten */
.button-container {
    display: flex;
    flex-direction: column; /* Buttons untereinander anordnen */
    align-items: flex-start; /* Links ausrichten */
    margin-left: 10px; /* Etwas Abstand von der linken Seite */
}

/* Stil für die Ausführen- und Neustarten-Buttons */
.button-container button {
    font-size: 1rem;  /* Kleinere Schriftgröße */
    padding: 8px 16px; /* Kleinere Polsterung für kleinere Buttons */
    margin: 5px 0;    /* Etwas Abstand zwischen den Buttons */
    width: auto;      /* Breite der Buttons an den Inhalt anpassen */
    display: inline-block;
}

.example {
    height: 400px; /* You can adjust this to fit your design */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

#output-navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 500px; /* Anpassung je nach Größe des Grids */
    text-align: center;
    font-size: 1.5rem;
}

header {
    background-color: #3498db;
    padding: 20px;
    color: white;
    text-align: center;
}

nav ul {
    list-style-type: none;
    padding: 0;
}

nav ul li {
    display: inline;
    margin-right: 15px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

nav ul li a:hover {
    text-decoration: underline;
}

body {
    margin: 0;
    padding: 0;
}
