
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #111;
  background-image: url('background.jpeg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: white;
}

.menu-logo {
  height: 40px;
  width: auto;
}

nav a {
  color: red;
  text-decoration: none;
  margin: 0 15px;
  font-weight: bold;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

img.placeholder {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 20px;
}

.row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.col {
  flex: 1;
  min-width: 300px;
}

h1, h2{
  text-align: center;
}

h3{
  text-align: center;
  color: rgb(238, 255, 0);
  font-size: 500%;
  font-weight: bold;
}

.description {
  background-color: hsl(0, 100%, 25%);
  padding: 15px;
  border-radius: 5px;
  margin-top: 10px;
}

.sf25-video {
  display: block;
  max-width: 100%;
  margin: 20px auto;
  border: 2px solid #ccc;
  border-radius: 8px;
}

nav {
  background-color: black;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 15px;
}

.nav-center {
  flex-grow: 1;
  text-align: center;
}

.menu-title {
  color: rgb(238, 255, 0);
  font-weight: bold;
  font-size: 1.2rem;
}

.col.two-thirds {
  flex: 2;
}
.col.one-third {
  flex: 1;
}
.portrait-wrapper {
  height: 100%;
  display: flex;
  align-items: stretch;
}

.portrait-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
}
.wide-image img {
  width: 100%;
  margin: 20px 0;
  border-radius: 6px;
}

.champ-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  background-color: #fff;
  color: #000;
}
.champ-table th {
  background-color: #900;
  color: #fff;
  padding: 10px;
  text-align: left;
}
.champ-table td {
  padding: 8px 10px;
  border-bottom: 1px solid #ccc;
}
.champ-table tr:nth-child(even) {
  background-color: #f2f2f2;
}
.thumbnail {
  border: 3px solid #fff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.6);
  transition: transform 0.2s ease;
}

.thumbnail:hover {
  transform: scale(1.02);
}
details {
  margin-top: 30px;
  background-color: #222;
  padding: 10px;
  border-radius: 6px;
  color: white;
}

details summary {
  cursor: pointer;
  font-size: 1.2rem;
  color: #f0c000;
}

/* === Mobil nézet: max. 768px === */
@media (max-width: 768px) {
  nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-left {
    flex-wrap: wrap;
    gap: 10px;
  }

  .container {
    padding: 10px;
  }

  .row {
    flex-direction: column;
  }

  .menu-title {
    text-align: left;
    margin-top: 10px;
  }

  .sf25-video {
    width: 100%;
    height: auto;
  }

  h1, h2, h3 {
    font-size: 1.5rem;
    text-align: center;
  }

  h3 {
    font-size: 3rem;
  }

  .menu-logo {
    height: 30px;
  }

  .description {
    font-size: 0.95rem;
  }
}

/* === Tablet nézet: 769px–1024px === */
@media (min-width: 769px) and (max-width: 1024px) {
  .container {
    padding: 15px;
  }

  .row {
    gap: 15px;
  }

  h1, h2, h3 {
    text-align: center;
  }

  .menu-logo {
    height: 35px;
  }
}

.external-links {
  margin-top: 40px;
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.05);
  border-left: 4px solid red;
  border-radius: 5px;
}

.external-links a {
  color: #ffcc00;
  text-decoration: underline;
}

.external-links a:visited {
  color: #999;
}

a:visited {
  color: darkred;
}
a:hover {
  text-decoration: underline;
}

@media print {
  nav, video, .thumbnail, .menu-logo {
    display: none;
  }
  body {
    background: white;
    color: black;
  }
}

.theme-toggle {
  position: fixed;
  top: 10px;
  right: 10px;
  background-color: #ffcc00;
  color: black;
  border: none;
  padding: 8px 12px;
  font-weight: bold;
  cursor: pointer;
  z-index: 1000;
}

body.light-mode {
  background-color: white;
  color: black;
  background-image: none;
}

body.light-mode nav {
  background-color: #eee;
}

body.light-mode .description {
  background-color: #f0f0f0;
  color: #000;
}

body.light-mode .champ-table {
  background-color: #fff;
  color: #000;
}

body.light-mode a {
  color: #003366;
}
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background-color: #000;
  color: #fff;
  padding: 8px 12px;
  z-index: 1000;
  text-decoration: none;
}

.skip-link:focus {
  top: 10px;
}
