:root {
    --amarillo1 : #fabd00;
    --rojo : #ad1519;
    --rojoClaro: #d25552;
    --verde: #088e3e;
    --amarillo : #fcd801;
    --amarilloPrincipal: #ffcc00;
    --negroFondo: #080001;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;

}

body {
    background: rgba(0, 0, 0, 0.822) !important; 
}



.rojo {
    color: var(--rojo);
}

.navbar-nav .nav-item  > .nav-link:hover {
    /* color: #fff; Color blanco */
    /* text-shadow: 1px 1px 3px var(--rojo) */
    border-bottom: 1px solid var(--rojo);
    /* border-radius: 6px; */
}

.carousel-item {

    position: relative;
}


.carousel-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 1;

}

.etapas .image-container {
    position:relative;
}

.etapas .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    padding: 10px;
    background-color: rgba(0,0,0,0.5);
    box-sizing: border-box;
    overflow: hidden;
}

.etapas .overlay p {
    margin: 0;
    padding: 1rem;
    overflow: hidden;
    /* text-overflow: ellipsis; */
    white-space: wrap;
    
}

.etapas img {
    width: 100%;
    height: auto;
    object-fit: cover;
}


.navbar-brand img {
    width: 100px; /* Cambia el valor según lo necesites */
    /* Otros estilos opcionales */
    height: auto; /* Esto mantiene la relación de aspecto */
    display: block; /* Esto asegura que no haya espacios adicionales alrededor de la imagen */
    margin-right: 10px; /* Por ejemplo, añadir un margen derecho para separar la imagen del texto */
}


nav {
    border-bottom: 3px solid var(--rojo);
}


/* .etapas::before {

    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 1;
    
} */

.etapas img {
    width: 100%;
    /* height: 100px; */
    object-fit: cover;
    /* margin-bottom: 1.5rem; */
}

.contenedorEtapas {
    background: #ad151a00;
    padding-bottom: 3rem;
}

.carousel-item img {
    width: 100%;
    height: 600px; /* Altura fija para pantallas anchas de escritorio */
    object-fit: cover; /* Escala la imagen para llenar el contenedor */
    object-position: center; /* Coloca la imagen en la parte inferior del contenedor */
}







.texto-sobre-imagen  {
    position: absolute;
    top: 30%;
    left: 15%;
    color: white;
    z-index: 2;

}

.texto-sobre-imagen h1 {
    font-size: 3.3rem;
}


.texto-sobre-imagen p {
    overflow: hidden;
    white-space: nowrap;
    font-size: 2rem;
   }



.post a:hover{
    background: #fabd00;
}

.rect {
    background: var(--rojo);
    width: 100%;
    height: auto;
}

.rect h1 {
    color: #ffffff;
    font-family: 'Times New Roman', Times, serif;
    font-size: 4rem;
}

.container-fluid h1 {

    color: #ffffff;
    font-family: "Noto Sans Symbols", sans-serif;
    font-size: 2rem;
    font-weight: normal;

}

.titulo h1 {
    font-size: 2rem;
}

.titulo p {
    font-size: .9rem;
}

.titulo a {
    font-size: 1rem;
    margin-left: .7rem;

}

.times {
    font-family: "Noto Sans Symbols", sans-serif;
    
}

svg{
    z-index: -1;
}

.encabezado {
    /* background-image: url("/webFecotracSpain/img/webFecotracAgri1.jpg") ; */
    /* background-repeat: no-repeat; */
    background-size: cover;
    background-image: linear-gradient(to right, #ad1519 , #ffffff);
    width: 100%;
    /* height: 300px; */
   
    border-radius: 0; /* Bordes irregulares */
    /* position: relative; */
    
}

.encabezado .btn {
    /* position: absolute; */
     /* left: 20%; */
    padding: .5rem; 
    margin-left: 8rem !important;
    margin-bottom: 1rem;

}

a.btn.btn-outline-secondary.border.text-white:hover {
    /* Estilos para hover */
    /* Por ejemplo: Cambiar color de fondo */
    /* background-color: #f0f0f086; */
    background-color: #e4ab01 !important;
    color: #ad1519 !important;
    font-weight: 600 !important;
}


.portada {
    /* background-image: url('/webFecotracSpain/img/webFecotracGastro3.jpg'); */
    /* background-repeat: no-repeat; */
    /* background-color: #cccccc; */
    height: 300px;
    background-position: center;
    background-size: cover;
    /* padding-bottom: 40%; */
    position: relative;
    display: flex;
    justify-content: center;
    align-content: center;

 }



.fondo {
    background: #1e1e2485;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    
    margin: 0 auto;
    padding: 1.1rem;
    border-radius: 10px;
    text-shadow: 1px 1px  10px rgb(0, 0, 0);
    display: inline-block;
    
    }



.fondo p {
    font-size: .8rem;
    width: 70%;
}


.fecotrac {
    color: #ad1519;
}



.filtroGris img {
    filter: grayscale(70%);
}



.encabezadoContratar {

    background-image: linear-gradient(to right, #d25552 , #ffffff);
    width: 100%;
   
    border-radius: 0; /* Bordes irregulares */
    position: relative;
    
}

.encabezadoPostulacion {

    background-image: linear-gradient(to right, #fabd00 , #ffffff);
    width: 100%;
   
    border-radius: 0; /* Bordes irregulares */
    position: relative;
    
}

.img1 {
    position: relative;
}

.rectImg1 {
    width: 350px;
    height: 350px;
    border: 3px solid #ad1519 ;

    /* background: var(--rojo); */
    position: absolute;
    top: -4%;
    left: 12% !important;
    z-index: -1;
    
}

.img1 img {

    width: 350px;
    height: auto;
    border-radius: 1px;
    box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.336);
    
    /* border-radius: 50% 50% 50% 53% / 50% 55% 45% 52%; */

}

.img2 {
    position: relative;
}

.rectImg2 {
    width: 350px;
    height: 350px;
    border: 3px solid #ffcc00;
    /* background: var(--amarillo); */
    position: absolute;
    top: -4%;
    left: 12% !important;
    z-index: -1;
}

.img2 img {
    width: 350px;
    height: auto;
    border-radius: 1px;
    box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.336);
    
    /* border-radius: 50% 50% 50% 53% / 50% 55% 45% 52%; */

}


.img3 {
    position: relative;
}

.rectImg3 {
    width: 350px;
    height: 350px;
    border: 3px solid #ad1519 ;
    
    /* background: var(--rojo); */
    position: absolute;
    top: -4%;
    left: 12% !important;
    z-index: -1;
}

.img3 img {

    width: 350px;
    height: auto;
    border-radius: 1px;
    box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.336);

}

.btnRojo {
    background-color: var(--rojoClaro) !important;
}

.btnRojo:hover {
    color: #ad1519 !important;
    background-color: #ffffff !important;
}

.btnVerde {
    background-color: var(--verde) !important;
}

.btnVerde:hover{
    color: #088e3e !important;
    background-color: #ffffff !important;
}

.btnAmarillo {
    background-color: var(--amarilloPrincipal) !important;
}

.btnAmarillo:hover {
    color: grey !important;
    background-color: #ffffff !important;
}

.rectRojo2 {
    background: var(--rojo);
    border-top: 1px solid var(--amarilloPrincipal);
    border-bottom: 1px solid var(--amarilloPrincipal);

   
}
.rectRojo2 img {
    border-bottom: 1px solid var(--amarilloPrincipal);
    border-radius: 3px;
    box-shadow: 1px 6px 10px rgba(0, 0, 0, 0.219);
}





.rectBorder {
    border: 1px solid #ad151a7c;
   padding: 2rem;
   background: #d9d9d923;
   border-radius: 3px;
   /* margin: 1rem; */
   
    
}
.lineaRoja {
    width: 2.1rem;
    height: 3px;
    border-radius: 6px;
    background: var(--rojo);
    position: absolute;
    right: 10rem;
    top: 1.5rem;
    transition: width .3s;
}

.lineaAmarilla {
    width: 3rem;
    height: 3px;
    border-radius: 6px;
    background: var(--amarillo);
    position: absolute;
    left: 10rem;
    top: 1.5rem;
    transition: width 0.3s;
}



.contrata:hover .lineaAmarilla {
    width: 7rem;
}

.contrata:hover .lineaRoja {
    width: 3.3rem;
}

.contrata {
    position: relative;
}

.contrata img {
    border-radius: 50%;

}

.contrata p a:hover {
    color: #ffffff !important;
    font-weight: 600;
}

.circleImg {
    width: 300px;
    height: 300px;
    /* background: var(--rojoClaro); */
    border-radius: 50%;
    transition: transform 0.5s;
}
.circleImg2 {
    width: 300px;
    height: 300px;
    /* background: var(--amarilloPrincipal); */
    border-radius: 50%;
    transition: transform 0.5s;

}

.circleImg3 {
    width: 300px;
    height: 300px;
    background: var(--amarilloPrincipal);
    border-radius: 50%;
    

}

.circleImg img {
    transition: transform 0.5s;
    max-width: 100%;
    filter: grayscale(80%);

}
.circleImg2 img {
    transition: transform 0.5s;
    max-width: 100%;
    filter: grayscale(80%);

}

.circleImg:hover {
    transform: scale(1.1);
}

.circleImg2:hover {
    transform: scale(1.1);
}

.circleImg img:hover {
    transform: scale(1.1);
    filter: grayscale(10%);
}

.circleImg2 img:hover {
    transform: scale(1.1);
    filter: grayscale(10%);

}

.fondoRojo {
    background: var(--rojo);
    color: #ffffff;
    /* border-radius: 6px; */
}

.fondoRojo2 {

    background: var(--rojo);
    color: #ffffff !important;
    width: 100%;

}

.fondoRojoClaro {
    background: var(--rojoClaro);
    width: 100%;
}

.fondoAmarillo {
    /* background: #e4ab01; */
    background: #d93351;
    color: #ffffff;
    border-radius:0;
    box-shadow: 1px 5;
    
    width: 100%;
}

.fondoAmarillo img {
    filter: grayscale(90%);
}

.fondoNegro {
    background: rgba(0, 0, 0, 0.822);
    color: #ffffff !important;
    width: 100%;
}

.fondoNegro p {
    color: #ffffff !important;
}

.fondoRojoGradient {
    background-image: linear-gradient(to right, #ad1519 , #ffffff);
    width: 100%;
    color: #ffffff;
    border-radius: 6px;
}

.fondoAmarilloGradient {
    background-image: linear-gradient(to right, #fabd00 , #ffffff);
    width: 100%;
    color: #ffffff;
    border-radius: 0;
}

.fondoAmarilloGradient2 {

    background-image: linear-gradient(to right, #ffffff ,  #fabd00);
    width: 100%;
    color: #ffffff;
    border-radius: 0;
    text-shadow: 1px 1px 10px rgba(0, 0, 0, 0.24);

}

.fondoAmarilloGradient img {
    filter: grayscale(70%);
}

.porqueElegirnos {
    /* background: #dab00c; */
    /* background: #8f161a; */
    background: #632a4d;
    color: #ffffff;
    border-radius: 6px;
    box-shadow: 1px 5px 10px #00000028;
    margin-top: 10rem !important;
    
}

.porqueElegirnos img {
    border-radius: 50%;
}




.valores{
    position: relative;
}

.imgIzq img{
    position: absolute;
    left: 0;
    top: -40px;
    width: 33%;
    
    
}

.imgDcha img{
    position: absolute;
    right: 0;
    top: -70px;
    width: 33%;
    
}

.circulos2 {
    display: flex;
    justify-content: end;
    padding: .2rem;
    
}
.circ2 {
    width: .5rem;
    height: .5rem;
    border-radius: 50%;
    margin: .2rem;
    background: var(--rojoClaro);
}


footer {
    /* background: var(--rojoClaro); */
    background: #d93351;
    color: #ffffff;
}

.trama1 {
    /* background-image: url('/webFecotracSpain/img/tramaAbstracta3b.png'); */
    background-repeat: no-repeat;
    width: 10%;
    opacity: 1;
}




.trama2 {
   position: fixed;
   top: 0;
   right: 0;
 
    width: 100%;
    z-index: -1;
    /* overflow: hidden; */
}

.trama2 img {
    position: absolute;
    top: 0;
    right: 0;
    width: 25%;
    
    /* visibility: hidden; */
    /* overflow:hidden; */
    /* transform: rotate(180deg); */
}

.trama3 {
    position: fixed;
    top: 50%;
    left: 0;
  
     width: 100%;
     z-index: -1;
     display: none;
     /* overflow: hidden; */
 }
 
 .trama3 img {
     position: absolute;
     top: 0;
     left: 0;
     width: 25%;
     /* overflow:hidden; */
     /* transform: rotate(180deg); */
 }


 .cont_contr {
    position: relative;
 }

  .arrow1 {

    position: absolute;
    right: 50%;
    top: 90%;
    width: 60%;
 }

 .cont_agric{
    position: relative;
 }

 .cont_agric .arrow2 {
    position: absolute;
    left: 40%;
    top: 84%;
    width: 55%;
    transform: rotate(10deg);
 }


 .cont_gastr {
    position: relative;
 }

 .cont_gastr .arrow3 {

    position: absolute;
    right: 30%;
    top: 80%;
    width: 30%;

 }

 .arrow1, .arrow2, .arrow3 {
    filter: invert(100%);
 }

 .circulos {
    display: flex;
    justify-content:end;
    padding: .5rem;
 }

 .circ {
    width: .5rem;
    height: .5rem;
    border-radius: 50%;
    background: #ffffff;
    margin: .2rem;

    
 }


 .bordes {
    border: 1px solid white;
    display: inline-block;
    padding: .5rem;
    text-align: center;
   

 }


 .imgServ img{
    box-shadow: 1px 4px 10px rgba(0, 0, 0, 0.356);
    border-radius: 3px;
    border: 1px solid var(--amarilloPrincipal);
 }


 .aboutImg img {

    box-shadow: 1px 4px 10px var(--amarilloPrincipal);

    border-bottom: 1px solid var(--amarilloPrincipal);
    border-radius: 3px;

 }

 .aboutBorde {
    border-bottom: 1px solid var(--amarilloPrincipal);
 }

/* Estilos para pantallas más pequeñas, como dispositivos móviles */
@media (max-width: 991px) {
    .texto-sobre-imagen {
        top: 50%;
        left: 50%; /* Centra horizontalmente el texto en dispositivos móviles */
        transform: translate(-50%, -50%);
        text-align: center; /* Centra el texto horizontalmente en dispositivos móviles */
        
    }
    .texto-sobre-imagen h1 {
        font-size: 2rem;
    }
    .texto-sobre-imagen p {
        font-size: 1.3rem;
    }
    .carousel-item img {
        height: auto; /* Altura automática en dispositivos móviles */
    }
    .navbar-brand img {
        width: 80px;
        margin-left: 2px;
    }
    
  

}



/* Estilos para pantallas anchas (escritorio) */
@media only screen and (min-width: 768px) {
    .container-fluid h1 {
        font-size: 4rem; /* Tamaño de fuente más grande para pantallas anchas */
        
        
    }
    .titulo p {
        font-size: 1.3rem;
    }
    .rectBorder {
        margin: 1rem;
    }
    .encabezado .btn {

        margin-left: 20rem !important;
    }

    .cont_contr .arrow1 {

        left: 1%;

    }
    .img1 .rectImg1 {
        left: 26%;
    }

    .img2 .rectImg2 {
        left: 26%;
    }
    .img3 .rectImg3 {
        left: 26%;
    }

    .valores .imgIzq img {
        display: block; /* Muestra el elemento */
    }
 

    




}



/* Estilos para dispositivos móviles */
@media screen and (max-width: 767px) {
    .valores .imgIzq img {
        display: none; /* Oculta el elemento */
    }
    .valores .imgDcha img {
        display: none;
    }
    .encabezado .filtroGris img {
        display: none;
    }
    .encabezado p {
        font-size: 1.2rem;
        text-align: center;
    }
    .encabezado {
        background: var(--rojo);
    }
    .encabezado h1 {
        text-align: center;
    }
     .arrow3 {
        width: 50% !important;
        left: 40%;
        top: 20%;
        display: none;
    }

    
}



@media screen and (min-width:360px) {
    
    .cont_contr .arrow1 {
        left: 33%;
        
    }

    .texto-sobre-imagen img {
        width: 70px;
    }
     
  
 
}



@media screen and (min-width:340px) {
    
    .encabezado .btn {
        left: 22%;
    }

    
    .valores .rectBorder {
        margin-bottom: 1rem;
    }
 

 
}









