@import ../../styles/helpers

.footer
    border-top: 1px solid rgba($neutrals3, .3)
    +m
        border: none

.container
    display: flex
    +m
        display: block

.body
    +m
        position: relative
        padding-top: 4px

.col
    position: relative
    flex: 0 0 30.5%
    padding: 80px 86px 164px
    +x
        padding: 80px 64px 164px
    +d
        flex: 0 0 34%
    +t
        padding: 64px 32px 96px
    +m
        padding: 32px 0
        border-bottom: 1px solid $neutrals3
    &:first-child
        display: flex
        flex: 0 0 39%
        padding-left: 0
        +d
            flex: 0 0 32%
        +m
            display: block
    &:nth-child(2)
        padding-left: 46px
        padding-bottom: 112px
        +m
            padding-left: 0
            display: flex
            flex-direction: column;
            align-items: flex-start;
    &:nth-child(3)
        padding-right: 0
        padding-bottom: 0
        +t
            padding-bottom: 64px
        +m
            padding-bottom: 32px
    &:nth-child(2),
    &:nth-child(3)
        border-left: 1px solid $neutrals3
        +m
            border-left: none

.box
    display: flex
    flex-direction: column
    align-items: flex-start
    margin-right: 89px
    +x
        margin-right: 76px
    +d
        margin-right: 40px
    +t
        margin-right: 24px
    +m
        margin: 0 0 40px

.logo
    display: inline-block
    width: 95px
    margin-bottom: auto
    overflow: hidden
    +m
        margin-left: auto
        margin-right: auto
    // +m
    //     width: auto
    // img
    //     width: 166px

.item
    .category
        display: none
        +m
            display: flex
            align-items: center
            margin-bottom: 0
        svg
            margin-left: auto
            fill: $neutrals4
            transition: transform .2s
    &.active
        +m
            .category
                svg
                    transform: rotate(180deg)
            .menu
                display: flex

.menu
    display: flex
    flex-direction: column
    align-items: flex-start
    +m
        display: none
        padding-top: 40px

.link
    +button-2
    color: $neutrals4 !important
    transition: color .2s
    &:hover
        color: $neutrals8 !important
    &:not(:last-child)
        margin-bottom: 24px

.category
    margin-bottom: 41px
    +hairline-2

.info
    +caption-1
    color: $neutrals4
    p
        &:not(:last-child)
            margin-bottom: 8px
    &:not(:last-child)
        margin-bottom: 24px

.foot
    padding: 25px 0 20px
    border-top: 1px solid $neutrals3
    +m
        padding: 23px 0 23px
        border: none

.copyright
    margin-right: auto
    +caption-2
    color: $neutrals4
    +m
        display: none
        margin: 0 0 24px

.m_copyright
    display: none
    +m
        display: block
        margin-right: auto
        +caption-2
        color: $neutrals4
        margin-top: 2.22em

.socials
    display: flex

.social
    display: flex
    justify-content: center
    align-items: center
    flex-shrink: 0
    width: 20px
    height: 20px
    svg
        fill: $neutrals4
        transition: fill .2s
    &:hover svg
        fill: $neutrals8
    &:not(:last-child)
        margin-right: 24px

.footerLinks
    display: flex
    justify-content: space-between
    align-items: center
    width: 17%
    min-width: 190px

.footerLink
    +button-2
    color: $neutrals4
    background-color: transparent
    transition: color .2s
    &:hover
        color: $neutrals8

.button
    // height: 48px
    // border-radius: 24px
    position: absolute
    display: flex
    width: 200px
    bottom: 64px
    left: 50%
    transform: translateX(-50%)
    justify-content: center
    align-items: center
    font-size: 12px
    font-weight: 700
    text-decoration: none
    color: white !important
    fill: white
    background: linear-gradient(90deg, #3772FF, #9757D7)
    &:hover
        background: linear-gradient(90deg, #3772FF, #9757D7)
        &:before
            opacity: 1
    +m
        bottom: 2em
        left: 0
        transform: translateX(0%)
    &:before
        visibility: visible
        z-index: -1
        border-radius: 30px
        content: ''
        display: block
        position: absolute
        top: 0
        left: 0
        width: 100%
        height: 100%
        background: linear-gradient(90deg, darken(#3772FF, 10), darken(#9757D7, 10))
        opacity: 0
        transition: opacity .2s
    svg
        margin-left: 0 !important

.comicon
    margin-right: 0.5em
    
.form
    text-align: left
    margin: 0 auto
    height: 100%
    width: 528px
    padding: 64px 64px 54px 64px
    background: $neutrals2
    border-radius: 24px
    transition: all .2s
    +d
        padding: 60px 48px
    +a
        width: 80%
        padding: 48px 36px
    

.infobox
    padding: 146px 0 294px 0
    overflow-y: scroll

.infotext
    min-height: 100%
    height: auto
    font-size: 12px
    +s
        font-size: 9px

.label
    +input-label
    button
        margin: 0
        padding: 0
        text-align: left
        background-color: transparent
        color: $neutrals8
        text-decoration: none
        transition: color .2s
        &:hover
            color: $neutrals5