.navbar {
    position: fixed !important;
    top: 0 !important;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;

    padding: 16px 32px !important;
    background: #ffffff;
    width: 100%;
    z-index: 100;
}

.nav-void {
    height: 86px;
}


.navbar .buttons {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 0;
    margin: 0;
}

.navbar .buttons .nav-button {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;

    width: 117px;
    height: 40px;

    color: #4B5563;
    text-decoration: none;
}

.navbar .buttons .sign-up {
    color: #fff !important;
    background: linear-gradient(270deg, #570DDD -24.6%, #4968ED 38.4%, #4199F5 100.14%, #37D6FF 160.88%);
    border-radius: 6px;
}

.menu-icon {
    display: none;
}


@media screen and (min-width: 641px) and (max-width: 1024px) {
    .navbar .icon .image {
        width: 140px;
    }

    .navbar .buttons .nav-button {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;

        width: 75px;
        height: 40px;

        font-size: 14px;

        color: #4B5563;
        text-decoration: none;
    }



    .long {
        width: 104px !important;
    }

}

@media screen and (min-width: 641px){
    .nav-mobile{
        display:none !important;
        visibility: hidden !important;
        opacity: 0 !important;
    }
}

@media screen and (max-width: 640px) {
    .navbar .buttons {
        display: none;
        visibility: hidden;
        opacity: 0;
    }

    .menu-icon {
        display: flex;
    }

    .navbar {
        padding: 16px 16px !important;
        width: 100vw;
    }
}


.main-header {
    height: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: white;
    padding: 0 0.4rem;
}

.main-logo {
    color: black;
    font-size: 32px;
    text-decoration: none;
}

.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    height: calc(100vh + 32px);
    width: 100%;
    margin-left: -100%;
    transition: all 0.2s linear;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 100;
}

.main-nav.show {
    margin-left: 0;
}

.nav-links {
    background-color: rgb(250, 250, 250);
    display: flex;
    flex-direction: column;
    width: 70%;
    height: 100%;
    align-items: center;
    justify-content: flex-start;
}

.link-item {
    margin-top: 2rem;
    color: #444444;
    text-decoration: none;
    font-weight: bold;
    position: relative;
}

.link-item::after {
    position: absolute;
    content: "";
    background-color: black;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 3px;
    transition: 0.3s ease all;
}

.link-item:hover::after {
    width: 100%;
}

.button-menu {
    z-index: 200;
    width: 24px;
    height: 24px;
    border: none;
    display: flex;
    background: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.button-menu span {
    width: 18.33px;
    height:1.22px;
    margin-bottom: 5px;
    position: relative;
    background: #000000;
    border-radius: 3px;
    transform-origin: 4px 0px;
    transition: all 0.2s linear;
}

.button-menu.close span {
    display:none;
    opacity: 0;
    transition: .2s;
}

.button-menu.close img {
    display:flex;
    opacity: 1;
    visibility: visible;
    transition:.2s;
}

.button-menu.close span:nth-child(2) {
    transform: rotate(-45deg) translate(-8px, 5px);
}

.button-menu.close span:nth-child(3) {
    display: none;
}

.cruz{
    position:absolute;
    right:16px;
    top:16px;
}

@media screen and (min-width: 768px) {
    .button-menu {
        display: none;
    }

    .main-logo {
        flex-basis: 30%;
    }

    .main-nav {
        position: static;
        margin-left: 0;
        flex-basis: 70%;
        height: 100%;
    }

    .nav-links {
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: flex-end;
        background: white;
    }

    .link-item {
        display: inline-block;
        margin-top: 0;
        margin-right: 2rem;
    }
}

@media screen and (prefers-color-scheme: dark) {
    .button-menu span {
        background: #ccc;
    }
    
}