*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: sans-serif;
}

h1{
    font-family: 'Dosis', sans-serif;
    color: #e91e63;
    margin-top: 40px;
    margin-left: 20px;
    text-align: center;
}

h2{
    font-family: sans-serif;
    color: #0672d0;
    margin-top: 10px;
    margin-left: 20px;
}

h3{
    font-family: 'Dosis', sans-serif;
    color: #000;
    text-align: center;
    font-size: 25px;
}

h4{
    font-family: fantasy;
    color: #009933;
    margin-top: 10px;
    text-align: left;
    font-size: 25px;
}


header{
    position: absolute;
    top: 0;
    left: 0;
    padding: 0 100px;
    width: 100%;
    box-sizing: border-box;
    background: -webkit-linear-gradient(left, #000009, #0672d0);
}
header .logo{
    color: #00bcd4;
    height: 50px;
    line-height: 50px;
    font-size: 24px;
    font-family: fantasy;
    float: left;
    font-weight: bold;
    margin-top: 20px;
}
header nav{
    float: right;
    margin-top: 20px;
}
header nav ul{
    margin: 0;
    padding: 0;
    display: flex;
}
header nav ul li{
    list-style: none;
}
header nav ul li a{
    height: 50px;
    line-height: 50px;
    padding: 0 20px;
    color: #fff;
    text-decoration: none;
    display: block;
}
header nav ul li a:hover,
header nav ul li a.active{
    color: #fff;
    background: #2196f3;
}
.menu-toggle{
    color: #283593;
    float: right;
    line-height: 50px;
    font-size: 24px;
    cursor: pointer;
    display: none;
    margin-top: 20px;
}

@media (max-width: 1108px){
    header{
        padding: 0 20px;
    }
    .menu-toggle{
        display: block;
    }
    header nav{
        position:absolute;
        width: 100%;
        height:;
        background: #333;
        top: 50px;
        left: -100%;
        transition: 0.5s;
        margin-top: 45px
    }
    header nav.active{
        left: 0;
    }
    header nav ul{
        display: block;
        text-align: center;
    }
    header nav ul li a{
        border-bottom: 1px solid rgba(0,0,0,.2);
    }

     .container-body{
        flex-wrap: wrap;
    }

    .colum2.
    .colum3{
        margin-top: 40px;
    }

    .colum3 label{
        font-size: 11px;
    }
}

@media (max-width: 508px){
    header{
        padding: 0 20px;
    }
    .menu-toggle{
        display: block;
    }
    header nav{
        position:absolute;
        width: 100%;
        height:;
        background: #333;
        top: 50px;
        left: -100%;
        transition: 0.5s;
        margin-top: 20px
    }
    header nav.active{
        left: 0;
    }
    header nav ul{
        display: block;
        text-align: center;
    }
    header nav ul li a{
        border-bottom: 1px solid rgba(0,0,0,.2);
    }
}

/*portada*/

.container-portada{
    width: 100%;
    height: 600px;
    background: url(img/fotovilla.jpg);
    background-size:180%;
    animation: movimiento 10s infinite linear alternate;
}

/*etapas*/

.container-carretera{
    width: 100%;
    max-width: 1200px;
    position: relative;
    margin: auto;
}

.container-carretera img{
    width: 100%;
    height: 100%;
    margin-top: 30px;
    margin-left: 10px;
}

.container-mtb{
    width: 100%;
    max-width: 1200px;
    position: relative;
    margin: auto;
}

.container-mtb img{
    width: 100%;
    height: 100%;
    margin-top: 30px;
    margin-left: 10px;
}

@keyframes movimiento{
    from{
        background-position: bottom right;
    }to{
        background-position: top left;
    }
}

/*footer*/

footer{
    width: 100%;
    background: #202020;
    color: white;
    padding: 40px;
}

container-footer-all{
    width: 100%;
    margin: auto;
}

.container-body{
    display: flex;
    justify-content: space-between;
    position: relative;
}

.colum1{
    max-width: 400px;
}

.colum1 h5{
    font-size: 22px;
    font-family: papyrus, fantasy;
}

.colum1 p{
    font-size: 14px;
    color: #c7c7c7;
    margin-top: 20px;
}

.colum2{
    max-width: 400px;
}

.colum2 h5{
    font-size: 22px;
    font-family: papyrus, fantasy;
}

.row{
    margin-top: 20px;
    display: flex;
}

.row img{
    width: 36px;
    height: 36px;
}

.row label{
    margin-top: 10px;
    margin-left: 20px;
    color: #c7c7c7;
}

.colum3{
    max-width: 400px;
    margin-right: 40px;
}

.colum3 h5{
    font-size: 22px;
    font-family: papyrus, fantasy;
}

.row2{
    margin-top: 20px;
    display: flex;
}

.row2 img{
    width: 36px;
    height: 36px;
}

.row2 label{
    margin-top: 10px;
    margin-left: 20px;
    max-width: 150px;
}

@media screen and (max-width: 500px){
    .details p{
        font-size: 18px;
    }

     header img{
        display: none;
    }

    .container-portada{
    width: 100%;
    height: 110px;
    background: url(img/fotosocios.jpg);
    background-size: 100%;
    margin-top: 80px;
}

    header .logo{
    color: #00bcd4;
    height: 50px;
    line-height: 50px;
    font-size: 15px;
    font-family: papyrus;
    float: left;
    font-weight: bold;
    margin-top: 20px;
}

h1{
    font-family: 'Dosis', sans-serif;
    color: #0672d0;
    margin-top: 130px;
    margin-left: 20px;
    font-size: 18px;
    text-align: center;
}

h2{
    font-family: 'dosis', sans-serif;
    color: #0672d0;
    margin-top: 10px;
    text-align: center;
    font-size: 18px;
}

   h3{
    font-family: 'Dosis', sans-serif;
    color: #009933;
    margin-top: 40px;
    margin-left: 20px;
    font-size: 18px;
       text-align: center;
}

h4{
    font-family: 'dosis', sans-serif;
    color: #009933;
    margin-top: 10px;
    text-align: center;
    font-size: 18px;
}

}
