header {
    background-color: var(--blue-main);
    color: var(--bg-white);
    display: flex;
    justify-content: space-between;
    padding: 0 15px;
    position: fixed;
    width: -webkit-fill-available;
    z-index: 1;
}
  
.header-menu {
    display: flex;
}

.header-menu img {
    cursor: pointer;
    margin-left: 3px;
}

.menu__icon {
    display: none;
}

.menu__item {
    display: flex;
    white-space: nowrap;
    padding: 25px 30px;
    user-select: none;
    cursor: pointer;
}

.menu__item-label {
    margin-right: 1px;
    font-size: 18px;
}

.burger {
    cursor: pointer;
    height: 48px;
    width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-tap-highlight-color: transparent;
}

.burger input {
    display: none;
}

.navbar {
    height: 4.25rem;
}

.navbar-mobile {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 100%;
    height: 100%;
}
    
.navbar-desktop {
    width: 100%;
    height: calc(100vh - 4rem);
    opacity: 0;
    overflow: auto;
    pointer-events: none;
    background-color: var(--bg-white);
    transition: opacity 0.4s ease;
    position: absolute;
    left: 0;
    z-index: 99;
}

.navbar-desktop.is-active {
    opacity: 1;
    pointer-events: initial;
}

.menu-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-block: 0.8rem;
    padding-inline: 1.5rem;
    color: var(--text-black);
    transition: color 0.3s ease;
}

.dropdown-toggle {
    cursor: pointer;
    outline: none;
    user-select: none;
}

ul {
    /*list-style-type: none;*/
	/*list-style-position: outside;*/
	/*padding-left: 2em;*/
}

.wrapper-link {
    display: flex;
    align-items: center;
    display: flex;
    justify-content: space-between;
    padding-block: 0.8rem;
    padding-inline: 0.5rem;
    color: var(--text-black);
    transition: color 0.3s ease;
}

.menu-item {
    color: var(--text-black);
    font-weight: 500;
}

.dropdown-toggle .menu__item-icon {
    filter: brightness(0);
}

img.menu__item-icon {
    transition: transform 0.4s ease;
}

.menu-item.dropdown-show .dropdown-toggle .menu__item-icon {
    transform: rotate(180deg);
}

.dropdown-content {
    height: 0;
    overflow: hidden;
    background-color: var(--bg-white);
    transition: height 0.5s ease;
}

.dropdown-content img {
    width: 20px;
    height: 20px;
}

.dropdown-column,
.dropdown-group,
.dropdown-items {
    display: grid;
}

.dropdown-group {
    padding-bottom: 1rem;
    padding-inline: 1.5rem;
}

.alter-title  {
    margin-bottom: 10px;
}

.alter-link .dropdown-link {
    font-weight: 500;
}

.alter-block:hover {
    cursor: pointer;
}

.alter-block:hover .alter-link {
    text-decoration: underline;
}

.dropdown-title {
    display: flex;
    column-gap: 1rem;
    align-items: center;
    padding-inline: 1rem;
    color: var(--text-black);
    font-weight: 500;
}

.dropdown-desc {
    color: var(--text-black);
    padding-inline: 3.5rem;
}

.dropdown-icon {
    width: 24px;
    height: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.dropdown-items {
    row-gap: 0.5rem;
    padding-inline: 3.5rem;
    padding-top: 0.35rem;
}

.dropdown-link {
    font-weight: 400;
    color: var(--text-black);
    text-decoration: none;
}

.dropdown-link:hover {
    text-decoration: underline;
}

.header-link {
    color: var(--white);
}
  
@media screen and (min-width: 62rem) {
    header {
        padding: 0 130px;
    }

    .navbar {
        display: flex;
        justify-content: space-between;
    }

    .navbar-desktop {
        position: initial;
        height: initial;
        opacity: 1;
        overflow: auto;
        pointer-events: visible;
        background: none;
        transition: none;
    }

    .menu {
        display: flex;
        flex-direction: row;
        height: 100%;
    }

    li.menu-item {
        display: flex;
        cursor: pointer;
        padding-inline: 1rem;
        align-items: center;
        column-gap: 0.35rem;
        color: var(--bg-white);
        font-weight: 400;
    }

    .menu-item:hover .dropdown-toggle .menu__item-icon {
        transform: rotate(180deg);
    }

    .menu-link {
        padding: unset;
        color: var(--bg-white)
    }

    .dropdown-toggle {
        column-gap: 0.35rem;
        pointer-events: none;
    }

    .dropdown-toggle .menu__item-icon {
        filter: brightness(1);
    }
    
    .dropdown-content {
        position: absolute;
        left: 0;
        right: 0;
        top: 6rem;
        opacity: 0;
        height: max-content;
        pointer-events: none;
        background-color: var(--bg-white);
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
        transition: top 0.4s, opacity 0.3s ease;
    }
    
    .dropdown-column {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        column-gap: 2rem;
        max-width: 75rem;
        margin-inline: auto;
    }
    
    .dropdown-group {
        align-content: baseline;
        row-gap: 1.25rem;
        padding-block: 4rem;
    }

    .dropdown-group:first-child,
    .dropdown-group:last-child {
        margin: unset;
    }
    
    .dropdown-items {
        padding-top: unset;
    }
    
    .dropdown-desktop {
        padding-top: unset;
        padding-inline: unset;
    }
    
    .dropdown:hover > .dropdown-content {
        cursor: initial;
        top: 4.25rem;
        opacity: 1;
        pointer-events: initial;
    }

    .burger {
        display: none;
        visibility: hidden;
    }
}

.icon-menu {
    --gap: 6px;
    --height-bar: 4px;
    --pos-y-bar-one: 0;
    --pos-y-bar-three: 0;
    --scale-bar: 1;
    --rotate-bar-one: 0;
    --rotate-bar-three: 0;
    width: 32px;
    display: flex;
    flex-direction: column;
    gap: var(--gap);
    cursor: pointer;
    position: relative;
}
  
.bar {
    position: relative;
    height: var(--height-bar);
    width: 100%;
    border-radius: 0.5rem;
    background-color: white;
}

.bar--1 {
    top: var(--pos-y-bar-one);
    transform: rotate(var(--rotate-bar-one));
    transition:
        top 200ms 100ms,
        transform 100ms;
}

.bar--2 {
    transform: scaleX(var(--scale-bar));
    transition: transform 150ms 100ms;
}

.bar--3 {
    bottom: var(--pos-y-bar-three);
    transform: rotate(var(--rotate-bar-three));
    transition:
        bottom 200ms 100ms,
        transform 100ms;
}

.check-icon:checked + .icon-menu > .bar--1 {
    transition:
        top 200ms,
        transform 200ms 100ms;
}

.check-icon:checked + .icon-menu > .bar--3 {
    transition:
        bottom 200ms,
        transform 200ms 100ms;
}

.check-icon:checked + .icon-menu {
    --pos-y-bar-one: calc(var(--gap) + var(--height-bar));
    --pos-y-bar-three: calc(var(--gap) + var(--height-bar));
    --scale-bar: 0;
    --rotate-bar-one: 45deg;
    --rotate-bar-three: -45deg;
}

.adapt-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;
}

.adapt-btn a {
    text-decoration: none;
}

@media screen and (min-width: 2048px) {
    .header {
        justify-content: center;
    }

    .navbar {
        margin-right: auto;
        margin-left: auto;
    }

    .adapt-btn {
        margin-left: 0;
    }

}