@font-face {
    font-family: 'Libre Franklin Thin'; /* Name used in CSS */
    src: url('../fonts/LibreFranklin-Thin.ttf') format('truetype'); /* Path relative to style.css */    
    font-weight: 100;
    font-style: normal;
}

@font-face {
    font-family: 'Libre Franklin Regular'; /* Name used in CSS */
    src: url('../fonts/LibreFranklin-Regular.ttf') format('truetype'); /* Path relative to style.css */    
    font-weight: 100;
    font-style: normal;
}

@font-face {
    font-family: 'Libre Franklin SemiBold'; /* Name used in CSS */
    src: url('../fonts/LibreFranklin-SemiBold.ttf') format('truetype'); /* Path relative to style.css */    
    font-weight: 100;
    font-style: normal;
}

@font-face {
    font-family: 'Libre Franklin ExtraBold'; /* Name used in CSS */
    src: url('../fonts/LibreFranklin-ExtraBold.ttf') format('truetype'); /* Path relative to style.css */    
    font-weight: 100;
    font-style: normal;
}

html {
    box-sizing: border-box;
}
*, *:before, *:after {
    box-sizing: inherit;
}

body, html {
    margin: 0;
    padding: 0;    
}

.container-fluid {
    max-width: 100%;
    overflow-x: hidden; /* Verhindert horizontales Scrollen */
    padding-left: 0;
    padding-right: 0;    
}


.form-control {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

.header-text {
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #333;
    text-align: center;
    z-index: 10;
    font-family: "Libre Franklin Thin", "Helvetica Neue", helvetica, arial, sans-serif;    
}

.header-text h1 {
    margin: 0;
    font-size: 2.5em;
}

.header-text p {
    margin: 0;
    font-size: 1.5em;
}


.header-image {
    position: relative;
    width: 100%;
    overflow: hidden;
/*    margin-bottom: 0; /* Remove any bottom margin */
 
}

.header-image img {
    width: 100%;
    height: 100%; /* was auto; before */
/*    display: block; */
    object-fit: cover; /* Crop the image while maintaining proportions */
}


.header-image-details {
    position: relative;
    width: 100%;
    height: 140px; /* Display only the upper 100px */
    overflow: hidden; /* Hide the rest of the image */
}

.header-image-details img {
    width: 100%;
    height: auto; /* Maintain aspect ratio */
    display: block;
    position: relative; /* Ensure proper alignment */
    top: 0; /* Align the image to the top */
}


.menu {
    background-color: white;
    overflow: hidden;
    height: 50px; 
    margin: 0; /* Remove any default margins */
    position: relative; /* Ensure it follows the flow of .header-image */
    top: 0; /* Reset any unintended offset */    
    box-sizing: border-box; 
    font-size: 1.125rem;

    width: 100%; /* Full width of the viewport */
    text-align: center; /* Center-align the text */
    display: flex;
    justify-content: center;
    align-items: center;
}


.menu ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex; /* Ensure the items align properly */
    align-items: center; /* Vertically align the items */    
}

.menu ul li {
    float: left;
    font-family: "Libre Franklin SemiBold", "Helvetica Neue", helvetica, arial, sans-serif;        
}

.menu ul li a:hover, .menu ul li a:focus {
    color: white; /* Farbe beim Hover */
    background-color: #666;
}


.menu ul li a {
    display: block;
    color: #333;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}

.menu .dynamic-box {
    width: 72px; /* Default minimum width */
    min-width: 72px; /* Ensures it doesn’t shrink below 72px */
    margin: 0 auto;
}


.content {
    background-color: white;
    box-sizing: border-box; 
    color: #333;
    font-family: "Libre Franklin Regular", "Helvetica Neue", helvetica, arial, sans-serif;    
    padding: 20px;
    font-size: 1.125rem;
    line-height: 1.5;
    position: relative;
    word-wrap: break-word;
    font-weight: 400;
    min-height: 30px; 
    -webkit-text-size-adjust: 100%;
}

.content p {
    margin: 0 0 1.5em;
    padding: 0;
}

.content h2 {
    margin: 0 0 1.5em;
    font-family: "Libre Franklin SemiBold", "Helvetica Neue", helvetica, arial, sans-serif;    
    padding: 0;
}


.content .dynamic-box {
    width: 72px; /* Default minimum width */
    min-width: 72px; /* Ensures it doesn’t shrink below 72px */
    margin: 0 auto;
}

@media (max-width: 674px) {
    .content .dynamic-box {
        width: calc(100vw - 30px); /* Page width minus 30px */
    }
    .menu .dynamic-box {
        width: calc(100vw - 30px); /* Page width minus 30px */
    }

}

@media (min-width: 674px) {
    .content .dynamic-box {
        width: 644px; /* Fixed width for wider screens */
    }
    .menu .dynamic-box {
        width: 644px; /* Fixed width for wider screens */
    }

}

*, *:before, *:after {
    -webkit-box-sizing: inherit;
    -moz-box-sizing: inherit;
    box-sizing: inherit;
}

/* Für den 'Sticky' Effekt des Menüs */
.menu {
    position: -webkit-sticky; /* Safari */
    position: sticky;
    top: 0;
    z-index: 100;
}

.stripe {
    height: 1px;
    background-color: #999;
    width: 100%; /* Streifen ist 80% breit */
    position: relative;
    z-index: 1;
}

.impressum-container {
    max-width: 800px;
    margin: auto;
    padding: 20px;
    background-color: #f7f7f7;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.impressum-container h2, .impressum-container h3 {
    color: #333;
}


.impressum-container p {
    color: #666;
    line-height: 1.6;
}

.impressum-link {
    color: #777777; /* Link-Farbe */
    text-decoration: none;
    font-weight: bold;
    margin-right: 10px; /* Abstand nach rechts */
}

.impressum-link:hover, .impressum-link:focus {
    text-decoration: underline;
    color: black; /* Farbe beim Hover */
}

.impressum-link:last-child {
    margin-right: 0; /* Kein Abstand für den letzten Link */
}

.artist-gallery {
    display: flex;
    flex-wrap: wrap; /* Automatische Zeilenumbrüche */
    justify-content: center; /* Zentriert die Galerie */
    gap: 20px; /* Abstand zwischen den Elementen */
    padding: 20px;
}

.artist-item {
    width: calc(33.333% - 20px); /* Drei pro Zeile mit Abstand */
    box-sizing: border-box;
    text-align: center;
    background-color: #fff;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Ensure table alignment is consistent */
.table th, .table td {
    vertical-align: middle; /* Aligns content vertically in the middle */
    padding: 8px 16px; /* Adjust padding for even spacing */
    text-align: inherit; /* Uses the text-align from .text-left or .text-right */
}

/* Force alignment for specific cells */
.text-left {
    text-align: left !important;
}

.text-right {
    text-align: right !important;
}

.btn-primary {
    background-color: #808080 !important; /* Coral background color */
    border: none;
    color: #ffffff !important;           /* White text color */
}

.btn-primary-margin {
    background-color: #808080 !important; /* Coral background color */
    border: none;
    color: #ffffff !important;           /* White text color */
    margin-bottom: 5px;
    margin-top: 5px;
    width: 100%;
}

/* Container styling */
.file-upload-container {
    position: relative;
    display: inline-block;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

/* Hide the native input */
.file-upload-container input[type="file"] {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

/* Custom button design */
.file-upload-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    background-color: #007bff;
    color: #fff;
    border: 2px solid #007bff;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.file-upload-btn:hover {
    background-color: #0056b3;
    color: #fff;
}

/* Selected filename styling */
.file-upload-filename {
    font-size: 14px;
    font-style: italic;
    color: #555;
    margin-top: 10px;
    word-break: break-word;
}
