body {
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
    background: linear-gradient(to bottom, #1a2a44, #4a6d8a);
    color: #e0e0e0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
}

#notes-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.note {
    position: absolute;
    font-size: 24px;
    color: rgba(255, 255, 255, 0.6);
    animation: floatUp 10s linear infinite;
}

@keyframes floatUp {
    0% { transform: translateY(100vh); opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { transform: translateY(-100vh); opacity: 0; }
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: rgba(26, 42, 68, 0.9);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    z-index: 2;
    position: relative;
    height: auto;
    transition: padding-bottom 0.3s ease-in-out;
}

header .top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo-container {
    flex: 0 0 auto;
}

.logo {
    width: 150px;
    height: auto;
}

.title-container {
    flex: 1;
    text-align: center;
}

.title-container h1 {
    margin: 0;
    font-size: 2em;
}

.menu {
    display: flex;
    gap: 20px;
    flex: 0 0 auto;
}

.menu-item {
    text-decoration: none;
    color: #e0e0e0;
    font-weight: bold;
    transition: color 0.3s;
}

.menu-item:hover {
    color: #d4a017;
}

/* Hamburger menü stílusa */
.hamburger {
    display: none;
    font-size: 1.5em;
    color: #e0e0e0;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    z-index: 3;
}

.menu.mobile {
    display: none;
    flex-direction: column;
    gap: 10px;
    padding: 10px 0;
    width: 100%;
    text-align: center;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
}

.menu.mobile.active {
    max-height: 300px; /* Elég hely az összes menüpontnak */
    display: flex; /* Biztosítjuk, hogy megjelenjen */
}

main {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    z-index: 1;
    position: relative;
}

.content-box {
    background: transparent;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
}

.intro {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.intro h2 {
    font-size: 2em;
    margin: 0;
}

.documents-intro {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: center;
}

.intro h2,
.documents-intro h2 {
    font-size: 2em;
    margin: 0;
}

.text-background {
    background-color: rgba(26, 42, 68, 0.9); /* Ugyanaz, mint a header */
    padding: 20px;
    border-radius: 10px;
    z-index: 3; /* Az animáció elé */
}

.two-columns {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.left-column, .right-column {
    flex: 1;
}

.info-box {
    background-color: rgba(34, 50, 80, 0.95); /* Sötétebb buborék szín a kontrasztért */
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.info-box h3 {
    margin: 0 0 10px 0;
    font-size: 1.2em;
}

.info-box p {
    margin: 5px 0;
}

.info-box i {
    margin-right: 10px;
}
/* Galéria menü stílus */
.gallery-menu {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 20px;
}

.gallery-link {
    text-decoration: none;
    color: #e0e0e0;
    text-align: center;
    margin: 10px;
    transition: transform 0.6s ease, opacity 0.3s ease;
}

.gallery-link img {
    width: 300px;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid #d4a017;
}

.gallery-link span {
    display: block;
    margin-top: 10px;
    font-size: 1.1em;
}

.gallery-link:hover {
    transform: rotate(360deg);
    opacity: 0.9;
}
/* Custom checkbox stílusa */
.custom-checkbox {
    margin-right: 8px;
    vertical-align: middle;
    appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid #d4a017;
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.1);
    cursor: pointer;
    position: relative;
}

.custom-checkbox:checked {
    background-color: #d4a017;
}

.custom-checkbox:checked::after {
    content: '✓';
    color: white;
    font-size: 14px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Egyszerre csak egy checkbox legyen kijelölve egy csoporton belül */
[data-group="attendance"] .custom-checkbox,
[data-group="education"] .custom-checkbox {
    cursor: pointer;
}

[data-group="attendance"] .custom-checkbox:checked,
[data-group="education"] .custom-checkbox:checked {
    background-color: #d4a017;
}

[data-group="attendance"] .custom-checkbox:not(:checked) + label,
[data-group="education"] .custom-checkbox:not(:checked) + label {
    opacity: 0.6;
}

[data-group="attendance"] .custom-checkbox:checked ~ [data-group="attendance"] .custom-checkbox,
[data-group="education"] .custom-checkbox:checked ~ [data-group="education"] .custom-checkbox {
    pointer-events: none;
    opacity: 0.6;
}

/* Checkbox és label elrendezés */
.form-group label {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

.form-group .required {
    color: red;
    margin-left: 5px;
}
/* Statement box stílusa */
.statement-box {
    border: 2px solid red;
    background-color: red;
    color: white;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 15px;
    text-align: center;
}
/* Responsív design */
@media (max-width: 768px) {
    .gallery-link img {
        width: 100%;
        height: auto;
    }
    .gallery-menu {
        flex-direction: column;
        align-items: center;
    }
}
/* Stream School stílusa */
.slider-section {
    margin-bottom: 20px;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.slider {
    position: relative;
    display: block;
    max-width: 1000px;
    margin: 0 auto;
}

.slider img {
    width: 1000px;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
}

.custom-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex !important;
    list-style: none;
    padding: 0;
}

.custom-dots li {
    margin: 0 5px;
}

.custom-dots li button {
    font-size: 0;
    width: 12px;
    height: 12px;
    background: #d4a017;
    border: 2px solid #fff;
    border-radius: 50%;
    opacity: 0.5;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.custom-dots li.slick-active button {
    opacity: 1;
}

.custom-dots li button:hover {
    opacity: 0.8;
}

.section-divider {
    height: 5px;
    background: linear-gradient(to right, #d4a017, #fff, #d4a017);
    margin: 20px 0;
    border-radius: 2.5px;
}

.performances {
    margin-bottom: 20px;
}

.video-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.video-item {
    margin: 10px;
    text-align: center;
}

.video-item p {
    margin-top: 10px;
    color: #ccc;
}

.gallery-section {
    margin-bottom: 20px;
}

.image-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.image-gallery img {
    border: 2px solid #d4a017;
    border-radius: 8px;
}

/* Lightbox stílusa */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    justify-content: center; /* Vízszintes középre */
    align-items: center; /* Függőleges középre */
}

.lightbox-image {
    max-width: 90%;
    max-height: 90vh;
    border-radius: 10px;
    display: block; /* Biztosítja, hogy a kép látható legyen */
    margin: auto; /* Középre igazítás finomhangolása */
}

.close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 30px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.2);
    padding: 10px;
    border-radius: 50%;
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}


/* Responsív design */
@media (max-width: 768px) {
    .slider {
        max-width: 100%;
    }
    .slider img {
        width: 100%;
        height: 250px;
    }
    .section-divider {
        margin: 15px 0;
    }
    .video-container {
        flex-direction: column;
        align-items: center;
    }
    .video-item iframe {
        width: 100%;
        height: auto;
    }
    .lightbox-image {
        max-width: 95%;
    }
}
form {
    display: flex;
    flex-direction: column;
}

form label {
    margin-top: 10px;
}

form input, form textarea {
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid #4a6d8a;
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.1);
    color: #e0e0e0;
}
/* Jelentkezési opciók stílusa */
.registration-options {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.registration-options .option {
    padding: 10px 20px;
    margin: 0 10px;
    text-decoration: none;
    color: #333;
    background-color: #f9f9f9;
    border: 1px solid #d4a017;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.registration-options .option.active {
    background-color: #d4a017;
    color: #fff;
}

.registration-options .option:hover {
    background-color: #e0b017;
    color: #fff;
}

.registration-text {
    text-align: center;
    margin-bottom: 20px;
    padding: 0 20px;
    color: #FFFFFF;
}

.document-section {
    text-align: center;
    margin-bottom: 20px;
}

.document-section .download-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #d4a017;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.document-section .download-button:hover {
    background-color: #e0b017;
}
/* Online jelentkezési űrlap stílusa */
.registration-form {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.registration-form h2 {
    text-align: center;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
}

.form-group label .required {
    color: red;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 8px;
    border: 1px solid #d4a017;
    border-radius: 5px;
    box-sizing: border-box;
}

.form-group input[type="checkbox"] {
    width: auto;
    margin-right: 10px;
}
.from-group input[type="radio"] {
    width: auto;
    margin-right: 10px;
}
.submit-button {
    display: block;
    width: 200px;
    margin: 20px auto;
    padding: 10px 20px;
    background-color: #d4a017;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-button:hover {
    background-color: #e0b017;
}
form textarea {
    height: 100px;
}

form input[type="submit"] {
    background-color: #d4a017;
    color: #fff;
    border: none;
    padding: 10px;
    cursor: pointer;
}

form input[type="submit"]:hover {
    background-color: #b78c13;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

table td {
    padding: 10px;
    border: 1px solid #4a6d8a;
}

.documents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    justify-items: center;
    padding: 10px;
}

.document-item {
    background-color: rgba(40, 60, 90, 0.95);
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease;
}

.document-item:hover {
    transform: translateY(-5px);
}

.document-link {
    text-decoration: none;
    color: #d4a017;
    font-weight: bold;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    margin-bottom: 10px;
}

.document-link i {
    font-size: 2.5em; /* Nagyobb ikonméret */
    margin-bottom: 10px;
    color: #d4a017;
}

.document-name {
    font-size: 1.1em;
}

.document-link:hover {
    text-decoration: underline;
}

.download-btn {
    background-color: #d4a017;
    color: #fff;
    padding: 8px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    width: 100%;
    text-align: center;
    transition: background-color 0.3s ease;
}

.download-btn:hover {
    background-color: #b78c13;
}

.teachers-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.teacher-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.teacher-item:hover .intro-image {
    opacity: 0.8;
}

.content-container p {
    flex: 1;
    font-size: 1.1em;
    line-height: 1.6;
    min-width: 300px;
    color: #ffffff; /* Világos szöveg a sötét háttérhez */
}

.school-layout {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.school-layout .left-column {
    flex: 1;
    padding-right: 20px;
}

.school-layout .right-column {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.school-layout .image-link {
    display: block;
}

.school-layout .intro-image {
    flex: 0 0 400px;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
    transition: opacity 0.3s;
    cursor: pointer;
}

.school-modal {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
}

.school-large-image {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.school-close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2em;
    color: #fff;
    cursor: pointer;
}

.teacher-name {
    margin: 10px 0 0 0;
    font-weight: bold;
}

.teacher-instrument {
    margin: 5px 0;
    font-style: italic;
}

.intro-image {
    flex: 0 0 400px;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
    transition: opacity 0.3s;
}

footer {
    padding: 20px;
    text-align: center;
    background-color: rgba(26, 42, 68, 0.9);
    margin-top: auto;
}

footer p {
    margin: 0 0 10px 0;
    font-size: 1.2em;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-link {
    text-decoration: none;
    color: #e0e0e0;
    font-size: 1.5em;
    transition: color 0.3s;
}

.social-link:hover {
    color: #d4a017;
}

/* Reszponzív media queries */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        padding: 20px 0;
    }

    .top-row {
        width: 100%;
        justify-content: center;
        margin-bottom: 10px;
    }

    .logo-container {
        display: none; /* Logo ideiglenesen elrejtve mobil nézetben */
    }

    .title-container {
        order: 1;
        flex-basis: 100%;
        text-align: center;
        margin: 0;
    }

    .hamburger {
        display: block;
        order: 2;
        margin: 0 auto; /* Középre igazítás */
    }

    .menu {
        display: none;
    }

    .menu.mobile {
        display: none; /* Alapértelmezés szerint elrejtve */
        order: 3;
        margin-top: 10px;
    }

    header.active {
        padding-bottom: 20px; /* Extra hely a menünek */
    }

    .two-columns {
        flex-direction: column;
    }

    .info-box {
        margin-bottom: 15px;
    }

    .intro-image {
        width: 100%;
        height: auto;
        margin-top: 20px;
    }

    .documents-grid {
        grid-template-columns: 1fr;
    }

    .document-item {
        width: 100%;
    }

    .document-link i {
        font-size: 2em; /* Kisebb ikon mobil nézetben */
    }

    form input, form textarea {
        width: 100%;
    }

    .school-layout {
        flex-direction: column;
    }

    .school-layout .left-column {
        padding-right: 0;
    }

    .school-layout .right-column {
        margin-top: 20px;
    }

    .school-layout .intro-image {
        width: 100%;
        height: auto;
    }
}