﻿.QuickNumbers {
    display: flex;
    justify-content: space-around;
    padding: 10px;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .QuickNumbers {
        justify-content: center;
    }

    .StateName {
        font-size: 40px !important;
    }
}

.QuickNumbers div {
    background-color: #f0f0f0;
    transition: background-color 0.3s ease, transform 0.3s ease;
    padding: 20px;
    margin: 10px 2px;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    text-align: center;
}

    .QuickNumbers div::before {
        content: '';
        position: absolute;
        top: -100%;
        left: -100%;
        width: 200%;
        height: 200%;
        background: linear-gradient(45deg, transparent 50%, rgba(208, 208, 208, 0.2) 50%);
        z-index: -1;
        transition: all 0.5s ease;
        background-size: 50% 50%;
    }

    .QuickNumbers div:hover {
        background-color: #e0e0e0;
        transform: scale(1.03) rotate(3deg);
    }

        .QuickNumbers div:hover::before {
            top: 0;
            left: 0;
            background-size: 200% 200%;
        }

    .QuickNumbers div span {
        display: flex;
        flex-direction: column;
        align-self: center;
    }

.QuickNumbersData {
    font-size: 65px;
    color: #0f2355;
    font-weight: bold;
}

.QuickNumbersCategory {
    font-weight: bold;
    color: #2763a5;
}

.StateName {
    font-size: 65px;
    color: White;
    font-weight: bold;
}

.StateSpecific {
    padding: 20px;
    border-radius: 8px;
    background-image: url('https://dcb80a363a4153137b52-e3e81376f7ea45aa66e55c5aeb0ba59e.ssl.cf1.rackcdn.com/638436702333458973-statepageblue.webp');
    background-size: cover;
    background-position: center;
    color: white !important;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}
