:root {
    --text-color: black;
    --link-color: #007bff;
    --heading-color: #212529;
    --background-color: #fff;
    --card-background: #f8f9fa;
    --footer-background: #e9ecef;
    --border-color: #dee2e6;
    --focus-outline-color-light: white;
    --focus-outline-color-dark: #258cfb;
}

.dark-mode {
    --text-color: #ffffff;
    --link-color: #8ab4f8;
    --heading-color: #f8f9fa;
    --background-color: #1a1a1a;
    --card-background: #2c2c2c;
    --footer-background: #333333;
    --border-color: #444;
}

html {
    font-size: 14px;
    background-color: var(--background-color);
    color: var(--text-color);
}


body {
    margin-bottom: 60px;
    background-color: var(--background-color);
    color: var(--text-color);
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 0.1rem var(--focus-outline-color-light), 0 0 0 0.25rem var(--focus-outline-color-dark);
}

input[type="text"] {
    width: 75%;
    background-color: var(--card-background);
    color: var(--text-color);
    border: 1px solid var(--border-color);
}

@media (max-width: 767px) {
    input[type="text"] {
        width: 100%;
    }
}


#captchaInput {
    width: 100px;
}

html {
    position: relative;
    min-height: 100%;
}

* {
    box-sizing: border-box;
}

p {
    width: 100%;
    max-width: 750px;
    color: var(--text-color);

    margin-left: auto;
    margin-right: auto;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--heading-color);
}

a {
    color: var(--link-color);
}

footer {
    background-color: var(--footer-background);
    color: var(--text-color);
    border-top: 1px solid var(--border-color);
}

.card {
    background-color: var(--card-background);
    color: var(--text-color);
    border: 1px solid var(--border-color);
}

body, html, main {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

li.a {
    color: var(--text-color);
}

a.navbar-brand{
    color: var(--text-color)

}


header.nav-link {
    color: var(--text-color);
}

div.nav-link text-dark {
    background-color: var(--text-color);
}

.text-dark .text-success {
    color: lawngreen;
}

div.text-success p.success, success {
    color: lawngreen;
}

div.text-danger p.danger {
    color:red;
}

label.success {
    color: lawngreen;
}
img {
    max-width: 100%;
    height: auto;
}

.main-content-container {
    overflow-x: hidden;
}


.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #333;
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000; 
    font-size: 14px;
}

.cookie-content a {
    color: #4CAF50;
    text-decoration: none;
    font-weight: bold;
}

.cookie-actions button {
    padding: 8px 15px;
    margin-left: 10px;
    border: none;
    cursor: pointer;
    border-radius: 4px;
}

.btn-primary {
    background-color: #4CAF50; 
    color: white;
}

.btn-secondary {
    background-color: #555;
    color: white;
}


.hidden {
    display: none !important;
}


.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1001;
}

.modal-content {
    background: black;
    color: #333;
    padding: 30px;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
}

.modal-content label {
        display: block;
        margin: 10px 0;

}