body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.background {
    position: fixed;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    background: url('https://prod.rexxit.net/global/fields-8478994.jpg') no-repeat center center;
    filter: blur(15px) brightness(50%) saturate(135%);
    z-index: -1;
    transform: translate(0, 0);
    transition: transform 0.05s ease-out;
}

.intro {
    max-height: 500vh;
    text-align: center;
    margin-bottom: 20px;
    color: white;
    z-index: 1;
}

.intro img {
    max-width: 10%;
    margin-bottom: 0;
}

.intro h1 {
    font-family: 'Russo One', sans-serif;
    font-size: 40px;
    margin: 10px 0;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

.intro h2 {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 20px;
    margin: 0;
    color: white;
    opacity: 0.9;
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInSlide 1s ease forwards;
}

.grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    align-items: flex-start;
    padding: 20px;
}

.app-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.2s ease; /* Ensure wrapper transformation is smooth */
}

.app {
    position: relative;
    width: 100px;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.2s ease;
    cursor: pointer;
    opacity: 0;
    transform: translateY(30px);
    animation: staggeredSlide 1s ease forwards;
    animation-fill-mode: forwards;
}

.app img {
    width: 60%;
    height: 60%;
    object-fit: contain;
}

.app-wrapper:hover .app {
    transform: scale(1.2); /* Scale the app on hover */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Add shadow on hover */
}

.app-title {
    margin-top: 10px;
    font-size: 14px;
    color: white;
    font-weight: 500;
    opacity: 0.9;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
    line-height: 1.2;
    transition: opacity 0.3s ease; /* Make title fade smoothly */
}

.app-wrapper .app.loaded {
    opacity: 1;
    transform: translateY(0);
}




footer {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 20px;
    text-align: center;
    box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

footer a {
    color: #fff;
    text-decoration: none;
    margin: 0 15px;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.2s ease;
}

footer a:hover {
    color: #00bcd4;
}

@keyframes fadeInSlide {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes staggeredSlide {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: scale(1);
    }
    30% {
        transform: scale(1.2);
    }
    50% {
        transform: scale(1.1);
    }
}