body {
    background-image: url('media/hatterkep.jpg'); 
    background-size: cover;
    background-position: center;
    margin: 0;
    font-family: Arial, sans-serif;
}

.ugras {
    position: absolute;
    left: -9999px;
}

.navbar {
    background-color: rgba(255, 255, 255, 1); 
    padding: 10px 20px;
    border-radius: 5px; 
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); 
    text-align: right; 
}

.navbar ul {
    list-style-type: none; 
    margin: 0; 
    padding: 0; 
    text-align: left;
}

.navbar li {
    display: inline; 
    margin: 0 15px; 
}

.navbar a {
    text-decoration: none; 
    color: #2c3e50; 
}

.navbar a:visited {
    color: #2c3e50;
}

.navbar a:hover {
    color: #3498db;
    text-decoration: none;
}

.navbar p {
    display: inline;
    vertical-align: middle;
}


h1 {
    font-size: 2.5em;
    color: #18222c; /* h1 Sötét*/
    font-family: 'Georgia', serif; 
    margin-top: 0.5em;
}


h2 {
    font-size: 2em;
    color: #1c2732; /* h2 kicsit sötétebb */
    font-family: 'Arial', sans-serif; 
}

p {
    font-size: 1.3em;
    color: #080808; /* szürke */
    text-align: justify;
}


img,
video {
    display: block;
    margin: auto;
    width: auto;
    max-width: 75%;
    height: auto;

    border: 1px solid #ddd; 
    border-radius: 4px;  
    padding: 5px; 
  }

img:hover,
video:hover {
    box-shadow: 0 0 2px 1px rgba(0, 140, 186, 0.5);
  }

table {
    border-collapse: collapse;
    width: 100%; 
    margin-right: 1em;
    margin-bottom: 1em;
}

table th, 
table td {
    border: 1px solid #ccc; 
    padding: 12px; 
    text-align: left; 
}

table th {
    background-color: #f2f2f2; 
    font-weight: bold; 
}

table tr:nth-child(even) {
    background-color: #f9f9f9; 
}

table tr:hover,
table th:hover {
    background-color: #e2e2e2;
}

figcaption {
    text-align: center;
    font-size: 1em;
    font-family: Arial, sans-serif;
}

a {
    color: blue;
}

a:visited {
    color: rgb(151, 91, 207); 
}

.container {
    background-color: rgba(255, 255, 255, 0.9); 
    padding: 20px;
    margin: 15px auto;
    width: 80%;
    border-radius: 8px; 
}

footer {
    font-size: 1em;
}

footer p {
    display: inline;
}

footer img {
    margin: 0;
}