<template>
    <div class="footer">
        <div class="d-flex justify-content-between">
            <div class="social-media">
                <div class="circle-btn">
                    <i class="fa-brands fa-facebook"></i>
                </div>
                <div class="circle-btn">
                    <i class="fa-brands fa-instagram"></i>
                </div>
                <div class="circle-btn">
                    <i class="fa-brands fa-x-twitter"></i>
                </div>
                <div class="circle-btn">
                    <i class="fa-brands fa-tiktok"></i>
                </div>
                <div class="circle-btn">
                    <i class="fa-brands fa-linkedin"></i>
                </div>
            </div>
            <div class="d-flex flex-column">
                <RouterLink class="btn-links mb-1" :to="{name: 'notice-privacy'}" target="_blank">{{ $t('buttons.noticePrivacity') }} </RouterLink>
                <RouterLink class="btn-links" :to="{name: 'terms-conditions'}" target="_blank">{{ $t('buttons.terms') }}</RouterLink>
                <RouterLink class="btn-links" :to="{name: 'faqs'}" target="_blank">Faqs</RouterLink>
            </div>
        </div>
        <h4 class="copy"><i class="fa fa-copyright" aria-hidden="true"></i>{{ new Date().getFullYear() }} {{ $t('global.footer') }}</h4>
    </div>
</template>

<style scoped>
    .footer {
        width: 100%;
        padding: 36px 100px;
        background-color: #303030;
        display: flex;
        flex-direction: column;
    }
    .social-media{
        display: flex;
    }
    .copy{
        padding-top: 32px;
        color: #FFF;
        opacity: 0.2;
        justify-content: center;
        margin: 0 auto;
        font-size: 22px;
        font-weight: 400;
    }
    .circle-btn{
        cursor: pointer;
        margin: 0px 5px;
        display: flex;
        border-radius: 13px;
        border: none;
        background-color: #000;
        color: #FFF;
        padding: 15px;
        justify-content: center;
        align-items: center;
    }
    .btn-links {
        font-size: 16px;
        font-weight: 500;
        color: rgb(85, 85, 223);
        text-decoration: none;
    }
    .circle-btn i{
        font-size: 30px;
    }

    @media (max-width: 768px) {
        .footer {
            width: 100%;
            padding: 32px 24px;
            background-color: #303030;
            display: flex;
            flex-direction: column;
        }
        .circle-btn {
            padding: 8px;
            margin: 0px 2px;
        }
        .circle-btn i{
            font-size: 18px;
        }

        .btn-links {
            font-size: 12px;
            font-weight: 400;
        }

        .copy{
            font-size: 16px;
            font-weight: 400;
            text-align: center;
        }
    }
</style>