﻿#sitefooter {
    --background-color: rgb(112, 0, 76);
    --text-color: rgb(112, 0, 76);
    --text-hover-color: rgb(0, 30, 98);
    --decoration-color: rgb(247, 197, 219);
    --button-background-color: rgb(0, 30, 98);
    --button-text-color: white;
    --background-hover-color: #001e62;
    --icon-color: #f7c5db;
    --icon-hover-color: #f7c5db;
    color: var(--text-color);
    background: var(--background-color);
    margin: 0 0;
    overflow: hidden;
    padding: 24px 0 0;
    position: relative;
    z-index: 0;
}
.footer {
    background: var(--background-color);
    color: var(--text-color);
    margin: 0;
    overflow: hidden;
    padding: 24px 0 0;
    position: relative;
    z-index: 0
}
.contentHolder {
    margin: 0 auto;
    max-width: var(--global-site-width);
    padding: 0 1.5rem;
    width: 100%;
}

.footer img {
    display: block;
    height: auto;
    max-width: 100%
}

.footer figure {
    margin: 0
}

.footer figure img {
    max-width: 100%
}


.footer a {
    color: #70004c
}

.footer__logo {
    margin: 0 0 3.75rem;
    width: 8.125rem
}

.footer__inner {
    padding-bottom: 48px
}

.footer__decoration {
    background: var(--decoration-color);
    border-radius: 0 50% 50%;
    height: 820px;
    left: 0;
    pointer-events: none;
    position: absolute;
    top: -40px;
    transform: translate(-40%);
    width: 820px;
    z-index: -1
}

.footer__title {
    color: var(--text-color)
}

.footer__title:not(:last-child) {
    margin-bottom: 26px
}

.footer__columns {
    display: flex;
    flex-direction: column-reverse;
    gap: 80px
}

.footer__column {
    position: relative;
    z-index: 1
}

.footer__items:not(:last-child) {
    margin-bottom: 40px
}

.footer__item:not(:last-child) {
    margin-bottom: 32px
}

.footer__subtitle {
    font-weight: 700
}

.footer__subtitle:not(:last-child) {
    margin-bottom: 20px
}

.footer__link {
    color: var(--text-color);
    word-break: break-word
}

.footer__link:focus,.footer__link:hover {
    color: var(--text-hover-color)
}

.footer__socials-title {
    color: var(--text-color)
}

.footer__socials-title:not(:last-child) {
    margin-bottom: 16px
}

.footer__bottom {
    background-color: #202021;
    color: #fff;
    padding: 16px 0;
    position: relative;
    z-index: 1
}


    .footer__columns {
        flex-direction: row;
        gap: 40px
    }

    .footer__column--content {
        padding-top: 64px;
        width: calc(60% - 20px)
    }

    .footer__column--content:before {
        background-color: var(--decoration-color);
        content: "";
        height: 200%;
        position: absolute;
        right: 100%;
        top: 0;
        width: 50vw
    }

    .footer__logo:not(:last-child) {
        margin-bottom: 32px
    }

    .footer__bottom {
        padding: 20px 0
    }

.footer__items:not(:last-child) {
    margin-bottom: 40px;
}
.elem__text p {
	padding-bottom: .6em;
}
.footer__title h4 {
	font-weight: 900;
}

.socials {
    display: flex;
    flex-wrap: wrap;
    gap: 16px
}

.socials__link {
    align-items: center;
    background: var(--background-color);
    border-radius: 50%;
    display: flex;
    height: 32px;
    justify-content: center;
    transition: background .25s ease-in-out;
    width: 32px
}

.socials__link img {
    width: 80%
}

.socials__link:hover {
    background: var(--background-hover-color)
}

.flex--center {
    align-items: center;
    justify-content: center;
}
.flex {
    display: flex;
}

.margin--none {
    margin: 0 !important;
}

@media(min-width: 30em) {
    .footer__decoration {
    }
    .footer {
		padding-top: 0;
	}
	.footer figure img {
		padding-bottom: 1.6em;
	}
	.footer__column--content {
		padding-top: 1em;
	}
}

@media (min-width: 42.5rem) {
    .footer__decoration {
        transform:translate(-32px)
    }

    .footer__items {
        display: grid;
        gap: 20px 20px;
        grid-template-columns: repeat(2,minmax(0,1fr));
        width: 80%
    }

    .footer__item:not(:last-child) {
        margin-bottom: 0
    }

    .footer__socials {
        align-items: center;
        display: flex;
        gap: 16px
    }

    .footer__socials-title:not(:last-child) {
        margin-bottom: 0
    }
	.footer figure img {
		padding-bottom: 0;
	}
}

@media (min-width: 62.5rem) {
    .footer__column--content:before {
        background-color: var(--decoration-color);
        content: "";
        height: 200%;
        position: absolute;
        right: 100%;
        top: 0;
        width: 50vw;
    }
}

@media (min-width: 62.5rem) {
    .footer {
        padding-top: 12px
    }

    .footer__inner {
        padding-bottom: 64px
    }

    .footer__decoration {
        left: auto;
        right: -40px;
        top: 0
    }

    .footer__columns {
        flex-direction: row;
        gap: 40px
    }

    .footer__column--content {
        padding-top: 64px;
        width: calc(60% - 20px)
    }

    .footer__column--content:before {
        background-color: var(--decoration-color);
        content: "";
        height: 200%;
        position: absolute;
        right: 100%;
        top: 0;
        width: 50vw
    }

    .footer__logo:not(:last-child) {
        margin-bottom: 32px
    }

    .footer__bottom {
        padding: 20px 0
    }
}

@media (min-width: 75rem) {
    .footer__items {
        gap: 24px;
    }
}

@media (min-width: 75rem) {
    .footer__inner {
        padding-bottom:72px
    }

    .footer__column--content {
        padding-top: 80px;
        width: 60%
    }

    .footer__items {
        gap: 24px
    }

    .footer__bottom {
        padding: 25px
    }
}
