body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #222222;
    color: #FFFFFF;
}

img {
    pointer-events: none;
}

h2 {
    display: flex;
    font-size: 22px;
    margin: 10px 2px;
    height: 50px;
    justify-content: center;
    align-items: center;
}

/* Links */
a:link, a:visited, a:hover, a:active { 
    text-decoration: none; 
    color: #FFFFFF;
}

/* Header */
header {
    text-align: center;
    padding: 20px;
    color: white;
}

Label {
	color: #FFFFFF;
	font-size: 20px;
	margin-top: 14px;
}

#logo {
    width: 200px;
    margin-bottom: 10px;
}

/* Spotlight */
#spotlight {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px 5px;
    background-color: #333333;
    margin: 0 auto;
}

/* Filter */
#filters {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 20px;
    background-color: #333333;
	flex-wrap: wrap;
}

#filters select, #filters input {
    padding: 10px;
    font-size: 18px;
	width: auto;
    margin: 5px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    border-radius: 4px;
}

/* Spotlight */
.spotlight-item {
    position: relative; /* Erforderlich für Overlay */
    width: 330px;
    text-align: center;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
	box-shadow: 0 6px 8px rgba(0, 0, 0, 0.4);
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 15px;
    overflow: hidden; /* Verhindert, dass das Overlay über die Grenzen hinausgeht */
}

.spotlight-item:hover {
    transform: scale(1.1);
}

.spotlight-item img {
    width: 100%;
    height: 150px;
    border-radius: 10px;
    object-fit: cover;
}

/* Beschreibung für Spotlight beim Hover */
.spotlight-item .description {
    position: absolute;
	font-size: 18px;
    top: 0;
    left: 0;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* Transparenter schwarzer Hintergrund */
    color: white;
    text-shadow: 1px 1px 4px black;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px;
    opacity: 0; /* Unsichtbar standardmäßig */
    transition: opacity 0.4s ease;
    z-index: 20;
}

.spotlight-item:hover .description {
    opacity: 1; /* Sichtbar beim Hover */
    z-index: 20;
}

/* Apps */
#apps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 50px;
    padding: 30px;
    margin: 0 auto;
}


.app {
    position: relative; /* Erforderlich für Overlay */
    width: 300px;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    text-align: center;
    margin: 0 auto;
}

.app:hover {
    transform: scale(1.1);
}

.app img {
    width: 100%;
    height: 100px;
    border-bottom: 1px solid #ddd;
    object-fit: cover;
}

/* Beschreibung für App beim Hover */
.app .description {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* Transparenter schwarzer Hintergrund */
    color: white;
    text-shadow: 1px 1px 4px black;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px;
    opacity: 0; /* Unsichtbar standardmäßig */
    transition: opacity 0.4s ease;
    z-index: 20;
}

.app:hover .description {
    opacity: 1; /* Sichtbar beim Hover */
    z-index: 20;
}

/* App-Titel und Attribute */
.app h3, .app p {
    margin: 10px;
}

.app p {
    color: #DDDDDD;
}



/* Footer */
footer {
    text-align: center;
    padding: 10px;
}

input[type=text], button{
    font-size: 18px;
    padding: 10px;
    margin: 5px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    border-radius: 4px;
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.app .badge, .spotlight-item .badge {
    position: absolute;
    bottom: 10px;
    left: 50%;
    width: 55%;
    transform: translateX(-50%); 
    background-color: rgba(0, 0, 0, 0.6);
    padding: 2px 2px;
    border-radius: 8px;
    font-size: 14px;
    z-index: 10;
    pointer-events: none;
}

.app, .spotlight-item {
    position: relative;
}

