

.footer {
    background-color: #F2F2F2;
    padding: 8% 7% 0% 7%;

    a {
        text-decoration: none;
        transition: all 0.1s ease-in-out;

        &:hover {
            text-decoration: underline;
        }
    }

    .footer-top {
        display: flex;
        justify-content: space-between;
        border-bottom: 1px solid #D9D9D9;
        padding-bottom: 4%;

        .footer-list {
            display: flex;
            flex-direction: column;
            gap: 14px;

            .footer-list-title {
                font-family: 'Poppins-ExtraBold';
                color: black;
                font-size: var(--fs-xl);
            }

            .list-element {
                display: flex;
                flex-direction: column;
                gap: 8px;

                .footer-element {
                    font-size: var(--fs-xl);
                    color: black;
                }
            }
        }
    }

    .footer-bottom {
        display: flex;
        justify-content: space-between;
        padding: 6% 0;
        font-size: var(--fs-xl);
        color: black;
        position: relative;
        overflow: hidden;

        a {
            color: black;
            text-decoration: none;

            &:hover {
                text-decoration: underline;
            }
        }

        .footer-bottom-left {
            display: flex;
            flex-direction: column;
            gap: 6px;

            .bottom-item {
                display: flex;
                gap: 6px;
            }
        }

        .button-in-middle {
            background: linear-gradient(90deg, #ED1F24 0%, #790A0F 100%);
            display: flex;
            align-items: center;
            border-radius: 500px;
            height: fit-content;
            padding: 5px;
            color: white;
            margin-top: -58px;

            &:hover {
                text-decoration: none;
                scale: 1.05;
                cursor: pointer;background: linear-gradient(90deg, black 0%, black 100% );

                .arrow {
                    img {
                        filter: grayscale(100);
                    }
                }
            }

            div {
                padding: 0 48px 0 64px;
            }

            .arrow {
                background: white;
                border-radius: 500px;
                padding: 6px;

                img {
                    width: 22px;
                }
            }
        }

        .footer-bottom-right {
            display: flex;
            flex-direction: column;
            gap: 6px;

            .right-bottom-item {
                display: flex;
                align-items: center;
                justify-content: end;

                .item-border {
                    padding: 0 10px;
                    border-right: 1px solid black;
                    white-space: nowrap;
                }
            }

            .socials {
                gap: 10px;
            }
        }

        .webfooter {
            position: absolute;
            width: 100%;
            display: flex;
            justify-content: center;
            pointer-events: none;
        }
    }
}

@media (max-width: 480px) {
    .footer {
        height: fit-content;
        display: flex;
        flex-direction: column;

        .footer-top {
            flex-direction: column;
            gap: 36px;
        }

        .footer-bottom {
            flex-direction: column;
            height: fit-content;

            .button-in-middle {
                display: none;
            }

            .footer-bottom-left {
                padding-top: 24px;
                gap: 8px;
            }

            .footer-bottom-right {
                padding: 28px 0 48px 0;

                .right-bottom-item {
                    justify-content: start;
                }
            }

            .webfooter {
                top: 224px;
            }
        }
    }
}