body {
    font-family: Arial, sans-serif;
    background: linear-gradient(0deg, rgba(11,11,11,1) 3%, rgb(50, 47, 47) 50%, rgba(9,9,9,1) 98%);
    color: white;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}

h1, h2 {
    text-align: center;
    line-height: 0%;
    border: .25em solid rgb(187, 37, 37);
    padding: 1em 3em;
    color: white;
    font-size: 22px;
    font-weight: bold;
    border-radius: 1em;
    outline: none;
    box-shadow: 0 0 1em .25em rgba(21, 21, 21, 0.09), 0 0 4em 1em rgba(96, 89, 89, 0.78), inset 0 0 .75em .25em rgba(9, 8, 8, 0.15);
    background: linear-gradient(0deg, rgba(11,11,11,1) 3%, rgb(50, 47, 47) 50%, rgba(9,9,9,1) 98%);
}

.container {
    max-width: 900px;
    width: 100%;
    padding: 20px;
    background-color: #222;
    border-radius: 10px;
    border: 2px solid #555;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    text-align: center;
    margin: 20px auto;
}

header {
    background-color: #444;
    padding: 15px;
    font-size: 24px;
    font-weight: bold;
    border-bottom: 2px solid red;
    color: white;
    border-radius: 5px 5px 0 0;
}

form {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin-bottom: 20px;
	background-color: black;
	padding: 20px;
	border-radius: 10px;
	max-width: 400px;
	margin-left: auto;
	margin-right: auto;
	box-shadow: 0 0 10px #000;
	margin-top: 18px;
}

input[type="file"], button {
    width: 100%;
    max-width: 400px;
    padding: 10px;
    margin: 5px 0;
    border: none;
    border-radius: 5px;
    font-size: 16px;
}

input[type="file"] {
    background-color: #444;
    color: white;
    border: 1px solid #555;
}

button {
    background-color: red;
    color: white;
    cursor: pointer;
    border: 1px solid darkred;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: darkred;
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
}

.image-box {
    text-align: center;
    background-color: #111;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 0 5px #000;
}

.thumb {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border: 2px solid #555;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.thumb:hover {
    transform: scale(1.1);
    border-color: red;
}

.like-button {
    background-color: #880000;
    color: white;
    border: 1px solid #ff4444;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    font-size: 14px;
    margin-top: 5px;
}

.like-button:hover {
    background-color: red;
}

#popup {
    display: none;
    position: fixed;
    z-index: 999;
    top: 0; left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0,0,0,0.8);
    justify-content: center;
    align-items: center;
}

#popup-img {
    max-width: 90%;
    max-height: 90%;
    border: 5px solid red;
    border-radius: 10px;
}

.close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    cursor: pointer;
}

/* Erfolgs- & Bewertungsmeldungen */
.message {
    padding: 12px 25px;
    margin: 20px auto;
    font-size: 16px;
    border-radius: 8px;
    font-weight: bold;
    max-width: 500px;
    text-align: center;
    transition: opacity 0.5s ease-in-out;
    box-shadow: 0 0 10px rgba(0,0,0,0.8);
}

.success {
    background-color: #194d19;
    color: #a4ffb7;
    border: 1px solid #00ff55;
}

.error {
    background-color: #5c0000;
    color: #ffaaaa;
    border: 1px solid red;
}
.info {
	font-size: 14px;
	color: #dfdbdb;
	margin-top: 5px;
}