:root {
    --fade-gradient: linear-gradient(to top, #000000, rgba(255, 255, 255, 0.2));
    --button-gradient: linear-gradient(to bottom right, #FFA500, #FFFF00);
    --button-gradient-hover: linear-gradient(to bottom right, #ffb732, #ffff32);
}

.app-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    width: 100%;
}

.app-tile {
    position: relative;
    background: var(--button-gradient);
    padding: 10px;
    text-align: center;
    margin: 5px;
    border-radius: 5px;
    height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-size: cover;
    background-position: center;
}

.app-info {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 80%;
    color: #000000;
}

.app-column {
    display: flex;
    flex-direction: column;
    text-align: center;
}

.app-title {
    display: flex;
    position: absolute;
    bottom: 0;
    left: 0;
    font-size: 4vw;
    font-weight: bolder;
    align-self: flex-start;
    padding: 5px;
    text-shadow: 2px 2px 8px rgba(255, 255, 255, 0.7); /* Horizontal offset, vertical offset, blur radius, shadow color */

}

.app-label {
    display: flex;
    font-size: small;
    align-self: flex-end;
    padding: 0.5vw;
    text-shadow: 2px 2px 8px rgba(255, 255, 255, 1); /* Horizontal offset, vertical offset, blur radius, shadow color */

}

.app-value {
    font-size: 3vw;
    font-weight: bold;
    text-shadow: 2px 2px 8px rgba(255, 255, 255, 1); /* Horizontal offset, vertical offset, blur radius, shadow color */
}

.deadline, .entries, .cost {
    padding: 5px;
    position: absolute;
}

.deadline {
    top: 0;
    left: 0;
}
.cost {
    bottom: 0;
    right: 0;
}
.entries {
    top: 0;
    right: 0;
}
.jackpot {
    font-size: 6vw;
}


#diamondTile {
    /* background-image: url('/images/bas-van-den-eijkhof-V93YXmZGZ0I-unsplash.jpg'); */
    background-color: #690000;
}

#weeklyTile {
    /* background-image: url('/images/jingming-pan-iYsrkq5qq0Q-unsplash.jpg'); */
    background-color: #FFA500;
}

#dailyTile {
    /* background-image: url('/images/pablo-heimplatz-ZODcBkEohk8-unsplash.jpg'); */
    background-color: #4b0082;
}

#olfTile {
    /* background-image: url('/images/arthur-chauvineau-Dn7P1U26ZkE-unsplash.jpg'); */
    background-color: #006400;
}

@media (hover:hover) {
    .app-tile:hover {
        background: var(--button-gradient-hover) ;
        box-shadow: 0px 0px 10px rgba(255, 255, 255, 0.5);
    }
    /* .app-tile:hover .app-info {
        color: #5f5d5e;
    } */
}

@media (min-width: 900px) {
    
    .app-value {
        font-size: 16pt;
    }
    .app-title {
        font-size: 22pt;
    }
    .jackpot {
        font-size: 36pt;
    }

}

/* @media (max-width: 400px) {
    .app-value:nth-child(3),
    .app-value:nth-child(4) {
        display: none;
    }
} */

@media (max-width: 400px) {
    .app-value {
        font-size: 8pt;
    }
    .app-title {
        font-size: 11pt;
    }
    .jackpot {
        font-size: 18pt;
    }
}

@media (max-width: 1500px) {
    .app-container {
        grid-template-columns: 1fr; /* Default 1 column */
    }
}