
.table-container {
    max-height: 200px; /* Állítsd be a kívánt magasságot */
    overflow-y: scroll;
  }

/* Table and button styling */
.styled-table  {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    font-size: 0.9em;
    font-family: sans-serif;
    /*min-width: 400px;*/
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
}

.styled-table tr {
    text-align: left;
}


.styled-table th,
.styled-table td {
    padding: 12px 15px;
}

.styled-table tbody tr {
    border-bottom: 1px solid #dddddd;
}

.styled-table tbody tr.active-row {
    font-weight: bold;
    color: #009879;
}

.button {
    background-color: #6ACF65;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-align: center;
}

#table-pagination {
    text-align: center;
    margin-top: 20px;
}

.pagination-button {
    padding: 5px 10px;
    margin: 0 5px;
    border: 1px solid #ddd;
    background-color: #f8f8f8;
    cursor: pointer;
}

.pagination-button:hover {
    background-color: #e8e8e8;
}

.pagination-button.active {
    background-color: #c8c8c8;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Define the body style */
html, body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    height: 100%;
    margin: 0;
}

/* Style for the header */
header {
    color: #fff;
    padding: 1rem 0;
    text-align: center;
    height: 100px;
    background-size: auto; /* A kép méretének megtartása */
    background-repeat: no-repeat; /* A kép nem ismétlődik */
    background-position: center; 
    background-image: url('imgs/head2.jpg');
}

.header-wraper{
    display: flex; flex-direction: row; justify-content: space-between; align-items: center; padding: 0 20rem;
}

/* Navigation style */
nav {
    display: flex;
    justify-content: center;
    padding: 1rem 0;
}


nav a:hover {
    background: #367c39; /* A darker shade of green for hover effect */
}

/* Main content style */
main {
    padding-left: 20rem;
    padding-right: 20rem;
    flex: 1;
}

/* Footer style */

.footer {
    display: flex;
    justify-content: space-between;
    padding: 20px;
    background-color: #333;
    color: #fff;
    font-size: 14px;
    padding-left: 15rem;
    padding-right: 15rem;
    background-image: url('imgs/head2.jpg');
}

.footer > div {
    flex: 1; /* Mindhárom oszlopnak egyenlő szélességet ad */
    padding: 0 10px; /* Kis térköz az oszlopok között */
}

/* Szöveg stílusok */
.footer div:first-child {
    text-align: left; /* Balra igazítás */
}

.footer div:nth-child(2) {
    text-align: center; /* Középre igazítás */
}

.footer div:last-child {
    text-align: right; /* Jobbra igazítás */
}

/* Reszponzív stílusok kis képernyőkre */
@media (max-width: 600px) {
    .footer {
        flex-direction: column;
        text-align: center;
    }
    .footer > div {
        margin-bottom: 10px;
    }
    .footer > div:last-child {
        margin-bottom: 0;
    }
}

.content-wrap {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
       

.main-content2 {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
    gap: 1rem; /* 2px térköz az elemek között */
    padding-bottom: 1rem
  }

.main-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-right: 20rem;
    margin-left: 20rem;
    margin-bottom: 2rem;
}

/* Card-like container style */
.container {
    background: #f8f9fa; /* Light grey background for the card */
    border: 1px solid #e3e6ea; /* Light border for the card */
    border-radius: 0.25rem; /* Rounded corners for the card */
    padding: 1rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075); /* Subtle shadow for depth */
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out; /* Smooth transition for hover effect */
}

.container_menu {
    background: #f8f9fa; /* Light grey background for the card */
    border: 1px solid #e3e6ea; /* Light border for the card */
    border-radius: 1rem; /* Rounded corners for the card */
    padding: 1rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075); /* Subtle shadow for depth */
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out; /* Smooth transition for hover effect */
}


.container:hover {
    transform: translateY(-5px); /* Slight raise effect on hover */
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15); /* Increased shadow on hover */
}

/* Style for the card title */
.container h3 {
    color: #333; /* Darker text for the title */
    margin-bottom: 0.5rem;
}

/* Style for the card text */
.container p {
    color: #666; /* Lighter text for the content */
    font-size: 0.9rem;
}

@media (max-width: 600px) {
    .main-content {
        grid-template-columns: 1fr; /* Single column layout on small screens */
    }
}

/* Responsive design */
@media (max-width: 600px) {
    nav {
        flex-direction: column;
    }

    nav a {
        margin-bottom: 0.5rem;
    }
}

@media (max-width: 1400px) {
    main{
        padding-left: 10rem;
        padding-right: 10rem;
    }
    .header-wraper{
        padding-left: 10rem;
        padding-right: 10rem;
    }
    .footer{
        padding-left: 10rem;
        padding-right: 10rem;
    }
}
  


@media (max-width: 1200px) {
    main{
        padding-left: 7rem;
        padding-right: 7rem;
    }
    .header-wraper{
        padding-left: 7rem;
        padding-right: 7rem;
    }
    .footer{
        padding-left: 7rem;
        padding-right: 7rem;
    }
}

@media (max-width: 800px) {
    main{
        padding-left: 5rem;
        padding-right: 5rem;
    }
    .header-wraper{
        padding-left: 5rem;
        padding-right: 5rem;
    }
    .footer{
        padding-left: 5rem;
        padding-right: 5rem;
    }
}


@media (max-width: 600px) {
    main{
        padding-left: 1rem;
        padding-right: 1rem;
    }
    .header-wraper{
        padding-left: 1rem;
        padding-right: 1rem;
    }
    .footer{
        padding-left: 1rem;
        padding-right: 1rem;
    }
}





@media (max-width: 900px) {
    .image-and-text-container {
        flex-direction: column;
        align-items: flex-start;
        display: flex;
        justify-content: center; /* Center the container */
        align-items: center;
        margin-left: 1rem;
        margin-top: 2rem;
        margin-bottom: 2rem;
    }
}

.image-and-text-container {
    display: flex;
    justify-content: center; /* Center the container */
    align-items: center;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.image-and-text-container img {
    width: 100px; /* Set image width */
    height: auto; /* Maintain aspect ratio */
}

.image-and-text-container h2 {
    font-size: 2rem;
    color: #333;
}

#nameSearch {
    padding: 8px;
    margin-top: 12px;
    margin-bottom: 12px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* Style for the placeholder text */
#nameSearch::placeholder {
    color: #999;
}


/*kép*/

.square-container {
    position: relative;
    width: 150px;
    height: 150px;
    background-image: url('imgs/ic.jpg'); /* Itt cseréld le a kép útvonalát */
    background-size: cover;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border: 1px solid #e3e6ea; /* Light border for the card */
    border-radius: 1rem; /* Rounded corners for the card */
    padding: 1rem;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out; /* Smooth transition for hover effect */
}

.square-container1 {
    position: relative;
    width: 150px;
    height: 150px;
    background-image: url('imgs/1.jpg'); /* Itt cseréld le a kép útvonalát */
    background-size: cover;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border: 1px solid #e3e6ea; /* Light border for the card */
    border-radius: 1rem; /* Rounded corners for the card */
    padding: 1rem;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out; /* Smooth transition for hover effect */
}

.square-container2 {
    position: relative;
    width: 150px;
    height: 150px;
    background-image: url('imgs/2.jpg'); /* Itt cseréld le a kép útvonalát */
    background-size: cover;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border: 1px solid #e3e6ea; /* Light border for the card */
    border-radius: 1rem; /* Rounded corners for the card */
    padding: 1rem;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out; /* Smooth transition for hover effect */
}

.square-container3 {
    position: relative;
    width: 150px;
    height: 150px;
    background-image: url('imgs/3.jpg'); /* Itt cseréld le a kép útvonalát */
    background-size: cover;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border: 1px solid #e3e6ea; /* Light border for the card */
    border-radius: 1rem; /* Rounded corners for the card */
    padding: 1rem;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out; /* Smooth transition for hover effect */
}

.square-container4 {
    position: relative;
    width: 150px;
    height: 150px;
    background-image: url('imgs/4.jpg'); /* Itt cseréld le a kép útvonalát */
    background-size: cover;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border: 1px solid #e3e6ea; /* Light border for the card */
    border-radius: 1rem; /* Rounded corners for the card */
    padding: 1rem;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out; /* Smooth transition for hover effect */
}

.square-container5 {
    position: relative;
    width: 150px;
    height: 150px;
    background-image: url('imgs/5.jpg'); /* Itt cseréld le a kép útvonalát */
    background-size: cover;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border: 1px solid #e3e6ea; /* Light border for the card */
    border-radius: 1rem; /* Rounded corners for the card */
    padding: 1rem;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out; /* Smooth transition for hover effect */
}

.square-container6 {
    position: relative;
    width: 150px;
    height: 150px;
    background-image: url('imgs/6.jpg'); /* Itt cseréld le a kép útvonalát */
    background-size: cover;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border: 1px solid #e3e6ea; /* Light border for the card */
    border-radius: 1rem; /* Rounded corners for the card */
    padding: 1rem;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out; /* Smooth transition for hover effect */
}

.square-container7 {
    position: relative;
    width: 150px;
    height: 150px;
    background-image: url('imgs/7.jpg'); /* Itt cseréld le a kép útvonalát */
    background-size: cover;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border: 1px solid #e3e6ea; /* Light border for the card */
    border-radius: 1rem; /* Rounded corners for the card */
    padding: 1rem;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out; /* Smooth transition for hover effect */
}

.square-container8 {
    position: relative;
    width: 150px;
    height: 150px;
    background-image: url('imgs/8.jpg'); /* Itt cseréld le a kép útvonalát */
    background-size: cover;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border: 1px solid #e3e6ea; /* Light border for the card */
    border-radius: 1rem; /* Rounded corners for the card */
    padding: 1rem;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out; /* Smooth transition for hover effect */
}

.square-container9 {
    position: relative;
    width: 150px;
    height: 150px;
    background-image: url('imgs/9.jpg'); /* Itt cseréld le a kép útvonalát */
    background-size: cover;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border: 1px solid #e3e6ea; /* Light border for the card */
    border-radius: 1rem; /* Rounded corners for the card */
    padding: 1rem;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out; /* Smooth transition for hover effect */
}

.square-container:hover {
    transform: translateY(-5px); /* Slight raise effect on hover */
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15); /* Increased shadow on hover */
}
.square-container1:hover {
    transform: translateY(-5px); /* Slight raise effect on hover */
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15); /* Increased shadow on hover */
}
.square-container2:hover {
    transform: translateY(-5px); /* Slight raise effect on hover */
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15); /* Increased shadow on hover */
}
.square-container3:hover {
    transform: translateY(-5px); /* Slight raise effect on hover */
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15); /* Increased shadow on hover */
}
.square-container4:hover {
    transform: translateY(-5px); /* Slight raise effect on hover */
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15); /* Increased shadow on hover */
}
.square-container5:hover {
    transform: translateY(-5px); /* Slight raise effect on hover */
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15); /* Increased shadow on hover */
}
.square-container6:hover {
    transform: translateY(-5px); /* Slight raise effect on hover */
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15); /* Increased shadow on hover */
}
.square-container7:hover {
    transform: translateY(-5px); /* Slight raise effect on hover */
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15); /* Increased shadow on hover */
}
.square-container8:hover {
    transform: translateY(-5px); /* Slight raise effect on hover */
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15); /* Increased shadow on hover */
}
.square-container9:hover {
    transform: translateY(-5px); /* Slight raise effect on hover */
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15); /* Increased shadow on hover */
}

  /*.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.5);
  }
  */

  .text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: 800;
    font-family: Arial, sans-serif;
    font-size: 16px;
    text-align: center;
    text-shadow: 2px 2px 5px #094D1C;
  }

  .text2 {
    position: absolute;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: 800;
    font-family: Arial, sans-serif;
    font-size: 16px;
    text-align: center;
    text-shadow: 2px 2px 5px #094D1C;
  }


  ul.custom-list {
    list-style-type: none; /* Eltávolítja a hagyományos felsorolásjeleket */
    padding: 0; /* Eltávolítja a paddingot */
  }
  
  ul.custom-list li {
    background-image: url('imgs/mark.png'); /* A kép elérési útvonala */
    background-repeat: no-repeat; /* A kép nem ismétlődik */
    background-size: 40px 20px; /* Állítsd be a kép méretét */
    background-position: left center; /* A kép pozíciója balra középre */
    padding-left: 50px; /* Hely a szöveg és a kép között */
    margin-bottom: 0.5rem; /* Térköz a lista elemek között */ 
  }




.header-nav {
    display: flex;
}

/* A drawer kapcsoló gombja alapértelmezetten nem látszik */
#drawer-toggle {
    display: none;
}

@media (max-width: 768px) {
    .header-nav {
        display: none;
    }
    #drawer-toggle {
        display: block;
    }
}

#drawer-toggle {
    cursor: pointer;
    padding: 10px;
    background-color: #333;
    color: white;
}

#drawer {
    width: 250px;
    position: fixed;
    top: 0;
    left: -250px; /* Kezdetben el van rejtve */
    height: 100%;
    background-color: #f4f4f4;
    overflow-x: hidden;
    transition: 0.5s; /* Animáció a nyitáshoz és záráshoz */
    padding-top: 60px; /* Térköz a tetejétől */
}

#drawer a {
    padding: 10px 15px;
    text-decoration: none;
    font-size: 22px;
    color: #333;
    display: block;
    transition: 0.3s;
}

#drawer a:hover {
    background-color: #ddd;
}

.drawer-open {
    left: 0; /* Drawer megnyitása */
}

.drawer-closed {
    left: -250px; /* Drawer zárása */
}

    
    
.menu-button {
    border: none;
    background-color: transparent;
    cursor: pointer;
    font-size: 16px;
    padding: 8px;
}

.active {
    color: green;
    text-decoration: underline;
}