#footer {
    position: absolute;
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: space-between;
    bottom: 0;
    width: 100%;
    
}

.footer-child {
    position: fixed;
}

#footer-lang-child {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: start;
    right: 0;
    bottom: 0;
}

#footer-up-child {
    left: 50%;
    bottom: 0;
}

#footer-theme-child {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: start;
    left: 0;
    bottom: 0;
}

#theme-switch {
    z-index: 10;
    width: 35px;
    height: 35px;
    margin: 10px;
    padding: 5px;
    border-radius: 10px;
    background-color: var(--bg-light);
    transition: all ease-out 0.1s;
    font-size: 35px;
    box-shadow: var(--);
}

#lang-wrapper {
    pointer-events: none;
    height: 50px;
    margin-top: 5px;
    display: flex;
    flex-direction: row-reverse;
    justify-content: end;
    align-items: center;
    font-size: 15px;
    transition: var(--transition-standard);
}

#lang-wrapper>*:not(.visible) {
    transition: var(--transition-standard);
    transform: scale(80%) translateY(5px);
    opacity: 0;
}

.flags { 
    margin-top: 5px; 
    margin-left: 5px; 
    pointer-events: none; user-select: none; 
}

#lang-wrapper>*.visible { opacity: 1; transition: var(--transition-standard); }

#lang-switch {
    z-index: 10;
    width: 35px;
    height: 35px;
    margin: 10px;
    padding: 5px;
    border-radius: 10px;
    background-color: var(--bg-light);
    transition: all ease-out 0.1s;
    font-size: 35px;
    box-shadow: var(--shadow);
    text-align: center;
}

#theme-switch:hover>.bx{
    color: var(--primary-hover);
}

#lang-switch>.bx, #theme-switch>.bx{
    transition: color ease-out 0.2s;
}

#lang-switch:active #theme-switch:active{
    transform: translateY(2px);
}

#lang-switch:hover>.bx {
    color: var(--primary-hover);
}

.bx { color: var(--primary); }