header {
    user-select: none;
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 0;
    transition: all 0.5s ease;
    z-index: 99999999;
    height: 100px;
    color: var(--text-color);
}

.header-transparent {
    background-color: transparent;
}

.header-colored {
    background: linear-gradient(310deg, #25344d 0%, #33405a 35%, #5b2b34 70%, #772223 100%);
    padding: 5px 0;
    border-bottom: 1px solid;
    box-shadow: 2px 1px 8px 0px #25344d;
}

.centered-list {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: font-size 0.3s ease, gap 0.3s ease;
    font-size: 1.2em;
    gap: 70px;
}

.centered-list img {
    width: 70px;
    height: 70px;
    transition: width 0.3s ease, height 0.3s ease;
}

.centered-list li {
    cursor: pointer;
    transition: transform 0.3s ease;
    padding: 10px;
}

.centered-list li:hover {
    cursor: pointer;
    transform: scale(1.1);
}

.header-colored .centered-list {
    font-size: 1em;
    gap: 50px;
}

.header-colored .centered-list img {
    width: 80px;
    height: 80px;
}

.menu-icon {
    opacity: 0;
    font-size: 24px;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    transition: top 0.3s ease-in-out;
    color: var(--text-color);
}

.header-expanded {
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 20px;
    background-color: var(--primary);
    transition: height 0.3s ease-in-out;
}

.header-expanded .centered-list {
    flex-direction: column;
    gap: 20px;
    align-items: center;
    display: flex;
}

.header-expanded .centered-list li {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {

    .header-transparent,
    .header-colored {
        background-color: var(--primary);
        padding: 5px 0;
        border-bottom: 1px solid;
        box-shadow: 2px 1px 8px 0px #25344d;
    }

    .centered-list {
        justify-content: flex-start;
        font-size: 1em;
        gap: 50px;
    }

    .centered-list li {
        display: none;
    }

    .centered-list li:first-child {
        display: block;
    }

    .centered-list img {
        width: 50px;
        height: 50px;
    }

    .menu-icon {
        opacity: 100%;
        right: 20px;
        top: 50px;
        transform: none;
    }
}