/* ╭────────────────────────────────╮
/  │   __             _             │
/  │  / _| ___   ___ | |_ ___ _ __  │
/  │ | |_ / _ \ / _ \| __/ _ \ '__| │
/  │ |  _| (_) | (_) | ||  __/ |    │
/  │ |_|  \___/ \___/ \__\___|_|    │
/  ╰────────────────────────────────╯
/  footer - related styling for the footer window on all pages */

footer {
    max-width: 30em;
    margin-left: auto;
    margin-right: auto;

    .header > a {
        padding: .3rem 0rem .3rem 1rem !important;
    }

    main, section, article {
        padding: 1rem !important;
    }

    .fediring {
        a {
            color: var(--green);
            display: inline-grid;
            font-size: 1.5rem;
            margin-bottom: .5em;
            text-decoration: none !important;
            vertical-align: bottom;
        }

        [href="https://fediring.net"] {
            color: var(--foreground);
            background: color-mix(in srgb, var(--purple) 25%, transparent);
            padding: 0px 10px 0px 10px;
            border-radius: 5px;
        }

        [href="https://keithhacks.cyou/furryring.php"] {
            color: var(--foreground);
            background: color-mix(in srgb, var(--sapphire) 25%, transparent);
            padding: 0px 10px 0px 10px;
            border-radius: 5px;
        }

        [href="https://stellophiliac.github.io/roboring"] {
            color: var(--foreground);
            background: color-mix(in srgb, var(--comment) 25%, transparent);
            padding: 0px 10px 0px 10px;
            border-radius: 5px;
        }

        [href*="prev"] {
            background: color-mix(in srgb, var(--orange) 25%, transparent);
            padding: 5px 6px;
            border-radius: 5px;

            span {
                background-color: var(--orange) !important;
            }
        }

        [href*="next"] {
            background: color-mix(in srgb, var(--green) 25%, transparent);
            padding: 5px 6px;
            border-radius: 5px;

            span {
                background-color: var(--green) !important;
            }
        }
    }

    p, a {
        text-align: center;
        font-size: 0.938rem;
        margin: .2em 0px .2em;
    }

    img {
        padding-top: 18px;
        max-width: 30%;
        display: flex;
        margin-left: auto;
        margin-right: auto;
        transition: 1s animation;
    }

    img:hover {
        animation: spin 5s infinite linear;
    }

    .inner-footer {
        text-align: center;
        margin-top: -.7rem;
        margin-bottom: -.7rem;

        a {
            width: 3rem;
            height: 3rem;
            display: inline-block;
            vertical-align: middle;
            align-content: center;
            border-radius: .5rem;

            span {
                transform: scale(1.58);
            }
        }
    }
}

@media screen and (max-width: 540px) {
    #footer {
        border-top: var(--accent) solid .15rem;
        border-bottom: var(--accent) solid .15rem;
        border-left: unset !important;
        border-right: unset !important;
        border-radius: unset !important;
        margin-bottom: .8em;
    }
}