.content {
    display: flex;
    justify-content: center;
    align-self: center;
    width: 1300px;
    height: 1800px;
    margin-top: 30px;
    margin-bottom: 80px;
}

.leftPanel {
    width: 200px;
}

.rightPanel {
    width: 1100px;
    border-left: 1px gray solid;
}

.leftPanelItem {
    width: 100%;
    height: 60px;
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: Jost, Arial;
    font-size: 18px;
}

.leftPanelItem:hover {
    background-color: rgb(230, 230, 230);
    transition: 0.2s;
}

.leftPanelItem p {
    text-align: center;
    margin-bottom: 0px;
}

#leftPanelItemSelected {
    background-color: #60dfff;
}

a {
    text-decoration: none;
    color: black;
}

.rightPanel {
    padding-right: 30px;
    padding-left: 30px;
    padding-top: 40px;
}

.rightPanel h2,
p {
    font-family: Jost, Arial;
}

.rightPanel p {
    padding-left: 20px;
    font-size: 18px;
}

.rightPanel h2 {
    margin-bottom: 30px;
}

.footerContent {
    margin-bottom: 50px;
}

@media screen and (max-width: 1370px) {
    .content {
        width: 80%;
    }

    .rightPanel {
        width: auto;
        flex: 1;
    }
}

@media screen and (max-width: 850px) {
    .content {
        width: 100%;
    }

    .leftPanel {
        width: 180px;
    }
}

@media screen and (max-width: 660px) {
    .content {
        flex-direction: column;
    }

    .leftPanel {
        display: flex;
        /* Aktivuje flexbox */
        width: 100%;
        height: auto;
        flex-wrap: wrap;
        /* Umožní zalomení prvků, pokud se nevejdou */
        justify-content: space-between;
        /* Rovnoměrné rozložení mezi prvky */
    }

    .leftPanel a {
        flex: 1;
        /* Každý odkaz zabere stejný prostor */
        text-align: center;
        /* Vycentrování obsahu */
    }

    .leftPanelItem {
        margin: 5px;
        /* Mezera mezi položkami */
        flex: 1;
        /* Nastaví stejnou šířku pro všechny */
        text-align: center;
        /* Vycentruje obsah v boxu */
    }
}