  /* Nueva WEb2023*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'open sans';
}

.contenedor {
    padding: 60px 0;
    width: 90%;
    max-width: 1000px;
    margin: auto;
    overflow: hidden;
}

.titulo {
    color: #642a73;
    font-size: 30px;
    text-align: center;
    margin-bottom: 60px;
}

/* Header */

header {
    width: 100%;
    height: 600px;
    background: url(../img/portada.jpg);
    /* fallback for old browsers */
    /*background: -webkit-linear-gradient(to right, hsla(340, 95%, 50%, 0.459), hsla(317, 45%, 52%, 0.664)), url(../img/portada.jpg);*/
    /* Chrome 10-25, Safari 5.1-6 */
    /*background: linear-gradient(to right, hsla(340, 95%, 50%, 0.459), hsla(317, 45%, 52%, 0.664)), url(../img/portada.jpg);*/
    /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    background-size: cover;
    background-attachment: fixed;
    position: relative;
}

nav{
    position: fixed;
    top: 0;
    width: 100%;
    display: block;
    text-align: center;
    background-color: #F8F8FF;
    padding: 20px 60px 10px 0px;
    box-shadow: 2px 2px 2px 1px rgba(0, 0, 0, 0.3);
    z-index: 1;
   
    
}

nav > a{
    font-family: Arial;
    color: #2F4F4F;
    font-weight: 300;
    text-decoration: none;
    margin-right: 0px;
   
    
}

nav > a:hover{
    text-decoration: underline;
}


header .textos-header{
    display: flex;
    height: 430px;
    width: 100%;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}

.textos-header h1{
    font-size: 50px;
    color:#000000;
    background:#FFF ;
    opacity: 0.6;
}

.textos-header h2{
    font-size: 30px;
    font-weight: 300;
    color:#000000;
    background:#FFF ;
    opacity: 0.6;
}

.wave{
    position: absolute;
    bottom: 0;
    width: 100%;
}

/* About us */

main .sobre-nosotros{
    padding: 0px 0 100px 0;
    
}

.contenedor-sobre-nosotros{
    display: flex;
    justify-content: space-evenly;
   
}

.imagen-about-us{
    width: 60%;
}

.sobre-nosotros .contenido-textos{
    width: 60%;
}

.contenido-textos h3{
    margin-bottom: 15px;
}

.contenido-textos h3 span{
    background: #4d0686;
    color: #fff;
    border-radius: 50%;
    display: inline-block;
    text-align: center;
    width: 30px;
    height: 30px;
    padding: 2px;
    box-shadow: 0 0 6px 0 rgba(0, 0, 0, .5);
    margin-right: 5px;
}

.contenido-textos p{
    padding: 0px 0px 30px 15px;
    font-weight: 300;
    text-align: justify;
}

 /* INFORMACION GENERAL */
    
    .servicio_container{
       
    }

    .servicio_container img {
     flex: 0 0 100%;
     width: 100%;
     object-fit: cover;
     }
}

/* Galeria */


.portafolio{
    background: #f2f2f2;
}

.galeria-port{
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
}

.imagen-port{
    width: 24%;
    margin-bottom: 10px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    box-shadow: 0 0 6px 0 rgba(0, 0, 0, .5);
}

.imagen-port > img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hover-galeria{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    transform: scale(0);
    background: hsla(273,91%,27%, 0.7);
    transition: transform .5s;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.hover-galeria img{
    width: 50px;
}

.hover-galeria p{
    color: #fff;
}

.imagen-port:hover .hover-galeria{
    transform: scale(1);
}

/* Clients */

.cards{
    display: flex;
    justify-content: space-evenly;
}

.cards .card{
    background: #4d0686;
    display: flex;
    width: 46% ;
    height: 200px;
    align-items: center;
    justify-content: space-evenly;
    border-radius: 8px;
    box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.6);
}

.cards .card img{
    width: 150px;
    height: 150px;
    object-fit: cover;
    border: 5px solid #fff;
    border-radius: 50%;
    display: block;
}

.cards .card > .contenido-texto-card{
    width: 50%;
    color: #fff;
}

.cards .card > .contenido-texto-card p{
    font-weight: 400;
    padding-top: 5px;
}

/*  Our team */

.about-services{
    background: #f2f2f2;
    padding-bottom: 30px;
}


.servicio-cont{
    display:flex;
    justify-content: space-between;
    align-items: center;
}

.servicio-ind{
        width: 100%;
	margin: 20px;
	border-radius: 6px;
	overflow: hidden;
	background:#fff;
	box-shadow: 0px 1px 10px rgba(0,0,0,0.2);
	transition: all 400ms ease-out;
	cursor: default;
   /* width: 28%;
    text-align: center;*/
}

.servicio-ind:hover{
	box-shadow: 5px 5px 20px rgba(0,0,0,0.4);
	transform: translateY(-3%);
}

.servicio-ind img{
    width: 100%;
}

.servicio-ind h3{
    margin: 10px 0;
}

.servicio-ind p{
    /*font-weight: 300;
    text-align: justify;*/
        width: 100%;
	max-width: 1080px;
	margin: auto;
	padding: 20px;
	margin-top: 20px;
	text-align: center;
	color: #7a7a7a;
}


/* pieContacto */
    .contenedor-pieContacto{
    width: 100%;
    margin: auto;
    padding-bottom: 1px;
    border-bottom: 1px solid #ccc;
}

    .imagen-pieContacto{
       	margin: auto;
	padding: 5px;
	margin-top: 5px;
        width: 100%;
    }

/* quienes-somos-nuevo */
    .contenedor-quienes-somos-nuevo{
    width: 98%;
    margin: auto;
    padding-bottom: 1px;
    
}

    .imagen-quienes-somos-nuevo{
       	margin: auto;
	padding: 3px;
	margin-top: 0px;
        width: 100%;
        box-shadow: 0px 0px 10px rgba(0,0,0,0.3);
    }
	
	


/* footer */

footer{
    background: #414141;
    padding: 60px 0 30px 0;
    margin: auto;
    overflow: hidden;
}

.contenedor-footer{
    display: flex;
    width: 80%;
    justify-content: space-evenly;
    margin: auto;
    padding-bottom: 50px;
    border-bottom: 1px solid #ccc;
}

.content-foo{
    text-align: left;
    border: 30px solid #414141;
}

.content-foo h4{
    color: #fff;
    border-bottom: 1px solid #af20d3;
    padding-bottom: 5px;
    margin-bottom: 10px;
}

.content-foo p{
    color: #ccc;
}

.titulo-final{
    text-align: center;
    font-size: 22px;
    margin: 20px 0 0 0;
    color: #9e9797;
}

@media screen and (max-width:900px){
    header{
        background-position: center;
    }

    .contenedor-sobre-nosotros{
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .sobre-nosotros .contenido-textos{
        width: 90%;
    }

    .imagen-about-us{
        width: 90%;
    }
    
    /* INFORMACION GENERAL */

  

    /* Galeria */

    .imagen-port{
        width: 44%;
    }
    

    /* Clientes */

    .cards{
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .cards .card{
        width: 90%;
    }

    .cards .card:first-child{
        margin-bottom: 30px;
    }

    /* servicios */

    .servicio-cont{
        justify-content: center;
        flex-direction: column;
    }

    .servicio-ind{
        width: 100%;
        text-align: center;
    }

    .servicio-ind:nth-child(1), .servicio-ind:nth-child(2){
        margin-bottom: 60px;
    }

    .servicio-ind img{
        width: 90%;
    }
}

@media screen and (max-width:500px){
    nav{
        text-align: center;
        padding: 30px 0 0 0;
    }

    nav > a{
        margin-right: 5px;
    }

    .textos-header h1{
        font-size: 35px;
    }

    .textos-header h2{
        font-size: 20px;
    }

    /* ABOUT US */

    .imagen-about-us{
        margin-bottom: 60px;
        width: 99%;
    }

    .sobre-nosotros .contenido-textos{
        width: 95%;
    }
    
    /* INFORMACION GENERAL */
    
   

   

    /* Galeria */

    .imagen-port{
        width: 95%;
    }

    /* Clients */

    .cards .card{
        height: 450px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .cards .card img{
        width: 90px;
        height: 90px;
    }

    /* Footer */

    .contenedor-footer{
        flex-direction: column;
        border: none;
    }

    .content-foo{
        margin-bottom: 20px;
        text-align: center;
    }

    .content-foo h4{
        border: none;
    }

    .content-foo p{
        color: #ccc;
        border-bottom: 1px solid #f2f2f2;
        padding-bottom: 20px;
    }

    .titulo-final{
        font-size: 15px;
      
    }
  
        
}


/* Controles de Ventana Modal */



.modal-container {
 	position: fixed;
	font-family: Arial, Helvetica, sans-serif;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background: rgba(0,0,0,0.8);
	z-index: 99999;
	opacity:0;
	-webkit-transition: opacity 400ms ease-in;
	-moz-transition: opacity 400ms ease-in;
	transition: opacity 400ms ease-in;
	pointer-events: none;
       
}

.show {
  pointer-events: auto;
  opacity: 1;
}

.modal {
        position: fixed;
	width: 600px;
        max-width: 100%;
	position: relative;
	margin: 10% auto;
	padding: 5px 20px 13px 20px;
	border-radius: 10px;
	background: #fff;
	background: -moz-linear-gradient(#fff, #999);
	background: -webkit-linear-gradient(#fff, #999);
	background: -o-linear-gradient(#fff, #999);
        -webkit-transition: opacity 400ms ease-in;
        -moz-transition: opacity 400ms ease-in;
        transition: opacity 400ms ease-in;
        align-items: center;
        justify-content: center;   
}

.modal h1 {
  margin: 0;
  display: flex; 
  text-align: center;
  align-items: center;
  justify-content: center; 
}

.modal p {
  opacity: 0.7;
  font-size: 14px;
}

img.centrado {
      text-align: center;
      padding: 10px 25px;
}

div.w-33 {
    width: 50%;
  
}

div.center {
  text-align: lefth;
}


button.elmodal {
  background-color: #47a386;
  border: 3;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  color: #fff;
  font-size: 16px;
  padding: 10px 25px;
                  
}

.flexbox {
  align-items: center;
  display: flex;
  justify-content: center;
  background: #F4F6F6;
  width : 100 % ;
  height: 150px;
 }

@-webkit-keyframes scroll {
  0% {
    -webkit-transform: translateX(0);
            transform: translateX(0);
  }
  100% {
    -webkit-transform: translateX(calc(-200px * 5));
            transform: translateX(calc(-200px * 5));
  }
}

@keyframes scroll {
  0% {
    -webkit-transform: translateX(0);
            transform: translateX(0);
  }
  100% {
    -webkit-transform: translateX(calc(-200px * 5));
            transform: translateX(calc(-200px * 5));
  }
}
.slider {
  background: #F4F6F6;
  /*box-shadow: 0 10px 20px -5px rgba(0, 0, 0, .125);*/
  height: 150px;
  margin: auto;
  overflow: hidden;
  position: relative;
  width: 95%;
}

.slider::before, .slider::after {
  background: linear-gradient(to right, white 0%, rgba(255, 255, 255, 0) 100%);
  content: "";
  height: 150px;
  position: absolute;
  width: 300px;
  z-index: 2;
}
.slider::after {
  right: 0;
  top: 0;
  -webkit-transform: rotateZ(180deg);
          transform: rotateZ(180deg);
}
.slider::before {
  left: 0;
  top: 0;
}
.slider .slide-track {
  -webkit-animation: scroll 35s linear infinite;
          animation: scroll 35s linear infinite;
  display: flex;
  width: calc(300px * 5);
}
.slider .slide {
  height:200px;
  width: 450px;
}

.slide img{
  
}
  /* INFORMACION GENERAL */
    
.contenedor informacion-general{
         width: 30%;
}
