.content {
    display: flex;
    justify-content: center;
    align-self: center;
    width: 100%;
    max-width: 1300px;
    margin-top: 30px;
    margin-bottom: 80px;
    flex-direction: column;
    overflow: hidden;
    /* Zabrání zobrazení scrollu */
}

body {
    height: 100%;
    margin: 0;
    padding: 0;
}

.topPanel {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 25px;
}

.topLeft {
    width: 30%;
    height: 100%;
}

.topLeft h2 {
    margin-left: 5px;
    margin-bottom: 30px;
    font-family: Jost, Arial;
}

.topLeft p {
    font-size: 16px;
    padding-left: 15px;
    padding-right: 15px;
    margin-top: 15px;
}

.topRight {
    width: 70%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.bottomPanel {
    width: 100%;
    height: auto;
    /* Dynamická výška */
    margin-top: 10px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 10px;
}

.bottomLeft {
    width: 45%;
    height: 100%;
    font-family: Jost, Arial;
}

.bottomLeft h2 {
    margin-left: 5px;
}

.bottomLeft p {
    padding-left: 15px;
    padding-right: 15px;
    font-size: 15px;
}

.bottomRight {
    width: 55%;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    place-items: center;
}

.bottomRight .square {
    background-color: gray;
    /* Pro vizuální zobrazení */
    width: 180px;
    aspect-ratio: 1 / 1;
    /* Udrží čtvercový tvar */
    border-radius: 10px;
}

.square img {
    border-radius: 10px;
}

.footerContent{
    margin-bottom: 50px;
}

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

    .topRight img {
        width: 100%;
    }

    .bottomPanel,
    .topPanel {
        padding-left: 10px;
        padding-right: 10px;
    }

    .topPanel {
        margin-bottom: 0px;
    }
}

@media screen and (max-width: 1050px) {
    .content {
        height: auto;
        /* Ponechá výšku dynamickou */
    }

    .topPanel,
    .bottomPanel {
        flex-direction: column;
    }

    .topLeft,
    .topRight,
    .bottomLeft,
    .bottomRight {
        width: 100%;
    }

    .bottomRight {
        margin-top: 20px;
    }

    .bottomLeft h2,
    .topLeft h2 {
        text-align: center;
        margin-bottom: 30px;
    }

    .bottomLeft {
        margin-top: 30px;
    }
}

@media screen and (max-width: 618px) {
    .content {
        width: 100%;
        height: auto;
        /* Dynamická výška pro mobilní zařízení */
        margin-top: 20px;
        margin-bottom: 60px;
    }

    .topPanel,
    .bottomPanel {
        padding-left: 5px;
        padding-right: 5px;
    }

    .topLeft,
    .topRight,
    .bottomLeft,
    .bottomRight {
        width: 100%;
    }

    .bottomRight {
        display: flex;
        justify-content: space-between;
        gap: 10px;
    }

    .bottomRight .square {
        flex: 1 1 30%;
        max-width: 180px;
        background-color: gray;
        aspect-ratio: 1 / 1;
        border-radius: 10px;
        overflow: hidden;
    }

    .square img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}