header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 10px 20px;
    /* backdrop-filter: blur(2px); */
    position: fixed;
    z-index: 20;
}

header .mobile {
    display: none;
}

header .mobile-button {
    display: none;
}

header nav {
    display: flex;
    flex-direction: row;
    justify-content: space-between;   
    gap: 35px;
    width: min-content;
    height: min-content;
}

header .button {
    font-size: var(--button-size);
    font-weight: var(--title-weight);
    letter-spacing: 1px;
    color: white;
    white-space: nowrap;
}

.logo {
    width: 70px;
    height: min-content;
}

header .button[type="redirect"] {
    background-color: rgba(190, 190, 190, 0.1);
    padding: 2px 20px;
    border-radius: 8px;
    transition: background 0.5s ease;
}

header .button[type="redirect"]:hover {
    background-color: rgba(190, 190, 190, 0.25);
}

#LoginButton {
  font-size: var(--button-size);
  font-weight: var(--title-weight);
  letter-spacing: 1px;
  color: white;
  white-space: nowrap;
  width: fit-content;
}

@media (max-width: 1024px) {
    header .desktop {
        display: none;
    }

    .logo {
        width: 95px;
        height: min-content;
    }

    header .mobile-button {
        position: sticky;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        gap: 10px;
        width: 40px;
        height: 40px;
        padding: 10px 0;
        overflow: hidden;
        z-index: 22;
        transform-origin: center;
        transform-origin: 50% 50%;
    }

    header .mobile-button > div {
        position: absolute;
        width: 100%;
        height: 2px;
        background-color: white;
        pointer-events: none;
    }

    header .mobile-button[status="close"] > div {
        transition: top .25s ease-in .50s, transform .25s ease-in-out.26s;
    }

    header .mobile-button[status="open"] > div {
        top: 50%;
        transition: top .25s ease-in .26s, transform .25s ease-in-out .50s;
    }

    header .mobile-button[status="close"] > div:nth-child(1) {
        top: 25%;
    }

    header .mobile-button[status="close"] > div:nth-child(2) {
        top: 75%;
    }

    header .mobile {
        position: fixed;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        gap: 20px;
        top: 0;
        right: 0;
        width: 0;
        height: 100vh;
        padding: 0;
        background: rgba(0, 0, 0, .8);
        backdrop-filter: blur(9px);
        z-index: 21;
        transition: width 0.5s ease;
    }

    header .controll-container {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }

    header .mobile > .navegation {
        display: flex;
        flex-direction: column;
        justify-content: start;
        align-items: end;
        gap: 20px;
        width: 100%;
        height: 100%;
    }

    header .mobile > nav > div {
        font-size: 6vw;
        line-height: 6vw;
        text-align: end;
    }
}