_cookies.scss 4.68 KB
.cookies {
    position: fixed;
    z-index: 150;
    left: 0;
    bottom: 0;
    width: 100%;
    background: #EDF7FF;
    border-radius: 30px 30px 0px 0px;
    box-shadow: 0px -4px 28px rgba(14, 56, 94, 0.08), 0px -4px 16px rgba(14, 56, 94, 0.04);
    visibility: hidden;
    opacity: 0;
    transition: .3s;

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

    &.active {
        visibility: visible;
        opacity: 1;
    }

    &__wrap {
        display: flex;
        flex-wrap: wrap;
        align-items: center;

        @media (min-width: 480px) {
            padding: 30px 0;
        }

        @media (min-width: 780px) {
            flex-wrap: nowrap;
        }
    }

    &__top {
        display: flex;
        align-items: center;
        flex-grow: 1;
        margin: 0 -20px 40px;
        padding: 20px;
        background-color: $blue;
        border-radius: 30px 30px 0px 0px;

        @media (min-width: 480px) {
            flex-grow: 0;
            display: block;
            margin: 0;
            padding: 0;
            background-color: transparent;
        }
    }

    &__img {
        margin-right: 20px;

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

        img {
            max-width: 40px;

            @media (min-width: 480px) {
                max-width: 60px;
            }
        }
    }

    &__title {
        color: #FFFFFF;
        font-size: 36px;
        line-height: 40px;
        font-weight: 800;

        @media (min-width: 480px) {
            display: none;
        }
    }

    &__descr {
        flex-grow: 1;
        width: 100%;

        @media (min-width: 480px) {
            width: calc(100% - 80px);
        }

        @media (min-width: 780px) {
            width: auto;
            margin-right: 30px;
        }
    }

    &__buttons {
        display: flex;
        align-items: center;
        width: 100%;
        margin: 40px 0px 0px;

        @media (min-width: 480px) {
            margin: 40px 0px 0px 80px;
        }

        @media (min-width: 780px) {
            width: auto;
            margin: 0;
        }
    }

    &__btn {
        flex-grow: 1;
        padding: 12px 48px;
        margin-right: 20px;

        @media (min-width: 480px) {
            flex-grow: 0;
        }
    }

    &__link {
        color: #40454A;
        font-size: 16px;
        line-height: 22px;
        font-weight: 700;
        text-decoration-line: underline;

        &:hover {
            @media (min-width: 1200px) {
                color: $blue;
                transition: .3s;
            }
        }
    }
}

.page-cookies {

    &__title {
        max-width: 460px;
    }

    &__inner {
        max-width: 1070px;

        p {
            margin: 0;
            color: #4B4E53;
            font-size: 14px;
            line-height: 20px;
            font-weight: 500;

            @media (min-width: 1200px) {
                font-size: 16px;
                line-height: 24px;
            }

            &:not(:last-child) {
                margin-bottom: 24px;
            }
        }

        ul {
            margin: 0;

            &:not(:last-child) {
                margin-bottom: 24px;
            }

            li {
                position: relative;
                margin: 0;
                padding-left: 38px;
                color: #4B4E53;
                font-weight: 500;
                font-size: 14px;
                line-height: 20px;

                @media (min-width: 1200px) {
                    padding-left: 58px;
                    font-size: 16px;
                    line-height: 24px;
                }

                &::before {
                    content: '';
                    position: absolute;
                    top: 7px;
                    left: 20px;
                    width: 6px;
                    height: 6px;
                    border-radius: 50%;
                    background-color: $blue;

                    @media (min-width: 1200px) {
                        top: 9px;
                        left: 40px;
                    }
                }

                &:not(:last-child) {
                    margin-bottom: 8px;

                    @media (min-width: 1200px) {
                        margin-bottom: 4px;
                    }
                }
            }
        }
    }

    &__btn {
        width: 100%;
        margin-top: 40px;

        @media (min-width: 480px) {
            width: auto;
        }

        @media (min-width: 1200px) {
            margin-top: 60px;
        }
    }
}

.page-cookies-top {
    padding-bottom: 60px;
    background-color: #286699;
}

.page-cookies-cnt {
    padding: 60px 0 60px;

    @media (min-width: 1200px) {
        padding: 60px 0 100px;
    }
}