/* Theme Name: Online Foto Archiv
Author: dmms.de */
@font-face {
    font-family: 'OpenSans-Bold';
    font-style: regular;
    font-display: swap;
    font-weight: 700;
    src: url('fonts/OpenSans/700.ttf') format('truetype');
}

@font-face {
    font-family: 'Open Sans Regular';
    font-style: normal;
    font-weight: normal;
    src: local('Open Sans Regular'), url('fonts/OpenSans/OpenSans-Regular.woff') format('woff');
}

@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: normal;
    src: local('Open Sans'), url('fonts/OpenSans/OpenSans-Regular.woff') format('woff');
}

body {
    font-family: Open Sans Regular, Roboto, Helvetica, Arial, sans-serif;
    color: #1a1a1a;
    -webkit: antialiased;

    /* neu */ 

}

/* sidebar filter */
#category-list .filter-link.active {
    color: #000 !important;
    font-weight: 800;
    position: relative;
}

#category-list .filter-link.active:after {
    content: '';
    position: absolute;
    left: -12px;
    top: 4px;
    height: 18px;
    width: 3px;
    background: #000;
}

/* Buttons unter dem Bild */
.image-wrapper + .text-center {
    margin-top: 1.5rem;
}

/* Etwas mehr Abstand bei sehr schmalen Hochkant-Bildern */
.image-wrapper.portrait + .text-center {
    margin-top: 2rem;
}

.nav30 { }

.nav40 { }


/* === Dein gewünschtes Design (weiß + schwarzer Rand + keine Rundungen + kein Schatten) === */
.btn.dropdown-toggle {
    background-color: white;
    border: 0px solid black;
    box-shadow: none;
    border-radius: 0;
    padding: 8px 12px;
    font-size: 16px;
    color: black;
}

/* Der aufgeklappte Teil */
.dropdown-menu {
    background-color: white !important;
    border: 1px solid black !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    margin-top: 2px;

    /* kleiner Abstand zum Button */
}

/* Einträge in der Liste */
.dropdown-item {
    color: black;
}

.fullcontentcenter2 {
  width: 100%;
  max-width: 1200px;           /* du kannst den Wert nach Bedarf anpassen */
  margin: 0 auto;              /* zentriert den Container horizontal */
  text-align: left;            /* Text linksbündig */
  padding-left: 0px;          /* Padding nur links */
  margin-top: 40px;
  box-sizing: border-box;      /* wichtig für korrekte Breitenberechnung */
  height: auto;
  max-width: 1300px;
  min-height: 600px;
}

@media screen and (max-width: 1400px) {
  .fullcontentcenter2 {
            /* Text linksbündig */
  padding-left: 20px;     
  padding-right: 20px;     /* Padding nur links */

}
}

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: #f8f9fa;

    /* helles Grau beim Hover (kannst du auch auf #fff ändern) */
    color: black;
}

a {
    color: black;
    text-decoration: none;
}

a:hover {
    color: #6f6d6d;
}

.fright {
    position: relative;
    top: 0;
    left: 0;
    float: left;
}

.searchit {
    display: none;
    width: 100%;
    height: 70px;
}

.searchitactive {
    display: block;
}

.nav-link1 {
    color: #6f6d6d;
    text-decoration: none;
}

.nav-link1:hover {
    color: #000;
    text-decoration: none;
}

.nav-link {
    color: #727070;
    font-weight: 700;
}

.nav-link:hover {
    color: #000;
    border-bottom: 2px solid #333;
    padding-bottom: 2px;
}

.nav-link:visited {
    color: #000;
}

.nav-link.active {
    color: #000 !important;
    font-weight: 700;
    border-bottom: 2px solid #333;
    padding-bottom: 2px;
}

.grayscale {
    filter: grayscale(100%);
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
    margin-bottom: 12px;
}

.photo-item p {
    font-size: 0.7rem;
    line-height: 1.4;
}

.btn-outline-dark {
    border-radius: 0;
    border-color: #ccc;
    color: #333;
}

.btn-outline-dark:hover {
    background-color: transparent;
    color: #000;
    border-color: #000;
}

.display-4 {
    font-size: 3.5rem;
    letter-spacing: -1px;
}

/* Small zoom effect for gallery images */
.photo-item {
    overflow: hidden;
    border-radius: 2px;
}

.photo-item img {
    transition: transform 0.35s ease;
    transform-origin: center center;
    will-change: transform;
}

.photo-item:hover img,
.photo-item:focus-within img {
    transform: scale(1.06);
}

.main {
  flex: 1 0 auto; /* Weist den Bereich an, sich zu strecken */
}

/* Footer immer unten */
footer {
    
    position: relative;
  bottom: 0;
  width: 100%;
}

