/* Existierende globale CSS-Stile anpassen und verwenden */

/* Hintergrund und Layout */
.projects-background-custom::before {
    content: '';
    background-image: url('/media/images/projects/myProjects_background__01.png');
    background-size: cover;
    background-attachment: fixed;
    background-position: center center;
    background-repeat: no-repeat;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* Magazin-Layout */
.magazine-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.8);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    border-radius: 8px;
    max-width: 80%;
    margin: auto;
    box-sizing: border-box;
}

.magazine-header {
    text-align: center;
    margin-bottom: 20px;
}

.magazine-content {
    display: flex;
    flex-wrap: wrap;
}

.magazine-image {
    flex: 1;
    max-width: 45%;
    margin: 10px;
    text-align: center;
}

.magazine-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.image-caption {
    font-size: 1em;
    color: #fff;
    margin-top: 5px;
}

.magazine-text {
    flex: 2;
    max-width: 45%;
    margin: 10px;
}

.dark-background {
    background-color: rgba(0, 0, 0, 0.9); /* Dunkler Hintergrund */
}

.text-white {
    color: #fff; /* Weiße Schriftfarbe */
}

.magazine-text h2, .magazine-text p {
    color: #fff; /* Weiße Schriftfarbe */
    font-size: 2rem; /* Gleiche Schriftgröße wie auf den anderen Seiten */
}

/* Navigationselemente für die Projekte */
.project-navigation-custom {
    position: fixed;
    top: 150px;
    left: 0;
    width: 200px;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1000;
}

.project-navigation-custom ul {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

.project-navigation-custom ul li {
    margin: 10px 0;
}

.project-navigation-custom ul li a {
    color: #fff;
    text-decoration: none;
    padding: 10px;
    display: block;
    background-color: rgba(0, 0, 0, 0.8);
    border-radius: 8px;
    border: 1px solid #ccc;
    text-align: center;
}

.project-navigation-custom ul li a:hover {
    background-color: #e0e0e0;
}
.custom-tab-navigation, .project-navigation-custom {
    width: calc(100% - 40px);
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 5px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px auto;
    box-sizing: border-box;
    max-width: 100%;
    height: auto;
}

.custom-tab-navigation ul, .project-navigation-custom ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap;
}

.custom-tab-navigation ul li, .project-navigation-custom ul li {
    line-height: 1.5;
}

.custom-tab-navigation ul li a, .project-navigation-custom ul li a,
.custom-tab-navigation ul li button, .project-navigation-custom ul li button {
    color: #fff;
    text-decoration: none;
    padding: 8px 15px;
    background-color: rgba(0, 0, 0, 0.8);
    border-radius: 8px;
    border: 1px solid #444;
    text-align: center;
    display: block;
    white-space: nowrap;
    font-size: 2rem;
}

.custom-tab-navigation ul li a:hover, .project-navigation-custom ul li a:hover,
.custom-tab-navigation ul li button:hover, .project-navigation-custom ul li button:hover {
    background-color: rgba(50, 50, 50, 0.8);
}
/* Spezifische Stile für das Projektlayout und Bild/Text-Integration */
.project-image-text-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 20px 0;
}

.project-image-container {
    flex: 1 1 45%;
    margin: 10px;
}

.project-image-container img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.project-text-container {
    flex: 1 1 45%;
    margin: 10px;
}

/* Sicherstellen, dass die globalen Stile für Text auch hier gelten */
.project-text-container h1, .project-text-container h2, .project-text-container p {
    color: inherit; /* Erbt die Farbe aus globalen Styles */
    font-size: inherit; /* Erbt die Schriftgröße aus globalen Styles */
}

.project-caption {
    font-size: 1em;
    color: #fff;
    margin-top: 5px;
    text-align: center;
}