/* footer.css */
body {
    font-family: 'Open Sans', sans-serif;
}

#footer-container {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
}

.footer {
    --footer-background: #ff0000fc;
    display: grid;
    grid-gap: 4rem;
    padding: 1rem;
    background: #ff0000fc;
    height: 7rem;
    max-height: 10rem;
    width: 100%;
    box-sizing: border-box;
}

/* Стили для пузырьков */
.bubbles {
    position: absolute;
    top: -4rem;
    left: 0;
    right: 0;
    background: var(--footer-background);
    filter: url("#blob");
    overflow: visible;
}

.bubble {
    position: absolute;
    left: var(--position, 50%);
    background: var(--footer-background);
    border-radius: 100%;
    animation: bubble-size var(--time, 4s) ease-in infinite var(--delay, 0s),
               bubble-move var(--time, 4s) ease-in infinite var(--delay, 0s);
    transform: translate(-50%, 100%);
}

/* Стили для контента футера */
.footer .content {
    display: flex;
    z-index: 2;
    margin: auto;
    align-items: flex-end;
    column-gap: 1rem;
    text-align: center;
}

.footer .content a, .footer .content p {
    color: #000000;
    text-decoration: none;
}

.footer .content b {
    color: rgb(0, 0, 0);
}

.footer .content p {
    margin: 0;
    font-size: .75rem;
}

.footer .content > div {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.footer .content > div > div {
    margin: 0.25rem 0;
}

.footer .content > div > div > * {
    margin-right: .5rem;
}

.footer .content .image {
    align-self: center;
    width: 4rem;
    height: 4rem;
    margin: 0.25rem 0;
    background-size: cover;
    background-position: center;
}

@keyframes bubble-size {
    0%, 75% {
        width: var(--size, 4rem);
        height: var(--size, 4rem);
    }
    100% {
        width: 0rem;
        height: 0rem;
    }
}

@keyframes bubble-move {
    0% {
        bottom: -4rem;
    }
    100% {
        bottom: var(--distance, 10rem);
    }
}
