.nav{
    width: 100%;
    height: 120px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 11;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    background-color: transparent;
    box-sizing: border-box;
    padding: 0 100px;
}

.logo{
    font-family: var(--any);
    font-size: 20px;
    color: white;
    position: absolute;
    top: 0;
    left: 50px;
    display: flex;
    font-weight: 700;
    height: 120px;
    justify-content: center;
    align-items: center;
}


.linkNav{
    margin: 15px;
    color: white;
    text-decoration: none;
    font-family: var(--mon);
    opacity: 50%;
    position: relative;
    transition: all 400ms ease;
    cursor: pointer;
    opacity: 0;
    transition: all 300ms ease;
    transform: translateX(20px);
}

.linkNav::after{
    content: '';
    width: 100%;
    height: 2px;
    background-color: var(--green);
    position: absolute;
    bottom: -2px;
    left: 0;
    transition: all 400ms ease;
    transform: scaleX(0);
    transform-origin: left;
}


.linkNav:hover::after{
    transition: all 400ms ease;
    transform: scaleX(1);
    transform-origin: left;
}

.linkNav:hover{
    opacity: 100%;
    transition: all 400ms ease;
}

.red{
    margin: 15px;
    color: black;
    text-decoration: none;
    font-family: var(--red);
    padding: 12px 40px;
    background-color: transparent;
    border: solid 2px black;
    border-radius: 100px;
    transition: all 400ms ease;
}

.red:hover{
    background-color: var(--rojo);
    transition: all 400ms ease;
    border: solid 2px red;
    color: white;
}


@media (max-width:1050px) {
    .nav{
        padding: 0 40px;
    }
}

@media (max-width:900px) {
    .nav{
        padding: 0 ;
        height: 100%;
        height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: all 400ms ease;
        transform: translateX(-100%);
        background-color: var(--rojo);
    }

    .logo{
        display:flex;
        height: 110px;
        position: absolute;
        z-index: 1212121;
    }

    .navTrue{
        transition: all 400ms ease;
        transform: translateX(-100%);
    }

    .navFalse{
        transition: all 400ms ease;
        transform: translateX(0%);
        background-color: black;
    }

    .linkNav{
        font-size: 24px;
        text-align: left;
        color:white;
    }

    .logoNav{
        display: none;
    }

    .red{
        font-size: 24px;
    }

    .burger{
        z-index: 222;
        width: 50px;
        height: 20px;
        position: absolute;
        top: 40px;
        right: 30px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .lineOne{
        width: 40px;
        height: 3px;
        background-color: white;
        transition: 250ms ease;
        border-radius: 100px;
    }

    .lineTwo{
        width: 40px;
        height: 3px;
        margin-top: 10px;
        background-color: white;
        transition: 250ms ease;
        border-radius: 100px;
    }

    .oneChange{
        transition: all 250ms ease;
        transform: rotate(45deg);
        background-color: var(--green);
    }

    .twoChange{
        transition: all 250ms ease;
        margin-top: -3px;
        transform: rotate(-45deg);
        background-color: var(--green);
    }
}

.oneNone{
    width: 50px;
    height: 3px;
    transition: all 250ms ease;
    transform: none;
}

.twoNone{
    width: 50px;
    height: 3px;
    transition: all 250ms ease;
    transform: none;
}


.mainTrue{
    display: block;
}

.mainFalse{
    display: none;
}

