#header,
#header-logo,
#header-options,
#header-options-profile-toggle,
#header-options-notifications-toggle-number {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#header {
    height: 15%;
    width: 100%;
    font-family: var(--fredoka);
    user-select: none;
    color: var(--text-color);
    border-bottom: var(--text-color) 2px solid;
    user-select: none;
    padding: 0rem 1rem;
}

#header h3 {
    font-size: 1rem;
    min-width: max-content;
}

#header-logo img {
    width: 10rem;
}

#header-options {
    gap: 0.5rem;
    justify-content: center;
}

.header-options-profile-toggle-arrow-down {
    transition: transform 0.5s ease-in-out;
}

.header-options-profile-toggle-arrow-down.opened {
    transform: rotate(180deg);
}

#header-options-profile-toggle,
#header-options-notifications-toggle {
    width: max-content;
    font-size: 1.5rem;
    cursor: pointer;
}

#header-options-profile-toggle,
#header-options-notifications-toggle {
    background: var(--commands-color);
    gap: 0.5rem;
    padding: 0.5rem;
    border-radius: 0.5rem;
}

.header-options-notifications-toggle-i.ring {
    animation: bell-ring 1.5s ease-in-out infinite;
}

@keyframes bell-ring {
    0%, 50%, 100% {
        transform: rotate(0deg);
    }

    5% {
        transform: rotate(12deg);
    }

    10% {
        transform: rotate(-12deg);
    }

    15% {
        transform: rotate(9deg);
    }

    20% {
        transform: rotate(-9deg);
    }

    25% {
        transform: rotate(5deg);
    }

    30% {
        transform: rotate(-5deg);
    }

    35% {
        transform: rotate(0deg);
    }
}

#header-options-notifications-toggle {
    background: var(--text-color);
    color: var(--background-color);

}

#header-options-notifications-toggle {
    position: relative;
}

#header-options-notifications-toggle-number {
    position: absolute;
    top: -0.35rem;
    right: -0.35rem;
    background: var(--pending-color);
    width: 1.5rem;
    height: 1.5rem;
    text-align: center;
    justify-content: center;
    font-family: var(--nunito);
    color: var(--text-color);
    border-radius: 50%;
}

@media (max-width: 700px) {
    #header {
        flex-direction: column;
        height: 20%;
        justify-content: space-around;
    }
    #header-logo { height: 50%; }
    #header-options { 
        height: 50%; 
        width: 100%;
        justify-content: center;
        gap: 0.5rem;
    }
}

@media (max-width: 300px) {
    #header {
        padding: 0rem 0.5rem;
    }
    #header-options {
        overflow-x: auto;
        justify-content: start;
        scroll-behavior: auto;
        scrollbar-width: none;
    }
}