/* *,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
} */

/* body {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100vh;
    background-image: linear-gradient(45deg, #A973BC, #FFD1D1, #FFE3D9);
} */


.menu {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    /* width: 200px;
    height: 60px; */
    border-radius: 25px;
    background-color: white;
    box-shadow: 3px 3px 8px #b1b1b1, -6px -6px 8px #ffffff;

    /* box-shadow: 0 0 30px rgba(176, 113, 140, 0.35); */
    margin-bottom: 20px
}

.menu__bg {
    position: relative;
    width: 35px;
    height: 35px;
    overflow: hidden;
    background-color: #ddd6d9;
    cursor: pointer;
    border-radius: 10px;
}

.menu__button {
    border: none;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

.menu__button:hover::before,
.menu__button:hover::after {
    display: none;
}

.menu__bg:hover::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 400%;
    left: 0;
    top: 0;
    background-image: linear-gradient(45deg, #5B2A86, #DC6BAD, #FFE3D9);
    animation: bg-1 1s infinite alternate;
}

.menu__bg:hover::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    filter: blur(2px);
    background-color: rgba(221, 214, 217, .7);
    animation: bg-2 4s infinite;
}

.menu__icon {
    width: 100%;
    height: 100%;
    position: relative;
    object-fit: contain;
    z-index: 1000;
}

.menu__badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    min-width: 28px;
    padding: 1px 6px;
    border-radius: 999px;
    background: #f55252;
    color: #fff;
    font-size: 8px;
    font-weight: 700;
    line-height: 1.6;
    text-align: center;
    white-space: nowrap;
    z-index: 1001;
    box-shadow: 0 4px 10px rgba(245, 82, 82, 0.3);
}

.big {
    width: 50px;
    height: 50px;
}

@keyframes bg-1 {
    0% {
        top: -300%;
    }

    100% {
        top: 0%;
    }
}

@keyframes bg-2 {
    0% {
        top: 20%;
        left: 20%
    }

    25% {
        top: 80%;
        left: 80%;
    }

    50% {
        top: 80%;
        left: 20%;
    }

    75% {
        top: 30%;
        left: 80%;
    }
}

@keyframes an {
    0% {
        width: 100%;
        height: 100%;
    }

    100% {
        width: 100%;
        height: 100%;
    }
}
