/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.4.14,
* Autoprefixer: v10.4.7
* Browsers: last 4 version
*/

footer{
    position: relative;
    padding-top: 5rem;
    padding-bottom: 5rem;
    color: var(--white);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    row-gap: 7rem;
    z-index: 1;
    padding-right: calc(var(--lineWidth) * 1);
    padding-left: calc(var(--lineWidth) * 1);
}
footer:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("../img/footer-background.webp");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    pointer-events: none;
    z-index: -1;
}

.footer-text {width: calc(100% /10 * 6);margin: auto;}
.footer-text_primary {
    width: calc(100% / 7*3);
    font-size: 3rem;
    font-weight: 900;
}
.footer-text_primary > * {
    display: inline-block;
    width: 100%;
    line-height: 5.4rem;
}

.footer-text_primary > *:last-child {
    text-align: left;
}
.footer-text_secondary {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    width: calc(100% / 7*4);
    margin-right: auto;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    -webkit-column-gap: 2rem;
    -moz-column-gap: 2rem;
    column-gap: 2rem;
}
.footer-text_secondary .logo{
    width: calc(100% / 2);
    max-width: 11.25rem;
    max-height: 11.25rem;
}
.footer-text_secondary .logo img{
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
}
.footer-text_secondary > img{
    width: calc(100% / 2);
}
.footer-link {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    height: auto;
    -webkit-column-gap: 1rem;
    -moz-column-gap: 1rem;
    column-gap: 1rem;
    padding: 1rem;
    width: calc(100% /10 * 3);
    margin: auto;
    position: relative;
    background-color: rgba(217, 217, 217, .1);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-radius: 3rem;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
.footer-link:before{
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 3rem;
    padding: 1px;
    background: -o-linear-gradient(330deg, var(--pink), var(--lightGreen));
    background: linear-gradient(120deg, var(--pink), var(--lightGreen));
    -webkit-mask: -webkit-gradient(linear, left top, left bottom, color-stop(0, #fff)) content-box, -webkit-gradient(linear, left top, left bottom, color-stop(0, #fff));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}
.footer-link .loginMenu {
    margin: 0;
    height: auto;
    padding: .75rem .5rem;
    border-radius: .75rem;
}
.footer-link:after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -1;
    border-radius: var(--radiusBoxTwo);
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
    background-color: #ffffff03;
}
nav.footer-nav {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    position: relative;
}

nav.footer-nav ul {
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-column-gap: 4rem;
    -moz-column-gap: 4rem;
    column-gap: 4rem;
    list-style: none;
    padding: 3rem 2rem;
    margin: 0;
    position: relative;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
nav.footer-nav ul:before {
    content: "";
    position: absolute;
    left: 0;
    top: -7px;
    width: 100%;
    height: 14px;
    background: -webkit-gradient(linear, left top, right top, from(transparent), color-stop(15%, #FE7997), color-stop(25%, #BFFF00), color-stop(35%, #BFFF00), color-stop(50%, #FE7997), to(transparent)) center / 100% 3px no-repeat;
    background: -o-linear-gradient(left, transparent, #FE7997 15%, #BFFF00 25%, #BFFF00 35%, #FE7997 50%, transparent) center / 100% 3px no-repeat;
    background: linear-gradient(to right, transparent, #FE7997 15%, #BFFF00 25%, #BFFF00 35%, #FE7997 50%, transparent) center / 100% 3px no-repeat;
    z-index: 1;
}
nav.footer-nav ul:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -7px;
    width: 100%;
    height: 14px;
    background: -webkit-gradient(linear, right top, left top, from(transparent), color-stop(15%, #FE7997), color-stop(25%, #BFFF00), color-stop(35%, #BFFF00), color-stop(50%, #FE7997), to(transparent)) center / 100% 3px no-repeat;
    background: -o-linear-gradient(right, transparent, #FE7997 15%, #BFFF00 25%, #BFFF00 35%, #FE7997 50%, transparent) center / 100% 3px no-repeat;
    background: linear-gradient(to left, transparent, #FE7997 15%, #BFFF00 25%, #BFFF00 35%, #FE7997 50%, transparent) center / 100% 3px no-repeat;
    z-index: 1;
}
nav.footer-nav ul li {
    text-align: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    overflow: hidden;
}
nav.footer-nav ul li a {
    font-size: .75rem;
    font-weight: 600;
}
nav.footer-nav .bugReport {
    position: absolute;
    top: calc(100% + 3px);
    left: 25%;
    background-image: url(../img/report-bug.webp);
    background-repeat: no-repeat;
    background-size: cover;
    color: var(--black);
    display: block;
    line-height: 0.85rem;
    font-size: 0.875rem;
    padding: 0.1rem 1.35rem 0;
}
.footer-copyRight {
    text-align: center;
    font-size: .875rem;
    font-weight: 600;
    margin-top: -3rem;
}
.footer_text_line {display: -webkit-box;display: -ms-flexbox;display: flex;-webkit-box-align: center;-ms-flex-align: center;align-items: center;-webkit-column-gap: .75rem;-moz-column-gap: .75rem;column-gap: .75rem;margin-right: 3rem;}
.rotate-container {
    height: 60px;
    padding: 4px 0;
    position: relative;
    vertical-align: top;
    min-width: 23rem;
    overflow: hidden;
}

.rotate-word {
    right: 0;
    display: inline-block;
    opacity: 0;
    margin: 0 auto;
    top: -50px;
    position: absolute;
    width: 100%;
    text-align: right;
}
@media only screen and (max-width: 768px){
    .footer-text_primary {
        font-size: 1.25rem;
        width: 100%;
        margin-bottom: 2rem;
    }

    .footer-text {
        width: calc(100% /6 * 4);
    }

    .footer-text_secondary {
        width: -webkit-fit-content;
        width: -moz-fit-content;
        width: fit-content;
        -webkit-column-gap: 1rem;
        -moz-column-gap: 1rem;
        column-gap: 1rem;
    }

    .footer-text_secondary .logo {
        width: calc(100% / 2 );
    }

    .footer-text_secondary > img {
        width: calc(100% / 2);
    }

    footer {
        grid-row-gap: 4rem;
        padding: 2.5rem 0;
    }

    .footer-link {
        width: calc(100% - var(--spaceX)*2);
        font-size: .938rem;
    }

    nav.footer-nav {
        width: calc(100% - var(--spaceX)*2);
        margin: auto;
    }

    nav.footer-nav ul {
        -webkit-column-gap: 1rem;
        -moz-column-gap: 1rem;
        column-gap: 1rem;
        padding: 1.625rem 0;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
    }

    .footer-copyRight {
        width: calc(100% - var(--spaceX)*2);
        margin: 0 auto 0;
        font-size: .75rem;
    }
    nav.footer-nav .bugReport {
        left: 50%;
        -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
        transform: translateX(-50%);
    }
    .rotate-container {
        min-width: 10rem;
    }
}
@media only screen and (min-width: 640px) and (max-width:769px){
    .footer-text_primary {
        font-size: 2rem;
    }

    .footer-text_secondary .logo {
        width: calc(100% / 4.5 );
    }

    .footer-text_secondary > img {
        width: calc(100% / 3.5);
    }
    .footer-link {
        width: calc(var(--lineWidth)* 4);
    }
}
@media only screen and (min-width: 769px) and (max-width:1199px){
    .footer-text_primary {
        font-size: 2.3rem;
        margin-bottom: 1rem;
    }

    .footer-text_primary > * {
        line-height: 6rem;
    }

    .footer-link {
        width: calc(100% / 12 * 6);
    }
    .footer-text_secondary .log ,
    .footer-text_secondary > img{
        width: calc(100% / 3);
    }
    nav.footer-nav ul {
        padding: 2rem 1rem;
    }
    nav.footer-nav ul {
        padding: 2rem 1rem;
    }

    footer {
        row-gap: 5rem;
    }

    .footer-copyRight {
        margin-top: -1.5rem;
    }
}
@media only screen and (min-width: 1200px) and (max-width:1400px){

    footer {
        row-gap: 5rem;
    }

    .footer-text_primary {
        font-size: 2.5rem;
    }
    .footer-text_secondary .logo{
        width: calc(100% / 3);
    }
    .footer-text_secondary > img{
        width: calc(100% / 2.5);
    }

    .footer-link {
        width: calc(100% / 2.5);
    }
    nav.footer-nav ul {
        padding: 2.5rem 1.5rem;
    }
    .footer-copyRight {
        margin-top: -2rem;
    }

}
@media only screen and (min-width: 1401px) and (max-width:1600px){
    footer {
        row-gap: 6rem;
    }

    .footer-text_primary {
        font-size: 2.625rem;
    }
    .footer-text_secondary .logo{
        width: calc(100% / 2.5);
    }
    .footer-text_secondary > img{
        width: calc(100% / 2);
    }

    .footer-link {
        width: calc(100% / 2.5);
    }
}