/* styles.css */

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    background: url('https://i.imgur.com/ZDPMggs.png') no-repeat center center fixed;
    background-size: cover;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-image: url('https://i.imgur.com/mc2wQLE.png');
    color: #fff;
    padding: 10px;
    text-align: center;
}

header img {
    max-height: 50px;
}

nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

nav li {
    margin-right: 20px;
}

nav a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

nav a:hover {
    color: #ddd;
}

.app-container {
    border: 1px solid #ced4da;
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    text-align: center;
    max-width: 100%;
    margin: 0 auto;
}

.app-container:hover {
    transform: translateY(-3px);
}

.app-container img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    margin: 0 auto;
    display: block;
    margin-bottom: 4px;
}

.app-container-horizontal {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    overflow-x: auto;
    margin: 10px;
}

.app-item {
    flex-basis: calc(30% - 20px);
    margin: 10px;
    text-align: center;
    padding: 15px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.app-item:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.app-item img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    margin-bottom: 10px;
    height: 150px;
}

.baixar-button {
    display: inline-block;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    border-radius: 5px;
    transition: background-color 0.3s;
    background: linear-gradient(90deg, #8c001a 0%, #e6001a 100%);
    cursor: pointer;
}

.baixar-button:hover {
    background-color: #333;
}

h1 {
    text-align: center;
    margin-top: 0;
    color: #ffffff;
}


/* Responsive Styles */

/* Adapt content for mobile devices */
@media screen and (max-width: 768px) {
    .container {
        max-width: 100%;
        padding: 10px;
    }

    .app-container {
        max-width: none;
        margin: 0;
    }

    .app-container img {
        max-width: 100%;
    }

    .app-item {
        flex-basis: calc(50% - 20px); /* Set the width of each item to occupy 50% of the container width */
        margin: 10px;
    }

    .app-container-horizontal {
        display: block; /* Change to block to ensure items stack vertically */
    }
}
