
*{
    margin: 0px;
    padding: 0px;
    text-decoration: none;
    font-family: 'Open Sans', Verdana, Geneva, Tahoma, sans-serif;
}
html, body{
    overflow-x: hidden;
}

body{
    background: white;
}

.clearfix{
    clear: both;
    float: none;
}

.container{
    width: 75%;
    margin: 0px auto;
}

/*CABECERA*/

#main-header{
    background: white;
    height: 100px;
    line-height: 85px;
     
}

#logo{
    width: 63%;
    float: left;
}

#logo h1{
    font-weight: bold;
    font-size: 25px;
    color: #FB314E;
}

#menu{
    width: 380px;
    float: left;
}

#menu ul li{
    list-style: none;
    float: left;
    margin-left: 16px;
    margin-right: 16px; 
}

#menu ul li a{
    color: black;
}
#menu ul li a:hover{
    color: #FB314E;
}

#slider{
    height: 300px;
    background: #FB314E;
}

#slider h2{
    font-size: 40px;
    text-align: center;
    color: white;
    line-height: 290px;
    text-shadow: 0px 0px 6px black;
}

.subheader{
    font-size: 34px;
    color: #333;
    text-align: center;
    margin-top: 50px;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(251, 49, 78, 0.3);
}

.service, .video{
    width: 33%;
    text-align: center;
    float: left;
    margin-top: 20px;
    margin-bottom: 20px;   
}

.service img {
    height: 48px;
    margin-bottom: 20px;
}
.service h3{
    margin-bottom: 10px;

}
.service p, .video p{
    color: #444;
    text-align: center;
    display: block;
    width: 80%;
    margin: 0px auto;
}

.video iframe{
    width: 80%;
    height: 190px;
}

#footer{
    background: #333;
    padding-top: 1px;
    padding-bottom: 40px;
    margin-top: 30px;
    text-align: center;
    color: white;
}

#footer .subheader{
    color: white;
}

#redes{
    margin: 0px auto;
    width: 230px;
    display: block;
    list-style: none;
    margin-bottom: 20px;
    margin-top: 20px;
}

#redes li{
    float:left;
    margin-left: 20px;
    margin-right: 20px;
    transition: all 300ms;
}
#redes li:hover{
    opacity: 0.7;
    transform: scale(1.2, 1.2);
}

@media  (max-width: 1225px){
    .container{
        width: 95%;
    }
   
}

@media (max-width:800px){
    .service, .video{
        width: 70%;
        text-align: center;
        float: none;
        margin: 0px auto;
        margin-top: 20px;
        margin-bottom: 55px;   
    }
    .service img {
        margin-bottom: 10px;
    }
    .service p, .video p{
        margin-top: 15px;
    }
    .video iframe{
        width: 80%;
        height: 220px;
    }
}

@media  (max-width: 1370px){
    #main-header{
        height: 70px;
        line-height: 65px;
    }

    #logo{
        width: 344px;
        float: none;
        margin: 0px auto;
        }

    #menu{
        float: none;
        margin: 0px auto;
    }
   
}

@media (max-width: 780px){
    #slider h2{
        font-size: 30px;
    }

}
@media (max-width: 544px){
    #slider h2{
        font-size: 20px;
    }

}
