#footer{
    padding-top: 100px;
    background-color: var(--clr-3);
    color: var(--clr-1);

    display: flex;
    justify-content: center;
    align-items: center;
}

#footer-container{
    flex-direction: column;
}

#footer-group{
    width: 100%;
    display: grid;
    grid-template-areas: 
    'one two three four';
    gap: 200px;
    margin-bottom: 150px;
}

.footer-item:nth-child(1){grid-area: one;}
.footer-item:nth-child(2){grid-area: two;}
.footer-item:nth-child(3){grid-area: three;}
.footer-item:nth-child(4){grid-area: four;}

.footer-title{
    font-size: calc(var(--font-size) * 1.3);
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-menu{list-style: none;}
.footer-menu-list{margin: 10px 0;display: flex;justify-content: flex-start;align-items: center;}
.footer-menu-list:first-child{margin-top: 0;}
.footer-menu-list:last-child{margin-bottom: 0;}
.footer-menu-list:nth-child(3){
    align-items: flex-start;
}
.footer-menu-link{color: var(--clr-1); display: flex;justify-content: flex-start;align-items: flex-start;}

.footer-item:last-child .footer-menu-link{
    word-break: break-all;
}

.footer-menu-link:hover{color: var(--clr-5);}
.footer-menu-link:hover .footer-menu-link-icon{filter: brightness(0) saturate(100%) invert(71%) sepia(15%) saturate(6919%) hue-rotate(185deg) brightness(85%) contrast(70%);}






#footer-info-title{
    font-size: calc(var(--font-size) * 1.5);
    font-weight: 700;
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
    line-height: 1.2rem;
    margin-bottom: 20px;
}

#footer-info-logo{
    filter: brightness(0) saturate(100%) invert(100%) sepia(13%) saturate(7473%) hue-rotate(224deg) brightness(125%) contrast(96%);
    margin-right: 8px;
}

.footer-menu-link-icon{
    width: 18px;
    margin-top: 2px;
    margin-right: 10px;
}



#footer-bottom{
    padding: 50px 0;
    width: 100%;
    height: auto;

    display: flex;
    justify-content: center;
    align-items: flex-start;    
    gap: 50px;
}

.footer-bottom-block{
    width: 100%;
    height: auto;

    display: flex;
    justify-content: flex-start;
    align-items: center;    
    flex-wrap: wrap;
    gap: 10px;

    color: var(--clr-1);
    font-size: calc(var(--font-size) * 1);
    font-weight: 500;
}

#footer-bottom-block-item-link{
    color: var(--clr-5);
    text-decoration: underline;
    text-decoration-style: solid;
    text-decoration-color: var(--clr-5);
    text-decoration-thickness: 1px;
    padding: 5px 0;
    text-align: left;


}

#rednify{
    min-width: fit-content;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    gap: 5px;
}
#rednify img{
    filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(23%) hue-rotate(304deg) brightness(108%) contrast(105%);

}

@media screen and (max-width: 1700px){
    #footer-group{
        gap: 100px;
    }
}
@media screen and (max-width: 1400px){
    #footer-group{
        grid-template-areas: 
        'one one one'
        'two three four';
        /* gap: 50px; */
    }

}
@media screen and (max-width: 850px){
    #footer-container{
        justify-content: flex-start;
    }
    #footer-group{
        grid-template-areas: 
        'one'
        'two' 
        'three'
        'four';
    }

    #footer-bottom{
        flex-direction: column;
        align-items: center;
    }
}

@media screen and (max-width: 380px){
    #footer-info-title{
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
    }
    #footer-info-logo{
        margin-bottom: 10px;
    }
}