body {
    margin: 0;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white;
    font-family: 'MujFont', sans-serif;
}

@font-face {
    font-family: 'MujFont';
    src: url('fonts/Comfortaa-VariableFont_wght.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}




.centered {
    position: relative;
    text-align: center;
    display: flex;
    flex-direction: column; /* Vertikální uspořádání */
    justify-content: center;
    align-items: center;
}

.menu-toggle {
    cursor: pointer;
    width: 400px; /* Velikost obrázků nahoře a dole */
    transition: margin 0.3s ease; /* Plynulé přechody pro mezery */
}

/* Když je menu otevřené, přidáme mezeru mezi obrázky */
.menu-open .menu-toggle {
    margin: 20px 0; /* Nastaví mezeru mezi obrázky */
}

.menu {
    display: none;
    position: relative;
    text-align: center;
    opacity: 0; /* Menu je zpočátku skryté */
    transform: scaleY(0); /* Menu je zpočátku zmenšené na výšku */
    transform-origin: top; /* Efekt roztahování z horní části */
    animation: fadeInUp 0.5s ease forwards; /* Efekt animace */
}

.menu a {
    display: block;
    margin: 0.5rem 0;
    text-decoration: none;
    color: #333;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.menu a:hover {
    color: #007bff;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: scaleY(0);
    }
    to {
        opacity: 1;
        transform: scaleY(1);
    }
}


@media (max-width: 400px) {
    #top-image, #bottom-image {
        width: 300px; /* Menší velikost obrázku na mobilu */
    }

    .menu-image {
        width: 300px; /* Zmenšení obrázků v menu */
    }

    .menu a {
        font-size: 1rem; /* Menší text v menu pro mobilní zařízení */
    }
}







