footer {
    display: flex;
    gap: 2rem;

    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: 0;

    height: 10vh;
    padding: 2rem 0;

    align-items: center;
    justify-content: center;
}

input[type="button"] {
    display: block;
    margin: 0;
    padding: 12px 28px;

    border: 1px solid #1c75e9;
    border-radius: 8px;

    background: rgba(28, 117, 233, 0.33);
    color: white;

    font-size: 16px;
    font-weight: 600;

    cursor: pointer;

    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);

    transition:
        background 0.2s ease,
        transform 0.15s ease,
        box-shadow 0.2s ease;
}

input[type="button"]:hover {
    background: #1558b0;
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
}

input[type="button"]:active {
    transform: translateY(0);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
}


@media screen and (max-width: 768px) {

    footer {
        display: grid;

        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: repeat(2, auto);

        gap: 1rem;

        left: 1rem;
        right: 1rem;
        bottom: 0;

        width: auto;
        height: auto;

        padding: 1rem 0;
    }

    footer div {
        display: flex;
        justify-content: center;
        align-items: center;
        min-width: 0;
    }

    input[type="button"] {
        width: 100%;
        margin: 0;
        box-sizing: border-box;
        padding: 0.75rem 0;
        font-size: 12px;
    }

    #container-supportHyperion {
        grid-area: 1 / 1 / 2 / 2;
    }

    #container-fb {
        grid-area: 1 / 2 / 2 / 3;
    }

    #container-nextEvents {
        grid-area: 2 / 1 / 3 / 3;
    }
}