@keyframes move {
  0% {
    transform: translate(-50%,calc(-50% - 5px));
    
    opacity: 0;
  }
  50% {
    transform:translate(-50%, calc(-50% + 10px));
    opacity: 1;
  }
  100% {
    transform: translate(-50%, calc(-50% + 25px));
    opacity: 0;
  }
}

.serviceBlurb svg {
    width: 100%;
    height: 100%;
}
.heroRow {
    height: 90vh;
    width: 100%;
    position: relative;
}

.heroVideo {
    height: 100%;
    width: 100%;
    position: relative;
}

.heroVideo video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.heroVideo::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: black;
    opacity: 0.44;
}


.greenOverlay svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.greenOverlay {
    position: absolute;
    top: 50.5%;
    left: 0;
    width: 100%;
    height: 50%;
    background-image: url("data:image/svg+xml,%3Csvg id='Capa_1' data-name='Capa 1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 1920 530.71' preserveAspectRatio='xMidYMid slice'%3E%3Cdefs%3E%3ClinearGradient id='Degradado_sin_nombre_8' x1='960' y1='530.71' x2='960' gradientUnits='userSpaceOnUse'%3E%3Cstop offset='0' stop-color='%2388b04b'%3E%3C/stop%3E%3Cstop offset='1' stop-color='%2388b04b' stop-opacity='0'%3E%3C/stop%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='1920' height='530.71' style='fill:url(%23Degradado_sin_nombre_8)'%3E%3C/rect%3E%3C/svg%3E");
    background-repeat: repeat-x;
    background-size: contain;
    background-position: bottom;
}



.absoluteText h1 {
    font-family: 'Budokan', sans-serif;
    color: white;
    font-size: 7em;
    text-align: center;
    display: flex;
    flex-direction: column;
    line-height: 63%;
    margin: unset;
}

.absoluteText h1 span {
    font-size: 2.74rem;
}

.absoluteText p {
    font-family: 'Budokan', sans-serif;
    color: white;
    font-size: 2.4em;
    text-align: center;
    position: absolute;
    left: 50%;
    top: 100%;
    text-wrap: nowrap;
    white-space: nowrap;
    transform: translateX(-50%) translateY(160%);
}


.absoluteText {
    position: absolute;
    top: calc(50% - 5vh);
    left: 50%;
    z-index: 10;
    transform: translate(-50%,-50%);
    width: 80%;
    height: fit-content;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.chevronDown {
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 85%;
    left: 50%;
    transform: translate(-50%,-50%);
    animation: move 1.3s ease-in-out infinite;
    cursor: pointer;
}

.chevronDown svg {
    width: 100%;
    height: 100%;
}

.shortAboutUs {
    height: 50vh;
    background-color: #88b04b;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.shortAboutUs p {
    font-family: 'Barlow',sans-serif;
    color: white;
    font-size: 1.8em;
    text-align: center;
    padding: 0 25%;
    line-height: 120%;
}

.shortAboutUs a {
    font-family: 'Budokan';
    text-decoration: unset;
    color: #88b04b;
    background-color: white;
    padding: 10px 6em;
    border-radius: 50px;
    margin-top: 3em;
    transition: all 0.15s cubic-bezier(.83,.37,0,.51);
}

.shortAboutUs a {
    font-family: 'Budokan';
    text-decoration: unset;
    color: #88b04b;
    background-color: white;
    padding: 10px 6em;
    border-radius: 50px;
    margin-top: 3em;
    transition: all 0.15s cubic-bezier(.83,.37,0,.51);
    width: 10%;
    text-align: center;
}

.shortAboutUs a:hover {
    filter: drop-shadow(-4px 6px 0px rgba(73,121,22));
}

.shortServices>a:hover{
    filter: drop-shadow(-4px 6px 0px #333333);
}


.shortServices {
    height: fit-content;
    background-color: white;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
    min-height: 50vh;
    padding-bottom: 7vh;
    padding-top: 6vh;
}

.servicesBlurbs {
    display: flex;
    flex-direction: row;
    width: 90%;
    justify-content: center;
    align-items: flex-end;
}

.serviceBlurb {
    width: 19%;
    position: relative;
    margin: 0em 1%;
}

.serviceBlurbImage {
    width: 67%;
    height: 80%;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    margin: 0 auto;
}

.serviceBlurb p {
    text-align: center;
    font-family: 'Barlow', sans-serif;
    color: #88b04b;
    font-size: 1.2em;
    padding: 0 2%;
    white-space: nowrap;
    text-wrap: nowrap;
}

.shortServices>a {
    font-family: 'Budokan';
    text-decoration: unset;
    color: white;
    background-color: #88b04b;
    padding: 10px 6em;
    border-radius: 50px;
    margin-top: 5em;
    transition: all 0.15s cubic-bezier(.83,.37,0,.51);
    width: 10%;
    text-align: center;
}

.shortServices>h2 {
    font-family: 'Barlow',sans-esrif;
    color: #88b04b;
    font-size: 2em;
}

.serviceBlurb>a {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: unset;
}


.serviceBlurb:hover::after{
    transform: translate(-50%,-100%) ;
}


.serviceBlurb::after {
    content: '';
    width: 50%;
    height: 3px;
    border-radius: 10px;
    background-color: #88b04b;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translate(-50%,-100%) scale(0);
    transform-origin: center;
    transition: all 0.25s cubic-bezier(.83,.37,0,.51);
}

div#trabajos-recientes h2 {
    font-family: 'Barlow', sans-serif;
    font-weight: 900;
    color: white;
    position: absolute;
    top: 1em;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.8em;
}


.swiper-slide::after {
    content: '';
    position: absolute;
    top: calc(100% + 15px );
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 70%;
    height: 3px;
    background-color: white;
    transform-origin: center;
    transition: all 0.2s cubic-bezier(.83,.37,0,.51);
}

.swiper-slide:hover::after {
    transform: translateX(-50%);
}

.swiper-slide::before {
   /* content: ''; */
    position: absolute;
    top: calc(0% - 15px );
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 70%;
    height: 3px;
    background-color: white;
    transform-origin: center;
    transition: all 0.2s cubic-bezier(.83,.37,0,.51);
}

.swiper-slide:hover::before {
    transform: translateX(-50%);
}


.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 18px;
    display: block;
}

.swiper-slide {
    aspect-ratio: 1/1;
    border-radius: 18px;
    /*background-color: white;*/
    cursor: pointer;
}


div#trabajos-recientes {
    display: flex;
    flex-direction: column;
    background-color: #88b04b;
    justify-content: center;
    align-items: center;
    padding-top: 16vh;
    padding-bottom: 16vh;
    position: relative;
}

.swiperRecentJobs {
    width: 76%;
    position: relative;
    overflow-x:clip;
}



.swiper-RJ-next {
    width: 70px;
    height: 70px;
    position: absolute;
    top: 50%;
    left: 100%;
    cursor: pointer;
    transform: translate(calc(-80px + -100%), -50%);
}

.swiper-RJ-prev {
    width: 70px;
    height: 70px;
    position: absolute;
    top: 50%;
    left: 0%;
    cursor: pointer;
    transform: translate(80px, -50%);
}

.swiper-RJ-next svg, .swiper-RJ-prev svg{
    overflow: visible;
    transition: all 0.25s cubic-bezier(.83,.37,0,.51);
}

.swiper-RJ-prev svg:hover{
    filter: drop-shadow(-4px 4px 0px rgba(73,121,22,1));
}

.swiper-RJ-next svg:hover{
    filter: drop-shadow(4px 4px 0px rgba(73,121,22,1));
}

.recentJobsModal {
    background-color: #f4f4f4;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40%;
    height: 90%;
    border-radius: 20px;
    transform: translate(-50%,-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 3vh;
    padding-top: 3vh;
    justify-content: space-between;
}

.RJModalImage {
    width: auto;
    height: auto;
    padding: 20px;
    box-sizing: border-box;
    border-radius: 20px;
    transform: scale(0.95);
    max-height: 100%;
    min-height: 70%;
    min-width: 20%;
    max-width: 100%;
}

.RJModalText {
    width: 99%;
    height: auto;
    overflow-y: auto;
    overflow-x: clip;
    padding: 20px;
    box-sizing: border-box;
    background-color: white;
    border-radius: 20px;
    transform: scale(0.95);
    scrollbar-width: thin;
    scrollbar-color: #88b04b white;
    max-height: 40%;
    min-height: 23%;
}

.RJModalImage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius:20px;
}

.recentJobsModalWrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(3px);
    z-index: 999;
    background-color: rgba(51,51,51,0.3);
    pointer-events: none;
    opacity: 0;
    transition: all 0.75s cubic-bezier(.83,.37,0,.51);
}

.activeModal{
    pointer-events:all;
    opacity:1;
}
h2.RJModalTitle {
    color: #88b04b;
    font-family: 'Barlow';
    margin-top: unset;
    font-size: 1.8em;
    margin-bottom: 5px;
}

p.RJModalDescription {
    font-family: 'Barlow';
    color: #333333;
}

.recentJobs .fullImage {
    position: absolute;
    top: 0;
    left: 0;
    max-width: 100%;
    max-height: 100%;
    z-index: -2;
}

.closeModal {
    position: absolute;
    top: 0;
    left: 100%;
    width: 30px;
    height: 30px;
    transform: translate(-45px,15px);
    cursor: pointer;
}

.closeModal svg, .closeModal svg * {
    pointer-events: none;
}

.responsiveVideo{
    display:none;
}


@media only screen and (max-width:1600px){
    
.absoluteText h1 {
    font-size: 5em;
}

.absoluteText h1 span {
    font-size: 1.97rem;
}

.absoluteText p {
    font-size: 2em;
}


.floatingWhatsapp {
    width: 50px;
    height: 50px;
}

.chevronDown {
    width: 40px;
    height: 40px;
}

.shortAboutUs p {
    font-size: 1.6em;
}

.shortServices>a {
    width: 18%;
    white-space:nowrap;
}

.shortAboutUs a {
    width: 18%;
}

.serviceBlurb p {
    white-space: unset;
    text-wrap: unset;
}

.swiper-RJ-prev {
    width: 50px;
    height: 50px;
    transform: translate(60px, -50%);
}

.swiper-RJ-next {
    width: 50px;
    height: 50px;
    transform: translate(calc(-60px + -100%), -50%);
}

.closeModal {
    position: absolute;
    top: 0;
    left: 100%;
    width: 25px;
    height: 25px;
    transform: translate(-35px,5px);
    cursor: pointer;
}



}



@media only screen and (max-width:1200px){

.absoluteText p {
    white-space: unset;
    text-wrap: unset;
    top: 50%;
    width: 70%;
    font-size: 1.6em;
}

.serviceBlurb p {
    font-size: 1em;
}

.shortAboutUs p {
    font-size: 1.4em;
}


}

@media only screen and (max-width:800px){

    .heroVideo {
    display: none;
}

.heroVideo.responsiveVideo {
    display: block;
}

.absoluteText h1 {
    font-size: 3.9em;
}

.absoluteText h1 span {
    font-size: 1.47rem;
}


.absoluteText p {
    white-space: unset;
    text-wrap: unset;
    top: 10%;
    width: 100%;
    font-size: 1.2em;
}

.shortAboutUs p {
    font-size: 1.1em;
}

.shortAboutUs a {
    width: 50%;
    padding: 10px 2em;
}

.shortServices>a {
    width: 50%;
    white-space: nowrap;
    padding: 10px 2em;
    text-align: center;
}

.servicesBlurbs {
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.serviceBlurb {
    width: 50%;
    position: relative;
    margin: 0em 1%;
}

.serviceBlurb p {
    font-size: 1.3em;
}

.serviceBlurb {
    width: 50%;
    position: relative;
    margin: 0em 1%;
    margin-bottom: 5vh;
}

.shortServices>a {
    margin-top: unset;
}


.shortServices>h2 {
    margin-bottom: 2.5em;
}

div#trabajos-recientes h2 {
    font-size: 1.7em;
    width: 100%;
    display: block;
    text-align: center;
}

.recentJobsModal {
    width: 97%;
}

.RJModalImage {
    padding: 5px;
}



}

@media only screen and (max-width:600px){
.shortAboutUs p {
    font-size: 0.9em;
    padding: 0 5%;
}

.shortServices>a {
    width: 60%;
}
.shortAboutUs a {
    width: 60%;
}

.swiper-RJ-next {
    top: 73%;
    left: 70%;
    transform: translate(-50%, 100%);
}

.swiper-RJ-prev {
    top: 73%;
    left: 30%;
    transform: translate(-50%,100%);
}

.swiperRecentJobs {
    overflow-x: visible;
}

.closeModal {
    width: 30px;
    height: 30px;
}

}