body {
    background: #EDF4F2;
}

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600&display=swap');


* {

    margin: 0;

    padding: 0;

    font-family: 'Montserrat';

}



.navbar-default2 .navbar-nav>li>a {

    position: relative;

    display: block;

    font-family: 'Montserrat', sans-serif;

    text-transform: uppercase;

    font-size: 16px;

    color: #549207;

    font-weight: bold;

    text-decoration: none;

    overflow: hidden;

}



.navbar-default2 .navbar-nav>li>a span {

    position: relative;

    z-index: 1;

    transition: 1s;

}



.navbar-default2 .navbar-nav>li>a:hover span {

    color: #fff;

}



.navbar-default2 .navbar-nav>li>a .botonOla {

    position: absolute;

    top: calc(100% + 22px);

    left: 0;

    width: 100%;

    height: 100%;

    background: #D32626;

    transition: 1s;

}



.navbar-default2 .navbar-nav>li>a:hover .botonOla {

    top: 0;

}



.navbar-default2 .navbar-nav>li>a .botonOla::before {

    content: '';

    position: absolute;

    top: -22px;

    left: 0;

    width: 100%;

    height: 22px;

    background: url(../images/ola.png);

    animation: animateB 0.5s linear infinite;

}



@keyframes animateB {

    0% {

        background-position-x: 0;

        background-position-y: -22px;

    }

    100% {

        background-position-x: 118px;

        background-position-y: -22px;

    }

}







header .navbar-inverse {

    background: #f8f9fa !important;

    border: none;



}







.navbar-inverse .navbar-nav>li>a {

    position: relative;

    display: block;

    font-family: 'Montserrat', sans-serif;

    text-transform: uppercase;

    font-size: 16px;

    color: #549207;

    font-weight: bold;

    text-decoration: none;

    overflow: hidden;

}



.navbar-inverse .navbar-nav>li>a span {

    position: relative;

    z-index: 1;

    transition: 1s;

}



.navbar-inverse .navbar-nav>li>a:hover span {

    color: #fff;

}



.navbar-inverse .navbar-nav>li>a .botonOla {

    position: absolute;

    top: calc(100% + 22px);

    left: 0;

    width: 100%;

    height: 100%;

    background: #D32626;

    transition: 1s;

}



.navbar-inverse .navbar-nav>li>a:hover .botonOla {

    top: 0;

}



.navbar-inverse .navbar-nav>li>a .botonOla::before {

    content: '';

    position: absolute;

    top: -22px;

    left: 0;

    width: 100%;

    height: 22px;

    background: url(../images/ola.png);

    animation: animateB 0.5s linear infinite;

}





@media (max-width: 991px) {

    .navbar-header {

        float: none;

    }

    .navbar-left,
    .navbar-right {

        float: none !important;

    }

    .navbar-nav {

        background: rgba(255, 253, 253, 0.911);

        text-align: center;

        border: none;

    }

    .navbar-toggle {

        display: block;

        font-size: 18px;

        line-height: 0.3;

        background: rgb(252, 251, 251);

        border: 1px solid #000;

    }

    .navbar-collapse {

        border-top: 1px solid transparent;

        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);

    }

    .navbar-fixed-top {

        top: 0;

        border-width: 0 0 1px;

    }

    .navbar-collapse.collapse {

        display: none !important;

    }

    .navbar-nav {

        float: none !important;

        margin-top: 7.5px;

    }

    .navbar-nav>li {

        float: none;

    }

    .navbar-nav>li>a {

        padding-top: 10px;

        padding-bottom: 10px;

    }

    .collapse.in {

        display: block !important;

    }

}







/*Encabezado*/

.encabezado {

    position: relative;

    width: 100%;

    height: 10vh;

    overflow: hidden;

    z-index: 1000;

}



.encabezado .text h1 {

    font-family: 'Montserrat', sans-serif;

    text-align: center;

    font-size: 64px;

    color: #549207;

    margin: 250px;

}



.encabezado .text p {

    font-family: 'Montserrat', sans-serif;

    text-align: center;

    color: #000;

    margin: 100px;

}



.encabezado .wave {

    position: absolute;

    bottom: 0;

    left: 0;

    width: 100%;

    height: 100px;

    background: url(waveRojo.png);

    background-size: 1000px 100px;

}



.encabezado .wave.wave1 {

    animation: animate 30s linear infinite;

    z-index: 1000;

    opacity: 1;

    animation-delay: 0s;

    bottom: 0;

}



.encabezado .wave.wave2 {

    animation: animate2 15s linear infinite;

    z-index: 999;

    opacity: 0.5;

    animation-delay: -5s;

    bottom: 10px;

}



.encabezado .wave.wave3 {

    animation: animate2 30s linear infinite;

    z-index: 998;

    opacity: 0.2;

    animation-delay: -2s;

    bottom: 15px;

}



.encabezado .wave.wave4 {

    animation: animate2 5s linear infinite;

    z-index: 997;

    opacity: 0.7;

    animation-delay: -5s;

    bottom: 20px;

}



@keyframes animate {

    0% {

        background-position-x: 0;

    }

    100% {

        background-position-x: 1000px;

    }

}



@keyframes animate2 {

    0% {

        background-position-x: 0;

    }

    100% {

        background-position-x: -1000px;

    }

}









.container:nth-child(2) {



    background: #EDF4F2;

}

.container:nth-child(3) {



    background: #EDF4F2;

}

.team-section:nth-child(3) {

    padding-top: 30px;

    background: #EDF4F2;

}

/*

.team-section {

    background: #EDF4F2;

}

/*

.team-section:nth-child(1) {

    background: #D32626;

}*/

.team-section:nth-child(3) {

    background: #D32626;

}



.team-section:nth-child(4) {

    background: #D32626;

}





.team-left h2 {

    color: #549207;

    text-transform: uppercase;

    margin-bottom: 30px;

    font-weight: 900px;

    letter-spacing: 4px;

}

.swiper-container {

    width: 300px;

    height: 300px;

}



.swiper-slide {

    background-position: center;

    background-size: cover;

}



.swiper-slide h2 {

    color: #EDF4F2;

    text-align: center;

    background: #549207;

    text-transform: uppercase;

    font-size: 18px;

    margin-top: 84%;

    padding: 15px 0;

    font-family: 'Montserrat', sans-serif;

    font-weight: bold;

}



.pepino {

    background: #D32626;

}



/* footer */



footer {

    background: #EDF4F2;

    padding: 60px 0 30px 0;

    margin: auto;

    overflow: hidden;

}



.contenedor-footer {

    display: flex;

    width: 90%;

    justify-content: space-evenly;

    margin: auto;

    padding-bottom: 50px;

    border-bottom: 1px solid #ccc;

}



.content-foo {

    text-align: center;

}



.content-foo h4 {

    color: #549207;

    font-weight: bold;

    border-bottom: 3px solid #ccc;

    padding-bottom: 5px;

    margin-bottom: 10px;

}



.content-foo p {

    color: #000;

}



.titulo-final {

    text-align: center;

    font-size: 24px;

    margin: 20px 0 0 0;

    color: #9e9797;

}



@media screen and (max-width:500px) {

    .row {

        padding-top: 15%;

    }

    /* Footer */



    .contenedor-footer {

        flex-direction: column;

        border: none;

    }



    .content-foo {

        margin-bottom: 20px;

        text-align: center;

    }



    .content-foo h4 {

        border: none;

    }



    .content-foo p {

        color: #ccc;

        border-bottom: 1px solid #f2f2f2;

        padding-bottom: 20px;

    }



    .titulo-final {

        font-size: 20px;

    }

}