
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 100%;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    margin: 0;
    padding: 0;
    background-image: url("media/237-200x300.jpg");
}

small, .small-text {
    font-family: sans-serif;
    font-size: 0.875rem;
}

header {
    background-color: #343a40;
    padding: 1rem 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

#fomenu {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 15px;
}

#fomenu a {
    color: #fcf9f9;
    text-decoration: none;
    padding: 0.5rem 1rem;
    transition: color 0.3s;
}

#fomenu a:hover {
    color: #b5b6b7;
    text-decoration: underline;
}

#fomenu img {
    max-height: 50px;
    width: auto;
}


main {
    padding: 2rem 15px;
    max-width: 1200px;
    margin: 0 auto;
}

section {
    background-color: white;
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

h1, h2, h3 {
    color: #343a40;
    margin-top: 0;
}

h2 {
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

table caption {
    caption-side: top;
    text-align: center;
    font-weight: bold;
    padding-bottom: 0.5em;
}


form {
    max-width: 800px;
    margin: 0 auto;
}

fieldset {
    border: 1px solid #dee2e6;
    border-radius: 5px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

legend {
    padding: 0 0.5rem;
    font-weight: bold;
    color: #495057;
}

label {
    display:block;
    margin: 1rem 0 0.5rem;
    font-weight: 500;
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 1rem;
}

input[type="radio"],
input[type="checkbox"] {
    margin-right: 0.5rem;
}

input[type="submit"],
input[type="reset"] {
    background-color: #343a40;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    margin-right: 1rem;
    transition: background-color 0.3s;
}

input[type="submit"]:hover,
input[type="reset"]:hover {
    background-color: #23272b;
}


section img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

th, td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid #dee2e6;
}

th {
    background-color: #f8f9fa;
    font-weight: 600;
}

address {
    background-color: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

address #nyitvatartas{

    font-size: 1.5rem;

}

address div {
    margin-bottom: 2rem;
}

iframe {
    width: 100%;
    height: 400px;
    border: none;
    border-radius: 5px;
}

aside {
    background-color: #f8f9fa;
    border-left: 4px solid #343a40;
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 5px;
}

aside h3 {
    color: #343a40;
    margin-top: 0;
}

aside a {
    color: #007bff;
    text-decoration: none;
    text-decoration: underline;
}

footer {
    background-color: #343a40;
    color: white;
    text-align: center;
    padding: 1rem 0;
    margin-top: 2rem;
}

footer p {
    margin: 0;
}


@media (max-width: 768px) {
    #fomenu {
        flex-direction: column;
        align-items: flex-start;
    }
    
    #fomenu a {
        padding: 0.5rem 0;
        display: block;
        width: 100%;
    }
    
    section, address {
        padding: 1rem;
    }
    
    iframe {
        height: 300px;
    }
}