* {
    box-sizing: border-box;
}

body{
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
}

a {
    display: inline-block;
    text-decoration: none;
   
}

p {
    color: black;
}

header{
     background-color: white;
     padding: 15px 0;
     position: fixed;
     top: 0;
     width: 100%;
     left: 0;
     z-index: 2;
}

header .container{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .container .logo 
{
    width: 80px;
}

header .container .logonombre{
    font-weight: 500;
    font-size: 20px;
    color:  forestgreen;
}
header .container .logoapellido{
    font-weight: 400;
    font-size: 18px;
    color:  rgb(107, 180, 33);
    text-shadow: 2px 2px 9px #707070;
}
header .container nav a 
{
    color: forestgreen;
    text-decoration: none;
    margin: 0 15px;
    text-transform: uppercase;
    font-size: 15px;
}

header .container nav a:after 
{
    background: none repeat scroll 0 0 transparent;
    bottom: 0;
    content: "";
    display: block;
    height: 1px;
    left: 50%;
    position: relative;
    background:#25d366;
    transition: width 0.3s ease 0s, left 0.3s ease 0s;
    width: 0;
}
header .container nav a:hover:after 
{
    width: 90%; 
    left: 8%;
}

header .container .hamb
{
    display: none;
    position: relative;
}

footer
{
    background-color: black;
    color: white;
    padding-top: 60px;
}

footer .barra-footer
{
    background-color: gray;
    text-align: center;
    padding-right: 15px;
    padding-left: 15px;
    padding-top: 20px;
    padding-bottom: 20px;
}

footer .logo-footer
{
    width: 70%;
}

footer ul
{
   padding-left: 0;
   list-style: none;
   margin: 0;
}

footer ul li
{
  margin-bottom: 10px;
}

footer p
{
   color: white;
   margin-bottom: 30px;
}

footer a
{
   color: white;
  
}
footer .redes
{
   font-size: 30px;
   display: flex;
   

}
footer .redes a
{
   margin: 0 7.5px;

}

.floatWapp{
    position:fixed;
    width:60px;
    height:60px;
    bottom:20px;
    right:20px;
    background-color:#25d366;
    color:#FFF;
    border-radius:50px;
    text-align:center;
    font-size:30px;
    box-shadow: 2px 2px 3px #999;
    z-index:100;
  }
  
  .my-floatWapp{
    margin-top:16px;
  }
  
  

.boton
{
    text-align: center;
    text-decoration: none;
    padding: 15px 20px;
    border: none;
}

.boton.boton-rojo
{
    color: white;
    background-color:forestgreen;
    font-size: 20px;
    font-weight: bold;
}

.boton.boton-blanco
{
    color: forestgreen;
    background-color:white;
    font-size:16px;
    font-weight:bold;
    border: 1px solid forestgreen;
}

.boton.boton-negro
{
    color:white;
    background-color: #999;
    font-size:16px;
    font-weight:bold;
    border: 1px solid rgb(250, 247, 247);
}

.boton.boton-negro:hover
{
    color:black;
    background-color:white;
    font-size:16px;
    
}

.boton.boton-rojo a
{
    color: white;
    background-color: red;
    
}

.seccion
{
    padding-top:60px;
    padding-bottom: 60px;
}

.cuadrado-perfecto{
    width: 100%;
    padding-bottom: 100%;
    position: relative;
}

.cuadrado-perfecto img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    position: absolute;
    top: 0;
    left: 0;
   
}

.container {
    width: 1140px;
    margin: 0 auto;
    padding-left: 15px;
    padding-right: 15px;
    position: relative;
}

.container-fuid {
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
    position: relative;
}

.row
{
    display: flex;
    flex-wrap: wrap;
    margin-left: -15px;
    margin-right: -15px;
}

.columna{
    padding-right: 15px;
    padding-left: 15px;

}

.columna-25
{
    width: 25%;
}

.columna-33{
    width: 33.33%;
}

.columna-41
{
    width: 41.66%;
}
.columna-50
{
    width: 50%;
}
.empujar-50
{
    margin-left: 50%;
}
.empujar-58
{
    margin-left: 58.33%;
}
.empujar-66
{
    margin-left: 66.66%;
}
.empujar-0{
    margin-left: 0%;
}

#inicio 
{
    position: relative;

}

#inicio img
{
    width: 100%;
    display: block;
}

#inicio .bloque-inicio
{
    position: absolute;
    top: 40%;
    left: 50%;
    width: 400px;
    text-align: center;
    margin-left: -200px;
}

#inicio .bloque-inicio h1{
    color: white;
    font-size: 35px;
}

#inicio .bloque-inicio p{
    color: white;
    line-height: 1.3;
    font-size: 18px;
    
}

#nosotros
{
    background-image: url(img/nosotros.jpg);
    background-size: cover;
}

#nosotros p{
    color:rgb(248, 245, 245);
    text-align: center;
    line-height: 1.3;
    text-shadow: rgb(8, 8, 8);
    font-size: 18px;
}

#servicios .bloque-servicio
{
    border: 1px solid gray;
}

#servicios .bloque-servicio .bloque-img-servicio
{
    
}

#servicios .bloque-servicio .bloque-img-servicio img
{
    width: 100%;
}

#servicios .bloque-servicio .bloque-img-servicio.cuadrado-perfecto
{
    padding-bottom: 56.27%;
}

#servicios .bloque-servicio .bloque-contenido-servicio
{
    padding: 15px;

}

#servicios .bloque-servicio .bloque-contenido-servicio h3
{
    margin-top: 0;
    font-size: 21px;
    text-align: center;
    
}

#galeria
{

}

#galeria h4
{
    padding-right: 15px;
    padding-left: 15px;
    text-align: center;
    position: absolute;
    top: 40%;
    color: white;
    font-size: 18px;
    width: 100%;
}

#galeria img
{
  filter:grayscale(1) ;
}

#galeria .cuadrado-perfecto:hover img
{
  filter:grayscale(0) ;
}

#galeria .cuadrado-perfecto:hover h4
{
  display: none;
}

#contacto{

    position: relative;
}

#contacto iframe
{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    filter: grayscale(1);
}

#contacto form
{
    padding: 60px;
    background-color: forestgreen;
}

#contacto form .form-block
{
    width: 100%;
    margin-bottom: 15px;
}

#contacto form .form-block .form-control
{
    display: block;
    height: 40px;
    font-size: 16px;
    border: 1px solid gray;
    width: 100%;
    padding: 5px 10px;
}

#contacto form .form-block textarea
{
    display: block;
    height: 100px;
    font-size: 16px;
    border: 1px solid gray;
    width: 100%;
    padding: 5px 10px;
}

#contacto form .form-block.bloque-ultimo
{
    margin-bottom: 0;
}

@media(max-width: 767px)
{
    body
    {
        font-size: 15px;
    }
    header .container nav
    {
        position: fixed;
        width: 100%;
        height: 100%;
        background-color: white;
        padding-top: 80px;
        padding-bottom: 80px;
        padding-left: 15px;
        padding-right: 15px;
        top: 0;
        left: 0;
        display: flex;
        flex-direction: column;
        transition: all 0.4 ease;
        transform:translateX(100%);
    }
    /* MENU EN MOBILE */
    header .container nav.open
    {
        transform:translateX(0);
    }

    header .container nav a
    {
      font-size: 30px;
      margin: 15px 0;
    }
    header .container .hamb
    {
        display: block;
        font-size: 40px;
        color: red;
        
    }

    form .boton.boton-negro
    {
        width: 100%;
    }

    footer
    {
        text-align: center;
    }

    footer .logo-footer
    {
        width: 50%;
    }

    footer .redes
    {
        justify-content: center;
    }

    .container
    {
        width: 100%;
    }

    .columna-mobile-100
    {
        width: 100%;
    }

    .columna-mobile-50
    {
        width: 50%;
    }

    .empujar-mobile-0
    {
        margin-left: 0;
    }

    .sinpadding-mobile
    {
        padding: 0;
    }

    #inicio
    {
        height: 100vh;

    }
    #inicio img
    {
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

    #servicios .bloque-servicio
    {
        margin-bottom: 15px;
    }
    #contacto 
    {
        padding: 0;
    }
    #contacto iframe
    {
        position: relative;
        height: 50vh;
    }
}