@use '../../utils' as *;

/*----------------------------------------*/
/*  4.1 instagram css
/*----------------------------------------*/
.al-insta-pg{
    &-title{
        font-size: 14px;
        font-weight: 500;
        line-height: 1;
        text-transform: uppercase;
        font-family: var(--tp-ff-poppins);
        color: rgba(183, 171, 152, 0.60);
        margin-bottom: 0;
        & span{
            color: var(--tp-common-cream);
        }
        &-box{
            border-top: 1px solid rgba(183, 171, 152, 0.10);
            border-bottom: 1px solid rgba(183, 171, 152, 0.10);
            padding: 14px 0;
        }
    }
    &-thumb{
        & img{
            transition: .9s;
        }
        &:hover{
            & img{
                transform: scale(1.1);
            }
        }
    }
}

.al-instagram-shop{
    $self:&;
    &-item{
        &-2{
            position: relative;
            &::after{
                position: absolute;
                content: '';
                left: 0;
                top: 0;
                width: 100%;
                height: 100%;
                background-color: rgba($color: $black, $alpha: .3);
                opacity: 0;
                visibility: hidden;
                 @include transition();
            }
            &:hover{
                &::after{
                    visibility: visible;
                    opacity: 1;
                }
    
                #{$self}{
                    &-icon-2{
                        top: 50%;
                        visibility: visible;
                        opacity: 1;
                    }
                }
            }
        }
    }
    &-icon{
        &-2{
            position: absolute;
            top: 60%;
            left: 50%;
            @include transform(translate(-50%, -50%));
            z-index: 1;
            visibility: hidden;
            opacity: 0;
            @include transition();
            & a{
                display: inline-block;
                width: 60px;
                height: 60px;
                text-align: center;
                line-height: 60px;
                color: var(--tp-common-black);
                font-size: 18px;
                border-radius: 50px;
                background-color: var(--tp-common-white);
                &:hover{
                    background-color: var(--tp-theme-secondary);
                    color: var(--tp-common-white);
                }

                & i{
                    @include transform(translateY(1px));
                }
            }
        }
    }
    &-banner{
        height: 100%;
        width: 100%;
        background-color: var(--tp-common-white);
        border: 1px solid var(--tp-common-black);
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;

        @media #{$xs}{
            padding-top: 50px;
            padding-bottom: 50px;
        }
        
        &-icon{
            @media #{$lg}{
                margin-bottom: 20px;
            }
            & img{
                @media #{$xl, $sm, $xs}{
                    width: 50%;
                }
                @media #{$lg}{
                    width: 35%;
                }
            }
        }
        &-content{
            & span{
                font-weight: 400;
                font-size: 20px;
                color: #021D35;
                display: block;
                margin-bottom: 5px;
                font-family: var(--tp-ff-dm);
            }
            & a{
                font-weight: 700;
                font-size: 36px;
                color: #021D35;
                font-family: var(--tp-ff-dm);
                &:hover{
                    color: var(--tp-theme-secondary);
                }
            }
        }
    }
}