/* =========================================================
   SCROLL SUAVE
========================================================= */

html {
    scroll-behavior: smooth;
}

/* =========================================================
   HEADER
========================================================= */

.header {

    position: fixed;

    top: 0;
    left: 0;

    width: 100%;

    height: 88px;

    padding: 0 42px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    z-index: 100;

    color: white;

    transition:
        background .4s ease,
        color .4s ease,
        height .4s ease;

}

.header.scrolled {

    height: 72px;

    background: rgba(248, 248, 246, .94);

    color: var(--black);

    backdrop-filter: blur(14px);

}

/* =========================================================
   LOGO
========================================================= */

.logo {

    display: flex;

    align-items: center;

    gap: 9px;

    cursor: pointer;

    text-decoration: none;

    color: inherit;

}

.logo:hover .logo-image {

    transform: scale(1.03);

}

.logo-icon {

    width: 34px;

    height: 34px;

    border: 2px solid currentColor;

    border-radius: 9px 9px 9px 2px;

    display: grid;

    place-items: center;

    color: var(--green);

    font-size: 17px;

    font-weight: 700;

    transform: rotate(-5deg);

}

.logo-text {

    display: flex;

    flex-direction: column;

    line-height: .95;

}

.logo-text strong {

    font-size: 22px;

    font-weight: 700;

    letter-spacing: .04em;

}

.logo-text span {

    font-size: 7px;

    letter-spacing: .28em;

    margin-top: 4px;

}

.logo-image {

    height: 45px;

    width: auto;

    display: block;

    transition: .35s ease;

}

.header.scrolled .logo-image {

    height: 36px;

}

/* =========================================================
   NAVEGACIÓN
========================================================= */

.navigation {

    position: absolute;

    left: 50%;

    transform: translateX(-50%);

    display: flex;

    align-items: center;

    gap: 36px;

    font-size: 12px;

    font-weight: 500;

}

.navigation a {

    position: relative;

    padding: 8px 0;

}

.navigation a::after {

    content: "";

    position: absolute;

    left: 0;

    bottom: 2px;

    width: 0;

    height: 1px;

    background: var(--green);

    transition: width .3s ease;

}

.navigation a:hover::after {

    width: 100%;

}

/* =========================================================
   MENU BUTTON
========================================================= */

.menu-button {

    width: 42px;

    height: 42px;

    border-radius: 50%;

    border: 1px solid var(--green);

    background: transparent;

    color: inherit;

    display: none;

    place-content: center;

    gap: 5px;

    cursor: pointer;

}

.menu-button span {

    width: 12px;

    height: 1px;

    background: currentColor;

    display: block;

}