@font-face {
  font-family: playfair-bold;
  src: url(fonts/playfair-display/PlayfairDisplay-Bold.otf);
  font-weight: bold;
}


@font-face {
  font-family: aileron-ultra-light;
  src: url(fonts/aileron/Aileron-UltraLight.otf);
}

@font-face {
  font-family: aileron-thin;
  src: url(fonts/aileron/Aileron-Thin.otf);
}


body {
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
    padding: 0;
    background-color: white;
}

.logo {
    text-align: center;
    padding: 20px;
}

.logo h1 {
    margin: 0;
    font-size: 6em;
	font-family: playfair-bold;
}

.image-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 10px;
    max-width: 1200px;
    margin: 0 auto;
}

.grid-item-wrapper {
    position: relative;
    aspect-ratio: 1 / 1; 
}

.grid-item {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.grid-item-wrapper::after {
	font-family: aileron-thin;
    content: attr(data-name);
    position: absolute;
    top: 10%; 
    left: 0;
    width: 100%;
    padding: 10px;
    color: white;
    font-weight: bold;
    text-align: center;
    font-size: 2.5em; 
    line-height: 1.2;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.8);
    z-index: 10;
    overflow-wrap: break-word;
    word-break: break-word;
}

@media (min-width: 768px) {
    .image-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }
}
