/* Teljes oldal beállítások */

body {
    background-color: #f9f9f9;
    color: #222;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 20px;
}


/* FAQ konténer */

.gyik-doboz {
    max-width: 700px;
    margin: 80px auto 60px auto;
    padding: 25px 30px;
    background-color: #fff;
    border: 3px solid #111;
    border-radius: 15px;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.08);
}


/* FAQ cím */

.gyik-cim {
    text-align: center;
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 30px;
    color: #111;
    text-shadow: 0 0 3px rgba(0, 0, 0, 0.3);
}


/* Egy-egy kérdés-válasz egység */

details {
    margin-bottom: 20px;
    background-color: #f2f2f2;
    border-radius: 8px;
    padding: 15px 20px;
    cursor: pointer;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.15);
    transition: background-color 0.3s ease;
    color: #111;
}

details[open] {
    background-color: #e0e0e0;
}


/* Kérdés */

summary {
    font-weight: 700;
    font-size: 1.1rem;
    outline: none;
    list-style: none;
}


/* Eltávolítjuk a summary alapból megjelenő nyilat */

summary::-webkit-details-marker {
    display: none;
}

a:link,
a:visited,
a:active,
a:focus {
    color: #4da3ff;
    text-decoration: none;
}


/* A nyíl színe */

i {
    position: absolute;
    font-size: 50px;
    top: 36px;
    left: 150px;
}


/* Válasz szöveg */

details>p {
    margin-top: 10px;
    line-height: 1.5;
    font-size: 1rem;
    color: #333;
}


/* Lábléc */

.lablec {
    text-align: center;
    margin-top: 40px;
    font-size: 0.9rem;
    color: #666;
}


/* Linkek a láblécben */

.lablec a {
    color: #000;
    text-decoration: none;
    transition: color 0.3s ease;
}

.lablec a:hover {
    color: blue;
    /* text-decoration: underline; */
}


/* DARK MODE */


/* korábban */

body.dark-mode {
    background-color: #111;
    color: #eee;
}


/* javítva */

html.dark-mode {
    background-color: #111;
    color: #eee;
}


/* és mindenhol hasonlóan: */

html.dark-mode .vissza a {
    color: #eee;
}

html.dark-mode .vissza a:hover {
    color: rgb(255, 255, 255);
}

html.dark-mode .gyik-doboz {
    background-color: #1e1e1e;
    border-color: #555;
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.08);
}

html.dark-mode .gyik-cim {
    color: #fff;
    text-shadow: 0 0 4px rgba(255, 255, 255, 0.2);
}

html.dark-mode details {
    background-color: #2a2a2a;
    color: #ddd;
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.05);
}

html.dark-mode details[open] {
    background-color: #333;
}

html.dark-mode summary {
    color: #fff;
}

html.dark-mode details>p {
    color: #ccc;
}

html.dark-mode .lablec {
    color: #aaa;
}

html.dark-mode .lablec a {
    color: #ccc;
}

html.dark-mode .lablec a:hover {
    color: rgb(255, 255, 255);
}

html.dark-mode .bi {
    color: white;
}