* {
	font-family: Calibri;
}

html, body {
  height: 100%;
  margin: 0;
}

body {
	background-color: #e0e8ff; 
	display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
  padding-top: 20px;
}

main h1 {
	margin: auto;
  	text-align: center;
  	font-family: Calibri Light;
}

main {
  width: 100%;
	margin: auto;
	background-color: #fff;
}

section {
	padding:20px;
}

section img {
	width:200px;
  min-width: 200px;
}

.title-section h2 {
	margin: 0px;
}

.letterbox {
	box-shadow: 0 5px 10px rgba(0,0,0,0.1);
  	padding: 10px;
  	width: 80%;
  	margin: auto;
    margin-top: 20px;
    border-radius: 8px;
    background-color: #eaf6ff;
}

.return-link {
	text-align: center;
}

/* Raster-Container für Medienvorschau */
#media-grid {
  display: grid;
  grid-template-columns: repeat(4, 200px);
  gap: 10px;
  max-height: 550px;
  overflow-y: auto;
  padding: 5px;
  border: 1px solid #ccc;
}
/* Einzelner Medienblock */
.media-block {
  width: 200px;
}
/* Vorschau-Bereich */
.media-preview {
  width: 200px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid #ddd;
  background: #f9f9f9;
}
/* Medien-Elemente sollen den gesamten verfügbaren Platz einnehmen */
.media-preview img,
.media-preview video,
.media-preview audio {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Download- und Löschen-Link unter der Vorschau */
.media-download {
  text-align: center;
  font-size: 0.9em;
  margin-top: 5px;
}

.profile {
  display:flex;
}

.profile img {
  border-radius: 100px; 
  width: 200px;
  max-width:200px;
  height: 200px;
  margin: auto 10px;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.result-item {
  text-align: center;
}

.result-item img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.result-item div {
  margin-top: 8px;
  font-weight: bold;
}

footer {
    width: 100%;
    background-color: #fff;
}

/* Oben: Logo-Bereich */
.footer-logo-container {
    background: none;
    padding: 20px 0 10px 0;
    text-align: center;
}

.footer-sponsor-label {
    color: #000;
    font-size: 14px;
    margin-bottom: 8px;
}

.footer-logo img {
    height: 120px;
    width: 100%;
    object-fit: contain;
}

/* Unten: Copyright-Bereich mit Hintergrundverlauf */
.footer-copyright {
    background: linear-gradient(-180deg, rgba(20,44,100,1) 0%, rgb(96, 78, 223) 100%);
    color: #fff;
    text-align: center;
    font-size: 14px;
    padding: 10px 40px;
}

.landing-intro {
  padding: 40px 20px;
  text-align: center;
}

.landing-intro-sub {
  padding-bottom: 10px;
}

.landing-intro h1 {
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.landing-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 40px;
  margin-top: 30px;
  margin-bottom: 40px;
}

.landing-text {
  max-width: 600px;
  text-align: left;
  font-size: 1.1rem;
  line-height: 1.7;
}

.landing-text p {
  margin-bottom: 1.2em;
}

.landing-image img {
  max-width: 400px;
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.landing-highlight {
  background: #eaf6ff;
  padding: 30px;
  margin: 20px auto;
  border-radius: 12px;
  max-width: 600px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.landing-highlight h2 {
  margin-bottom: 12px;
  font-size: 1.5rem;
}

.center-link {
  margin-top: 30px;
  font-size: 1.2rem;
}

.button {
  display: inline-block;
  background: linear-gradient(90deg, rgba(20,44,100,1) 0%, rgb(96, 78, 223) 100%);
  color: white;
  text-decoration: none;
  padding: 12px 24px;
  font-size: 1rem;
  border-radius: 8px;
  transition: opacity 0.3s ease;
}

.button:hover {
  opacity: 0.9;
}

.impressum-block {
  text-align: center;
}