body {
  margin: 0;
  padding: 0;
  background-color: #ffffff;
  color: #231F20;
  font-family: 'Favorit_Medium', sans-serif;
  height: 100vh;
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.logo, .head-logo {
  position: absolute;
  z-index: 10;
  color: #231F20;
  font-family: 'Favorit_Medium', sans-serif;
}

.logo {
  bottom: 50px;
  left: 30px;
  font-size: 10px;
}

.logo-title {
  display: inline-block;
  font-size: 11px;
  line-height: 1.1;
  font-weight: 300;
  margin-right: 0.3em;
}

.logo-subtitle,
.logo a,
.logo i {
  display: inline;
  font-size: 11px;
  font-weight: 400;
}

.head-logo {
  font-size: 11px;
  top: 30px;
  right: 30px;
}

#gallery {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  width: 100vw;
  height: 100vh;
  cursor: pointer;
  z-index: 0;
}

#gallery li {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  display: none;
  z-index: 0;
}

#gallery li.big {
  width: 90vw;
  height: 90vh;
  background-size: contain; /* cover helyett contain */
  background-repeat: no-repeat;
  background-position: center;
}

#gallery li.medium {
  width: 70vw;
  height: 70vh;
}

#gallery li.small {
  width: 50vw;
  height: 50vh;
}

/* ABOUT OVERLAY */
#about-overlay {
  position: fixed;
  inset: 0;
  background: #fff;
  z-index: 9999;
  display: none;
}

.about-wrapper {
  max-width: 800px;
  margin: 120px auto;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 80px;
}

.about-image img {
  width: 100%;
  max-width: 420px;
}

.about-text {
  font-size: 11px; /* ← állítható */
  margin-top: 0;
}

.about-text p {
  line-height: 1.8;
  text-transform: uppercase;
}

@media (max-width: 768px) {

  .about-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
    margin: 80px 20px;
  }

  .about-image img {
    max-width: 100%;
  }

  .about-text {
    font-size: 12px;
  }

}


#intro-screen{
  position:fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index:2147483647;
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
  display:flex;
  justify-content:center;
  align-items:center;
  cursor:pointer;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

#intro-title{
  color:#f5f5f5;
  font-size:clamp(36px,5vw,36px);
  font-weight: 700;
  letter-spacing:0.1em;
  text-indent:0.1em;
  position: absolute;
  left: 50%;
  bottom: 50%; /* ~80% from top */
  transform: translateX(-50%);
  margin: 0;
  text-align: center;
}