html, body {
    height: 100%;
    margin: 0;
    font-family: 'Open Sans', sans-serif;
}

/* Kontejner pres celou výšku */
body {
    display: flex;
    flex-direction: column;
    justify-content: center; /* Vertikální centrování */
    align-items: center;     /* Horizontální centrování */
    text-align: center;
    padding: 20px;
}

/* Horní cást */
#top img {
    max-width: 200px;
    height: auto;
    margin-bottom: 10px;
}

#top p {
    margin: 0;
    font-size: 12px;
}

/* Spodní cást */
#logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 80px;
    flex-wrap: wrap;
    margin-bottom: 30px;
    
}

#top img {
    cursor: pointer; /* at je zrejmé, že je to interaktivní */
}

#top-info {
    max-width: 600px;
    margin: 20px auto 0;
    font-size: 12px;
    line-height: 1.6;
    height: 0;
    opacity: 0;
    overflow: hidden;
    transition: height 0.8s ease, opacity 0.8s ease;
    margin-bottom:20px;
}
#top-info.is-open {
    max-height: 700px;  /* dostatecná rezerva pro obsah */
    opacity: 1;
}

/* skrytá výchozí trída */
.hidden {
    display: block;
    opacity: 0;
    height: 0;
}

#top p,
#bottom-text {
    line-height: 2; /* zvetšené rádkování */
}

#top img {
    max-width: 320px; /* puvodne 200px ? +50% */
    height: auto;
    margin-bottom: 10px;
}

.logo-item-img img {
    height: 120px;
    width: auto;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.logo-item-img img:hover {
    opacity: 0.85;
    transform: scale(1.08); /* mírné zvetšení pri hoveru */
}

#bottom-text {
    font-size: 12px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

/* Mobilní zobrazení */
@media (max-width: 768px) {
    #logo-container {
        gap: 40px; /* vetší mezery na desktopu */
    }
    .logo-item-img img {
        height: 60px; /* vetší loga na desktopu */
    }
}