body {
            font-family: 'Arial', sans-serif;
            margin: 0;
            padding: 0;
            background-color: #f4f4f4;
        }

        /* General Header Styling */
header {
    display: flex;
    justify-content: space-between; /* Elements aligned on opposite ends */
    align-items: center;            /* Vertically center items */
    padding: 20px;
    background-color: #4CAF50;
    color: white;
    flex-wrap: wrap; /* Allow wrapping of content */
}

header a {
    display: flex;
    align-items: center; /* Align logo vertically */
}

header .logo {
    height: 40px;
    text-align: start;
}

header h1 {
    margin: 0;
    color: #ffffff;
    font-size: 22px;
    font-family: Amiri, serif;
    text-align: center;
    flex: 1; /* Allow the H1 to expand and center between elements */
}

header button {
    padding: 10px 15px;
    cursor: pointer;
    background-color: #fff;
    color: #4CAF50;
    border: none;
    border-radius: 5px;
    font-weight: bold;
}

header button:hover {
    background-color: #ddd;
    color: #3C8F40;
}

/* Responsive Styles for Smaller Screens */
@media (max-width: 768px) {
    header {
        flex-direction: column; /* Stack elements vertically */
        text-align: center;
        padding: 10px;
    }

    header a {
        margin-bottom: 10px; /* Add space below logo */
    }

    header .logo {
        height: 30px; /* Smaller logo for mobile */
    }

    header h1 {
        font-size: 18px; /* Decrease font size */
        margin-bottom: 10px;
    }

    header button {
        font-size: 14px; /* Smaller button */
        padding: 8px 12px;
    }
}

@media (max-width: 480px) {
    header {
        padding: 5px; /* Reduce padding for very small screens */
    }

    header .logo {
        height: 25px; /* Smaller logo */
    }

    header h1 {
        font-size: 16px; /* Further decrease font size */
    }

    header button {
        font-size: 12px;
        padding: 6px 10px;
    }
}

        
        footer {
            padding: 20px;
            background-color: #4CAF50;
            color: white;
        }

        footer button {
            padding: 10px 15px;
            cursor: pointer;
            background-color: #fff;
            color: #4CAF50;
            border: none;
            border-radius: 5px;
            font-weight: bold;
        }
        
        footer button:hover {
            padding: 10px 15px;
            cursor: pointer;
            background-color: #ddd;
            color: #3C8F40;
            border: none;
            border-radius: 5px;
            font-weight: bold;
        }
        
        footer a{
            color: #efefef;
        }
        
        footer .footer-link {
            display: block;
            text-decoration: none;
            margin-block: 5px;
            color: #ffffff;
        }
        
        footer .footer-link:hover{
            color: #ddcccc;
        }
        
        footer .links  {
            display: block;
            justify-content: flex-end;
        }
        
        footer .copyright {
            margin-top: 10px;
            display: flex;
            justify-content: center;
            /*text-align: center;*/
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px;
        }

        .app-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 20px;
        }

        .app-card {
            background-color: white;
            border-radius: 10px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            padding: 20px;
            text-align: center;
        }

        .app-card img {
            width: 100px;
            height: 100px;
            object-fit: contain;
            margin-bottom: 15px;
        }

        .app-card button {
            padding: 10px 15px;
            background-color: #4CAF50;
            color: white;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            margin-left: 5px;
            margin-right: 5px;
        }
        
        .app-card button:hover {
            padding: 10px 15px;
            background-color: #6CCF70;
            color: white;
            border: none;
            border-radius: 5px;
            cursor: pointer;
        }

        .details-view {
            display: none;
            margin-top: 10px;
            background-color: #fff;
            padding: 20px;
            border-radius: 10px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            align-items: start;
        }

        .details-view.active {
            display: block;
            align-items: start;
        }

        .details-header {
            display: flex;
            align-items: start;
            gap: 20px;
            text-align: start;
        }
        
        .app-description {
            text-align: start;
        }

        .details-header img {
            width: 80px;
            height: 80px;
            object-fit: contain;
        }

        .details-content {
            margin-top: 20px;
        }

        .app-images {
            display: flex;
            gap: 10px;
            overflow-x: auto;
            margin-bottom: 20px;
        }

        .app-images img {
            width: 200px;
            height: 150px;
            object-fit: cover;
            border-radius: 5px;
        }

        .download-section {
            margin-top: 20px;
        }

        /*.os-buttons button {*/
        /*    margin-right: 10px;*/
        /*    padding: 10px;*/
        /*    background-color: #f1f1f1;*/
        /*    border: 1px solid #ccc;*/
        /*    cursor: pointer;*/
        /*    border-radius: 5px;*/
        /*}*/
        
        /* OS Buttons Styling */
.os-buttons .android-button {
    background-color: #3ddc84; /* Android green */
    color: white;
    border: none;
    padding: 10px 20px;
    margin: 5px;
    border-radius: 5px;
    cursor: pointer;
}

.os-buttons .windows-button {
    background-color: #0078d7; /* Windows blue */
    color: white;
    border: none;
    padding: 10px 20px;
    margin: 5px;
    border-radius: 5px;
    cursor: pointer;
}

.os-buttons .linux-button {
    background-color: #f44336; /* Linux red */
    color: white;
    border: none;
    padding: 10px 20px;
    margin: 5px;
    border-radius: 5px;
    cursor: pointer;
}

.os-buttons .mac-button {
    background-color: #000000; /* MacOS black */
    color: white;
    border: none;
    padding: 10px 20px;
    margin: 5px;
    border-radius: 5px;
    cursor: pointer;
}

.os-buttons .ios-button {
    background-color: #000000; /* iOS black */
    color: white;
    border: none;
    padding: 10px 20px;
    margin: 5px;
    border-radius: 5px;
    cursor: pointer;
}

.os-buttons .unknown-os-button {
    background-color: #9e9e9e; /* Default gray for unknown OS */
    color: white;
    border: none;
    padding: 10px 20px;
    margin: 5px;
    border-radius: 5px;
    cursor: pointer;
}

/* Hover Effects */
.os-buttons .android-button:hover {
    background-color: #3ddc84; /* Android green */
    color: white;
    border: none;
    padding: 10px 20px;
    margin: 5px;
    border-radius: 5px;
    cursor: pointer;
    opacity: 0.9;
}

.os-buttons .windows-button:hover {
    background-color: #0078d7; /* Windows blue */
    color: white;
    border: none;
    padding: 10px 20px;
    margin: 5px;
    border-radius: 5px;
    cursor: pointer;
    opacity: 0.9;
}

.os-buttons .linux-button:hover {
    background-color: #f44336; /* Linux red */
    color: white;
    border: none;
    padding: 10px 20px;
    margin: 5px;
    border-radius: 5px;
    cursor: pointer;
    opacity: 0.9;
}

.os-buttons .mac-button:hover {
    background-color: #000000; /* MacOS black */
    color: white;
    border: none;
    padding: 10px 20px;
    margin: 5px;
    border-radius: 5px;
    cursor: pointer;
    opacity: 0.9;
}

.os-buttons .ios-button:hover {
    background-color: #000000; /* iOS black */
    color: white;
    border: none;
    padding: 10px 20px;
    margin: 5px;
    border-radius: 5px;
    cursor: pointer;
    opacity: 0.9;
}

.os-buttons .unknown-os-button:hover {
    background-color: #9e9e9e; /* Default gray for unknown OS */
    color: white;
    border: none;
    padding: 10px 20px;
    margin: 5px;
    border-radius: 5px;
    cursor: pointer;
    opacity: 0.9;
}

        

        .download-buttons a {
            display: inline-block;
            padding: 10px 20px;
            background-color: #4CAF50;
            color: white;
            text-decoration: none;
            border-radius: 5px;
            margin-top: 10px;
        }

        .download-buttons a:hover {
            background-color: #45a049;
        }

        /* Responsive */
        @media (max-width: 768px) {
            .details-header {
                flex-direction: column;
                text-align: center;
            }
        }