* {
    box-sizing: border-box;
}

body {
    padding: 10px;
    background-color: #1E1B18;
    font-family: 'Inter', 'Roboto', sans-serif;
    color: #EAE0D5;
}

h1, h2, h3 {
    font-family: 'Poppins', sans-serif;
}

/* Header */
header {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 50px;
    background-color: #2C2623;
    border-radius: 10px;
    box-shadow: 5px 5px 5px;
}

header h1 {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: #B88746;
    color: black;
    font-weight: bold;
    font-size: 15px;
    padding: 10px 16px;
    border: 2px solid #B88746;
    border-radius: 10px;
    cursor: pointer;
}

.lang-btn img {
    width: 20px;
    height: auto;
    border-radius: 3px;
}

.lang-btn.active {
    background-color: #E0A75D;
}

.lang-btn:hover {
    transform: scale(1.05);
    transition: 0.2s ease;
}

.nav-lang {
    display: flex;
    gap: 25px;
    margin-top: 25px;
}
/* Main */
main {
    background-color: #2C2623;
    max-width: 100%;
    padding: 25px; /* Nechává kontent uvnitř odstrčený od krajů */
    margin-top: 20px; /* Přidá vrchní mezeru pro pozici */
    box-sizing: border-box; /* Zajistí, že padding neovlivňuje šířku */
    overflow: hidden;
    flex: 1;
    box-shadow: 5px 5px 5px;
    border-radius: 10px;
}

.e-mail {
    color: #E0A75D;
}

/* BackToButton */
.BackToButton {
    width: 200px;
    height: 35px;
    text-align: center;
    background: #B88746;
    border-radius: 10px;  /* zaoblené rohy */
    font-size: 17px;
    border: 2px solid #B88746;
    margin-top: 35px;
    box-shadow: 3px 3px 3px;
    color: black;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
}

.BackToButton:hover {
    background-color: #E0A75D;
    transition: background 0.3s ease-in-out;
    transform: scale(1.03);
    transition: transform 0.2s ease;
}

.github-policy-link {
    color: #E0A75D; 
}

/* Vynucení barvy pro Navštívený stav */
.github-policy-link:visited {
    color: #E0A75D; /* Přepíše fialovou barvu prohlížeče */
}

.github-policy-link:hover,
.github-policy-link:focus {
    color: #F0C78D; /* Zesvětlení při najetí */
}

/* Footer */
footer {
    background-color: #2C2623;
    text-align: center;
    margin-top: 20px;
    padding: 1px;
    box-shadow: 5px 5px 5px;
    border-radius: 10px;
}

/* GDPR Banner Styly - Musí být viditelné nad obsahem */
#gdpr-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.95); /* Tmavá lišta */
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px; /* Větší mezera pro čitelnost */
    z-index: 9999; /* Zaručí, že je vždy nahoře */
    font-size: 0.95em;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.5);
}

#gdpr-banner p {
    margin: 0;
    line-height: 1.5;
}

#gdpr-accept-btn {
    /* Zajištění, že je text uvnitř vycentrovaný (vertikálně i horizontálně, pokud má pevnou velikost) */
    display: flex;
    justify-content: center;
    align-items: center;
}

#gdpr-banner a {
    color: #B88746; 
    text-decoration: underline;
    white-space: nowrap;
}

#gdpr-accept-btn {
    background-color: #B88746;
    color: black;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s;
    font-weight: bold;
    white-space: nowrap;
}

#gdpr-accept-btn:hover {
    background-color: #9c733b;
}
