.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.gallery img:hover {
  transform: scale(1.05);
  z-index: 1;
}


* { box-sizing: border-box; margin: 0; padding: 0; } 
body { margin: 0; padding: 0; background: #e7d4d4; } 
div { position: relative; }
.cen { position: absolute; top: 50%; left: 50%; transform: translateX(-50%) translateY(-50%); }
.fill { position: absolute; top:0; left:0; width:100%; height:100%;} .negru {background:rgba(0,0,0,0.3);} .c { text-align: center;}
a { text-decoration: none; }
.clip { width:100%; height:0; padding-bottom: 56.25%; margin-bottom: 20px; }
.clip iframe { position: absolute; top:0; left:0; width: 100%; height: 100%; }

img { max-width: 100%; }
img.round { border-radius: 50%; }
  
.two, .three {
    flex: 1;
    margin: 0 3rem 2rem 0;
	min-width: 220px;
}

.flex { 
	display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
@media (max-width: 768px) {
  .flex { flex-direction: column; }
  .two, .three { max-width: none; width: 100%; }
}