.galeria {
    padding: 1em 0;
    background-color: #c8c3b5;

}
.galeria .section-title {
    text-align: center;
    text-transform: uppercase;
    letter-spacing: .5em;
    margin: 2em 0;
    color: white;
    font-size: 1em;
    font-family: 'Playfair Display', serif;

}

.galeria .container {
    position: relative;
}
 
 .frame {
	
	 width: 100%;
	 border-radius: 2px;
	 overflow: hidden;
	 background:  #c8c3b5;
}
 .gallery__item {
	 animation: loadingAnim 1s;
	 border: 0.35em solid  #c8c3b5;
	 cursor: pointer;
	 display: block;
	 float: left;
	 transition: all 300ms ease;
	 width: calc(33.333% - .75em);
     height: 150px;
     object-fit: cover;

}
 .gallery__item:nth-child(1) {
	 transform-origin: 0 0;
}
 .gallery__item:nth-child(2) {
	 transform-origin: 50% 0;
}
 .gallery__item:nth-child(3) {
	 transform-origin: 100% 0%;
}
 .gallery__item:nth-child(4) {
	 transform-origin: 0 50%;
}
 .gallery__item:nth-child(6) {
	 transform-origin: 100% 50%;
}
 .gallery__item:nth-child(7) {
	 transform-origin: 0 100%;
}
 .gallery__item:nth-child(8) {
	 transform-origin: 50% 100%;
}
 .gallery__item:nth-child(9) {
	 transform-origin: 100% 100%;
}
.gallery__item:nth-child(10) {
    transform-origin: 0 0;
}
.gallery__item:nth-child(11) {
    transform-origin: 50% 0;
}
.gallery__item:nth-child(12) {
    transform-origin: 100% 0%;
}
.gallery__item:nth-child(13) {
    transform-origin: 0 50%;
}
.gallery__item:nth-child(15) {
    transform-origin: 100% 50%;
}
.gallery__item:nth-child(16) {
    transform-origin: 0 100%;
}
.gallery__item:nth-child(17) {
    transform-origin: 50% 100%;
}
.gallery__item:nth-child(18) {
    transform-origin: 100% 100%;
}
 .gallery__item.active {
	 transform: scale(3);
}
.galeria .section-button {
    margin: 1em auto;
}

.galeria .section-button:hover {
    cursor: pointer;
}

.galeria .section-button {
    background-color: black !important;
}

@media screen and (min-width: 1000px) {

    .galeria {
        padding: 2em 0;
    }

    .galeria .section-title {
        font-size: 2em;
        text-align: center;
        margin: .5em;
    }
    .gallery__item {
        animation: loadingAnim 1s;
        cursor: pointer;
        display: block;
        float: left;
        transition: all 300ms ease;
        width: calc(33.3333333% - .75em);
        height: 300px;
   }

   .galeria .section-button {
    background-color: black !important;
}



}