﻿* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f9;
    color: #333;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100vh;
    padding: 20px;
    border: 5px solid #4E2A84;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    border-bottom: 2px solid #4E2A84;
}

.logo-left img,
.logo-right img {
    width: 100px;
    height: auto;
}

.main-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    flex-wrap: wrap;
}

.image-container {
    flex: 1;
    display: flex;
    justify-content: center;
}

.image-container img {
    max-width: 300px;
    height: auto;
    border-radius: 10px;
    border: 3px solid #4E2A84;
}

.app-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Center the items */
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.app-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: white;
    border: 2px solid #4E2A84;
    border-radius: 15px;
    padding: 5px;
    text-align: center;
    flex: 1 1 calc(20% - 40px); /* Responsive flex-basis */
    max-width: 200px; /* Limit the width */
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.app-icon:hover {
    background-color: #f0f0f5;
    transform: translateY(-10px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.app-icon img {
    width: 60px;
    height: 60px;
    margin-bottom: 10px;
}

.app-icon p {
    font-size: 14px;
    color: #333;
    margin-top: 10px;
}

/* Footer styling */
.footer {
    text-align: center;
    padding: 10px;
    background-color: #4E2A84;
    color: white;
    border-top: 2px solid white;
}

/* Responsive behavior for large screens */
@media (max-width: 1200px) {
    .app-icon {
        flex: 1 1 calc(25% - 40px); /* 4 icons per row */
    }

    .app-icon img {
        width: 100%;
        height: 100%;
    }

    .app-icon p {
        font-size: 12px;
    }
}

/* Responsive behavior for medium devices */
@media (max-width: 768px) {
    .app-icon {
        flex: 1 1 calc(33% - 40px); /* 3 icons per row */
    }

    .app-icon img {
    width: 100%;
    height: 100%;
        /*width: 40px;
        height: 40px;*/
    }

    .app-icon p {
        font-size: 11px;
    }
}

/* Responsive for mobile devices */
@media (max-width: 480px) {
    .app-icon {
        flex: 1 1 calc(50% - 40px); /* 2 icons per row */
    }

    .app-icon img {
    width: 100%;
    height: 100%;
       

        /*width: 30px;
        height: 30px;*/
    }

    .app-icon p {
        font-size: 10px;
    }
}
