* {
    box-sizing: border-box;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 2px 0;
    background: transparent !important;
}

html,
body {
    height: 100%;
    margin: 2px 0;
    overflow: hidden;
}

body {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    background-color: rgb(50, 20, 0);
    color: black;
    font-family: Arial, sans-serif;
    overflow-x: hidden;
    transition: background-color 1.2s ease, color 1.2s ease;
    overscroll-behavior: none;
}

/* Éjszaka */
body.ejszaka {
    background-color: rgb(50, 20, 0);
}

/* Nappal */
body.nappal {
    background-color: rgb(110, 80, 50);
}


.adatok {
    border-radius: 20px;
    border: 1px solid black;
    padding: 10px;
    color: antiquewhite;
    text-align: center;
}

p {
    font-size: 20px;
}

#jatekmenu {
    display: flex;
    flex: 0 0 auto;
    text-align: center;
    align-self: center;
    align-content: center;
    width: 50%;
    height: 50px;
    overscroll-behavior: contain;
}

.jatekmenugomb {
    background-color: darkolivegreen;
    color: antiquewhite;
    font-size: 16px;
    height: 100%;
    width: calc(100%/8);
    text-align: center;
    align-content: center;
}

.kisgomb {
    background-color: darkolivegreen;
    color: antiquewhite;
    font-size: 12px;
    height: fit-content;
    width: fit-content;
    text-align: center;
    align-content: center;
}

.gomb {
    background-color: darkolivegreen;
    color: antiquewhite;
    font-size: 16px;
    padding: 5px;
    height: fit-content;
    width: fit-content;
    text-align: center;
    align-content: center;
}

.gomb:disabled,
.kisgomb:disabled {
    background-color: gray;
}

.profil-container {
    max-width: 260px;
    margin: 0 auto;
    font-family: Arial, sans-serif;
}

.stat-sor {
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 5px;
    padding: 4px 0;
}

#main-content {
    text-align: center;
    overflow: auto;
    padding: 0;
    gap: 0;
}

#jatekter {
    color: antiquewhite;
    flex: 1 1 auto;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    border-top: 1px solid whitesmoke;
}

.felsz-targy {
    position: relative;
    cursor: pointer;
}

.felsz-targy:hover::after {
    content: attr(data-tooltip);
    white-space: pre-line;
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(0, 0, 0, 0.85);
    color: antiquewhite;
    padding: 5px 8px;
    border-radius: 6px;
    z-index: 100;
    font-size: 0.9em;
}

.profil-container {
    text-align: left;
}

.auth-container h1 {
    text-align: center;
    margin-bottom: 1.5rem;
}

.auth-form {
    margin-bottom: 2rem;
    color: antiquewhite;
}

.auth-form h2 {
    margin-bottom: 1rem;
    text-align: center;
}

.auth-form input {
    width: 100%;
    padding: 12px;
    margin-bottom: 1rem;
    color: black;
    border: 1px solid antiquewhite;
    border-radius: 5px;
    font-size: 16px;
    box-sizing: border-box;
}

.auth-form select {
    width: 100%;
    padding: 12px;
    margin-bottom: 1rem;
    border: 1px solid antiquewhite;
    color: black;
    border-radius: 5px;
    font-size: 16px;
    box-sizing: border-box;
}

.auth-form button {
    width: 100%;
    padding: 12px;
    background: #7a5000;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
}

.auth-form button:hover {
    background: #764ba2;
}

.adatvedelem {
    margin-top: 10px;
    font-size: 0.9em;
}

.checkbox-label {
    display: block;
    margin-top: 5px;
}


.error-message {
    background: antiquewhite;
    color: #c62828;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 1rem;
    text-align: center;
}

.game-section {
    padding: 2rem;
    background: #f5f5f5;
    min-height: 100vh;
}