* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background: #f6f7fb;
  color: #222;
  line-height: 1.7;
}

.container {
  width: 90%;
  max-width: 900px;
  margin: auto;
}

.header {
  background: linear-gradient(135deg, #6c5ce7, #00b894);
  color: white;
  padding: 70px 20px;
  text-align: center;
}

.header h1 {
  font-size: 2.2rem;
  margin-bottom: 10px;
}
.income {
  margin-top: 25px;
}
.header p {
  opacity: 0.9;
}

.post {
  margin: 40px 0;
}

.item {
  margin-bottom: 60px;

}

.item h2 {
  font-size: 1.5rem;
  color: #6c5ce7;
  margin-bottom: 10px;
}

.item img {
  width: 60%;
  display: block;
 margin-top: 25px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

/* keď je mobil (malý displej) */
@media (max-width: 768px) {
  .item img {
    width: 100%;
  }
}

.item p {
  font-size: 1rem;
  color: #444;
}

.header {
  position: relative;
}

.top-bar {
  display: block;
  justify-content: space-between;
  align-items: center;
}
/* menu vpravo hore */
.nav {
  position: absolute;
  top: 15px;
  right: 20px;

  display: flex;
  gap: 10px;
}

.nav a {
  background: #115b68;
  color: white;
  padding: 8px 14px;
  text-decoration: none;
  border-radius: 6px;
  font-size: 18px;
}

.nav a:hover {
  background: #333;
}


.nav a:hover {
  background: #333;
}
@media (max-width: 768px) {
  .nav {
    position: fixed !important;
    bottom: 0;
    left: 0;
    right: 0;

    top: auto !important;

    display: flex;
    justify-content: space-around;
    align-items: center;

    background: #115b68;
    padding: 10px 0;
    z-index: 9999;
  }

  .nav a {
    background: none;
    padding: 10px;
    font-size: 14px;
  }

  .nav a:hover {
    background: rgba(255, 255, 255, 0.2);
  }
}
