* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Arial, sans-serif;
}

body {
  background: linear-gradient(135deg, #74ebd5, #acb6e5);
  padding: 20px;
}

/* Karta */
.wrap {
  max-width: 900px;
  margin: auto;
  background: #ffffff;
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  animation: fadeIn 1s ease;
}

/* Nadpis */
h1 {
  text-align: center;
  margin-bottom: 20px;
  color: #2c3e50;
  animation: slideDown 0.8s ease;
}

/* Layout */
.row {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 20px;
}

/* Obrázek */
img {
  width: 300px;
  border-radius: 12px;
  object-fit: cover;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

img:hover {
  transform: scale(1.05) rotate(1deg);
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

/* Tabulka */
table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 10px;
}

th {
  text-align: left;
  padding: 10px;
  background: linear-gradient(135deg, #2ecc71, #27ae60);
  color: white;
}

td {
  padding: 10px;
  background-color: #ecf0f1;
  transition: background 0.3s;
}

tr:hover td {
  background-color: #dff9fb;
}

/* Sekce */
section {
  margin-top: 10px;
  animation: fadeIn 1.2s ease;
}

h2 {
  margin-bottom: 10px;
  color: #27ae60;
}

p {
  line-height: 1.6;
  color: #333;
}

/* Animace */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responzivita */
@media (max-width: 700px) {
  .row {
    flex-direction: column;
    align-items: center;
  }

  img {
    width: 100%;
    max-width: 400px;
  }
}