/*ESTILOS GENERALES */
body {
    font-family: 'Raleway', sans-serif;
    overflow-x: hidden;
}
img {
    width: 100%;
}
h1 {
    font-size: 5em;
    padding: 25px;
}
section, article {
    padding: 100px 0;
}
h2 {
    font-weight: 300;
}
hr {
    width: 100px;
    border-color: black;
    margin: 20px 0;
}
.title-right h2, .title-right p {
    text-align: right;
}
.title-right hr {
    margin-left: calc(100% - 100px);
}


/* MENU DE NAVEGACION */
.navicon {
    display: none;
}

.menu {
    width: 100%;
    background: white;
    border-bottom: 1px solid rgb(230, 230, 230);
    display: flex;
    justify-content: space-between;
    position: fixed;
    z-index: 2;
}
.menu .logo {
    width: 50px ;
}
.menu ul {
    margin-bottom: 0;
}
.menu li {
    display: inline-block;
    margin: 10px;
}
.menu a {
    display: block;
    padding: 10px;
    color: black;
    text-decoration: none;
    text-transform: uppercase;
}


/*ESTILO REDES SOCIALES*/
#btn-mas{
    display: none;
}
.contenedor{
    position: fixed;
    bottom: 20px;
    right: 20px;
}
.redes a, .btn-mas label{
    display: block;
    text-decoration: none;
    background: #ffbe3a;
    color: #fff;
    width: 55px;
    height: 55px;
    line-height: 35px;
    text-align: center;
    border-radius: 50%;
    box-shadow: 0px 1px 10px rgba(0,0,0,0.4);
    transition: all 500ms ease;
}
.btn-mas label{
    line-height: 55px;
}
.redes a:hover{
    background: #fff;
    color: #ffbe3a;
}
.redes a{
    margin-bottom: -15px;
    opacity: 0;
    visibility: hidden;
}
#btn-mas:checked~ .redes a{
    margin-bottom: 10px;
    opacity: 1;
    visibility: visible;
}
.btn-mas label{
    cursor: pointer;
    background: #ffbe3a;
    font-size: 23px;
}
#btn-mas:checked ~ .btn-mas label{
    transform: rotate(135deg);
    font-size: 25px;
}





/*FOTO PRINCIPAL */
#seccion1 {
    padding: 300px 0;
    background: url('../img/principal.png') no-repeat center / cover;
}



/*  SEPARADOR GRIS */
#aside {
    background-color: rgb(50, 50, 50);
    color: white;
    text-transform: uppercase;
    text-align: center;
    letter-spacing: 1px;
    font-size: 1.5em;
    padding: 40px 0;
}


/* SECCION SERVICIOS */
#slider-track img {
    width: 150px;
    height: 150px;
    border-radius: 150px;
}
#slider-track img:hover {
    transition: all .5s;
    opacity: 0.2;
}
/* SECCION SERVICIOS MOVIL*/
#slider-track-movil {
    display: none;
}
#slider-track-movil img {
    width: 150px;
    height: 150px;
    border-radius: 150px;
}
#slider-track-movil img:hover {
    transition: all .5s;
    opacity: 0.2;
}




/*SECCION MAPA Y FORMULARIO*/
#contacto {
    width: 90%;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
#mapa, #formulario {
    width: 50%;
    height: 300px;
}
#formulario p {
    font-size: 10px;
    padding: 0 20px;
    text-align: justify;
}
#formulario input, #formulario textarea{
    display: block;
    margin: auto;
    width: 80%;
    margin-bottom: 10px;

}
#formulario button {
    width: 30%;
    margin: auto;
    display: block;
    margin-top: 30px;
    margin-bottom: 10px;
    border-radius: 5px;
    background-color: #ffbe3a;
    color: white;
    border: solid 1px #ffbe3a;

}
#formulario button:hover {
    background-color: #91da1b;
    border: solid 1px #91da1b;

}





/* FOOTER */
#footer {
    margin-top: 150px;
    background-color: black;
    height: 80px;
}
#footer p{
    font-size: 10px;
    color: white;
    letter-spacing: 1px;
    padding-left: 20px;
    padding-top: 20px;
    margin: 0;
}







@media (max-width: 850px){
    #seccion1 {
        background: url('../img/principalMovil.png') no-repeat center / cover;
    }
    nav#redesSociales {
        bottom: 20px;
        left: 0;
        width: 70px;
        height: 200px;
        margin-top: 65px;
    }
    .navicon {
        width: 40px;
        position: fixed;
        top: 10px;
        right: 10px;
        cursor: pointer;
        z-index: 9999;
        display: block;
    }
    .menu {
        display: block;
    }
    .menu nav {
        position: fixed;
        width: 300px;
        height: 100vh;
        background: white;
        transform: translate(-100%, 0);
        transition: all .5s;
    }
    .menu nav.abierto {
        transform: translate(0,0);
    }
    .menu li {
        display: block;
    }
    #servicios {
        width: 100%;
        margin: 0;
    }
    #contacto {
        display: block;
    }
    #mapa, #formulario {
        width: 100%;
    }
    #mapa {
        margin-top: 80px;
    }
    #slider-track {
        display: none;
    }
    #slider-track-movil {
        display: inherit;
    }
}




