.gallery__img{
	object-fit: cover;
	margin-bottom: 10px;
	cursor: pointer;
	transition: all 0.5s;
}

.gallery__img:hover{
	transform: scale(1.02);
}

.gallery__img--big{
	height: 400px;
}

.gallery__img--small{
	height: 200px;
}

.modal{
	width: 100%;
	min-height: 100vh;
	background: rgba(0,0,0,0.9);
	position: fixed;
	top: 0;
	left: 0;
	z-index: 1000000;
	display: none;
}

.modal__content{
	display: flex;
	justify-content: center;
	align-items: center;
	height: 100vh;
}

.modal__img{
	width: 60%;
}

.modal__boton{
	position: absolute;
	top: 5px;
	right: 10px;
	color: black;
	cursor: pointer;
	font-weight: bold;
	width: 35px;
	height: 35px;
	line-height: 35px;
	background: #fff;
	font-size: 1.4em;
	text-align: center;
	border-radius: 50%;
	font-family: monospace;
}

.modal--open{
	display: block;
}

.main .galeria .titulo{
	text-align: center;
	font-size: 40px;
	line-height: 40px;
	font-weight: 300;
	margin-bottom: 40px;
}

/************ Media queries *************/
@media screen and (min-width:1024px) { 
  .modal__img{
	  width: 40%;
	}
}
}