/* Odstránenie predvolených okrajov */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
}

/* ===================== BANNER ===================== */
.banner {
    position: relative;
}

.banner img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.banner-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    color: white;
    text-align: center;
}

/* ===================== NAVIGÁCIA ===================== */
nav {
    background-color: #2c3e50;

    /* Navbar ostane hore pri scrollovaní */
    position: sticky;
    top: 0;
}

nav ul {
    list-style: none;

    display: flex;
    justify-content: center;
    flex-wrap: wrap;

    margin: 0;
    padding: 0;
}

nav li {
    margin: 10px;
}

nav a {
    color: white;
    text-decoration: none;

    padding: 10px;
}

nav a:hover {
    background-color: #34495e;
    border-radius: 10px;
}

/* ===================== BLOKY (BUBLINKY) ===================== */
.blok {
    background-color: white;

    margin: 30px auto;
    padding: 20px;

    width: 85%;
    max-width: 1000px;

    border-radius: 20px;

    /* Jemný tieň */
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.blok h2 {
    color: #2c3e50;
}

/* ===================== TABUĽKA ===================== */
table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    border: 1px solid gray;
    padding: 10px;
    text-align: center;
}

th {
    background-color: #dfe6e9;
}

/* ===================== GALÉRIA ===================== */
.galeria {
    display: grid;

    /* Automaticky vytvorí stĺpce */
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));

    gap: 15px;
}

.galeria img {
    width: 100%;
    height: 200px;

    object-fit: cover;

    border-radius: 15px;
}

/* ===================== PÄTIČKA ===================== */
footer {
    background-color: #2c3e50;

    color: white;
    text-align: center;

    padding: 20px;
}

/* ===================== RESPONZIVITA ===================== */
/* Úpravy pre mobil */
@media (max-width: 768px) {

    .banner img {
        height: 200px;
    }

    nav ul {
        flex-direction: column;
        text-align: center;
    }

    .blok {
        width: 95%;
    }
}
.smajlo{
    width: 30px;
    height: 30px;

}