@media screen and (min-width: 769px) {
    body {
        margin: 0;
        font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
        background-color: #fff;
        color: #000;
        display: flex;
        flex-direction: column;
        min-height: 100vh;
    }

    .header {
        background-color: #fff;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 20px;
        box-sizing: border-box;
    }

    .header .logo {
        width: 60px;
        height: auto;
    }

    .footer {
        background-color: #fff;
        text-align: center;
        padding: 10px 0;
        box-sizing: border-box;
    }

    .dropdown {
        position: relative;
        display: inline-block;
    }

    .dropbtn {
        background-color: transparent;
        color: #000;
        border: none;
        cursor: pointer;
        font-size: 1em;
        display: flex;
        align-items: center;
    }

    .dropbtn img {
        margin-left: 5px;
        width: 20px;
        height: 20px;
    }

    .dropdown-content {
        display: none;
        position: absolute;
        background-color: #fff;
        box-shadow: 0 8px 16px rgba(0,0,0,0.1);
        z-index: 1;
        right: 0;
    }

    .dropdown-content a {
        color: #000;
        padding: 8px 12px;
        text-decoration: none;
        display: flex;
        align-items: center;
        font-size: 0.9em;
    }

    .dropdown-content a img {
        margin-right: 10px;
        width: 20px;
        height: 20px;
    }

    .dropdown-content a:hover {
        background-color: #f1f1f1;
    }

    .dropdown:hover .dropdown-content {
        display: block;
    }

    .dropdown:hover .dropbtn {
        color: #333;
    }

    .container {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        padding: 20px;
        flex-grow: 1;
        width: 100%;
        max-width: 1200px;
        margin: 0 auto;
        gap: 20px;
    }

    .left-section {
        display: flex;
        flex-direction: row;
        flex: 2;
        gap: 10px;
        justify-content: center;
        align-items: center;
    }

    .left-section img {
        max-width: 45%;
        height: auto;
    }

    .left-section img:not(:first-child):not(:nth-child(2)) {
        display: none;
    }

    .right-section {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    .right-section .title {
        font-size: 1.65em;
        font-weight: bold;
        margin-bottom: 10px;
    }

    .right-section .description {
        font-size: 1.32em;
        margin-top: 0;
    }

    .download-section {
        text-align: center;
        padding: 10px 0;
    }

    .download-section h2 {
        font-size: 1.32em;
        font-weight: normal;
        margin-bottom: 0.5em;
    }

    .download-links {
        display: flex;
        gap: 20px;
        justify-content: center;
    }

    .download-links a {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-decoration: none;
        color: #000;
    }

    .download-links a img {
        max-width: 165px;
        height: auto;
    }

    .footer {
        padding: 10px 20px;
    }

    .footer span {
        display: block;
        margin-bottom: 0;
    }

    .footer .footer-links {
        display: flex;
        justify-content: center;
        gap: 10px;
        margin-top: 0;
    }

    .footer .footer-links a {
        color: #777;
        text-decoration: none;
        transition: color 0.3s;
    }

    .footer .footer-links a:hover {
        color: #333;
    }

    /* Modal styles */
    .modal {
        display: none;
        position: fixed;
        z-index: 100;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        overflow: auto;
        background-color: rgba(0,0,0,0.4);
        padding-top: 60px;
    }

    .modal-content {
        background-color: #fefefe;
        margin: 5% auto;
        padding: 20px;
        border: 1px solid #888;
        width: 80%;
    }

    .close-btn {
        color: #aaa;
        float: right;
        font-size: 28px;
        font-weight: bold;
    }

    .close-btn:hover,
    .close-btn:focus {
        color: black;
        text-decoration: none;
        cursor: pointer;
    }

    /* Responsywne dostosowanie */
    @media screen and (max-width: 1024px) {
        .container {
            flex-direction: column;
            padding: 10px;
        }

        .left-section {
            flex-direction: column;
            align-items: center;
        }

        .left-section img {
            max-width: 100%;
            margin-bottom: 10px;
        }

        .left-section img:not(:first-child):not(:nth-child(2)) {
            display: none;
        }

        .right-section {
            width: 100%;
        }

        .download-links {
            flex-direction: column;
            gap: 10px;
        }
    }
}

/* Dostosowanie dla specyficznych rozdzielczości */
@media screen and (min-width: 770px) and (max-width: 1024px) {
    .container {
        flex-direction: row;
        justify-content: space-between;
        padding: 10px;
    }

    .left-section {
        flex: 1;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 10px;
    }

    .left-section img {
        max-width: 45%;
        height: auto;
    }

    .right-section {
        flex: 1;
        text-align: center;
    }
}
