footer{
    background-color: black;
    display: block;
    position: relative;
    color: var(--color-white);
    padding-top: 40px;
    padding-bottom: 40px;
}

.max_width_page{
   max-width: var(--page-max-width);
    margin: 0 auto;
   
}

.block{

    display: flex;
    justify-content: space-between;
}



.bk_section{
    padding-top: 20px;
    margin-left: var(--size-base-mobile);
    margin-right: var(--size-base-mobile);
    border-top: 1px solid #ccc;
/*    background-color: var(--color-antracite-bg);*/
    overflow-x: hidden;
}

footer p{

    
    width: auto;
    max-width: 500px;
    margin-top: 10px;
    margin-bottom: 25px;
    font-family: Outfit;
    font-size: 16px;
    color: var(--color-light-grey);
}

footer h3{

    width: auto;
    max-width: 500px;
}

.logo_flex{
    
    display: grid;
justify-content: center;
align-items: center;

}

.logo_flex img{

    padding-left: 3rem;
    
    
    opacity: 1;

}

.path .container_img{


    margin: 0 auto;
    
}
.footer_container div:nth-child(1) {
  align-content: center;
}

.social_icon svg{

    width: 20px;
    height: 20px;
    margin-left: 6px;
    margin-top: 6px;

}

.container_img{
    background-color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.container_block{
        justify-content: space-around;
    align-content: space-between;
}


    .block div{

    font-family: Outfit, sans-serif;
    font-size: 14px;
    color: var(--color-light-grey);

    }

    .mobile_absolute{

        display: none;
    }

    .mobile_absolute:hover{

        transition: 0s;
    background-color: white;
    color: var(--color-purple);
    }



    .gradient-x {
        

        width: 100%;
        height: 340px;
        left: 0;
        right: 0;    
        z-index: 1;
        position: absolute;
        display: block;
        overflow-x: hidden;

        opacity:1;
        background-color: rgba(243, 243, 243, 0);
background-image: linear-gradient(360deg, rgba(243, 243, 243, 0) 7%, rgba(0, 0, 0, 1) 88%);

    }


@media screen and (max-width:520px){

         .gradient-x {
        height: 140px;
        
     }
}


@media (max-width: 1024px) {

}

footer img{

    opacity: 1;
    position: relative;
    margin-left: -44px;
    margin-right: -44px;
    width: calc(100% + 44px * 2);

    
    
}

.footer_container {
     width: 100%;
/*    background-color: darkgoldenrod;*/
    display: flex;
    justify-content: center;

    

}


.container_block{

    display: inline-grid; 
/*    background-color: #181818;*/
    width: calc(100% - 40px);
    padding: 10px;
    padding-left: 0;
    margin: 0.2rem;
    margin-left: 0;
/*    margin: 44px 0;*/
}

.container_block div{

        margin: 0.8rem 0;
       font-family: Outfit, sans-serif;
    font-size: 14px;
    color: var(--color-light-grey);
}

.container_block a{
     font-family: Outfit, sans-serif;
}

.container_block img{


    height: 8rem;
    margin-left: 0;
    width: auto;
}

footer h6{

    font-size: 1rem;
    line-height: 1.2rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    color: white;
}

footer a{

    text-decoration: none;
    outline: 0 !important;
    
}

footer a:hover{

    color: var(--color-purple);
    transition: transform 1s ease-in;
}

@media (max-width:900px){

        .mobile_absolute{

    cursor: pointer;
    position: fixed;
    padding: 10px 20px;
    bottom: 10px;
    left: var(--size-base-mobile);
    right: var(--size-base-mobile);
    width: calc(100% - var(--seze-base-mobile) *2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 87.5%;
    z-index: 99;
    font-weight: 600;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    border: 1px solid var(--color-purple);
    border-radius: 2px;
    color: var(--color-white);
    background: var(--color-purple);
    transition: all .25s ease;
    outline: 0 !important;
    text-decoration: none;

    }






    .block{

        margin-top: 4rem;
        display: block;
        line-height: 2rem;
       
    }



    .container_block{
        justify-content: start;
    }

    .bk_section{
        margin-left: var(--size-base-mobile);
        margin-right: var(--size-base-mobile);
        overflow: hidden;
    }

     .gradient-x {
        height: 240px;
     }

/*   .footer_container {
  display: grid;
  grid-template-columns: repeat(4, 1fr); 
  grid-template-areas: 
    "col4 col2 col3 col1"; 
}*/

/*.footer_container div:nth-child(1) {
  grid-area: col1;
}

.footer_container div:nth-child(2) {
  grid-area: col2;
}

.footer_container div:nth-child(3) {
  grid-area: col3;
}

.footer_container div:nth-child(4) {
  grid-area: col4;
}
*/

.footer_container {


    width: 100%;
  display: grid;
  grid-template-columns: repeat(1, 1fr);

}

.footer_container div:nth-child(1) {
  order: 4; /* Колонка 1 становится последней */
}


.footer_container div:nth-child(3) {
  order: 1; /* Колонка 4 становится первой */
}

.footer_container div:nth-child(2) {
  order: 1; /* Колонка 4 становится первой */
}


}




}


