html, body {
    overflow-x: hidden;
}

body {
	font-family: Arial, Helvetica, sans-serif;
	background-size: contain;
	color: whitesmoke;
	text-align: center;
	background-color: rgb(25, 25, 25);
	margin: 0;
}
h1 {
	font-size: 40px;
}

header {
	flex-wrap: wrap;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  padding: 0;
  margin: 0;
  line-height: 1;
	background-color: #ff2626;
}

.fixed-header {
  position: fixed;
  top: 0;      
  left: 0;
  width: 100%;
  z-index: 1000;
  border-bottom: 1px solid whitesmoke
}

main {
  margin-top: 60px;
}

#textanim {
    margin-bottom: 0px;
    line-height: 1.1;
    text-align: right;

    display: inline-block;
    opacity: 0;            
    transform: translateX(-100%);
}

.slide-in-text {
    animation: slideFromLeft 1s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes slideFromLeft {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.slide-in-image {
  margin-top: 50px;
  margin-bottom: 0px;
  height: 250px;
  display: inline-block;

  position: relative;
  opacity: 0;
  animation: slideFromRight 1s cubic-bezier(0.25, 1, 0.5, 1) forwards;
  animation-delay: 1s;
}

@keyframes slideFromRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

a:link, a:visited {
    color: #a6f2fc; 
}
.image-container {
    display: inline-block;
	padding: auto;
	margin-top: 5px;
}

.image-container img {
	max-width: 60px;
	max-height: 60px;
    width: auto;
    height: auto;
    transition: transform 0.3s ease;
}

.image-container img:hover {
    transform: scale(1.1);
}

.artikel-leiste {
  width: 100%;
  padding: 1rem;
}

.scroll-wrapper {
  display: flex;
  align-items: center;
  position: relative;
}

.artikel-container {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 1rem;
  padding: 1rem 0;
  scrollbar-width: none;
}

.artikel-container::-webkit-scrollbar {
  display: none;
}

.artikel-card {
    position: relative; 
    width: 200px;
    height: 150px;
    overflow: hidden;
    border-radius: 8px;
    flex: 0 0 auto;
}

.artikel-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.artikel-card .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
	  background-color: #ff262600;
    text-align: center;
}

.artikel-card a {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.artikel-card .image-container {
    width: 100%;
    height: 100%;
    display: block;
    padding: 0;
    margin: 0;
}

.settings-container {
    position: fixed;
    right: 10px;
}

.settings-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.settings-btn img {
    width: 60px;
    height: 60px;
}
.settings-menu {
    display: none;
    position: absolute;
    top: 70px;
    right: 0;
    background: #ff2626;
    border: 1px solid #000000;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    overflow: hidden;
    z-index: 9999;
    min-width: 180px;
}

.settings-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.settings-menu li {
    padding: 10px 20px;
    cursor: pointer;
    transition: background 0.2s;
}

.settings-menu li:hover {
    background: rgba(4,70,111,0.8);
}

.settings-menu.show {
    display: block;
}

.vacuum {
  position: relative;
  width: 95vw;
  max-width: 1915px;
  height: 40vw;
  max-height: 300px;
  border: 2px solid #00000000;
  overflow: hidden;
  list-style: none;
  padding: 0;
  margin: 0 auto;
}

.vacuum li {
  position: absolute;
  background: #ff2626;
  padding: 10px 15px;
  border-radius: 6px;
  user-select: none;
  top: 0;
  left: 0;
}

input, textarea, button {
    width: 100%;
    margin: 8px 0;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 1rem;
}

button {
    background: #ff2626;
    color: white;
    cursor: pointer;
    border: none;
}

button:hover { background: #7a1111; }
.card {
    color: #333;
    background: whitesmoke;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    font-size: 1.3rem;
    cursor: pointer;
    user-select: none;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ff2626;
}

#card-count { margin-top: 10px; font-size: 0.9rem; color: #555; }