/* Alapértelmezett stílusok */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
  }
  
  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
  }
  
  /* Fejléc stílusa */
  header {
    background-color: #333;
    color: #fff;
    padding: 20px 0;
    text-align: center;
  }
  
  header h1 {
    font-size: 36px;
  }
  
  /* Navigációs menü stílusa */
  nav {
    background-color: #333;
  }
  
  nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
  }
  
  nav li {
    margin: 0 20px;
  }
  
  nav a {
    text-decoration: none;
    color: #fff;
    font-weight: 600;
  }
  
  /* Cím stílusa */
  h2 {
    font-size: 24px;
    margin-top: 20px;
    color: #333;
  }
  
  /* Szövegrész stílusa */
  p {
    font-size: 16px;
    line-height: 1.5;
    color: #555;
  }
  
  /* Képek stílusa */
  img {
    max-width: 100%;
    height: auto;
    margin: 20px 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
  }
  
  /* Gombok stílusa */
  .button {
    display: inline-block;
    background-color: #007BFF;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s;
  }
  
  .button:hover {
    background-color: #0056b3;
  }
  
  /* Lábléc stílusa */
  footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 20px 0;
  }
  .sor {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap; /* Ha az ablak szélessége kisebb, mint a képek szélessége, akkor legyen több sorban. */
}

.sor img {
    width: 260px;
    height: 260px;
    margin-bottom: 10px;
    cursor: pointer;
}

/* Overlay stílusok */
.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.overlay img {
    max-width: 80%;
    max-height: 80%;
}