/* Reset some default styles */
body, h1, h2, p, div {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    color: #e50c0c;
}

.background {
    background-image: url('https://example.com/background.jpg'); /* Add your background image URL here */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.5;
    background-size: cover; /* Ensures the image covers the entire background */
    background-position: center; /* Centers the image */
}

h1 {
    text-align: center;
    margin: 20px 0;
    font-size: 2.5em;
}

.announcement {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin: 20px;
    text-align: center;
}

.announcement h2 {
    margin-bottom: 10px;
    font-size: 1.8em;
}

.announcement p {
    font-size: 1em;
    color: #333;
}

.app-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px;
}

.app {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 1px;
    text-align: center;
    transition: transform 0.2s;
    width: 200px; /* Can be adjusted */
}

.app:hover {
    transform: scale(1.05);
}

/* Make the entire .app div clickable */
.app a {
    display: block; /* Ensures the entire block is clickable */
    text-decoration: none; /* Remove underline from links */
    color: inherit; /* Inherit color from parent element */
}

.app img {
    width: 70px; /* Icon size adjustable */
    height: 70px;
    object-fit: contain;
    border-radius: 15%; /* Makes the image circular */
}

.app h2 {
    font-size: 1.2em; /* Text size adjustable */
    margin: 10px 0 0; /* Adjust space above description */
}

.app p {
    font-size: 0.9em; /* Adjust size as needed */
    color: #555; /* Adjust color as needed */
    margin-top: 5px; /* Adds some space above the description */
}

.cat {
    position: fixed;
    bottom: 10px;
    left: -100px;
    width: 100px;
    height: 100px;
    background-image: url('cat.png'); /* Add your cat image URL here */
    background-size: contain;
    background-repeat: no-repeat;
    cursor: pointer;
    transition: all 0.5s;
    opacity: 0.5; /* Adjust the opacity here */
}

/* Footer styling */
footer {
    background: #fff;
    border-top: 1px solid #ddd;
    text-align: center;
    padding: 10px;
    position: fixed;
    bottom: 0;
    width: 100%;
    font-size: 0.9em;
}

footer a {
    color: #e50c0c; /* Match footer link color with your theme */
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .app-container {
        justify-content: space-between; /* Adjust spacing for smaller screens */
    }

    .app {
        width: calc(50% - 10px); /* Adjust width to fit two items per row with space between */
    }
}

@media (max-width: 480px) {
    .app {
        width: calc(32% - 10px); /* Full width for very small screens with space */
    }
}
