.moon-button {
    position: fixed;
    bottom: 7rem;
    right: 1.7rem;
    transition: all .3s;
    background-color: #EAEAEA;
    border-radius: 25px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 991px) {
.moon-button {
    right: 0.9rem;
}
}