* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    }
    body {
        background: #fff;
        font-family: 'Open Sans', sans-serif;
    }
    
    a {
        text-decoration: none;
    
    }
    
    .contenedor {
        width: 100%;
        max-width: 1100px;
        margin: auto;
        
    }
    
    
    /*header*/
    
    
    
    header {
        padding: 40px 0;
    }
    
    header .logo {
        text-align: center;
        margin-bottom: 40px;
    }
    header .logo p{
        color: #fff;
    }
    header form {
        width: 100%;
        display: flex;
        justify-content: center;
        margin-bottom: 20px;
    }
    header .barra-busqueda {
        width: 70%;
        height: 40px;
        line-height: 40px;
        background: #fff;
        padding: 0 20px;
        border-radius: 100px;
        border: none;
        text-align: center;
        font-size: 16px;
    }
    header .categorias {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
    }
    header .categorias a {
        color: #9b9b9b;
        margin: 10px 20px;
        font-size: 18px;
        font-weight: 700;
    }
    header .categorias a.activo{
        color: #000000;
    
    }
    
    
    /* grid */
    
    
    .grid {
        position: relative;
        width: 100%;
        opacity: 0;
        transition: opacity 0.5s linear 1s;
    }
    
    .grid.imagenes-cargadas{
        opacity: 1;
    }
    
    .grid .item {
        position: absolute;
        display: block;
        padding: 0;
        margin: 4px;
        width: calc(33.33333% -20px);
    }
    
    .grid .item-contenido{
        position: relative;
    }
    
    .grid .item img {
        width: 250px;
        cursor: pointer;
        vertical-align: top;
    }






    /* nav */
nav {
    width: 100%;
    height: 80px;
    background: #fff;
    border-bottom: 1px solid transparent;
    box-shadow: 1px 1px 10px 0 rgba(0, 0, 0, .2);
    position: fixed;
    top: 0;
    z-index: 100;
    transition: ease-in-out 0.5s;
  }
  
  .nav {
    display: flex;
    justify-content: space-between;
    height: 80px;
    width: 100%;
    align-items: center;
    padding: 0 9px;
  }
  
  .nav .logo {
    height: 70px;
  
  }
  
  .nav .logo img {
    height: 100%;
    vertical-align: top;
  }
  
  .enlaces-header {
    font-weight: 300;
    transition: ease-in-out 0.5s;
    margin-left: 330px;
  }
  
  .nav .enlaces-header a {
    color: darkblue;
    font-size: 1.2rem;
    margin-left: 30px;
  letter-spacing: 0.3rem;
  }
  
  .hamburguer {
    width: 60px;
    height: 80px;
    display: none;
    text-align: center;
    z-index: 100;
    cursor: pointer;
    transition: color   0.5s ease-in;
  
  
  }
  .nav  .bt {
	display: inline-block;
	padding: 9px 6px;
	text-align: center;
	color: #28274b;
	background-color: transparent;
	border: 2px solid #1a194d;
	font-size: 1rem;
	
	border-radius: 4rem;
	align-items: center;
		
}
.nav  .bt:hover{
	background-color: #100c5f;
	color: #fff;
}
  
  .hamburguer>i {
    font-size: 35px;
    line-height: 80px;
  
  }
  
  header::before {
    content: "";
    display: block;
    margin-bottom: 80px;
  }
  @keyframes animat {
    0% {
        transform: scale(0);
    }
  
    100% {
        transform: scale(1);
    }
  }
  
  /* end nav */

  
  @media screen and (max-width:600px) {
	
  
    
    
  
      .nav {
          padding: 0 10px;
      }
      
      .enlaces-header {
          position: fixed;
         background: #f2f2f2;
          top: 0;
          right: 0;
          width: 100%;
          height: 100vh;
          display: flex;
          align-items: center;
          flex-direction: column;
          justify-content: space-evenly;
          clip-path: circle(0.0% at 100% 0);
          
      }
      .nav .enlaces-header a {
		color: #1a194d;
		font-size: 1.5rem;
		
	  }
      .nav .menudos {
  
          -webkit-clip-path: circle(150% at 100% 0);
          clip-path: circle(150% at 100% 0);
  
      }
  
      .nav .hamburguer {
          display: block;
          color: #1a194d;
          
      }
  
      /* Footer */
      .partFooter {
          width: 95%;
          margin-bottom: 40px;
      }
  
      
  }
  
  
  

  /* footer */

footer {
    background: #f2f2f2;
    padding: 50px 30px;
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: auto;
}

.partFooter {
    width: 19%;
    text-align: center;
}

.partFooter h4 {
    color: #1d273b;
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 10px;
}

.partFooter a {
    display: block;
    text-decoration: none;
    color: #111111;
    font-weight: 300;
    transition: color .3s ease-in-out;
    margin-bottom: 13px;
	font-size: 1rem;
}


.partFooter a:hover {
    color: #1d2969;
}

.partFooter img {
    width: 70%;
	height: 67%;
}

.social-media a {
    font-size: 28px;
    display: inline-block;
    color: #9a9b9c;
    border: 1px solid #adb6c7;
    border-radius: 50%;
    width: 35px;
    height: 38px;
    line-height: 36px;
    cursor: pointer;
    margin-top: 10px;
    text-align: center;
    transition: all ease-in-out .3s;
    margin-right: 5px;
}

.social-media i:hover {
    color: #fff;
    background-color: #1d2969;
    border-color: #1d2969;
}
/* end footer */
.aviso {
	width: 100%;
	height: 20px;
	
	background: #f2f2f2;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.aviso a{
	
	text-align: center;
	font-size: 1rem;
	color: #111111;
	margin-top: 20px;
}
.aviso a:hover {
    color: #1d2969;
}

.creado {
	width: 100%;
	height: 20px;
	
	background: #f2f2f2;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.creado a{
	margin-top: 5px;margin-top: 5px;
	text-align: center;
	font-size: 0.8rem;
	color: #111111;
	margin-top: 20px;
}
.creado a:hover {
    color: #1d2969;
}
@media screen and (max-width:800px) {
   

    

	footer {
        justify-content: space-evenly;
    }

    
}



@media screen and (max-width:600px) {
    .nav  .bt {
        padding: 5px 3px;
        font-size: 0.8rem;      
      }
    

    /* Footer */
    .partFooter {
        width: 95%;
        margin-bottom: 40px;
    }
    
}













.container2{
    
    display: flex;
    flex-direction: column;
    width: 100%;
    height: auto;
    align-items: center;
    background: #28274b;
}

.container2 .title h1{
text-align: center;
    margin-top: 200px;
    color: rgba(255, 196, 0, 0.774);
    font-size: 4rem;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.container2 .title {
	background-image: url(../img/portafolio/WhatsApp\ Image\ 2021-08-03\ at\ 8.19.08\ AM.jpeg);
	background-size: cover;
	background-position: top center;
	position: relative;
	z-index: 1;	
	animation: imgpor 17s infinite linear ;
    height: 500px;
	width: 100%;
	
}

.container2 .title::after {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	height: 100%;
	width: 100%;
	background-color: #1a194d;
	opacity: 0.6;
	z-index: -1;	
}



.wrapper{
    margin: 1.4rem 0;
    display: flex;
    flex-direction: column;
    max-width: 1080px;
    width: 100%;
    height: auto;
    align-items: center;
}

.wrapper .filter-menu{
    display: flex;
    flex-wrap: wrap;
    list-style: none; 
    padding: 0px 50px;
}

.filter-menu li{
    margin: 0.2rem 0.4rem;
    padding: 0.4rem 1rem;
    color: #fff;
    cursor: pointer;
    font-size: 1.2rem;
    background: #2e2d64;
    border-radius: 0.2rem;
    transition: all 0.4s ease;
}

.filter-menu li:hover,
.filter-menu li.active-menu{
    background: rgba(255, 196, 0, 0.774);
}

.container2 .filter-items{
    margin-top: 1.6rem;
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    align-items: center;
}


.filter-items .filter-content{
    position: relative;
    margin: 0.3rem;
    width: 350px;
    height: 250px;
    cursor: pointer;
    border-radius: 0.4rem;
    overflow: hidden;
}

.filter-items .filter-content img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    
}



/* active or delete contents */
.filter-items .filter-content.deleteContents{
    display: none;
}

.filter-items .filter-content.activeContents{
    animation: anim 0.4s ease;
}

@keyframes anim {
    0%{
        transform: scale(0.4);
    }
    100%{
        transform: scale(1);
    }
}



.filter-items .filter-content::before{
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: rgba(0, 0, 0, 0.6);
    transform: translateX(-100%);
    transition: transform 0.4s ease;
}

.filter-items .filter-content:hover::before{
    transform: translateX(0);
}

.filter-items .filter-content::after{
    position: absolute;
    content: '';
    bottom: 0;
    right: 0;
    width: 100%;
    height: 50%;
    background: rgba(0, 0, 0, 0.6);
    transform: translateX(100%);
    transition: transform 0.4s ease;
}

.filter-items .filter-content:hover::after{
    transform: translateX(0);
}

.filter-items .filter-content p{
    position: absolute;
    top: 50%;
    left: 50%;
    color: #fff;
    font-size: 1.5rem;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.4s ease;
    z-index: 1;
}

.filter-items .filter-content:hover p{
    transform: translate(-50%, -50%) scale(1);
}

@media screen and (max-width: 1080px){

    .container2 .title h1{
        
        font-size: 3rem;
        
    }
    .wrapper .filter-menu{
        justify-content: center;
    }
    .container2 .filter-items{
        justify-content: center;
    }
}









 

.lightbox {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.4);
    max-width: 700px;
    max-height: 500px;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    box-sizing: border-box;
    z-index: 99;
}

.lightbox.show-lightbox {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, -50%) scale(1);
    transition: all 0.4s ease;
}

.lightbox-header {
    padding-bottom: 0.8rem;
    display: flex;
    width: 100%;
    justify-content: space-between;
}

.lightbox-header p {
    color: #fff;
    font-size: 1.2rem;
}

#close-lightbox {
    position: relative;
    cursor: pointer;
}

#close-lightbox::before{
    position: absolute;
    content: '';
    top: 0.8rem;
    right: 0;
    height: 3px;
    width: 20px;
    background: #fff;
    transform: rotate(-45deg);
    transition: all 0.4s ease;
}

#close-lightbox::after{
    position: absolute;
    content: '';
    top: 0.8rem;
    right: 0;
    height: 3px;
    width: 20px;
    background: #fff;
    transform: rotate(45deg);
    transition: all 0.4s ease;
}

#close-lightbox:hover::before,
#close-lightbox:hover::after {
    background: orangered;
}

.image-wrapper {
    height: 90%;
    width: 100%;
}

.image-wrapper img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.lightbox-shadow {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
}

.lightbox-shadow.show-shadow {
    display: block;
}




