body {
  font-family: 'Roboto', sans-serif;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

.prvnistranka {flex-direction: row;
display: flex;}

.text1{padding-top: 120px;
padding-left: 50px;}
/* Container */
.container {
  position: relative;
}

/* Full-Height Sections */
.section {
  position: relative; 
  height: 100vh; 
  min-height: 100vh;
}

/* Background Image */
.background {
  position: absolute; 
  top: 0; 
  left: 0; 
  right: 0; 
  bottom: 0; 
  background-size: cover; 
  background-attachment: fixed; 
  background-position: center;
  z-index: 0; /* Send to back */
}

/* Content Layer */
.hero-content, h2, .timeline, .point {
  position: relative; 
  z-index: 1; /* Bring content to front */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Hero Section */
.hero {
  background-image: url('hero-background.jpg'); /* Example background */
  height: 120vh;
  overflow: hidden;
  display: grid;
  grid-row-gap: 1rem;
  grid-template-rows: 1fr 1fr; /* Example background */
}

.hero-content {
  padding: 50px 20px;
  text-align: center;
  padding-top: 300px;
  
}

.hero-image {
  width: 70%;
  max-width: 1000px;
  border-radius: 8px;
  margin: 20px 0;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.start-button {
  margin-top: 20px;
  padding: 10px 20px;
  background-color: #ff5722;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s;
}

.start-button:hover {
  background-color: #e64a19;
}

/* Chapter Section */
.chapter {
  background-image: url('chapter-background.jpg'); /* Add background for chapter */
  text-align: center;
  padding-top: 50px; /* Space for heading */
}

h2 {
  margin-bottom: 10px;
  font-size: 2.5rem; /* Bigger font size for better visibility */
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 20px 0;
}

/* Timeline Points */
.point {
  background-color: rgba(255, 255, 255, 0.9); /* Slightly more opaque for readability */
  color: #333;
  padding: 15px;
  border-radius: 5px;
  margin: 10px 0;
  width: 80%; /* Make points wider for visual consistency */
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  transition: transform 0.4s, box-shadow 0.4s;
}

.point:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.4);
}

/* Map Section */
.map {
  background-image: url('map-background.jpg');
  justify-content: center;
  display: flex;
  align-items: center; /* Add background for map */
}

/* Map Image */
.map-image {
  width: 70%;
  max-width: 1000px;
  align-items: center;
  display: flex;
  margin: 20px auto;
  border-radius: 8px;
}

/* PDF Section */
.pdf {
  background-image: url('pdf-background.jpg'); /* Add background for PDF */
  text-align: center;
}

.pdf-link {
  display: inline-block;
  padding: 10px 15px;
  background-color: #ffffff;
  color: #333;
  text-decoration: none;
  border-radius: 5px;
  margin-top: 10px;
  transition: background-color 0.3s;
}

.pdf-link:hover {
  background-color: #e0e0e0;
}

/* Additional Information Section */
.more {
  background-image: url('more-background.jpg'); /* Add background for more info */
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.knizka{display: flex;
justify-content: center;
align-items: center;}


.book-image {
  width: 100%;
  max-width: 550px;
  margin: 20px auto;
}

.mapka{padding-left: 300px;}

/* Animation */
.section {
  opacity: 0; 
  transform: translateY(20px); 
}

.section.animate {
  animation: fadeIn 0.7s forwards;
}

@keyframes fadeIn {
  from {
      opacity: 0;
      transform: translateY(20px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

@font-face {
  font-display: block;
  font-family: Mori;
  font-style: normal;
  font-weight: 400;
  src: url(https://assets.codepen.io/16327/PPMori-Regular.woff) format("woff");
}

* {
  
}

body {
  background: #222;
  font-family: "Mori";
  font-size:24px;
  color:rgb(255, 252, 225);
}

svg {
  overflow: visible !important;
}

.parallax-section {
  height: 100vh;
  width: 100%;
  overflow: hidden;
  top: 0;
  padding: 0 1rem;
  transform-origin: center top;
}

.parallax-image {
  height: 200vh;
  width: 100%;
  object-fit: cover;
  will-change: transform;  
}

.logo-section {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;  
  flex-direction: column;
}

.logo-section svg {
  width: 60%;
}

.grid-section {
  width: 100%;
  overflow: visible;
  z-index: 2;
}

.grid-layout {
  display: flex;
  display: grid;
  height: 100%;
  width: 100%;
  grid-template-columns: 1fr 1fr 1fr;
  grid-gap: 1rem;
  transform-origin: center top;
}

.column {
  height: 100%;
}

.panel {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.column-content {
  display: grid;
  grid-template-rows: 45vh 45vh 45vh;
  grid-gap: 1rem;
  height: 100%;
}

.grid-image {
  width: 100%;  
}

.grid-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pin-section {
  height: 100vh;
  overflow: hidden;
  display: grid;
  grid-row-gap: 1rem;
  grid-template-rows: 1fr 1fr;
}

.pin-content {
  width: 300%;  
  display: grid;
  grid-column-gap: 1rem;
  grid-template-columns: 1fr 1fr 1fr;
  will-change: transform;
}

.pin-box {
  height: 100%;
  width: 100%;
}

.pin-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.spacer {
  height: 20vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scroll-letter {
  fill: #fff;
}

.smoother-letter,
#mouse-wheel {
  fill: #88ce02;
}

.by-greensock-letter {
  fill: #fff;
  opacity: 0.6;
}

#mouse-outline {
  fill: none;
  stroke: #fff;
  stroke-miterlimit: 10;
  stroke-width: 13px;
}

.map{
  padding-top: 800px;
}

.pdf{
  padding-top: 700px;
}

#mapka{  width: 90%;}





#map-container {

  width: 50%;
  height: 100vh;
  flex-direction: column;
  display: flex;
  justify-content: center;
  align-items: center;
}
#map {
  width: 90%;

}
#pathCanvas {
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
}


.point, .point1, .point2, .point3 {
  background: linear-gradient(135deg, #fefcea, #f1da36);
  color: #1a1a1a;
  padding: 25px;
  border-left: 8px solid #ffc107;
  border-radius: 12px;
  margin: 20px auto;
  width: 85%;
  max-width: 2000px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  transition: transform 0.4s, box-shadow 0.4s;
  font-size: 1.6rem;
  line-height: 1.6; }


  @media screen and (max-width: 768px) {
 
  
  .hero-image, #map, .book-image {
    width: 100%;
    padding: 0;
  }


  .timeline {
    padding: 0 10px;
  }

 
  .point, .point1, .point2, .point3 {
    width: 90%;
    padding: 15px;
    font-size: 1rem;
  }


   .grid-layout {
    grid-template-columns: 1fr !important;
  }

  .column-content {
    grid-template-rows: auto auto auto;
  }


  .prvnistranka {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  
  .text1 {
    padding-top: 20px;
    padding-left: 10px;
    padding-right: 10px;
  }

  
  .map {
    padding-left: 0;
   
   
  }

  .pdf {
    padding-top: 50px; 
  }

  
  #map-container {
    width: 100%;
    height: 100%;
    padding: 0 10px;
  }

  
  #map {
    padding-left: 0;
    padding-top: 900px;
 
 
  }

 

 
}
