*{
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    box-sizing:border-box;
}

*::-webkit-scrollbar{
    width: 15px;
    background-color: #111827;
}

*::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px #111827;
    background-color: white;
    border-radius: 10px;
}

*::-webkit-scrollbar-thumb {
    background: #111827;
    border-radius: 10px;
}

html{
    scroll-behavior: smooth;
}

::selection{
    color: white;
    background-color: rgb(255, 207, 85);
}

::-moz-selection{
    color: white;
    background-color: rgb(255, 207, 85);
}

@font-face {
    font-family: colonna-mt-regular;
    src: url(fonts/ColonnaMT.ttf);
}

/*CABEZA DE PÁGINA*/

.cabecera-general{
    display: flex;
    flex-direction: row;
    align-items:center;
    justify-content: space-evenly;

    height: 6.5rem;
    background-color: white;

    z-index: 3;
}

.contenedor-logo-recisur{
    display: flex;
    align-items: center;
    margin-left: 2em;
}

.contenedor-logo-recisur img{
    width: 75px;
    animation: rotate 1.75s;
}


@keyframes rotate {
    0% {
      transform: rotate(0deg);
    }

    100% {
      transform: rotate(360deg);
    }
}

.contenedor-logo-recisur p{
    font-family: 'colonna-mt-regular', sans-serif;
    font-size: 70px;
    font-style: italic;
    padding-top: 10px;
    padding-left: 13px;
    background: -webkit-linear-gradient(rgba(40,30,115,255), rgba(37, 150, 190));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/*Menú navegación desk*/

.contenedor-menu-principal{
    display: flex;
    flex-direction: row;

    width: auto;
}

.contenedor-menu-principal a{
    text-decoration: none;
    text-transform: uppercase;
    color: black;
    font-size: 1.1rem;
    letter-spacing: 1px;
    font-weight: 400;
    padding: 1.5rem;
    margin-left: 1rem;
}

.contenedor-menu-principal a:hover{
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 1);
	transform: scale(1);
	animation: pulse 3s infinite;
    border-radius: 50px;
}

@keyframes pulse {
	0% {
		transform: scale(0.95),rotate(0.01);
		box-shadow: 0 0 0 0 rgba(37, 150, 190, 0.7);
	}

	70% {
		transform: scale(1),rotate(0.01);
		box-shadow: 0 0 0 10px rgba(37, 150, 190, 0);
	}

	100% {
		transform: scale(0.95),rotate(0.01);
		box-shadow: 0 0 0 0 rgba(37, 150, 190, 0);
	}

}

.contenedor-menu-principal a:hover{
    background: -webkit-linear-gradient(rgba(40,30,115,255), rgb(37, 150, 190));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.menu-pag-actual{
    background: -webkit-linear-gradient(rgba(40,30,115,255), rgb(37, 150, 190));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/*Menú navegación movil*/

.contenedor-nav-movil{
    display: none;
    font-size: 1.4rem;
    color: black;
}

.contenedor-nav-movil i{
    color: rgb(40,30,115);
}

.contenedor-nav-movil i:hover{
    color: rgb(241, 191, 24);
}

.contenedor-menu-movil{
    display: none;
    z-index: 100;
    position: absolute;
    overflow: visible;
    top: 6.5rem;
    left: 0px;
    width: 100%;
    padding: 0.0rem 0rem;
    background-color: rgb(17, 24, 39,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0rem solid #0D0D0D;
    border-radius: 0px 0px 20px 20px;
}

.display-importante{
    display: block !important;
}

.subcontenedor-menu-movil{
    display: none;
    flex-direction: column;
    align-items: center;
}

.subcontenedor-menu-movil a{
    text-decoration: none;
    padding: 0.75rem;
    margin: 0.75rem 0rem;
    border-radius: 14px;
    width: 17rem;
    font-size: 1.6rem;
    font-weight: 400;
    text-align: center;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgb(241, 191, 24);
}

.subcontenedor-menu-movil a:hover{
    background-color: rgb(241, 191, 24);
    color: black;
}

/*Botón vuelta arriba*/
.boton-arriba{
    position: fixed;
    z-index: 5;
    top: 94%;
    right: 1%;
    font-size: 2.9rem;
}

.boton-arriba a{
    color: rgb(248, 180, 4);
    opacity: 0.5;
    
    transition: all 0.2s ease-in-out;
}

.boton-arriba:hover a{
    opacity: 1;
}


/*Aviso subvención*/
.avisoSubvencion{
    display: flex;
    justify-content: right;
    width: 100%;
    position: fixed;
    top: 15%;
    z-index: 10;
}

.avisoSubvencion-subcaja{
    display: flex;
    justify-content: right;
    align-items:flex-start;
    flex-direction: row;
    width: 20rem;
}

.avisoSubvencion-subcaja a i{
    background-color: rgb(248, 180, 4);
    border: solid white 3px;
    border-right: none;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    padding: 10px 13.5px;
    text-decoration: none;
    color: black;
    font-weight: 600;

    transition: all 0.2s;
}
.avisoSubvencion-subcaja a:hover i{
    background-color: rgb(255, 207, 85);
    color: white;
}

.avisoSubvencion-subcaja a i{
    color: black;
}

.avisoSubvencion-subcaja-subcaja{
    background-color: rgb(248, 180, 4);
    border: white 3px solid;
    border-right: none;
    border-bottom-left-radius: 10px;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

.avisoSubvencion-subcaja-subcaja img{
    width: 15rem;
    height: auto;
    
}

.avisoSubvencion-subcaja-subcaja p{
    font-size: 17px;
    color: white;
    padding: 0rem 0rem 1rem 1rem;
    font-weight: 300;
}


/******************/
/*PÁGINA DE INICIO*/
/******************/


/*BANNER PRINCIPAL*/

.contenedor-presentacion{
    background-color: aquamarine;
    position: relative;
}

.presentacion-banner{
    height: 550px;
}

.presentacion-botones a:hover{
    opacity: 100%;
}

/*Slideshow*/
.sliderMain {
    overflow: hidden;
    width: 100%;
    height: 550px;
    position: relative;
    
}

.sliderMain .slideMain {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    animation: sliderMain 35s infinite;

    box-shadow: inset 0px 0px 100px 1px rgb(0, 0, 0, 0.8);
    /*box-shadow: inset 3000px 3000px 3000px rgba(17,24,39,0.2);*/
}

.sliderMain .slideMain:nth-child(1) {
    background-image: url(img/imagenes-banner-principal/oficinas-recisur-upscaled-banner.jpeg);
    animation-delay: 0s;
}

.sliderMain .slideMain:nth-child(3) {
    background-image: url(img/imagenes-banner-principal/transporte-mercancias.jpg);
    animation-delay: -7s;
}

.sliderMain .slideMain:nth-child(5) {
    background-image: url(img/imagenes-banner-principal/gestion-vertederos.jpg);
    animation-delay: -14s;
}

.sliderMain .slideMain:nth-child(7) {
    background-image: url(img/imagenes-banner-principal/fabricacion-materiales.jpg);
    animation-delay: -21s;
}

.sliderMain .slideMain:nth-child(9) {
    background-image: url(img/imagenes-banner-principal/mov-tierras.jpg);
    animation-delay: -28s;
}


.sliderMain .slideTextMain{
    position: absolute;
    top: 6.5em;
    left: 20%;

    color: white;
    width: 26em;
    display:  flex;
    flex-direction: column;
    animation: sliderTextMain 35s infinite;
}

.sliderMain .slideTextMain:nth-child(2) {
    animation-delay: 0s;
}

.sliderMain .slideTextMain:nth-child(4) {
    animation-delay: -7s;
}

.sliderMain .slideTextMain:nth-child(6) {
    animation-delay: -14s;
}

.sliderMain .slideTextMain:nth-child(8) {
    animation-delay: -21s;
}

.sliderMain .slideTextMain:nth-child(10) {
    animation-delay: -28s;
}


.presentacion-texto-subcaja1{
    border-bottom: solid rgb(241, 191, 24) 1px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    background-color: rgba(40, 40, 39, 0.9);
    padding: 1.1em;
    font-size: 26px;
    font-weight: 500;
    letter-spacing: 1px;
    line-height: 35px;
}

.presentacion-texto-subcaja2{
    background-color: rgba(40, 40, 39, 0.7);
    padding: 0.7em;
    font-weight: 300;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.presentacion-texto-subcaja3{
    padding: 1em;
    line-height: 25px;
}

.presentacion-texto-subcaja4{
    padding: 0.8em 1em 1.6em 1em;
}

.presentacion-texto-subcaja4 a{
    border: solid white 1px;
    border-radius: 30px;
    padding: 1.1em;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1px;
    text-decoration: none;
    color: white;

    transition: all 0.2s ease-in-out;
}

.presentacion-texto-subcaja4 a:hover{
    border: solid rgba(248,180,4) 1px;
    background-color: rgba(248,180,4);
    border-radius: 35px;
    padding: 1em;
    font-size: 12px;
}

@keyframes sliderMain {

    0%,
    17%,
    100% {
        opacity: 1;
        display: block;
        animation-timing-function: ease;
        z-index: 0;
    }

    20% {
        opacity: 0;
        display: none;
        animation-timing-function: step-end;
        z-index: 0;
    }

    97% {
        opacity: 1;
        display: block;
        animation-timing-function: step-end;
        z-index: -1;
    }
}

@keyframes sliderTextMain {

    0%,
    17%,
    100% {
        opacity: 1;
        display: block;
        animation-timing-function: ease;
        z-index: 0;
    }

    20% {
        opacity: 0;
        display: none;
        animation-timing-function: step-end;
        z-index: 0;
    }

    97% {
        opacity: 1;
        display: block;
        animation-timing-function: step-end;
        z-index: -1;
    }
}

/*SUB BANNER*/

.contenedor-subbanner{
    background-color: rgba(248,180,4);
    padding: 2.5em 2em;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

.subbanner-texto1 h1{
    font-size: 30px;
    font-weight: 300;
    color: white;
    animation: textTranslate 1.5s ease 0s 1 normal none;
}

.subbanner-texto2{
    animation: textTranslate 1.5s ease 0s 1 normal none;
}

.subbanner-texto2 a{
    text-decoration: none;
    color: black;
    font-size: 23px;
    font-weight: 600;
    text-transform: uppercase;
}

.subbanner-texto2 a span{
    border-bottom: 1px solid black;
}

.subbanner-texto2 a:hover{
    color: white;
    font-weight: 600;
    border-color: white;
}

.subbanner-texto2 a:hover span{
    border-color: white;
}

@keyframes textTranslate {
	0% {
		opacity: 0;
		transform: translateX(-250px);
	}

	100% {
		opacity: 1;
		transform: translateX(0);
	}
}

/*SOBRE NOSOTROS*/

.contenedor-aboutus{
    padding-top: 7rem;
    padding-bottom: 7rem;
    display: flex;
    justify-content: center;
}

.subcontenedor-aboutus{
    width: 75em;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
}

.aboutus-subcaja1{
    display: flex;
}

.aboutus-subcaja1 img{
    width: 39em;
    height: 17em;
    object-fit: cover;
    
}

.aboutus-texto1{
    padding-left: 2em;
    width: 35em;
}

.aboutus-texto1 h1{
    font-weight: 500;
}

.aboutus-texto1 p{
    margin-top: 1em;
    line-height: 23px;
}
.aboutus-subcaja2{
    display: flex;
    margin-top: 1.5em;
}

.aboutus-subcaja2-izq{
    width: 39.5em;
    margin-right: 1.4em;
}

.aboutus-subcaja2-izq h3{
    font-size: 25px;
    font-weight: 300;
    text-transform: capitalize;
}

.aboutus-subcaja2-izq p{
    margin-top: 0.5em;
    line-height: 23px;
}

.aboutus-subcaja2-dch{

}

.aboutus-subcaja2-dch h2{
    font-size: 28px;
}

.aboutus-subcaja2-dch h3{
    font-weight: 300;
    font-size: 18px;
}

/*SERVICIOS HOME*/
.contenedor-servicios{
    width: 100%;
    background-color: aquamarine;
    background-image: url(img/imagenes-banner-principal/mov-tierras.jpg);
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: inset 2000px 2000px 2000px 2000px rgba(17, 24, 39, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.contenedor-servicios h1{
    color: white;
    padding-top: 4.25rem;
    padding-bottom: 3.5rem;
}

.subcontenedor-servicios{
    width: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    padding-bottom: 3.75rem;
}

.subcontenedor-servicios div{
    
}

.servicios-subcaja1{ /*Esto deberá ser solo 1 con javascript que modifica el src del carrusel*/
    background-color: rgba(40, 40, 39, 0.6);
    width: 16rem;
    height: 35rem;
    display: flex;
    justify-content: center;
    align-items: center;

    margin-right: 1.25rem;
    margin-left: 1.25rem;

    position: relative;
    top: 0;
    right: 0;
    transition: all 0.3s ease-in-out;
}

.servicios-subcaja1:hover{
    transform: scale(1.1);
}

.servicios-subcaja-texto{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #9FFF9F;
    height: 33rem;
}

.servicios-subcaja-texto p{
    position: absolute;
    top: 19rem;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 30%;
    font-size: 0.9vw;
    font-weight: 200;
    line-height: 28px;
    padding: 0rem 15%;
    text-align: center;
    color: white;
}

.servicios-subcaja-texto h2{
    position: absolute;
    top: 10rem;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    font-size: 0.9vw;
    text-align: center;
    letter-spacing: 1px;
    padding: 0rem 0.6rem;
    color: rgba(248,180,4);
}

.servicios-subcaja-texto i{
    position: absolute;
    top: 6rem;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2vw;
    color: rgba(248,180,4);
}

.servicios-subcaja-boton{
    padding: 0.8em 1em 1.6em 1em;
    margin-bottom: 3rem;
}

.servicios-subcaja-boton a{
    border: solid white 1px;
    border-radius: 30px;
    padding: 1.1em;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 1px;
    text-decoration: none;
    color: white;
    opacity: 0.7;

    transition: all 0.2s ease-in-out;
}

.servicios-subcaja-boton a:hover{
    border: solid rgba(248,180,4) 1px;
    background-color: rgba(248,180,4);
    border-radius: 35px;
    padding: 1em;
    font-size: 15px;
    opacity: 1;
}

/*TRABAJADO CON */

.contenedor-aliados{
    display: flex;
    align-items: center;
    justify-content: center;
}

.subcontenedor-aliados{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 75%;
    padding-bottom: 7vh;
}

.subcontenedor-aliados h1{
    padding-top: 2.5em;
    padding-bottom: 1em;
}

.aliados-logos{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.aliados-logos span{
    padding: 1.25em;
}

.aliados-logos span:hover img{
    animation: marcasZoom 0.2s ease-in-out;
}

@keyframes marcasZoom{
    0%{
        transform: scale(1);
    }

    50%{
        transform: scale(1.1);
    }

    100%{
        transform: scale(1);
    }
}

.aliados-logos span img{
    width: 12em;
    max-height: 5em;
    object-fit: contain;
}



/*OBRAS INICIO*/
.contenedor-obras{
    background-color: #f5f5f5;
}

.subcontenedor-obras{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.subcontenedor-obras h1{
    padding-top: 10vh;
    padding-bottom: 7vh;
}

.obras-grupo{
    display: flex;
}

.obras-caja{
    background-color: green; 
    width: 25%;
    height: 20rem;
    position: relative;

    overflow: hidden;
}

.obras-caja-fondo{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    
    background-image: url(img/obras/obra-PAU5\ Alicante.jpeg);
    background-position: center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;

    z-index: 1;

    transition: all 0.5s ease-in-out;
    
}

.obras-caja:hover .obras-caja-fondo{
    transform: scale(1.1);
}

.obras-caja:nth-child(1) .obras-caja-fondo{
    background-image: url(img/obras/la-nucia.jpg);
}

.obras-caja:nth-child(2) .obras-caja-fondo{
    background-image: url(img/obras/arco-noroeste-murcia.jpg);
}

.obras-caja:nth-child(3) .obras-caja-fondo{
    background-image: url(img/obras/conexion-ute-oliva.jpg);
}

.obras-caja:nth-child(4) .obras-caja-fondo{
    background-image: url(img/obras/las-majas.png);
}

.obras-grupo2 .obras-caja:nth-child(1) .obras-caja-fondo{
    background-image: url(img/obras/lerena-san-jose.jpg);
}

.obras-grupo2 .obras-caja:nth-child(2) .obras-caja-fondo{
    background-image: url(img/obras/sunset-sailors-2.jpg);
}

.obras-grupo2 .obras-caja:nth-child(3) .obras-caja-fondo{
    background-image: url(img/obras/vertedero-campello.jpg);
}

.obras-grupo2 .obras-caja:nth-child(4) .obras-caja-fondo{
    background-image: url(img/obras/vertedero-ute-alicante.jpg);
}

.obras-subcaja{
    background-position: center;
    background-size: cover;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    box-shadow: inset 2000px 2000px 2000px 2000px rgba(17, 24, 39, 0.5);
    
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 20rem;
    opacity: 0;
    transform: scaleX(-1);
    transition: all 0.8s;
    perspective: 1000px;
    transform: rotateY(-180deg);

    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    z-index: 3;
}

.obras-caja:hover .obras-subcaja{
    opacity: 1;
    transform: rotateY(0deg);
    
}

.obras-subcaja h2{
    color: rgb(255, 191, 29);
    text-shadow: 0 0 5px rgb(255, 215, 114);
    font-weight: 400;
    font-size: 25px;
    font-size: 1.90vw;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;

    
}

.obras-subcaja p{
    color: white;
    text-shadow: 0 0 10px white;
    font-weight: 300;
    font-size: 18px;
    font-size: 1.5vw;
    text-align: center;
}

.obras-subcaja-boton{
    padding: 4rem;
    text-align: center;
}

.obras-subcaja-boton a{
    border: solid rgba(248,180,4) 1px;
    border-radius: 30px;
    padding: 1.1rem;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 1px;
    text-decoration: none;
    color: rgba(248,180,4);

    transition: all 0.2s ease-in-out;
}

.obras-subcaja-boton a:hover{
    border: solid rgba(248,180,4) 1px;
    background-color: rgba(248,180,4);
    color: white;
    border-radius: 35px;
    padding: 1em;
    font-size: 15px;
    opacity: 1;
}

/*SEPARADOR TEMPORAL*/
.separador{
    padding: 10em;
    text-align: center;
    background-color: #f5f5f5;
}


/*INFO EMPRESA CIRCULOS*/

.contenedor-info-empresa{
    background-color: rgba(248,180,4);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.subcontenedor-info-empresa{
    color: white;
    background-color: rgba(248,180,4);

    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 75%;
}

.info-empresa-subcaja{
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 27rem;
    padding: 1.4rem;
    min-width: 20em;
    max-width: 30em;
}

.info-empresa-icono{
    background-color: white;
    color: rgb(241, 191, 24);
    font-size: 33px;
    padding: 0.8em;
    border-radius: 200px;
    margin-right: 0.75em;
}

.info-empresa-texto{
    font-size: 18px;
    font-weight: 300;
}

.info-empresa-texto a{
    text-decoration: none;
    color: white;
    
}

/*FOOTER*/

footer{
    display: block;
    vertical-align: top;
    background-color: #111827;
    background: rgb(0,0,0);
    background: linear-gradient(0deg, rgba(0,0,0,1) 6%, rgba(17,24,39,1) 43%);
}

.contenedor-footer{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.footer-subcontenedor1{
    padding-top: 5.5em;
    padding-bottom: 2em;
    width: 75%;
}

.footer-subcontenedor1-texto{
    display: flex;
    align-items: center;
    padding-bottom: 2em;
}

.footer-subcontenedor1-texto img{
    width: 50px;
    padding-right: 1em;
}

.footer-subcontenedor1-texto h1{
    font-size: 30px;
    color: white;
    padding-bottom: 0.5em;
    text-transform: uppercase;
    padding: 0;
}

.footer-subcontenedor1-cajaenlaces{
    display: flex;
    border-bottom: 2px solid white;
}

.footer-subcontenedor1-enlaces{
    display: flex;
    flex-direction: column;
    
    padding-right: 3rem;
    padding-bottom: 2em;
}

.footer-subcontenedor1-enlaces-div{
    height: 6.2rem;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
}

.footer-subcontenedor1-enlaces h2{
    color: white;
    padding-bottom: 1em;
}

.footer-subcontenedor1-enlaces a{
    text-decoration: none;
    padding-bottom: 0.35em;
    color: rgb(199, 199, 199);
    margin-right: 2.5rem;
    
    transition: all 0.3s ease-in-out;
}

.footer-subcontenedor1-enlaces a:hover{
    color: #9FFF9F;
}

.footer-subcontenedor2{
    padding-top: 2em;
}

.footer-subcontenedor2 a{
    text-decoration:  none;
    color: white;
    padding-right: 1.5em;
}

.footer-subcontenedor2 a:hover{
    color: #9FFF9F;
}


/************/
/*SERVICIOS*/
/************/
 /*PUEDE REUTILIZARSE PARA EL RESTO DE APARTADOS*/

.contenedor-servicios-banner{
    position: relative;
}

.servicios-banner{
    height: 550px;
    background-color: aquamarine;
    background-image: url(img/fondo-servicios-upscaled.jpeg);
    background-position: center;
    background-size: cover;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-attachment: fixed;
    box-shadow: inset 2000px 2000px 2000px 2000px rgba(17, 24, 39, 0.7);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.servicios-banner h1{
    color: white;
    font-weight: 800;
    font-size: 55px;

    animation: 1s ease-out 0s 1 slideInFromTopH1;

}
@keyframes slideInFromTopH1 {
    0% {
        opacity: 0.1;
        transform: translateY(-100%);
    }

    10%{
        transform: translateY(-40%);
    }

    100% {
        transform: translateY(0);
    }
}
.servicios-banner p{
    color: white;
    text-align: center;
    width: 65%;
    font-size: 20px;
    text-transform: uppercase;
    padding-top: 0.9rem;
    line-height: 30px;
    opacity: 0;

    animation: 1.5s ease-out 0.75s slideInFromTopP forwards;
}

@keyframes slideInFromTopP{
    0% {
        opacity: 0.1;
        transform: translateY(-30%);
    }

    10%{
        transform: translateY(-20%);
    }

    100% {
        opacity: 0.75;
        transform: translateY(0);
    }
}

.servicios-banner a{
    color: rgb(255, 191, 29);
    padding-top: 1rem;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 15px;

    opacity: 0;

    animation: 1.5s ease-out 1.7s slideInFromTopA forwards;
}

@keyframes slideInFromTopA{
    0% {
        opacity: 0.1;
        
    }

    100% {
        opacity: 1;

    }
}


.servicios-banner a:hover{
    color: rgb(255, 215, 114);
}

.servicios-banner i{
    color: rgb(255, 191, 29);
    opacity: 0;

    animation: 1.5s ease-out 1.7s slideInFromTopA forwards;
}

/*Texto informativo sobre los servicios*/
.contenedor-servicios-info{
    display: flex;
    justify-content: center;

    padding: 5rem 0rem;
}

.servicios-info{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 70%;
}

.servicios-info h1{
    font-size: 2.3rem;
    font-weight: 400;
    letter-spacing: 1px;
    padding-bottom: 1rem;
    text-align: center;
    text-transform: uppercase;
}

.servicios-info p{
    font-size: 1.5rem;
    padding: 1rem 0em;
    font-weight: 300;
    text-align:justify;
}

/*Servicios cajas*/

.contenedor-servicios-cajas{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #f5f5f5;
    padding: 5rem 0rem
}

.contenedor-servicios-cajas h1{
    padding-bottom: 2rem;
    font-size: 2.6rem;
    font-weight: 200;
    text-transform: uppercase;
    text-align: center;
    letter-spacing: 3px;
}

.servicios-grupo-cajas{
    display: flex;
    width: 80%;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.servicios-caja{
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    width: 27.5%;
    min-width: 15rem;
    height: 21rem;
    overflow: hidden;

    margin: 1.3rem 1.3rem;

    border: 1px solid black;
    border-radius: 20px;
}

.caja-fondo{
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;

    background-color: green; 
    background-position: center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;

    box-shadow: inset 2000px 2000px 2000px 2000px rgba(17, 24, 39, 0.3);
    transition: all 0.4s ease-in-out;
}

.servicios-caja:nth-child(1) .caja-fondo{
    background-image: url(img/mov-tierras/mov-tierras-galeria2.jpg);
}
.servicios-caja:nth-child(2) .caja-fondo{
    background-image: url(img/gestion-vertederos1.jpg);
}
.servicios-caja:nth-child(3) .caja-fondo{
    background-image: url(img/fabricacion-materiales/fabricacion-materiales7.JPG);
}
.servicios-caja:nth-child(4) .caja-fondo{
    background-image: url(img/transporte-mercancias/transporte-mercancias7.jpg);
}
.servicios-caja:nth-child(5) .caja-fondo{
    background-image: url(img/limpieza-de-playas.jpg);
}
.servicios-caja:nth-child(6) .caja-fondo{
    background-image: url(img/departamento-tecnico.jpg);
}

.servicios-caja:hover .caja-fondo{
    transform: scale(1.1);
}

.servicios-caja i{
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);

    font-size: 3rem;
    color: rgb(241, 191, 24);
    transition: all 0.4s ease-in-out;
}

.servicios-caja:hover i{
    border: 1px solid rgb(255, 215, 114);
    border-radius: 300px;
    padding: 1.7rem 1.5rem;
    transform: scale(0.8) translate(-61%, -61%);
    transform-origin: center middle;
    color: rgb(255, 215, 114);
}

.servicios-caja p{
    position: absolute;
    top: 65%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20vw;

    font-size: 2vw;
    font-weight: 200;
    white-space: wrap;
    text-align: center;
    color: white;
    text-transform: uppercase;
    transition: all 0.1s ease-in-out;
}

.servicios-caja:hover p{
    font-weight: 400;
}

/*********************/
/*Servicio individual*/
/*********************/

.contenedor-servicio-indiv-banner{
    position: relative;
}

.servicio-indiv-banner{
    height: 300px;
    background-color: aquamarine;
    background-position: center;
    background-size: cover;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-attachment: fixed;
    box-shadow: inset 2000px 2000px 2000px 2000px rgba(17, 24, 39, 0.7);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.servicio-indiv-banner h1{
    color:white;
    text-align: center;
    font-weight: 200;
    letter-spacing: 1px;
    font-size: 3rem;
    padding: 0rem 2rem;

    animation: 1s ease-out 0s 1 slideInFromTopH1;
}

.contenedor-servicio-descripcion{
    height: 40rem;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    overflow: hidden;
}

.servicio-descripcion{
    width: 60%;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 5rem 5rem;
    overflow: hidden;

    opacity: 0;
    animation: 1s ease-out 0s 1 slideInFromLeft forwards;
}

@keyframes slideInFromLeft{
    0% {
		opacity: 0;
		transform: translateX(-50px);
	}

	100% {
		opacity: 1;
		transform: translateX(0);
	}
}

.servicio-descripcion h2{
    font-size: 2.1rem;
    font-weight: 400;
    padding-bottom: 0.5rem;
    text-transform: uppercase;

    
}

.servicio-descripcion p{
    font-size: 1.3rem;
    padding-top: 1rem;
    font-weight: 300;

    
}

.servicio-descripcion ul{
    list-style: none;
    padding-top: 1.5rem;

    
}

.servicio-descripcion ul li{
    display: flex;
    align-items: center;
    font-size: 1.3rem;
    font-weight: 300;
    padding: 0.25rem 0rem;
}

.servicio-descripcion ul li i{
    margin-right: 0.5rem;
    font-size: 1rem;
    
}

.servicio-imagen{
    width: 40%;
    padding: 0rem;
    opacity: 0;
    animation: 1.25s ease-out 0s 1 slideInFromRight forwards;
    overflow: hidden;
}

.servicio-imagen img{
    height: 100%;
    width: 100%;
    object-fit: cover;
    clip-path: polygon(25% 0%, 100% 0%, 100% 100%, 25% 100%, 0% 50%);
    
    
}

@keyframes slideInFromRight{
    0% {
		opacity: 0;
		transform: translateX(100px);
	}

	100% {
		opacity: 1;
		transform: translateX(0);
	}
}


/*Estilos de la galeria*/

.servicio-galeria{
    padding: 3rem 0rem;
    
    background-color: aquamarine;
    background-position: center;
    background-size: cover;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-attachment: fixed;
    box-shadow: inset 2000px 2000px 2000px 2000px rgba(17, 24, 39, 0.7);
    
}

.servicio-galeria h1{
    display: none;
    text-align: center;
    padding: 3rem 0rem;
    font-size: 2.4rem;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.galeria {
	width: 100%;
	margin: auto;
	list-style: none;
	
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
}

.galeria li {
    width: 23%;
    height: 20rem;
    overflow: hidden;
    min-width: 16rem;
    border: solid 0px black;
    border-radius: 15px;
    margin: 1rem 0.05rem;
}

.galeria li:hover img{
    transform: scale(1.1);
}

.galeria img {
    object-fit: cover;
	width: 100%;
    height: 100%;

    transition: 0.3s ease-in-out;
}



/*Variante movimiento de tierras*/

.servicio-img-var{
    background-image: url(img/mov-tierras/mov-tierras-galeria8.jpg);
}

.servicio-img-galeria-var{
    background-image: url(img/mov-tierras/mov-tierras-galeria8.jpg);
}


/*Variante gestión vertederos*/

.servicio-img-var1{
    background-image: url(img/gestion-vertederos1-upscaled.jpeg);
}

.servicio-img-galeria-var1{
    background-image: url(img/gestion-vertederos1-upscaled.jpeg);
}

/*Variante fabricación aridos*/

.servicio-img-var2{
    background-image: url(img/fabricacion-materiales/fabricacion-materiales2.jpg);
}

.servicio-img-galeria-var2{
    background-image: url(img/fabricacion-materiales/fabricacion-materiales2.jpg);
}

/*Variante transporte de merancías*/
.servicio-img-var3{
    background-image: url(img/transporte-mercancias/transporte-mercancias5.jpg);
}

.servicio-img-galeria-var3{
    background-image: url(img/transporte-mercancias/transporte-mercancias5.jpg);
}

/*Variante trabajos varios*/
.servicio-img-var4{
    background-image: url(img/trabajos-varios/trabajos-varios5.jpg);
}

.servicio-img-galeria-var4{
    background-image: url(img/trabajos-varios/trabajos-varios5.jpg);
}

/*Variante departamento técnico*/
.servicio-img-var5{
    background-image: url(img/departamento-tecnico-upscaled.jpeg);
}

.servicio-img-galeria-var5{
    background-image: url(img/departamento-tecnico-upscaled.jpeg);
}

/*Estilos del modal*/

.modal {
	display: none;
    padding-top: 3rem;
}

@keyframes modalIntroAnimation{
    0%{
        opacity: 0;
    }
    100%{
        opacity: 1;
    }
}

.modal:target {
	
	display: block;
	position: fixed;
	background: rgba(0,0,0,0.8);
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.modal h3 {
	color: rgb(255, 191, 29);
    text-shadow: 0 0 10px rgb(255, 215, 114);
	font-size: 2rem;
    font-weight: 300;
    text-transform: uppercase;
	text-align: center;
    letter-spacing: 1px;
    padding-bottom: 1rem;
}

.imagen {
	width: 100%;
	height: 50%;
	
	display: flex;
	justify-content: center;
	align-items: center;
}

.imagen a {
	color: #fff;
	font-size: 40px;
	text-decoration: none;
	margin: 0 10px;
}

.imagen a:hover{
    color: rgb(255, 207, 85);
}

.imagen a:nth-child(2) {
	margin: 0;
	height: 100%;
	flex-shrink: 2;
}

.imagen img {
	width: 100%;
	height: 100%;
	max-width: 100%;
    border-radius: 10px;
    object-fit: cover;

    animation: 0.5s ease-in-out 0s 1 modalIntroAnimation forwards;
}

.cerrar {
	display: block;
	width: 3rem;
	height: 3rem;
	margin: 15px auto;
	text-align: center;
	text-decoration: none;
	font-size: 3.5rem;
	color: white;
	border-radius: 50%;
	line-height: 3rem;

    transition: all 0.2s ease-out;
}

.cerrar:hover{
    color: rgb(255, 207, 85);
}


/************/
/*PROYECTOS*/
/************/

.imagen-fondo-proyectos{
    background-image: url(img/obras/obra-PAU5\ Alicante.jpeg);
}

.imagen-fondo-proyectos a{
    color: rgb(57, 174, 241);
}

.imagen-fondo-proyectos a:hover{
    color: rgb(122, 206, 255);
}

.imagen-fondo-proyectos i{
    color: rgb(57, 174, 241);
}

.imagen-fondo-proyectos i:hover{
    color: rgb(122, 206, 255);
}


/*Slideshow*/
.slider {
    overflow: hidden;
    width: 100%;
    height: 30rem;
    position: relative;
}

.slider .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    animation: slider 35s infinite;
}

.slider .slide:nth-child(1) {
    background-image: url(img/obras/conexion-ute-oliva.jpg);
    animation-delay: 0s;
}

.slider .slide:nth-child(3) {
    background-image: url(img/obras/la-nucia.jpg);
    animation-delay: -7s;
}

.slider .slide:nth-child(5) {
    background-image: url(img/obras/vertedero-campello.jpg);
    animation-delay: -14s;
}

.slider .slide:nth-child(7) {
    background-image: url(img/obras/las-majas.png);
    animation-delay: -21s;
}

.slider .slide:nth-child(9) {
    background-image: url(img/obras/arco-noroeste-murcia.jpg);
    animation-delay: -28s;
}


.slider .slideText{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    animation: sliderText 35s infinite;
}

.slider .slideText:nth-child(2) {
    animation-delay: 0s;
}

.slider .slideText:nth-child(4) {
    animation-delay: -7s;
}

.slider .slideText:nth-child(6) {
    animation-delay: -14s;
}

.slider .slideText:nth-child(8) {
    animation-delay: -21s;
}

.slider .slideText:nth-child(10) {
    animation-delay: -28s;
}

.slider div p{
    position: absolute;
    left: 50%;
    width: 100%;
    overflow: visible;
    text-align: center;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 2.5vw;
    font-style: italic;
}

.slider div p:nth-child(1){
    top: 43%;
    font-size: 3.75vw;
    font-weight: 500;
    font-style: normal;

    text-transform: uppercase;
    letter-spacing: 3px;
    color: rgb(255, 207, 85);
    text-shadow: 0 0 10px rgb(255, 215, 114);
}

.slider p:nth-child(2){
    top: 56%;
    letter-spacing: 1px;
    font-weight: 400;
    text-shadow: 0 0 10px white;
}

/*Lista proyectos*/

.contenedor-lista-proyectos{
    background-color: #f5f5f5;
    display: flex;
    justify-content: center;
    align-items: center;
}

.subcontenedor-lista-proyectos{
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: auto;
    height: 37rem;
}

.subcontenedor-lista-proyectos h1{
    text-align: center;
    font-size: 2.5rem;
    font-weight: 200;
    text-transform: uppercase;
    letter-spacing: 3px;
    padding: 3rem 0rem 2rem 0rem;
}

.subcontenedor-lista-proyectos h3{
    text-align: center;
    width: 90%;
    
    margin: 1.5rem 1rem;
    padding: 1rem 0rem;

    background-color: rgb(255, 207, 85, 0.8);
    border-radius: 10px;

    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.lista-proyectos{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.lista-proyectos::-webkit-scrollbar{
    width: 15px;
    background-color: transparent;
}

.lista-proyectos::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px grey;
    background-color: transparent;
    border-radius: 10px;
}

.lista-proyectos::-webkit-scrollbar-thumb {
    background: #111827;
    border-radius: 10px;
}

.proyecto{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 27rem;
    margin: 1.25rem 2.5rem;
    padding: 2rem;
    background-color:white;
    border-radius: 20px;
    box-shadow: 6px 7px 5px 0.5px rgba(0, 0, 0, 0.2);
}

.proyecto i:nth-child(1){
    
}

.proyecto-secondary{
    border: 2px solid black;
    border-radius: 200px;
    padding: 1.25rem 1.5rem;
    font-size: 2rem;
    background-size: cover;

    transition: all 0.3 ease-in-out;
}

.proyecto-main-border{
    border: 1px solid black;
    border-radius: 200px;
    padding: 1.25rem 1.5rem;
    font-size: 2rem;
    background-size: cover;

    transition: all 0.3s ease-in-out;
}

.proyecto-main-border:hover{
    border: 1px solid rgb(255, 191, 29);
    border-radius: 15px;
}


.proyecto-main1{
    background-image: url(img/obras/conexion-ute-oliva.jpg);
}

.proyecto-main2{
    background-image: url(img/obras/arco-noroeste-murcia.jpg);
}

.proyecto-main3{
    background-image: url(img/obras/las-majas.png);
}

.proyecto-main4{
    background-image: url(img/obras/vertedero-campello.jpg);
}

.proyecto-main5{
    background-image: url(img/obras/la-nucia.jpg);
}

.icono-obra-invisible{
    color: transparent;
}

.proyecto i:nth-child(3){
    font-size: 2rem;
}

.proyecto i:nth-child(3):hover{
    -webkit-animation: float 2.5s infinite;
    -webkit-animation-delay: 0s;
    
}

.proyecto div p{
    font-size: 1.3rem;
    width: 13rem;
    margin: 0rem 2rem;
}

.proyecto div p:nth-child(1){
    font-weight: 500;
    color: rgb(37, 150, 190);
}

.proyecto div p:nth-child(2){
    font-weight: 300;
    font-style: italic;
}

@keyframes slider {

    0%,
    17%,
    100% {
        opacity: 1;
        animation-timing-function: ease;
        z-index: 0;
    }

    20% {
        opacity: 0;
        animation-timing-function: step-end;
        z-index: 0;
    }

    97% {
        opacity: 1;
        animation-timing-function: step-end;
        z-index: -1;
    }
}

@keyframes sliderText {

    0%,
    17%,
    100% {
        opacity: 1;
        animation-timing-function: ease;
        z-index: 0;
    }

    20% {
        opacity: 0;
        animation-timing-function: step-end;
        z-index: 0;
    }

    97% {
        opacity: 1;
        animation-timing-function: step-end;
        z-index: -1;
    }
}

@keyframes float {
    0% {
      transform: translatey(0px) scale(1,1);
    }
    50% {
      transform: translatey(-10px) scale(1.15,1.15);
    }
    100% {
      transform: translatey(0px) scale(1,1);
    }
}


/************/
/**CONTACTO**/
/************/

.imagen-fondo-contacto{
    background-image: url(img/oficinas-recisur-upscaled.jpeg);
}

.imagen-fondo-contacto a{
    color: #9FFF9F;
}

.imagen-fondo-contacto a:hover{
    color: #4df74d;
}

.imagen-fondo-contacto i{
    color: #9FFF9F;
}

.imagen-fondo-contacto i:hover{
    color: #4df74d;
}

.contenedor-info-contacto{
    display: flex;
    align-items: center;
    justify-content: center;
}

.subcontenedor-info-contacto{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 80%;
}

.subcontenedor-info-contacto h1{
    font-size: 3rem;
    font-weight: 300;
    text-transform: uppercase;
    text-align: center;
    letter-spacing: 2px;
    margin: 4rem 0rem 1rem 0rem;
}

.subcontenedor-info-contacto h2{
    font-size: 1.8rem;
    font-weight: 300;
    text-align: center;
    letter-spacing: 1px;
}

.subcontenedor-info-contacto h3{
    font-size: 2.5rem;
    font-weight: 600;
    text-align: center;
    letter-spacing: 1px;
    padding: 2rem 0rem 0rem 0rem;

    
}

.contacto-whatsapp{
    display: flex;
    align-items: center;
    border-radius: 100px;
}

.contacto-whatsapp i{
    font-size: 2rem;
    margin-right: 0.4rem;
    color: green;
}

.contacto-whatsapp p{
    font-size: 1.5rem;
}

.contacto-correo{
    display: flex;
    margin-top: 3rem;
    margin-bottom: 2.5rem;
}

.contacto-correo div{
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-wrap: wrap;
}

.contacto-correo a{
    transition: all 1s ease-in-out;
}

.contacto-correo a:hover{
    color: #4df74d;
}

.contacto-correo div:nth-child(2){
    padding: 0rem 3rem;
}

.contacto-correo div:nth-child(3){
    transform: translateX(35px);
}

.contacto-correo div p{
    font-size: 1.35rem;
    font-weight: 600;
}

.contacto-correo div a{
    font-size: 1.3rem;
    text-decoration: none;
    color: green;
    font-weight: 300;
}

.contenedor-mapa {
    overflow: hidden;
}

.contenedor-mapa h2{
    padding: 2rem 0rem;
    text-align: center;
    font-size: 2.75rem;
    font-weight: 300;
    letter-spacing: 1px;
}

.contenedor-mapa iframe {
    height: 30rem;
    width: 100%;
    margin-bottom: -5px;
}

/*************/
/*AVISO LEGAL*/
/*************/

.contenedor-aviso-legal{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: rgb(199, 199, 199, 0.3);

}

.aviso-legal{
    display: flex;
    width: 80%;
    flex-direction: column;
    justify-content: center;
    border: solid 5px rgb(255, 207, 85);
    border-radius: 15px;
    padding: 2.25rem;
    margin: 3rem 0rem;

    line-height: 26px;
    background-color: white;
}

.aviso-legal h1{
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    line-height: 35px;
}

.aviso-legal h2{
    font-weight: 400;
    margin: 1rem 0rem 0rem 0rem;
}

.aviso-legal p{
    font-weight: 300;
    margin: 1rem 0rem 0rem 0rem;
}

.aviso-legal ul, ol{
    margin: 1rem 0rem 0rem 0rem;
}

.aviso-legal ul li, ol li{
    margin: 1rem 0rem 0rem 1.25rem;
    font-weight: 300;
}


/******************/
/*CLASES GENERALES*/
/******************/

.titulo-seccion{
    text-transform: uppercase;
    font-weight: 400;
    font-size: 37px;
    font-size: 2.5rem;
    letter-spacing: 2px;
    text-align: center;
}

.ajuste-iconos1{
    transform: scale(0.95, 1); 
}

.ajuste-iconos2{
    transform: scale(0.90, 1); 
}

.ajuste-iconos3{
    transform: scale(1, 1);
}

.ajuste-iconos4{
    transform: scaleX(0.6);
    color: wheat;
}

@media only screen and (min-width: 1520px){

    .servicios-caja p{
        font-size: 2rem;

        width: 20rem;
    }

}

@media only screen and (max-width: 2400px){


    .servicios-subcaja1{
        
    }

    .servicios-subcaja-texto p{
        font-size: 1rem;
    }

    .servicios-subcaja-texto h2{
        font-size: 1rem;
    }

}

@media only screen and (max-width: 1520px){
    
    
    /*SERVICIOS HOME*/
    .contenedor-servicios{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .contenedor-servicios h1{
        color: white;
        padding-top: 4.25rem;
        padding-bottom: 3.5rem;
    }

    .subcontenedor-servicios{
        width: 90%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-evenly;
        flex-wrap: nowrap;
        padding-bottom: 5vh;
    }

    .servicios-subcaja1{ /*Esto deberá ser solo 1 con javascript que modifica el src del carrusel*/
        width: 100%;
        height: 17.5rem;
        
        margin-right: 0;
        margin-left: 0;
        margin-top: 1rem;
    }

    .servicios-subcaja1:hover{
        transform: scale(1.02);
    }

    .servicios-subcaja-texto{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        background-color: #9FFF9F;
        height: 33rem;
    }

    .servicios-subcaja-texto p{
        position: absolute;
        top: 60%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 100%;
        font-size: 1.2rem;
        padding: 0rem 15%;
        line-height: 25px;
        text-align: center;
        color: white;
    }

    .servicios-subcaja-texto h2{
        position: absolute;
        top: 35%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 100%;
        font-size: 1.25rem;
        text-align: center;
        letter-spacing: 1px;
        padding: 0rem 0.5rem;
        color: rgba(248,180,4);
    }

    .servicios-subcaja-texto i{
        position: absolute;
        top: 17%;
        left: 50%;
        transform: translate(-50%, -50%);
        font-size: 2rem;
        color: rgba(248,180,4);
    }


}

@media only screen and (max-width: 700px){

    .servicios-caja i{
        font-size: 2.6rem;
    }
    
}

@media only screen and (max-width: 1055px){

        /*Lista proyectos*/

    .proyecto{
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-evenly;
        width: 40vw;
        margin: 1rem 0.7rem;
        padding: 2rem;
        background-color:white;
        border-radius: 20px;
        box-shadow: 6px 7px 5px 0.5px rgba(0, 0, 0, 0.2);
    }

    .proyecto i:nth-child(1){
        border: 1px solid black;
        padding: 2.25vw 2.5vw;
        font-size: 3vw;
    }

    .proyecto i:nth-child(3){
        font-size: 4.2vw;
    }

    .proyecto i:nth-child(3):hover{
        -webkit-animation: float 2.5s infinite;
        -webkit-animation-delay: 0s;
        
    }

    .proyecto div p{
        font-size: 2.6vw;
        width: 23vw;
        margin: 0vw 1vw;
    }
    
}


@media only screen and (max-width: 1220px){
    /*CABECERA PRINCIPAL*/
    .contenedor-logo-recisur p{
        font-size: 5.5vw;
    }

    .contenedor-logo-recisur img{
        width: 5.5vw;
    }

    .contenedor-menu-principal a{
        font-size: 1.75vw;
    }

    /*SOBRE NOSOTROS*/

    .contenedor-aboutus{
        padding-top: 5rem;
        padding-bottom: 5rem;
        display: flex;
        justify-content: center;
    }

    .subcontenedor-aboutus{
        width: 75em;
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
    }

    .aboutus-subcaja1{
        display: flex;
        flex-direction: column;
    }

    .aboutus-subcaja1 img{
        width: 100%;
        height: 18em;
        object-fit: cover;
    }

    .aboutus-texto1{
        display: flex;
        flex-direction: column;
        align-items: center;
        padding-left: 0em;
        width: 100%;
    }

    .aboutus-texto1 h1{
        width: 90%;
        text-align: center;
        font-weight: 500;
        margin-top: 2.5rem;
    }

    .aboutus-texto1 p{
        margin-top: 1.2rem;
        width: 90%;
        line-height: 23px;
        font-size: 1.1rem;
    }
    .aboutus-subcaja2{
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-top: 1.5em;
    }

    .aboutus-subcaja2-izq{
        width: 90%;
        margin-right: 0;
    }

    .aboutus-subcaja2-izq h3{
        display: none;
    }

    .aboutus-subcaja2-izq p{
        margin-top: 0.5em;
        line-height: 23px;
        font-size: 1.1rem;
    }

    .aboutus-subcaja2-dch{
        margin-top: 1.5rem;
        width: 85%;
        display: flex;
        flex-direction: column;
        align-items: end;
    }

    .aboutus-subcaja2-dch h2{
        font-size: 28px;
    }

    .aboutus-subcaja2-dch h3{
        font-weight: 300;
        font-size: 18px;
    }
}

@media only screen and (max-width: 850px) {
    
    /*CABEZA DE PÁGINA*/

    .cabecera-general{
        display: flex;
        flex-direction: row;
        align-items:center;
        justify-content: space-evenly;

        height: 6.5em;
        background-color: white;
    }

    .contenedor-logo-recisur{
        display: flex;
        align-items: center;
        margin: 0;
    }

    .contenedor-logo-recisur img{
        width: 85px;
        width: 11.5vw;
    }

    .contenedor-logo-recisur p{
        font-size: 12vw;
        padding-left: 2vw;
    }

    .contenedor-menu-principal{
        display: none;
    }

    /*Icono navegacion movil*/
    .contenedor-nav-movil{
        display: block;
        font-size: 1.5rem;
        color: rgba(17,24,39,1);
    }

    /*Menú movil*/
    .contenedor-menu-movil{
        display: none;
        padding: 0.5rem 0rem;
    }
    
    .subcontenedor-menu-movil{
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    

    /******************/
    /*PÁGINA DE INICIO*/
    /******************/

    /*CAJA DEL BANNER*/

    .sliderMain{
        height: 475px;
    }

    .sliderMain .slideTextMain{
        position: absolute;
        left: 0;
        top: 0;
        
        color: white;
        width: 100%;
        text-align: center;
    }

    .presentacion-texto-subcaja1{
        border-top-left-radius: 0px;
        border-top-right-radius: 0px;
        background-color: rgba(40, 40, 39, 0.7);
        padding: 1.1em;
        font-size: 1.8rem;
        font-weight: 500;
        letter-spacing: 1px;
        line-height: 35px;
    }
    
    .presentacion-texto-subcaja2{
        background: rgb(40,40,39);
        background: linear-gradient(0deg, rgba(40,40,39,0) 15%, rgba(40,40,39,0.6) 56%);
        padding: 0.7em;
        font-weight: 300;
        border-bottom-left-radius: 0px;
        border-bottom-right-radius: 0px;
    }
    
    .presentacion-texto-subcaja3{
        padding-bottom: 7rem;
        line-height: 25px;
        font-weight: 200;
        font-size: 1.2rem;
    }
    
    .presentacion-texto-subcaja4{
        display: none;
    }
    
    /*SUB BANNER*/

    .contenedor-subbanner{
        padding: 1rem 0rem 2rem 0rem;
        flex-direction: column;
        align-items: center;
    }

    .subbanner-texto1 h1{
        text-align: center;
        margin-bottom: 1.5rem;
        font-size: 1.7rem;
    }

    .subbanner-texto2 a{
        border: solid 3px white;
        padding: 0.5rem;
        border-radius: 200px;
        text-decoration: none;
        color: white;
        background-color: rgb(248, 180, 4);
        font-size: 25px;
        letter-spacing: 1px;
        font-weight: 500;
    }

    .subbanner-texto2 a span{
        border: none;
    }

    .subbanner-texto2 a:hover{
        color: rgb(248, 180, 4);
        background-color: rgb(255, 215, 114);
        font-weight: 600;
        border-color: rgb(255, 215, 114);
    }

    .subbanner-texto2:hover a span{
        border-color: white;
    }


    /*SERVICIOS*/
    .servicios-subcaja-texto p{
        top: 65%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 100%;
        font-size: 1rem;
        padding: 0rem 15%;

    }

    .servicios-subcaja-texto h2{
        position: absolute;
        top: 35%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 100%;
        font-size: 1.2rem;
        text-align: center;
        letter-spacing: 1px;
        padding: 0rem 0.5rem;
        color: rgba(248,180,4);
    }

    .servicios-subcaja-texto i{
        position: absolute;
        top: 17%;
        left: 50%;
        transform: translate(-50%, -50%);
        font-size: 2rem;
        color: rgba(248,180,4);
    }

    /*TRABAJADO CON */

    .contenedor-aliados{
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .subcontenedor-aliados{
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 90%;
        padding-bottom: 7vh;
    }

    .subcontenedor-aliados h1{
        padding-top: 2.5em;
        padding-bottom: 1em;
    }

    .aliados-logos{
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
    }

    .aliados-logos span{
        
        padding: 1.25em;
        
    }

    .aliados-logos span img{
        width: 9rem;
        max-height: 5em;
        object-fit: contain;
    }

    /*OBRAS INICIO*/
    .contenedor-obras{
        background-color: #f5f5f5;
    }

    .subcontenedor-obras{
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .subcontenedor-obras h1{
        padding-top: 6vh;
        padding-bottom: 5.5vh;
    }

    .obras-grupo{
        display: flex;
        flex-direction: column;
    }

    .limitador-movil{
        display: none;
    }

    .obras-caja{
        background-color: green; 
        width: 100%;
        height: 11rem;

        background-image: url(img/obras/obra-PAU5\ Alicante.jpeg);
        background-position: center;
        -webkit-background-size: cover;
        -moz-background-size: cover;
        -o-background-size: cover;
        background-size: cover;
    }

    .obras-caja:nth-child(even){
        background-image: url(img/obras/obra-Sunset\ drive.jpg);
    }

    .obras-caja:nth-child(3){
        background-image: url(img/obras/obra-Sunset\ wave\ etosa.jpg);
    }

    .obras-subcaja{
        background-position: center;
        background-size: cover;
        -webkit-background-size: cover;
        -moz-background-size: cover;
        -o-background-size: cover;
        box-shadow: inset 2000px 2000px 2000px 2000px rgba(17, 24, 39, 0.1);
        
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: 11rem;
        opacity: 1;
        transform: rotateY(0deg);
    }

    .obras-subcaja h2{
        color: rgb(255, 207, 85);
        font-weight: 400;
        font-size: 25px;
        font-size: 1.65rem;
        text-align: center;
        text-transform: uppercase;
        letter-spacing: 2px;
    }

    .obras-subcaja p{
        color: white;
        font-weight: 300;
        font-size: 1.2rem;
        font-style: i;
        text-align: center;
    }

    .obras-subcaja-boton{
        padding: 4rem;
        text-align: center;
    }

    .obras-subcaja-boton a{
        border: solid rgba(248,180,4) 1px;
        border-radius: 30px;
        padding: 1.1rem;
        font-size: 15px;
        font-weight: 500;
        letter-spacing: 1px;
        text-decoration: none;
        color: rgba(248,180,4);
    }

    .obras-subcaja-boton a:hover{
        border: solid rgba(248,180,4) 1px;
        background-color: rgba(248,180,4);
        color: white;
        border-radius: 35px;
        padding: 1em;
        font-size: 15px;
        opacity: 1;
    }

    /*INFO EMPRESA CIRCULOS*/

    .contenedor-info-empresa{
        background-color: rgba(248,180,4);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .subcontenedor-info-empresa{
        color: white;
        background-color: rgba(248,180,4);

        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: center;
        padding: 0.75rem;
    }

    .info-empresa-subcaja{
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 0.5rem;
        min-width: 0;
        max-width: fit-content;
    }

    .info-empresa-icono{
        background-color: rgb(248, 180, 4);
        color: white;
        font-size: 30px;
        text-align: center;
        padding: 0.5rem;
        border-radius: 7px;
        margin-right: 0;
        margin-bottom: 0.7rem;
    }

    .info-empresa-texto{
        font-size: 18px;
        font-weight: 300;
        text-align: center;
    }

    .info-empresa-texto p:nth-child(1){
        display: none;
    }

    .info-empresa-texto a{
        text-decoration: none;
        color: white; 
    }

    /*FOOTER*/

    .footer-subcontenedor1{
        display: flex;
        flex-direction: column;
    }

    .footer-subcontenedor1-texto{
        align-items: center;
    }

    .footer-subcontenedor1-texto img{
        width: 55px;
    }

    .footer-subcontenedor1-texto h1{
        font-size: 4.3vw;
        width: 100%;
    }

    .footer-subcontenedor1-cajaenlaces{
        flex-direction: column;
    }

    .footer-subcontenedor1-enlaces{
        display: flex;
        flex-direction: column;
        
        padding-right: 0rem;
        padding-bottom: 2em;
    }

    .footer-subcontenedor1-enlaces-div{
        height: auto;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .footer-subcontenedor1-enlaces h2{
        padding-bottom: 0.5rem;
        font-size: 3.5vw;
    }

    .footer-subcontenedor1-enlaces a{
        padding-bottom: 0em;
        margin-right: 0;
        padding: 0.3rem;

    }

    .footer-subcontenedor2{
        padding-top: 1.5rem;
        display: flex;
        flex-direction: column;
    }

    .footer-subcontenedor2 a{
        color: white;
        padding-right: 0rem;
        padding-top: 0.5rem;
    }

    .footer-subcontenedor2 a:hover{
        color: #9FFF9F;
    }


    /************/
    /*SERVICIOS*/
    /************/
    
    .servicios-banner p{
        width: 90%;
        font-size: 21px;
        
    }

    .servicios-banner a{
        margin-top: 0.3rem;
        font-size: 1.10rem;
    }

    .servicios-banner i{
        margin-top: 0.3rem;
        font-size: 1.3rem;
    }
    
    /*Texto informativo sobre los servicios*/

    .servicios-info{
        width: 80%;
    }

    .servicios-info h1{
        font-size: 1.75rem;
        text-transform: uppercase;
        letter-spacing: 0px;
        margin-bottom: 1.25rem;
    }

    .servicios-info p{
        font-size: 1.3rem;
    }

    /*Servicios*/

    .contenedor-servicios-cajas {
        padding: 3rem 0rem 0rem 0rem
    }

    .contenedor-servicios-cajas h1{
        font-size: 6vw;
    }

    .servicios-grupo-cajas {
        width: 100%;
        align-items: center;
        justify-content: center;
    }

    .servicios-caja {
        flex-direction: row;
        justify-content: space-between;
        width: 100%;
        height: 13rem;
        padding: 0rem;
        margin: 0rem 0rem;
        border: none;
        border-radius: 0px;
        
    }

    .servicios-caja p{
        width: auto;
        white-space:nowrap;
        font-size: 5vw;
    }

    .servicios-caja:hover i{
        padding: 15rem;
        background-color: rgb(255, 215, 114, 0.2);
        transform: scale(0.98) translate(-51%, -51%);
    }


    /*********************/
    /*Servicio individual*/
    /*********************/

    .contenedor-servicio-indiv-banner{
        position: relative;
    }

    .servicio-indiv-banner{
        display: none;
    }

    .contenedor-servicio-descripcion{
        height: auto;
        display: flex;
        flex-direction: column-reverse;
        justify-content: center;
        align-items: center;
        width: 100%;
    }

    .servicio-descripcion{
        display: flex;
        justify-content: center;
        width: 100%;
        height: 60%;
        padding: 2rem 2rem 2.5rem 2rem;
    }

    .servicio-descripcion h2{
        font-size: 4.7vw;
        padding: 0;
    }

    .servicio-descripcion p{
        font-size: 4vw;
        
    }

    .servicio-descripcion ul li{
        font-size: 4vw;
    }

    .servicio-descripcion ul li i{
        font-size: 2.5vw;
    }

    .servicio-imagen{
        width: auto;
        height: 40%;
        animation: 1.25s ease-out 0s 1 slideInFromTop forwards;
    }

    @keyframes slideInFromTop {
        0%{
            opacity: 0;
            transform: translate(0px, -50px);
        }
        100%{
            opacity: 1;
        }
    }

    .servicio-imagen img{
        clip-path: polygon(0 60%, 0 0, 100% 0, 100% 60%, 50% 100%);
    }

    /*Estilos de la galeria*/

    .servicio-galeria{
        height: 45rem;
        overflow: auto;
        padding: 2.5rem 0rem;
        
        background-color: aquamarine;
        background-position: center;
        background-size: cover;
        -webkit-background-size: cover;
        -moz-background-size: cover;
        -o-background-size: cover;
        background-attachment: fixed;
        box-shadow: inset 2000px 2000px 2000px 2000px rgba(17, 24, 39, 0.7);
        
    }

    .servicio-galeria::-webkit-scrollbar{
        display: none;
    }

    .servicio-galeria h1{
        display: block;
        text-align: center;
        padding: 2rem 0rem;
        font-size: 2.4rem;
        font-weight: 200;
        text-transform: uppercase;
        letter-spacing: 2px;
        color: white;
        text-shadow: 0 0 10px white;
    }

    .galeria {
        width: 100%;
        margin: 0;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    .galeria li {
        width: 40%;
        min-width: 0;
        height: 12rem;
        border-radius: 10px;
        margin: 0.5rem 0.5rem;
    }

    /*************/
    /**PROYECTOS**/
    /************/

    .subcontenedor-lista-proyectos h1{
        font-size: 6vw;
    }

    .slider div p{
        font-size: 5vw;   
    }

    .slider div p:nth-child(1){
        font-size: 6.5vw;
    }

    /************/
    /**CONTACTO**/
    /************/
    
    .subcontenedor-info-contacto h1{
        font-size: 6vw;
    }

    .subcontenedor-info-contacto h2{
        font-size: 5vw;
    }

    .subcontenedor-info-contacto h3{
        font-size: 8vw;
    }

    .contacto-whatsapp i{
        font-size: 6.5vw;
    }

    .contacto-whatsapp p{
        font-size: 6.25vw;
    }

    .contacto-correo{
        display: flex;
        flex-direction: column;
        margin: 2.75rem 0rem;
    }
    
    .contacto-correo div{
        display: flex;
        flex-direction: column;
        align-items: center;
        flex-wrap: wrap;
        padding: 1rem;
        border-radius: 1000px;
        color: white;
    }

    .contacto-correo div:nth-child(2){
        background-color: transparent;
        border: none;
        padding: 0;
        margin: 0;
    }
    
    .contacto-correo div:nth-child(3){
        transform: translateX(0px);
        padding: 0.5rem 0rem;
        margin: 0;
    }

    .contacto-correo div a{
        font-size: 5vw;
        padding: 0rem 0rem;
    }

    .contacto-correo div p{
        font-size: 6vw;
        font-weight: 300;
        color: black;

    }

    .subcontenedor-mapa h2{
        font-size: 6.5vw;
    }

    /*************/
    /*AVISO LEGAL*/
    /*************/

    .aviso-legal{
        width: 100%;
        border: solid 0px rgb(255, 207, 85);
        border-top: solid 5px rgb(255, 207, 85);
        border-radius: 0px;
        padding: 2rem;
        margin: 0rem 0rem;
        line-height: 7.5vw;
    }

    .aviso-legal h1{
        font-weight: 600;
        font-size: 6vw;
        text-transform: uppercase;
        letter-spacing: 1px;
        line-height: 7.75vw;
    }

    .aviso-legal h2{
        font-weight: 400;
        margin: 1.2rem 0rem 0rem 0rem;
        font-size: 5.5vw;
    }

    .aviso-legal p{
        font-weight: 300;
        margin: 1.2rem 0rem 0rem 0rem;
        font-size: 3.9vw;
    }

    .aviso-legal ul, ol{
        margin: 1rem 0rem;
    }

    .aviso-legal ul li, ol li{
        margin: 1rem 0rem 0rem 1.25rem;
        font-weight: 300;
        font-size: 4vw;
    }


    /******************/
    /*CLASES GENERALES*/
    /******************/

    .titulo-seccion{
        text-transform: uppercase;
        font-weight: 400;
        font-size: 3.9vw;
        letter-spacing: 1px;
        text-align: center;
    }

}


@media only screen and (max-width: 468px){
    
    /*SERVICIOS*/

    .servicios-subcaja1{
        height: 23.5rem;
    }

    .servicios-subcaja1:hover{
        transform: scale(1.02);
    }

    .servicios-subcaja-texto p{
        top: 57%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 100%;
        font-size: 4.3vw;
        line-height: 25px;
        padding: 0rem 15%;

    }

    .servicios-subcaja-texto h2{
        font-size: 5vw;
    }

    /*Aviso subvención*/
    .avisoSubvencion{
        display: flex;
        justify-content: center;
        flex-direction: row;
        width: 100%;
        position: fixed;
        top: 67vh;
    }

    .avisoSubvencion-subcaja{
        display: flex;
        align-items:flex-end;
        flex-direction: column;
        width: 100%;
    }

    .avisoSubvencion-subcaja a i{
        background-color: rgb(248, 180, 4);
        border: solid white 3px;
        border-right: none;
        border-top-left-radius: 10px;
        border-bottom-left-radius: 10px;
        padding: 10px 13.5px;
        text-decoration: none;
        color: black;
        font-weight: 600;

        transition: all 0.2s;
    }
    .avisoSubvencion-subcaja a:hover i{
        background-color: rgb(255, 207, 85);
        color: white;
    }

    .avisoSubvencion-subcaja a i{
        color: black;
    }

    .avisoSubvencion-subcaja-subcaja{
        background-color: rgb(248, 180, 4);
        border: white 3px solid;
        border-right: none;
        border-bottom-left-radius: 10px;

        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .avisoSubvencion-subcaja-subcaja img{
        width: 15rem;
        height: auto;
        
    }

    .avisoSubvencion-subcaja-subcaja p{
        font-size: 17px;
        color: white;
        padding: 0rem 0rem 1rem 1rem;
        font-weight: 300;
    }


}
