_contact-us.scss 2.68 KB
.contact-us {
    position: fixed;
    right: 0;
    bottom: 0;
    z-index: 50;
    transform: translateY(105%);
    width: 100%;
    border-radius: 30px 30px 0px 0px;
    overflow: hidden;
    box-shadow: 0px 0px 8px rgba(14, 56, 94, 0.16), 0px 0px 32px rgba(14, 56, 94, 0.08);
    background-color: $white;
    transition: .3s;

    @media (min-width: 480px) {
        max-width: 360px;
        border-radius: 50px 10px 0px 0px;
    }

    @media (min-width: 1200px) {
        right: 100px;
    }

    &.active {
        transform: translateY(0);
    }

    &__top {
        position: relative;
        padding: 40px 40px 40px 20px;
        background-color: #21ADD9;
    }

    &__close {
        position: absolute;
        top: 0;
        right: 0;
        width: 60px;
        height: 60px;
        display: flex;
        align-items: center;
        justify-content: center;

        svg {
            fill: $white;
        }
    }

    &__title {
        color: $white;
        font-size: 24px;
        line-height: 28px;
        font-weight: 700;
    }

    &__body {
        padding: 40px 20px;
    }

    &__items {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-gap: 20px;
        margin-bottom: 40px;
    }

    &__socials {
        display: flex;
        justify-content: center;
    }
}

.contact-us-item {

    &:hover {
        svg {
            @media (min-width: 1200px) {
                transform: scale(1.2);
            }
        }
    }

    &__icon {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 90px;
        margin-bottom: 8px;
        border-radius: 10px;
        background-color: #EDF7FF;

        svg {
            transition: .3s;
        }

    }

    &__name {
        color: #686B6F;
        font-size: 14px;
        line-height: 20px;
        font-weight: 500;
        text-align: center;
    }
}

.contact-us-social {

    &:hover {
        img,
        svg {
            @media (min-width: 1200px) {
                transform: scale(1.2);
            }
        }
    }

    &:not(:last-child) {
        margin-right: 20px;
    }

    &__icon {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 80px;
        height: 80px;
        margin-bottom: 13px;
        border-radius: 10px;

        img,
        svg {
            transition: .3s;
        }
    }

    &__icon-tg {
        background: linear-gradient(203.2deg, #37AEE2 21.67%, #1E96C8 70%);
    }

    &__icon-wa {
        background-color: #25D366;
    }

    &__name {
        color: #686B6F;
        font-size: 14px;
        line-height: 20px;
        font-weight: 500;
        text-align: center;

    }


}