.togglefather {
    display: flex;
    /* display: none; */
    width: 200px;
    margin: 0 20px 0 0;
    justify-content: end;
}

.toggle {
    display: flex;
    align-items: center;
    background: hsla(var(--cinza-200-hsl), 1);
    border-radius: 25px;
    min-width: 35px;
    height: 20px;
    width: 20px;
    cursor: pointer;
    position: relative;
    transition: background 0.5s ease, box-shadow 0.5s;
    box-shadow: 1px 1px 1px hsla(var(--cinza-200-hsl), 1);
}

.slider {
    position: absolute;
    width: 20px;
    height: 20px;
    background: hsla(var(--branco-hsl), 1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    transform: translateX(0px);
    /*Posição inicial SOL*/
    transition: transform 0.5s ease-out, background 0.5s ease;
}

.toggle.dark {
    background-color: hsla(var(--cinza-200-hsl), 1);
    box-shadow: 1px 1px 1px hsla(var(--cinza-200-hsl), 1);
}

.toggle.dark .slider {
    background: hsla(var(--preto-hsl), 1);
    transform: translateX(15px);
    /*Posição final LUA*/
}

.icon {
    -webkit-user-select: none;
    /* Safari */
    -ms-user-select: none;
    /* IE 10 and IE 11 */
    user-select: none;
    /* Standard syntax */

    position: absolute;
    transition: transform 0.5s ease-in-out, opacity 0.5s ease;
    width: 15px;
    height: 15px;
    font-size: 12px;
}

.icon-moon {
    top: 3.5px;
    color: hsla(var(--branco-hsl), 1);
    opacity: 0;
    transform: rotate(-75deg);
}

.icon-sun {
    top: 4px;
    color: hsla(var(--preto-hsl), 1);
    opacity: 1;
    position: absolute;
    transform: rotate(0deg);
    /*Angulo inicial do sol*/
}

.toggle.dark .icon-moon {
    transform: rotate(0deg);
    /*Angulo final da lua*/
    opacity: 1;
}

.toggle.dark .icon-sun {
    transform: rotate(75deg);
    /*Angulo final do sol*/
    opacity: 0;
}

@media (max-width: 1024px) {
    .togglefather {
        display: none;
    }
    .menu_expand_area .togglefather {
        display: flex;
        width: 100%;
        justify-content: center;
        margin: 5px 0 15px 0;
    }
}
@media (min-width: 1025px) {
    .menu_expand_area .togglefather {
        display: none;
    }
}
@media (min-width: 769px) and (max-width: 1024px){
    .togglefather {
        display: block;
        position: absolute;
        right: 40px;
        width: auto;
    }
    .menu_expand_area .togglefather {
        display: none;
    }
}