/* Általános beállítások */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: Arial, sans-serif;
    background-color: #f4f7fa;
    color: #333;
    line-height: 1.6;
  
}
.container {
    max-width: 800px;
    margin: 0 auto;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

h2 {
    color: white;
    background-color: black;
    padding: 5px 0; /* Csökkenti a magasságot */
    border: 2px solid black;
    font-weight: bold;
    font-size: 24px;
    margin-bottom: 30px;
    text-align: center;
    width: 100%; /* Teljes szélesség */
    display: block; /* Biztosítja, hogy teljes szélességű legyen */
}

h1 {
    color: black;
    font-weight: bold;
    font-size: 24px;
    text-align: center;
}


/* Formázás */

/* Label középre igazítása */
label {
    display: block;
    margin: 10px 0 5px;
    text-align: center;
    font-weight: bold;
}

/* Input mezők háttérszín */
input[type="text"],
input[type="email"],
input[type="password"],
select {
    display: block;
    width: 100%;
    padding: 10px;
    margin: 5px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #ffd700;
    font-size: 16px;
}

/* Label és checkbox egy sorban */


/* GDPR label és checkbox egy sorban */
.gdpr-container {
    display: flex;
    align-items: center;
    justify-content: center; /* Középre igazítja */
    gap: 10px; /* Távolság a label és checkbox között */
}

/* Hint szöveg */
.hint {
    display: block;
    font-size: 12px;
    font-style: italic;
    color: #666;
    margin-top: 5px; /* Kisebb távolság a label alatt */
    text-align: left;
}

/* Gomb stílus */
.button-container {
    display: flex;
    justify-content: center;
}

button {
    display: inline-block; /* Megakadályozza a teljes szélességet */
    width: 30%;
    padding: 10px;
    background-color: black;
    color: #ffd700;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    text-align: center;
}

button:hover {
    background-color: #444;
}

/* Checkbox elrendezés */
input[type="checkbox"] {
    margin-right: 10px;
}

/* Select elem háttérszín */
select {
    background-color: #ffd700;
    border-radius: 5px;
    padding: 10px;
    font-size: 16px;
}

a {
    color: black;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 215, 0, 0.7); /* Sárgás áttetsző réteg */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999; /* Nagy z-index, hogy minden más fölé kerüljön */
}

/* Az üzenetablak középen */
.notification-box {
    background-color: black;
    color: #FFD700;
    padding: 20px;
    border-radius: 10px;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    max-width: 400px;
    width: 80%;
    z-index: 10000; /* Biztosítja, hogy a fekete doboz az overlay felett legyen */
}

/* Biztosítja, hogy az űrlap alatta maradjon */
.form-container {
    position: relative;
    z-index: 1; /* Alacsonyabb z-index, hogy az overlay eltakarja */
}

.login-button {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background-color: #FFD700;
    color: black;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.login-button:hover {
    background-color: orange;
}

footer {
    color: black;
    font-weight: bold;
    font-size: 12px;
    text-align: center;
}