header {
    max-width: var(--content-max-width);

    padding: 20px;
    height: 120px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

header>.main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    color: black;
}


header a {
    text-decoration: unset;
}

header a.main-cta {
    padding: 0.5rem 1rem;
    position: relative;
    color: var(--white);
    transition: 0.15s;
}

header a.main-cta::after {
    z-index: -1;
    content: '';
    transition: 0.15s;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-2);
}

header a.main-cta.active::after,
header a.main-cta:hover::after {
    background-color: var(--color-1);
    color: var(--black);
}

header a:not(.main-cta) {
    transition: 0.15s;
    position: relative;
}

header a:not(.main-cta)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    background-color: var(--color-2);
    height: 2px;
    transition: 0.15s;
}

header a:not(.main-cta).active::after,
header a:not(.main-cta):hover::after {
    width: 100%;
}



.mobile-button {
    border: unset;
    width: 30px;
    height: 30px;
    background: unset;
    display: none;
}


.button-box {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.button-box .line {
    border-bottom: 1px solid black;
}

@media screen and (max-width: 1000px) {
    .mobile-button {
        display: block;
    }

    header>.main-nav {
        display: none;
    }
}
