* {
margin: 0;
padding: 0;
box-sizing: border-box;}

.logo {
position: relative;
height: 10%; 
padding: .1vh ;
background-color: #F2CDCD;}

.page-background {
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  background: url("images/bg.png") center/cover no-repeat fixed;}

.gallery {
  width: min(1000px, 100% - 40px);}

.gallery-title {
  text-align: center;
  color: white;
  margin-bottom: 24px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-family: system-ui, sans-serif;}

.art-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;}

.art-tile {
  position: relative;
  display: block;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  text-decoration: none;
  aspect-ratio: 1 / 1;
  background: rgba(0, 0, 0, 0.4);
  transition: transform 0.15s ease, box-shadow 0.15s ease;}

.art-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;}

.art-tile:hover {
  transform: scale(1.08);}

@media (max-width: 768px) {
  .page-background {
    align-items: flex-start;
    padding-top: 16px; }

  .logo {
    position: relative;
    height: auto; 
    max-width: 800px;
    padding: .1vh ;
    background-color: #F2CDCD;}

  .logo img {
    height: auto; 
    max-width: 500px;
  }
}