body{
    position: relative;
    
       
}

.nav-pills .nav-link.active {
    background-color: #04B404;
    -webkit-animation-name: example; /* Safari 4.0 - 8.0 */
    -webkit-animation-duration: 4s;  /*Safari 4.0 - 8.0 */
    animation-name: example;
    animation-duration: 3000s;
    }
    /* Safari 4.0 - 8.0 */
    @-webkit-keyframes example {
    from {background-color: #04B404;}
    to {background-color: #04B404;}
    }
    
    /* Standard syntax */
    @keyframes example {
    from {background-color: #04B404;}
    to {background-color: #04B404;}
    }
    
.fondo {
    margin: 0;
    background-image: url(../img/banner.jpg);
    height: 100vh;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
h1 {
    margin: 0;
    color: #000000;
    font-weight: bold;
    font-family: 'Bebas Neue', cursive;
}


h2 {
    margin: 0;
    color: #000000;
    font-weight: bold;
    font-family: 'Teko', sans-serif;
}

.text-bann {
    font-style: italic;
    color: #000000;
    font-family: 'Abel', sans-serif;

}
h3 {
    font-family: 'Bebas Neue', cursive;
    
    
}
h3.title-nosotros{
    margin: 0;
    font-family: 'Teko', sans-serif;
    font-size: 45px;


}
.title-bann{
    /*border: 2px solid white;*/
    padding: 20px;
    text-align: center;
    background: #00bfff4b;

}
p {
    font-family: 'Abel', sans-serif;
    color: #2e2e2e;
    font-size: 20px;
}

h5 {
    color: white;
    font-weight: bold;
    
    
    
}
.verde {
    background:rgba(0, 128, 0, 0.295);
}
.top-nav-collapse {
    background: rgba(0, 128, 0, 0.897) !important;
}

.fondo-contacto {
    height: 170vh;
    background: url(../img/contacto.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.galeria img {
    box-shadow: 0 8px 10px -4px rgba(0,0,0,.6);
    border-radius: 15px;
}
.pie {
    background-color: #000000;
    color: white;
    text-align: center;
}
.navbar-nav {
    margin-left: 70px;
    padding-top: 30px;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 20px;
    font-family: 'Abel', sans-serif;
}

.navbar-nav:hover {
    text-decoration: none;
    text-transform: uppercase;
    font-size: 15px;
    font-weight: bold;

}

.navbar-nav:before {
    content: '';
    display: block;
    height: 5px;
    background:black;
    width: 0;
    transition: all ease-in 250ms;
    top: 18px;
    font-weight: bold;

}

/*.navbar-nav:hover::before {
    width: 100%;
}*/
.title-galeria{
    font-weight: 400;
    text-align: center;
    padding: 20px, 0;
    font-size: 60px;
    font-family: 'Teko', sans-serif;
}
.galeria{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 4fr));
    width: 90%;
    margin: auto;
    grid-gap: 20px;
    padding: 40px, 0;
    overflow: hidden;
}
.galeria > a{
    display: block;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 6px rgba(0, 0, 0, .5);
}
.galeria img{
    width: 100%;
    vertical-align: top;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s;
} 

.galeria a:hover img {
    filter: blur(2px);
    transform: rotate(10deg) scale(1.3);
}

.light-box{
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(0,0,0,.5);
    transition: transform .3s ease-in-out;
    width: 100%;
    height: 100vh;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: scale(0);
}

.light-box img{
    margin-top: 90px;
    width: 35vw;
    max-height: 85vh;
    
}

.light-box:target{
    transform: scale(1);
}

.close{
    display: block;
    position: absolute;
    top: 130px;
    right: 50px;
    color: #ffffff;
    text-decoration: none;
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
}

.next{
    display: block;
    color: #ffffff;
    height: 40px;
    width: 30px;
    line-height: 30px;
    text-decoration: none;
    text-align: center;
}

@media screen and (max-width:400px){
    .galeria{
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    .close{
        top: 20px;
        right: 20px;
    }
}

#contacto {
    font-family: 'Abel', sans-serif;
    font-size: x-large;
}

/*****card servicios****/

#serv-card{
    background-color: #dbe5e6;
    padding: 30px 0px;
}
#serv-card h2{
    font-weight: 400;
    font-size: 60px;
    padding-bottom: 10px;
    font-family: 'teko', sans-serif
}
.title {
    text-align: center;
    padding: 25px 0px;
}
.title p{
    font-size: 30px;

}
.card-body{
    box-shadow: 0 0 20px 7px rgba(0, 0, 0, 0.1);
}
.card{
    margin: 30px 10px;
}
.card-title{
    margin: 0;
    color: darkgreen;
    font-family: 'Teko', sans-serif;
    font-size: 40px;
}

