:root {
    --primary-color: #CB904D;
    --secondary-color: #f9f9f9;
    --text-color: #272A27;

    --small-font: 1rem;
    --medium-font: 1.2rem;
    --large-font: 1.5rem;
}

body {
    font-family: 'Lato, regular', sans-serif;
    font-size: var(--small-font);
    color: var(--text-color);
    background-color: var(--secondary-color);
    line-height: 1.6;
    text-align: left;
}

h1, h2, h3 {
    font-family: 'Oswald', sans-serif;
    color: var(--primary-color);
    font-weight: bold;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

a {
    color: blue;
    text-decoration: underline;
}

a:visited{
    color: red !important;
}
.navbar {
    background-color: var(--primary-color);
    margin: 1rem 0;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.nav-link {
    text-align: center;
    font-size: var(--medium-font);
    margin: 1rem;
    color : var(--secondary-color);
}

section#bevezeto {
    margin: 3rem 0;
}

@media (min-width: 768px) {
    section, article, aside{
        font-size: var(--large-font);
        margin: 2rem 0;
        padding: 2rem 1rem;
    }
}

@media (max-width: 768px) {
    section, article, aside{
        font-size: var(--large-font);
        margin: 1rem 0;
        padding: 1rem 0.5rem;
    }
}

.tab-pane p, .tab-pane li{
    font-size: var(--medium-font);
}

table {
    background-color: #fff;
    border: 1px solid #ddd;
}

table th, table td {
    text-align: center;
    padding: 0.75rem;
    border: 1px solid #ccc;
}

caption details summary {
    cursor: pointer;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

img {
    border-radius: 16px;
}
.img-thumbnail {
    margin: 0.5rem 0;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Tabs */
button.nav-link {
    font-size: var(--medium-font);
    padding: 0.75rem 1.25rem;
    border-radius: 0rem;
}
button.nav-link.active {
    font-size: var(--medium-font);
    padding: 0.75rem 1.25rem;
    border-radius: 0rem;
}
.nav-tabs {
    margin-bottom: 2rem;
    background-color: #f1f1f1;
    border-radius: 0;
    overflow-x: auto;
}

.nav-tabs .nav-link {
    padding: 0.75rem 1.25rem;
    color: var(--text-color);
    white-space: nowrap;
}

.nav-tabs .nav-link.active {
    background-color: #fff;
    border-bottom: 3px solid var(--primary-color);
    font-weight: bold;
}

form {
    background-color: #fff;
    margin : 2rem 0;
    padding: 2rem;
}

form label {
    font-weight: 500;
}

input[type="text"], textarea {
    font-size: var(--small-font);
}

button.btn-primary {
    background-color: var(--primary-color);
    border: var(--primary-color);
    color: var(--secondary-color);
}

footer {
    background-color: #f0f0f0;
    padding: 2rem 1rem;
    margin-top: 3rem;
    border-top: 1px solid #ccc;
}
