/*
Autor: Athalía Vilaplana
Empresa: La Tuerta Design
*/



*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{font-family: 'Raleway', sans-serif;     background-color: BLACK;}
ul{list-style: none;}
a{text-decoration: none;}

nav{
    background: #000;
    position: fixed;
    width:100%;
    top:0;
    left:0;
}
nav ul{
    width: inherit;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;

    -webkit-flex-wrap:wrap;
    -ms-flex-wrap:wrap;
    flex-wrap:wrap;

    -webkit-justify-content:center;
    -ms-flex-pack:center;
    justify-content:center;
    /*justify-content:space-between;
    justify-content:center;*/

}

nav ul li{
    padding: 10px;
}

nav ul li a{
    display: block;
    width: 100%;
    color: #fff;

}
nav ul li a:hover{
    color:tomato;
}

/*
::::::::::::::::::::SECCIONES
*/

section{
    height: 600px;
    /*border-bottom: 1px solid #000;*/
    background-color: #fff;
}



.logo_home{
    display: table-cell;
    vertical-align: middle;
    text-align: center;



}


.wrapper{
    width:1200px;
    margin: 0 auto;
    height: inherit;
    display: flex;
    justify-content:center;
    /*background-color: #00ff00;*/
}

.fondo1,.fondo2,.fondo3{
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    display: table;
    width: 100%;
}

.fondo1{
    background-image: url(../img/oso.jpg);
}

.fondo2{
    background-image: url(../img/tren.jpg);
}

.fondo3{
    background-image: url(../img/contacto.jpg);
}

h1{
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    font-size: 4.6em;
    font-weight: lighter;
    color: #fff;
}

.wrapper div{
    padding: 20px;
}

.col_p{
    flex:1;
    display: table;
    height: 100%;
}



.col_g{
    flex:2;
    height: 100%;
    /*display: table;*/
    margin-top: 50px;
}
.vertical{
    display: table-cell;
    vertical-align: middle;
}



section h2{
    font-size: 2.5em;

    font-weight: lighter;
    margin-bottom: 20px;
}




section p{
    line-height: 1.5;
    font-size: 1.3em
}



.btn{
    background-color: #000;
    width: 250px;
    text-align: center;
    margin: 30px 0;
    border-radius: 10px;
    color:#fff;
    font-weight: 200;

}


.btn:hover{
    background-color: #aaa;
    color:#000;
    cursor: pointer;
}


.col{
    text-align: center;
    font-size: 12px;

}
.col img{
    width: 200px;
}



.col p{
    text-align: justify;
}

.col .btn{
    margin: 30px auto;
}

/*
::::::::::::::::::::FOOTER
*/

footer{
    height: 600px;
    /*border-bottom: 1px solid #000;*/
    background-color: #000;
}
.col_footer{
    flex:1;
    display: table;
    height: 100%;
}

.vertical_footer{
    display: table-cell;
    vertical-align: middle;
}

footer h2{
    font-size: 2.5em;
    font-weight: lighter;
    margin-bottom: 20px;
    color: #fff;
}
footer p{
    line-height: 1.5;
    font-size: 1.3em;
    color:#fff;
}

.btn_footer{
    background-color: #fff;
    width: 250px;
    text-align: center;
    margin: 30px 0;
    border-radius: 10px;
    color:#000;
    font-weight: 200;

}

.btn_footer:hover{
    background-color: #aaa;
    color:#000;
    cursor: pointer;
}

.col_footer img{
    width: 400px;
}

img {
max-width: 100%;
}

/*MEDIA QUERY=====================================================================*/

@media screen and (max-width:1200px){
    .wrapper{
        width: 98%;
    }
}

@media screen and (max-width:982px){
    section{
        height:auto;
    }
    .fondo1, .fondo2, .fondo3{
        height: 600px;
    }

    .col_p img{
        padding-top: 60px;
        width: 150px;
    }
}

@media screen and (max-width:500px){
    .wrapper{
        flex-direction:column;
    }
    .col_g, .col_p{
        text-align: center;

    }


    .col_g{
        margin: 0;
    }
    .col_p{
        display: block;
    }

    .vertical{
        display: block;
    }
    .btn{
        margin: 20px auto;
    }

    section{
        padding: 50px 0;
    }
    .col{
        margin-left: 50px;
        margin-right: 50px;
    }

}

@media screen and (max-width:800px){
    .wrapper{
        flex-direction:column;
    }
    .col_g, .col_p{
        text-align: center;

    }


    .col_g{
        margin: 0;
    }
    .col_p{
        display: block;
    }

    .vertical{
        display: block;
    }
    .btn{
        margin: 20px auto;
    }

    section{
        padding: 50px 0;
    }
    .col{
        margin-left: 50px;
        margin-right: 50px;
    }

}
