.container {
  max-width: 800px;
}

:root {
  --primary-color: #3498db;
  --secondary-color: #2ecc71;
  --background-color: #f0f3f5;
  --text-color: #34495e;
  --border-radius: 12px;
}

.centered-content-ai {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 50vh;
  padding: 2rem;
  box-sizing: border-box;
}

.h1frontpage {
  font-size: 2.5rem;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 2rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
  margin-top: 20px;
}

.drop-zone {
  border: 3px dashed var(--primary-color);
  border-radius: var(--border-radius);
  padding: 2rem;
  background-color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  text-align: center;
  width: 100%;
  max-width: 600px;
  margin: 0 auto 2rem;
  box-sizing: border-box;
  height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.drop-zone:hover,
.drop-zone.hover {
  background-color: rgba(52, 152, 219, 0.1);
  transform: scale(1.02);
}

.drop-zone p {
  color: var(--text-color);
  font-size: 1.2rem;
  margin: 0;
}

.loading {
  display: none;
  text-align: center;
  margin-top: 2rem;
}

.spinner {
  border: 4px solid rgba(52, 152, 219, 0.3);
  border-top: 4px solid var(--primary-color);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
  display: inline-block;
  margin-bottom: 1rem;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.results {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 2rem;
  margin-top: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  max-width: 800px;
  width: 100%;
}

#analysis,
#exifData {
  margin-bottom: 2rem;
}

#analysis h2,
#exifData h2 {
  color: var(--primary-color);
  border-bottom: 2px solid var(--secondary-color);
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}

#analysis ul,
#exifData ul {
  list-style-type: none;
  padding: 0;
}

#analysis li,
#exifData li {
  margin-bottom: 0.5rem;
  padding: 0.5rem;
  background-color: rgba(52, 152, 219, 0.1);
  border-radius: var(--border-radius);
  transition: background-color 0.3s ease;
}

#analysis li:hover,
#exifData li:hover {
  background-color: rgba(52, 152, 219, 0.2);
}

@media (max-width: 768px) {
  .centered-content-ai {
    padding: 1rem;
  }

  .h1frontpage {
    font-size: 2rem;
  }

  .drop-zone {
    padding: 1.5rem;
    height: 200px;
  }

  .results {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .h1frontpage {
    font-size: 1.8rem;
  }

  .drop-zone {
    padding: 1rem;
    height: 180px;
  }

  .drop-zone p {
    font-size: 1rem;
  }

  .results {
    padding: 1rem;
  }
}