* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  overflow-x: hidden;
  width: 100%;
}

body {
  background: #f2f2f2;
  font-family: "Athelas", bold;
  overflow-x: hidden;
  width: 100%;
}

.site-header {
  align-items: center;
  display: flex;
  justify-content: center;
  left: 0;
  mix-blend-mode: difference;
  padding: 40px 60px;
  position: fixed;
  text-transform: uppercase;
  top: 0;
  width: 100%;
  z-index: 100;
}

.site-logo {
  border-bottom: none;
  box-shadow: none;
  color: #f2f2f2;
  font-size: 1.4rem;
  font-weight: 700;
  left: 60px;
  position: absolute;
  text-decoration: none;
  text-transform: none;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 56px;
}
.site-nav a {
  color: #f2f2f2;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  transition: opacity 0.25s ease;
}
.site-nav a:hover {
  opacity: 0.7;
}

.gallery-page {
    max-width: 1400px;
    margin: 0 auto;
    padding: 80px 40px 200px 40px;
    font-family: sans-serif;
}

.page-title {
    font-size: 2.5rem;
    margin-top: 130px;
    margin-bottom: 40px;
    font-family: 'Athelas', bold;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 240px;
    gap: 24px;
    align-items: start;
}

.gallery-item {
    overflow: hidden;
    border-radius: 8px;
    background-color: #f5f5f5;
    cursor: default;
    transform: none !important;
    box-shadow: none !important;
    transition: none !important;
    animation: none !important;
}

.gallery-item:hover,
.gallery-item:focus,
.gallery-item:active {
    transform: none !important;
    box-shadow: none !important;
    cursor: default;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    transform: none !important;
    transition: none !important;
    animation: none !important;
}

.gallery-item:hover img,
.gallery-item:focus img,
.gallery-item:active img {
    transform: none !important;
}

.gallery-item.item-1 {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
    background-color: transparent;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-item.item-1 img {
    width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: contain;
    background-color: transparent;
}

.gallery-item.item-2 {
    grid-column: 3 / 4;
    grid-row: 1 / 2;
}

.gallery-item.item-3 {
    grid-column: 4 / 5;
    grid-row: 1 / 2;
}

.gallery-item.item-4 {
    grid-column: 1 / 3;
    grid-row: 3 / 4;
}

.gallery-item.item-5 {
    grid-column: 3 / 4;
    grid-row: 3 / 5;
    margin-top: -100px;
}
