body {
  font-family: Arial, sans-serif;
  max-width: 1000px;
  margin: auto;
  padding: 20px;
  background: url('képek/bevzeto.jpg') no-repeat center center fixed;
  background-size: cover;
  font-size: 1.2em;  
  font-weight: bold; 
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-color: rgba(255, 255, 255, 0.1); 
  z-index: -1;
}

nav a {
  color: white;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 5px 10px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 1.2em;  
  font-weight: bold; 
  margin-right: 5px;
  border: 2px solid #ffcc00; 
  transition: all 0.2s ease; 
}

nav a:hover {
  background-color: rgba(0, 0, 0, 0.7);
  color: #ffcc00;
  border-color: #ffcc00; 
}

nav a.active {
  background-color: #ffcc00;
  color: black;
  font-weight: bold;
  border-color: #ffcc00; 
}

h1, h2, h3 {
  background-color: rgba(255, 255, 255, 0.9);
  color: #001f3f; 
  padding: 10px 20px;
  border-radius: 10px;
  display: inline-block;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  font-weight: bold; 
  font-size: 2em;  
}

h3 {
  margin-bottom: 0;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 3px solid #ffcc00;
  padding: 20px 0;
  margin-bottom: 5px;
}

article {
  margin-bottom: 60px;
  padding: 20px;
  border-bottom: 2px solid #ddd;
  background-color: #ffffff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  border-radius: 8px;
}

.row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  margin-top: 20px;
}

.row.reverse {
  flex-direction: row-reverse;
}

.row img {
  max-width: 400px;
  height: auto;
  border-radius: 8px;
  flex-shrink: 0;
}

.row .text {
  flex: 1;
  max-width: 600px;
}

.row .text h3 {
  margin-top: 0;
}

.row .text p,
.row p {
  font-size: 1.3em; 
  line-height: 1.8; 
  margin-top: 10px;
  font-weight: bold; 
}

article.mars {
  text-align: center;
}

article.mars h3 {
  margin-bottom: 10px;
}

article.mars p {
  font-size: 1.3em; 
  line-height: 1.8; 
  margin: 20px auto;
  max-width: 700px;
  font-weight: bold; 
}

article.mars .row {
  justify-content: center;
  align-items: center;
}

article.mars .row img {
  margin-right: 30px;
}

footer {
  border-top: 3px solid #ffcc00; 
  padding: 15px 30px;
  margin-top: 40px;
  font-size: 1.2em; 
  font-weight: bold; 
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.footer-nav a {
  color: #001f3f;
  text-decoration: none;
  margin-right: 10px;
  border: 2px solid #ffcc00; 
  transition: all 0.2s ease; 
}

.footer-nav a {
  margin-left: 10px;
  color: white;
}

.footer-links a {
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  padding: 6px 12px;
  margin-right: 8px;
  text-decoration: underline;
  border-radius: 6px;
  font-weight: bold;
  display: inline-block;
  transition: all 0.3s ease; 
}

.footer-links a:hover {
  text-decoration: underline;
  background-color: rgba(0, 0, 0, 0.7);
}
