@font-face {
    font-family: 'candara';
    src: url("../fuentes/Candara.ttf");
}

@font-face {
    font-family: 'candara';
    src: url("../fuentes/Candara.eot");
}

@font-face {
    font-family: 'candara';
    src: url("../fuentes/Candara.woff");
}


/*-----------------MENU--------------*/



/*1:R:242% - G:111% - B:33%
2:R:251% - G:174% - B:23%

rgba(255,0,0,0)
*/

nav {
    width: 100%;
    height: auto;
    background-image: linear-gradient(#542F1E, #3A2014, #3A2014);
}

/*
.icons{
    position: absolute;
    left: 0px;
    font-size: 20px;
    width:150px;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}
.icons a{
    text-decoration: none;
    color: #fff;
    transition: .3s;
}
.icons a:hover{
    text-decoration: none;
    color: #000;
    font-size: 22px;
}

*/
.nav__container {
    right: 0px;
    width: 100%;
    height: auto;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    font-size: 16px;
    font-family: Arial, Helvetica, sans-serif;
}

.nav__logo {
    display: none;
}


.nav__img {
    width: 30px;
    display: block;
}

.logo {
    position: absolute;
    top: 40px;
    left: 40px;
    width: 25%;
}

.logo img {
    width: 90%;
}

.list {
    width: 50%;
    height: 100%;
    right: 0;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    column-gap: 5px;
    transform: unset;
    transition: none;
    letter-spacing: 1px;
}

/*.nav:hover .list{
    transform: translate(0);
}*/
/*puro css*/

.list__item {
    list-style: none;
    position: relative;
}

.list__link {
    text-transform: capitalize;
    color: #fff;
    text-decoration: none;
    padding: 12px;
    font-weight: 500;
    transition: 0.5s;
    border-radius: 8px;
}

.list__link:hover {
    background: #1F140F;

}


.list__item:hover .children {
    display: none;
}


.list__item .children {
    display: none;
    margin-top: 8px;
    position: absolute;
    list-style: none;
    padding: 0px;
    background: #3A2014;
    width: 200%;
    z-index: 10;
    border-radius: 0px 0px 5px 5px;
}

.list__item .children li {
    left: 0;
    display: block;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    transition: 0.5s;
}

.list__item .children li:hover {
    background-color: #b6b6b6;
    color: #000;
}

.list__item .children a {
    display: block;
    text-decoration: none;
    padding: 15px;
    color: #fff;
}

.list__item .children a:hover {
    color: #000;
}

/*--------/MENU--------------*/




@media(max-width:750px) {


    /*----------NAV---------------*/

    header {
        height: auto;
    }

    nav {
        height: auto;
        background-image: none;
    }

    .nav__container {
        display: flex;
        justify-content: end;
        align-items: flex-start;
        padding-top: 10px;
    }

    .logo {
        top: 10px;
        left: 20px;
        width: 60%;
    }

    .nav__logo {
        position: absolute;
        display: block;
        cursor: pointer;
        top: 20px;
        right: 20px;
        background-color: #38210e;
        padding: 5px;
        border-radius: 5px;
        border: #fff solid 2px;
    }



    .list {
        width: 100%;
        max-width: 450px;
        height: 89vh;
        position: fixed;
        right: 0;
        top: 70px;
        bottom: 0;
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
        align-items: center;
        transform: translate(100%);
        transition: transform .5s;
        z-index: 999;
        background-image: linear-gradient(#38210e, #3A2014);
        border-radius: 5px;
        box-shadow: #000924 5px 10px 12px;
        padding: 0px;
    }

    .list--show {
        transform: translate(0);
    }

    .list li {
        display: block;
        width: 100%;
        border-bottom: 0.3px solid rgba(255, 255, 255, 0.5);
        text-align: center;
    }


    .list__item .list__link {
        display: block;
        width: 100%;
        border-radius: 0px;
    }


    .list__item:hover .children {
        display: none;
    }

    .list__item .children {
        width: 100%;
        position: relative;
        background-color: #532e1d;
    }




}