* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  font-family: 'Segoe UI', sans-serif;
  background-color: #e0f7fa;
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden; /* ukrywa scroll */
  padding-top: calc(env(safe-area-inset-top) + 10px); /* dodanie 10px na margines */
}

.container {
  width: 100%;
  max-width: 900px;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  text-align: center;
}

/* Logo */
header {
  display: flex;
  justify-content: center;
  align-items: center;
  height: auto;
  padding-top: env(safe-area-inset-top);
}

header img {
  max-width: 100%;
  max-height: 200px; /* Możesz dostosować do swoich potrzeb */
  object-fit: contain;
  margin-top: env(safe-area-inset-top);
}


/* Rock text */
.rock-text {
  font-family: 'Rock Salt', cursive;
  font-size: 32px;
  color: #424647;
}

/* Obrazek zespołu */
.image-container {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1;
}

.image-container img {
  max-height: 50vh;
  max-width: 90%;
  border-radius: 15px;
  background: #fff;
  padding: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  object-fit: cover;
}

/* Event Note */
.event-note {
  position: absolute;
  bottom: 68%;
  right: -7%;
  background: linear-gradient(145deg, rgba(26,26,26,0.8), rgba(42,42,42,0.8)); /* przezroczysty, ciemny gradient */
  color: #f0f0f0;
  padding: 15px;
  font-size: 0.9rem;
  box-shadow: 4px 6px 20px rgba(0, 0, 0, 0.7), inset 0 1px 2px rgba(255, 255, 255, 0.1); /* zewnętrzny + wewnętrzny cień */
  transform: rotate(-3deg);
  border: 1px solid #444; /* ciemnoszary stalowy */
  border-radius: 8px;
  z-index: 10;
  backdrop-filter: blur(4px); /* lekki blur tła dla efektu szkła */
  font-family: 'Courier New', monospace;
}


/* Footer */
footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.socials {
  display: flex;
  gap: 20px;
  font-size: 2rem;
}

.socials a {
  color: #006064;
  transition: color 0.3s;
}

.socials a:hover {
  color: #004d40;
}

.contact {
  font-size: 1rem;
  color: #004d40;
  display: inline-flex;
  align-items: center;
  gap: 6px; /* zamiast margin-right dla ikony */
}

.contact a {
  color: #006064;
  text-decoration: none;
  transition: color 0.3s;
}

.contact a:hover {
  color: #004d40;
}

.contact .material-icons {
  font-size: 20px;
  color: #d32f2f; /* opcjonalny kolor */
}

/* RESPONSYWNOŚĆ */
@media (max-width: 768px) {
  .rock-text {
    font-size: 24px;
  }

  .event-note {
    position: static;
    transform: none;
    margin-top: 10px;
    width: 100%;
    max-width: 90%;
  }

  .image-container {
    flex-direction: column;
  }

  .image-container img {
    max-height: 40vh;
  }
}

@media (max-height: 600px) {
  .image-container img {
    max-height: 35vh;
  }

  .rock-text {
    font-size: 20px;
  }

  .event-note {
    font-size: 0.8rem;
    padding: 10px;
  }
}

@media (max-width: 768px) {
  header img {
    width: 180px;
  }

  .rock-text {
    font-size: 20px;
    padding: 0 10px;
    word-break: break-word;
  }

  .event-note {
    position: static;
    transform: none;
    margin-top: 15px;
    width: 90%;
    font-size: 0.95rem;
    text-align: center;
  }

  .image-container {
    flex-direction: column;
  }

  .image-container img {
    max-height: 40vh;
  }
}

@media (max-width: 400px) {
  .rock-text {
    font-size: 16px;
    line-height: 1.2;
  }

  header img {
    width: 140px;
  }

  .event-note {
    font-size: 0.8rem;
  }
}

    .pin {
      display: flex;
      align-items: center;
      margin: 10px 0;
      font-size: 18px;
    }
    .material-icons {
      margin-right: 8px;
      color: #d32f2f;
    }
	
    .map-link {
      text-decoration: none;
      color: #fff;
	  font-size: 0.55rem;
    }
    .map-link:hover {
      text-decoration: underline;
    }