body {
    /* zoom: 1.2; */
    margin: 0;
    padding: 20px;
    font-family: Arial, sans-serif;
    background-color: #f9f9f9;
    text-align: center;
}


/*Hold ikonok*/

#themeToggleWhite,
#themeToggleDark {
    position: absolute;
    top: 33px;
    left: 40px;
    width: 50px;
    height: 50px;
    cursor: pointer;
    display: none;
    object-fit: contain;
    z-index: 1;
}


/* Kávé ikonok */

#ThemeCoffeWhite,
#ThemeCoffeDark {
    position: absolute;
    top: 33px;
    right: 20px;
    width: 50px;
    /* fix kattintható terület */
    height: 50px;
    cursor: pointer;
    display: none;
    object-fit: contain;
    z-index: 1;
}


/* Hold ikon blur effekt */

.blurred #themeToggleWhite,
.blurred #themeToggleDark {
    filter: blur(4px);
    pointer-events: none;
}


/* Hold ikonok sötét mód */

body.dark-mode #themeToggleWhite,
body.dark-mode #themeToggleDark {
    filter: brightness(0) invert(1);
}


/*Cím*/

.fejlec {
    position: relative;
    color: rgb(0, 0, 0);
    margin-top: 0;
    text-align: center;
    font-size: 50px;
    min-width: 200px;
}

.fejlec h1 {
    margin: 0;
    font-size: 50px;
    padding: 0;
}


/* Visszaszámláló */

#valasztasCountdown {
    font-size: 20px;
    font-weight: bold;
    color: rgb(0, 0, 0);
    margin-top: 10px;
}


/* Keresőmező */

#searchInput {
    display: block;
    margin: 40px auto 30px auto;
    padding: 8px;
    border: 2px solid rgb(0, 0, 0);
    border-radius: 6px;
    width: 260px;
    font-size: 1rem;
    font-family: Arial, sans-serif;
}


/* Container */

.container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 80px;
    gap: 20px;
}


/* Azért felelős hogy ne csak a szövegre kattintva legyen kattintható */

.click {
    width: 113%;
    padding: 55px 0px 55px;
}


/* Szöveges kártyák design */

.traitor-card {
    border: 3px solid rgb(0, 0, 0);
    background: #f2f2f2;
    padding: 30px;
    width: 250px;
    height: 100px;
    position: relative;
    font-size: 20px;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}


/* Footer */

.footer {
    color: #333;
    margin-top: 20px;
    text-align: center;
    border-top: 1px solid #ccc;
    font-family: Arial, sans-serif;
}

.footer a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
    cursor: pointer;
}


/* Dark mód általános */

body.dark-mode {
    background-color: #111;
    color: #eee;
}


/* Dark mód gombok */

body.dark-mode .button-left-1 .btn-dropdown,

/* Dark mód fejléchez */

body.dark-mode .fejlec {
    color: white;
}


/* Dark mód visszaszámláló */

body.dark-mode #valasztasCountdown {
    color: white;
}


/* Dark mód keresőmező */

body.dark-mode #searchInput {
    background-color: #222;
    border-color: #555;
    color: white;
}


/* Dark mód container */

body.dark-mode .container {
    color: #eee;
}


/* Dark mód szöveges kártyák */

body.dark-mode .traitor-card {
    background: #2a2a2a;
    border: 3px solid #555;
    color: white;
}


/* Dark mód footer */

body.dark-mode .footer {
    color: #ccc;
    border-top-color: #555;
}


/* Modal */

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    overflow-y: auto;
    padding: 40px 20px;
    box-sizing: border-box;
}


/* Ez felelős a flexboxokért */

.modal-content {
    background-color: #fff;
    margin: auto;
    padding: 25px 30px;
    border-radius: 15px;
    max-width: 500px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    border: 3px solid rgb(0, 0, 0);
    position: relative;
    animation: fadeInScale 0.3s ease forwards;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-align: left;
}


/* Ez felelős a flexbox animációért megnyitáskor */

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.85);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.close-btn {
    position: absolute;
    top: 12px;
    right: 15px;
    font-size: 28px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
    transition: color 0.2s ease;
}

.modal-content h2 {
    margin-top: 0;
    margin-bottom: 20px;
    color: rgb(0, 0, 0);
    font-weight: 700;
    font-size: 1.8rem;
    text-align: center;
}

.modal-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.modal-content ul li {
    margin: 12px 0;
    font-size: 1.1rem;
    text-align: center;
    display: flex;
    align-items: center;
    gap: 15px;
}

.modal-content ul li a {
    color: black;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 6px;
    transition: background-color 0.3s ease;
    display: inline-block;
    border: 1px solid transparent;
}

.modal-content ul li a:hover {
    background-color: white;
    color: black;
    border-color: black;
    text-decoration: none;
}

.modal-content ul li span {
    font-size: 1.1rem;
    color: black;
    text-decoration: underline;
}

body.dark-mode .modal-content {
    background-color: #2a2a2a;
    border: 3px solid #555;
    color: #eee;
}

body.dark-mode .modal-content h2 {
    color: #fff;
}

body.dark-mode .modal-content ul li a {
    color: #ffffff;
}

body.dark-mode .modal-content ul li a:hover {
    background-color: #2a2a2a;
    color: rgb(255, 255, 255);
    border-color: #555;
}

body.dark-mode .close-btn {
    color: #eee;
}

.blurred #searchInput,
.blurred .container,
.blurred h1 {
    filter: blur(4px);
    pointer-events: none;
}