.galeria-city {
display: flex;
flex-direction: column;
gap: 20px;
}
.gc-item {
position: relative;
display: block;
overflow: hidden;
}
.gc-item img {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
transition: transform .6s;
}
.gc-item:hover img {
-webkit-transform: scale(1.06);
transform: scale(1.06);
}
.gc-1 {
width: 100%;
height: 533px;
}
.gc-grid {
display: grid;
grid-template-columns: 309fr 309fr 460fr;
grid-template-rows: 321px 31px 372px;
gap: 20px;
}
.gc-2 { grid-column: 1 / 3; grid-row: 1 / 3; }
.gc-3 { grid-column: 3;     grid-row: 1;     }
.gc-4 { grid-column: 1;     grid-row: 3;     }
.gc-5 { grid-column: 2;     grid-row: 3;     }
.gc-6 { grid-column: 3;     grid-row: 2 / 4; }
.gc-hidden {
display: none;
}
.image-count {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 90px;
height: 90px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
background: rgba(70, 100, 130, .45);
-webkit-backdrop-filter: blur(2px);
backdrop-filter: blur(2px);
color: #fff;
text-transform: uppercase;
z-index: 4;
pointer-events: none;
}
.image-count span {
font-size: 44px;
line-height: 1;
font-weight: 300;
}
.image-count small {
font-size: 13px;
letter-spacing: 1px;
margin-top: 2px;
}
.gc-item::before {
content: "";
position: absolute;
inset: 0;
background-color: #000;
opacity: 0;
transition: opacity .4s ease;
z-index: 3;
pointer-events: none;
}
.gc-item:hover::before,
.gc-item:focus::before {
opacity: .5;
}
.gc-6::before {
opacity: .3;
}
.gc-6:hover::before,
.gc-6:focus::before {
opacity: .6;
}
@media (max-width: 1100px) and (min-width: 769px) {
.gc-1 {
height: auto;
aspect-ratio: 1120 / 533;
}
.gc-grid {
grid-template-rows: 321fr 31fr 372fr;
aspect-ratio: 1120 / 764;
}
}
@media (max-width: 768px) {
.galeria-city {
gap: 10px;
}
.gc-1 {
height: auto;
aspect-ratio: 16 / 10;
}
.gc-grid {
grid-template-columns: 1fr 1fr;
grid-template-rows: auto;
gap: 10px;
aspect-ratio: auto;
}
.gc-2 {
grid-column: 1 / 3;
grid-row: auto;
aspect-ratio: 16 / 10;
}
.gc-3,
.gc-4,
.gc-5,
.gc-6 {
grid-column: auto;
grid-row: auto;
aspect-ratio: 1;
}
.image-count {
width: 70px;
height: 70px;
}
.image-count span {
font-size: 32px;
}
.image-count small {
font-size: 11px;
}
}
.lg-outer .lg-components {
transform: none !important;
opacity: 1 !important;
}
.lg-outer .lg-sub-html,
.lg-outer.lg-components-open:not(.lg-zoomed) .lg-sub-html {
opacity: 1 !important;
background: rgba(0, 0, 0, .45) !important;
color: #eee;
font-size: 16px;
line-height: 19px;
min-height: 39px;
padding: 10px 80px 10px 40px;
transition: transform .25s cubic-bezier(0, 0, .25, 1) !important;
}
.lg-outer.lg-components-open .lg-sub-html {
transform: translate3d(0, -100px, 0);
}
.lg-outer .lg-thumb-outer {
position: absolute;
left: 0;
bottom: 0;
height: 100px;
background-color: #0d0a0a;
transform: translate3d(0, 100%, 0);
transition: transform .25s cubic-bezier(0, 0, .25, 1) !important;
}
.lg-outer.lg-components-open .lg-thumb-outer {
transform: translate3d(0, 0, 0);
}
.lg-outer .lg-thumb-item {
border-radius: 0 !important;
border: 2px solid #444 !important;
opacity: 1;
transition: border-color .25s ease;
}
.lg-outer .lg-thumb-item:hover {
border-color: #999 !important;
}
.lg-outer .lg-thumb-item.active {
border-color: #fff !important;
}
.lg-outer .lg-thumb-item img {
border-radius: 0 !important;
}
.lg-outer .lg-toggle-thumb {
position: absolute;
right: 20px;
bottom: 0;
width: 50px;
height: 39px;
padding: 5px 0;
line-height: 29px;
font-size: 24px;
text-align: center;
background-color: #0d0a0a;
border: 0;
border-radius: 2px 2px 0 0;
color: #999;
cursor: pointer;
z-index: 1;
transform: translate3d(0, 0, 0);
transition: transform .25s cubic-bezier(0, 0, .25, 1), color .2s linear !important;
}
.lg-outer .lg-toggle-thumb:hover {
color: #fff;
}
.lg-outer.lg-components-open .lg-toggle-thumb {
transform: translate3d(0, -100px, 0);
}
@media (max-width: 767px) {
.lg-outer .lg-actions .lg-prev,
.lg-outer .lg-actions .lg-next {
background: rgba(0, 0, 0, .35);
color: #fff;
padding: 8px 10px;
}
}