.navbar-custom { background-color: #900000; padding-top: 1rem; padding-bottom: 1rem; } .navbar-brand span { font-size: 1.7rem; /* Adjust the size as needed */ } .navbar-custom .navbar-brand, .navbar-custom .nav-link { color: #ffffff; } .navbar-custom .nav-link:hover { color: #000000; } .navbar-custom .dropdown-menu { background-color: #900000; background-image: url('logo2.jpeg'); background-size: 9em; /* oder eine feste Größe */ } .navbar-custom { color: #900000; } .navbar-custom .dropdown-item:hover { background-color: #ffffff00; color: #000000; } a.dropdown-item { color: #fff; } .navbar-custom { background-image: url('logo2.jpeg'); background-size: 7em; background-repeat: repeat; } .navbar-brand { display: flex; align-items: center; justify-content: center; text-align: center; overflow: visible; white-space: normal; width: auto; } /* logo alig*/ .navbar-brand img { height: 3em; width: auto; margin-right: 10px; vertical-align: middle; } /*text aligns with the logo */ .navbar-brand span { font-size: 1.2rem; line-height: 1.2em; display: flex; align-items: center; } /* Adjust layout on small screens */ @media (max-width: 370px) { .navbar-brand { flex-direction: column; align-items: center; text-align: center; } .navbar-brand img { margin-right: 0; margin-bottom: 5px; } .navbar-brand span { text-align: center; } } @media (min-width: 520px) { .navbar-brand span { font-size: 2rem; /* Größere Schriftgröße */ } }