* {
    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;
}

/* Header */

header {
    width: 100%;
    height: 300px;
     background-image: linear-gradient(to bottom right, rgba(255,255,255,1), rgba(40,139,168,1));
}

nav{
  text-align: right;
  padding: 30px 1px 0 0;
}

nav > a{
  color:#000;
  font-weight: 300;
  text-decoration: none;
  margin-right: 60px;
}

nav > a:hover{
    text-decoration: underline;
}
header .logo .imagen{
width:150px;
height:130px;
float: left;
margin-left: 150px;
 max-width: 300px;

   
}

header .textos-header{
    display: flex;
    height: 130px;
    width: 50%;
    max-width: 1000px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    float: center;
}

.textos-header h1{
    font-size: 50px;
    color:#fff;
}

.textos-header h2{
    font-size: 30px;
    font-weight: 300;
    color:#fff;
}


/*  Our team */



.contenedorca{
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
  height: 400px;
}


.inform{
  width: 60%;
  height:auto;
  
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  margin-bottom: 90px;
}
.inform .title{
 text-align: left;
    font-size: 42px;
    line-height: 40px;
   font-weight: 120;
    margin-bottom: 3px;
    color: #2200e4;
    font-family: inherit;
}
.inform .parrafo{
 width: 100%;
    float: left;
    text-align: justify;
    font-size: 20px;
    color: #000;
    font-weight: 30;
    line-height: 40px;
    font-family: inherit;
   
}
.lista{
  padding-left: 50px;
  font-family: inherit;
  font-size: 20px;
  line-height: 40px;
}




.linea{
  
  background: #550b51;
  height: 9px;
  width: 95%;
  display: block;
  margin: 100px 0;

}
.galeria{
display: grid;
grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
width: 95%;
margin: auto;
grid-gap:10px;
padding: 40px 0;
overflow: hidden;
}
.galeria >a{
display: block;
position: relative;
overflow: hidden;
box-shadow: 0 0 6px rgba(0, 0, 0, .5);
}
.galeria img{
width: 100%;
vertical-align: top;
height: 300px;
object-fit: cover;
transition: transform 0.5s;
}

.galeria a:hover img{
filter: blur(2px);
transform: rotate(10deg) scale(1.3);

}

.cajah{
position: fixed;
top:0;
left: 0;
background: rgba(0, 0, 0, .5);
transition: transform .3s ease-in-out;
width: 100%;
height: 100vh;
z-index: 1000;
display: flex;
justify-content: center;
justify-content: center;
align-items: center;
transform: scale(0);
}
.cajah img{
width: 75vw;
max-height: 70vh;

}

.cajah:target{
transform: scale(1);

}
.close{
display: block;
position: absolute;
top: 40px;
right: 40px;
background: #851919;
color: #fff;
text-decoration: none;
width: 40px;
height: 40px;
text-align: center;
line-height: 40px;
border-radius: 50%;
}

.next{
display: block;
background: #550b51;
color: #fff;
height: 30px;
width: 30px;
text-decoration: none;
text-align: center;
}


/* footer */

footer .redes-sociales {
  background: #1e2b38;
  padding: 0.1px 0; 
}
  footer .redes-sociales .contenedor {
    display: flex;
    justify-content: center; 
  }
    footer .redes-sociales .contenedor a {
      color: #fff;
      text-align: center;
      width: 100px;
      font-size: 30px;
      padding: 0.1px 0;
      display: block;
      margin: 0 20px;
      border-radius: 3px; 
    }
         footer .redes-sociales .contenedor .facebook {
      background: #55acee; 
    }
    footer .redes-sociales .contenedor .whatsapp {
      background: #075e54; 
    }
    footer .redes-sociales .contenedor .linkedln {
      background: #0077b5; 
    }
    footer .redes-sociales .contenedor .instagram {
      background: #e1306c; 
    }
    footer .redes-sociales .contenedor .facebook:hover {
      background: #000; 
    }
    footer .redes-sociales .contenedor .whatsapp:hover {
      background: #000; 
    }
    footer .redes-sociales .contenedor .linkedln:hover {
      background: #000; 
    }
    footer .redes-sociales .contenedor .instagram:hover {
      background: #000; 
    }
  
    footer .final {
      background: #000;
      padding: 4px 0;
    }
      footer .final .contenedor {
        background: #000;
        padding: 4px 0;
      }
        footer .final .contenedor .copyright {
          text-align: center;
          padding: 1px 0;
          color: #fff;
        }






@media (max-width:768px) {
  header .logo .imagen{
    width:100px;
    height:90px;
    margin-top: 30PX;
    margin-left: 50px;
    max-width: 100px;
    }
   header .textos-header{
    margin: 0 auto;
    margin-top: 25px;
    text-align: left;
   }
                    
   .textos-header h1{
    font-size: 26px; 
   }
                    
    .textos-header h2{
     font-size: 20px;
     }
  .cuerpo_carrusel{
    grid-template-columns: 1fr;
    grid-template-rows: max-content 1fr;
    gap: 1em;
  }
  .slider__picture{
    grid-row: 1/2;
  }
  .carrusel_img{
    width: 210px;
    height: 210px;
  }
}

@media (max-width:425px) {
  .contenedor_carrusel{
    grid-template-columns: 25px 1fr 25px;
    
  }
  .flecha{
    width: 100%;
  }
  .carrusel_img{
    width: 180px;
    height: 180px;
  }
  .titulo_carrusel{
    font-size: 2rem;
    margin-bottom: 15px;
  }
  .subtitulo_carrusel{
    font-size: 1rem;
    line-height: 1.6;
  }
  .inform .title{
    font-size: 16px;
    line-height: 20px;
}
.inform .parrafo{
    font-size: 16px;  
    line-height: 30px;
}
.lista{
  font-size: 16px;
  line-height: 30px;
}
}


@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;
    }
    footer .redes-sociales .contenedor {
      flex-wrap: wrap; 
     }
    
     footer .redes-sociales .contenedor > a {
      margin-right: 5px;
      margin: 1px 1px;
     }
}

@media screen and (max-width:376px){

  .textos-header h1{
      font-size: 25px;
  }

  .textos-header h2{
      font-size:15px;
  }
  .inform .title{
    line-height: 28px;
}

}

