:root{
    --color_one: rgba(137,70,83,1);
    --color_two: rgba(255, 255, 255,1);
    --color_three: rgba(30,28,28,1);
    --color_four: rgba(249,246,246,1);
    --color_five: rgba(30,28,28,1);
}

@font-face {
    font-family: 'FSLucasProMed';
    src: url(../fonts/FSLucasProMed.ttf);
}

@font-face {
    font-family: 'FSLucasPro Bold';
    src: url(../fonts/FSLucasProBold.ttf);
}

@font-face {
    font-family: 'FSLucasPro Regular';
    src: url(../fonts/FSLucasProRegular.ttf);
}

@font-face {
    font-family: 'FSLucasPro SemiBold';
    src: url(../fonts/FSLucasProSemiBd.ttf);
}

header > div{
    height: 2.1rem;
    background-color: var(--color_one);
    display: flex;
    justify-content: center;
}

header > div > span{
    color: var(--color_two);
    text-transform: uppercase;
    font-family: 'FSLucasProMed';
    font-size: 13px;
    letter-spacing: 2px;
    margin: auto;
    font-weight: normal;
    opacity: 0.9;
}

header nav ul{
    max-width: 1440px;
    width: 92%;
    height: 7.1rem;
    display: flex;
    justify-content: space-between;
    padding: 0;
    margin: auto;
    align-items: center;
    list-style: none;
}

header nav ul li{
    cursor: pointer;
}

header nav ul li:nth-child(2) picture{
    margin-right: 2rem;
}

header nav ul li:nth-child(2) picture img{
    width: 13rem;
}

header nav ul li span{
    font-family: 'FSLucasProMed';
    font-size: 17px;
    color: var(--color_three);
    text-transform: capitalize;
    opacity: 0.8;
    padding-left: 8px;
}

.header_menu {
    width: 30%;
    width: 27rem;
    height: 100vh;
    margin: 0;
    padding: 7rem 0 0 0;
    position: fixed;
    top: 0;
    left: -45%;
    background-color: white;
    display: block;
    z-index: 1000;
    transition: .5s;
}


.header_menu--item {
    margin: 0 0 0 4rem;
    padding: 1.8rem;
    list-style: none;
}


.header_menu--item a {
    text-decoration: none;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-size: 20px;
    color: var(--color_one);
    letter-spacing: 3px;
    position: relative;
    font-family: 'FSLucasPro Bold';
    transition: .4s;
}

.header_menu--item a::after{
    content: '';
    position: absolute;
    width: 0%;
    height: 2px;
    background-color: var(--color_one);
    bottom: -9px;
    left: 0;
    transition: .3s;
}
.header_menu--item a:hover::after{
    width: 100%;
    transition: .3s;
}

.header_menu--item a:hover {
    transition: .4s;
    font-weight: bold;
}

.header_menu--cruz {
    position: absolute;
    right: 3rem;
    top: 2.8rem;
    cursor: pointer;
}

.header_menu--cruz {
    cursor: pointer;
}

.header_menu--visible {
    left: 0%;
    transition: .8s;
}



/*======================= Footer ====================*/

footer{
    background-color: var(--color_five);
    padding: 1rem 0 0 0;
}

.footer_nav{
    height: 15rem;
    display: flex;
    width: 85%;
    max-width: 1100px;
    margin: auto;
    justify-content: space-between;
    align-items: center;
    border-bottom: 3px solid white;
}

.footer_nav--text{
    margin: -2.5rem 0 0 0;
    padding: 0;
}

.footer_nav--text li{
    list-style: none;
    font-family: 'FSLucasProMed';
    font-size: 17px;
    margin-top: 1rem;
}

.footer_nav--text li a{
    text-decoration: none;
    color: white;
}

.footer_nav--redes{
    width: 7rem;
    display: flex;
    padding: 0;
    margin: -3.7rem 0 0 0;
    justify-content: flex-start;
}

.footer_nav--redes li{
    list-style: none;
    padding: 1rem 1.5rem 1rem 0rem;
}

.footer_nav--redes li a{
    color: white;
}

.footer_nav--redes li a i{
    font-size: 18px;
}

.footer_credits{
    width: 85%;
    height: 8rem;
    display: flex;
    max-width: 1100px;
    margin: auto;
    justify-content: space-between;
    padding: 1rem 0 0 0;
}

.footer_credits p{
    font-family: 'FSLucasPro Regular';
    font-size: 14px;
    color: white;
    letter-spacing: 1px;
}

/*======================= Legales ====================*/

.texto{
    max-width: 1290px;
    margin: auto;
    width: 88%;
    padding: 5rem 0 5rem 0;
}

.texto h2{
    font-family: 'FSLucasPro Bold';
    font-size: 22px;
    margin: 0 0 2.5rem 0;
}

.texto h3{
    font-family: 'FSLucasPro Bold';
    font-size: 20px;
    margin: 0 0 5px 0;
}

.texto p{
    font-family: 'FSLucasProMed';
    font-size: 20px;
    letter-spacing: 1px;
    color: var(--color_five);
    opacity: 0.8;
}

.texto article{
    margin-bottom: 3rem;
}

.suscribe_container.text{
    max-width: 1220px;
}

.suscribe.text {
    margin: 6rem 0 9rem 0;
}

@media (max-width: 990px){
    .header_menu {
        left: -88%;
    }
    .header_menu--visible {
        left: 0%;
        transition: .8s;
    }
    header nav li:nth-child(3) {
        width: 4rem;
    }
    header nav ul li:nth-child(3) span {
        display: none;
    }
}

@media (max-width: 700px){
    .footer_nav {
        height: 20rem;
        flex-wrap: wrap;
    }
    .footer_nav picture{
        margin: auto;
    }
    .footer_nav--text {
        margin: -2.5rem 0 0 0;
        padding: 0;
        width: 50%;
    }
    .footer_nav--redes {
        margin: -1.7rem 0 0 0;
    }
}

@media (max-width: 500px){

    header > div {
        height: 4.3rem;
    }
    header > div > span {
        text-align: center;
        margin: 1rem;
        font-size: 13px;
        width: 14rem;
    }
    header nav ul li {
        display: flex;
        flex-direction: row;
        align-items: center;
    }
    header nav ul li:nth-child(2) picture {
        margin-right: 0rem;
        text-align: center;
    }

    header nav ul li:nth-child(2) picture img{
        /*width: 65%;*/
        width: 9rem;
    }

    .header_menu {
        left: -130%;
        width: 100%;
    }
    .header_menu--visible {
        left: 0%;
        transition: .8s;
    }

    /*
    .header_menu {
        right: -120%;
    }
    */
}
