.body-container {
	font-family: "Verdana", sans-serif;
	margin: 10px auto;
	max-width: 1000px;
	padding: 0px 12px;
}
.containerYtb {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
}
.videoYtb {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#titol {
	color: #e31d23;
	font-size: 40px;
	font-style: normal;
	font-weight: 800;
}
div.gallery {
  border: 1px solid #ccc;
  cursor: pointer;
  transition:0.3s;
}

div.gallery:hover {
  border: 1px solid #555;
  opacity: 0.8;
}

div.gallery img {
  width: 100%;
  height: auto;
  display: block;
  
  aspect-ratio: 1.2;
  object-fit: cover;
}

* {
  box-sizing: border-box;
}

.responsive {
  padding: 5px 6px;
  float: left;
  width: 24.99999%;
  
  padding: 4px 4px;
}

@media only screen and (max-width: 700px) {
  .responsive {
    width: 49.99999%;
    /*margin: 6px 0;*/
  }
  .body-container {
	padding: 0px;
  }
}

@media only screen and (max-width: 500px) {
  .responsive {
    width: 100%;
  }
  .body-container {
	padding: 0px;
  }
  div.gallery img {
    width: 100%;
    height: auto;
    display: block;
	aspect-ratio: auto;
    object-fit: fill;
  }
}

.clearfix:after {
  content: "";
  display: table;
  clear: both;
}

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 0px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

/* Modal Content (image) */
.modal-content {
  margin: auto;
  display: block;
  width: 90%;
  max-width: 1000px;
}

/* Add Animation */
.modal-content {  
  -webkit-animation-name: zoom;
  -webkit-animation-duration: 0.6s;
  animation-name: zoom;
  animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
  from {-webkit-transform:scale(0)} 
  to {-webkit-transform:scale(1)}
}

@keyframes zoom {
  from {transform:scale(0)} 
  to {transform:scale(1)}
}

/* The Close Button */
.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  color: #f00;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px){
  .modal-content {
    width: 100%;
  }
}

/*paginacio*/
.center {
  text-align: center;
}
.pagination {
  display: inline-block;
}
.pagination a {
  color: black;
  float: left;
  padding: 8px 16px;
  text-decoration: none;
  border: 1px solid #ddd;
}
.pagination a.active {
  background-color: #4CAF50;
  color: white;
  border: 1px solid #4CAF50;
}
.pagination a:hover:not(.active) {background-color: #ddd;}

/*boto vermell*/
.botoVermell {
  display: inline-block;
}
.botoVermell a {
	color: #FFFFFF;
	background-color:#e72b2a;
	background-color:#e31d23;
	border: 0px solid transparent;
	border-radius: 5px;
	transition: 0.3s;
  float: left;
  padding: 8px 16px;
  text-decoration: none;
}
.botoVermell a:hover,
.botoVermell a:focus {background-color: #ed7276;}
