body {
  margin: 0;
  font-family: Arial, sans-serif;
  overflow-x: hidden;
  background-color: white;
}

.navigationSection {
  z-index: 0;
}

header {
  position: absolute;
  width: 100%;
  background-color: transparent;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem; /* 16px 32px */
  box-sizing: border-box;
  overflow-x: hidden;
}

nav ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1rem;
}

nav ul li {
  margin: 0;
  padding: 0;
}

nav ul li a {
  text-decoration: none;
  color: black;
  font-weight: 500;
}

.hero {
  padding-top: 5rem; /* 80px */
  width: 100vw;
  height: 100vh;
}

.hero-section {
  position: relative;
  width: 300%;
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.hero-container {
  position: relative;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  z-index: 0;
  overflow-x: hidden;
  box-sizing: border-box;
}

.hero-slide {
  width: 100vw;
  height: 100vh;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  text-shadow: 0.0625rem 0.0625rem 0.3125rem rgba(0, 0, 0, 0.7); /* 1px 1px 5px */
  background-size: cover;
  background-position: center;
  overflow-x: hidden;
  box-sizing: border-box;
}

.hero-content {
  position: absolute;
  left: 10%;
  bottom: 30%;
  max-width: 40%;
}

.hero-content h1 {
  font-size: 4rem;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.hero-content button {
  padding: 0.8rem 1.5rem; /* 12.8px 24px */
  background-color: #1b7b8c;
  color: white;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.news {
  padding: 5rem 0rem; /* 80px 0px */
  text-align: center;
  width: 100%;
  background-color: white;
}

.news h2 {
  font-size: 3rem;
  margin-bottom: 3rem;
  color: #333;
}

.news-container {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.news-item {
  width: 25rem; /* 400px */
  height: 18.75rem; /* 300px */
  background-size: cover;
  background-position: center;
  border-radius: 0.9375rem; /* 15px */
  box-shadow: 0 0.375rem 0.9375rem rgba(0, 0, 0, 0.15); /* 6px 15px */
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  margin-bottom: 2rem;
}

.news-content {
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 1rem;
  text-align: center;
  box-sizing: border-box;
}

.topLeft {
  width: 10rem;
  height: 10rem;

  z-index: 1; /* Ensure the puppet is above the news items */
}
#topleftImg {
  width: 5rem;
  height: 5rem;
  gap: 0px;
}

.event-date {
  font-size: 1rem;
  color: #ccc;
  margin-bottom: 0.5rem;
}

.news-item h3 {
  font-size: 1.5rem;
  margin-bottom: 9.375rem; /* 150px */
  margin-left: 6.5rem; /* 60px */
  text-align: center;
  color: white;
}

.section {
  padding: 2.5rem 1.25rem; /* 40px 20px */
  max-width: 70rem;
  margin: 0 auto;
}

/*sekcija home page o festivalu pupica plus mobile*/
.about-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.about-text {
  flex: 1;
}

.about-image {
  flex: 1;
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 768px) {
  .about-container {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  .about-text {
    order: 1;
  }

  .about-image {
    order: 2;
  }
  .news-item h3 {
    font-size: 1.5rem;
    margin-bottom: 7rem; /* 150px */
    margin-left: 5rem; /* 60px */
    text-align: center;
    color: white;
  }

  header {
    padding: 0;
  }

  p {
    text-align: justify;
  }

  .section h2 {
    text-align: center;
    margin-bottom: 1.875rem;
  }

  /*show*/

  .show-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(15.625rem, 1fr)); /* 250px */
    gap: 1.25rem; /* 20px */
  }

  .show-item {
    border: 0.0625rem solid #ddd; /* 1px */
    padding: 1.25rem; /* 20px */
    text-align: center;
  }

  .show-item img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 0.625rem; /* 10px */
  }

  .gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(12.5rem, 1fr)); /* 200px */
    gap: 0.625rem; /* 10px */
    margin-top: 1.25rem; /* 20px */
  }

  .gallery img {
    width: 100%;
    height: auto;
    cursor: pointer;
    border-radius: 0.5rem; /* 8px */
    object-fit: cover;
  }

  .lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 1000;
  }

  .lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 0.5rem;
  }

  .sponsor-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 1.25rem; /* 20px */
  }

  .sponsor-grid img {
    max-height: 6.25rem; /* 100px */
  }

  /*contact*/
  .contact-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    padding: 1.25rem; /* 20px */
    max-width: 62.5rem; /* 1000px */
    margin: 1.25rem auto; /* 20px */
  }

  .contact-info,
  .map-container {
    flex: 1 1 45%;
    margin-bottom: 1.25rem; /* 20px */
  }

  .contact-info h3 {
    margin-bottom: 0.625rem; /* 10px */
  }

  #map {
    width: 100%;
    height: 18.75rem; /* 300px */
  }

  /*footer*/
  footer {
    background-color: #1b7b8c;
    padding: 0.625rem; /* 10px */
    text-align: center;
    font-size: 0.8em;
    width: 100%;
  }

  .footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    max-width: 62.5rem; /* 1000px */
    margin: 0 auto;
  }

  .footer-section {
    flex: 1 1 30px;
    margin-bottom: 0.625rem; /* 10px */
    padding: 0.625rem; /* 10px */
  }

  .footer-section h3 {
    margin-bottom: 0.3125rem; /* 5px */
    font-size: 1em;
    color: white;
  }

  .footer-section p,
  .footer-section a {
    display: block;
    margin-bottom: 0.1875rem; /* 3px */
    color: white;
    text-decoration: none;
    text-align: center;
  }

  .social-icons a {
    display: inline-block;
    margin: 0 0.3125rem; /* 5px */
    font-size: 1rem; /* 16px */
  }

  .copyright {
    text-align: center;
    width: 100%;
  }

  .copyright p {
    text-align: center;
  }

  /* Animated Button Styles */
  .animated-button {
    display: table;
    margin: 1.25rem auto 0; /* 20px */
    padding: 0.625rem 1.25rem; /* 10px 20px */
    font-size: 0.875rem; /* 14px */
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    color: white;
    background-color: #1b7b8c;
    border: none;
    border-radius: 0.3125rem; /* 5px */
    transition: background-color 0.3s ease, transform 0.2s ease;
    cursor: pointer;
  }

  .animated-button:hover {
    background-color: #0056b3;
    transform: translateY(-0.1875rem); /* -3px */
  }

  .animated-button:active {
    transform: translateY(0.0625rem); /* 1px */
  }

  /* Mobile Responsiveness */
  @media (max-width: 47rem) {
    html,
  body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    width: 100%;
  }
    /* 768px */
    header {
      flex-direction: column;
      align-items: flex-start;
    }

    nav ul {
      flex-direction: column;
      align-items: flex-start;
      gap: 0.5rem;
    }

    .hero-content {
      left: 5%;
      bottom: 40%;
      max-width: 80%;
    }

    .hero-content h1 {
      font-size: 2.5rem;
    }
  }

  .news-item {
    width: 90%;
    height: 15.625rem; /* 250px */
  }

  .show-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    flex-direction: column;
    align-items: center;
  }

  .footer-section {
    width: 90%;
    text-align: center;
  }
}

/* ... (your existing CSS) ... */

.hamburger-menu {
  display: none; /* Hidden by default on desktop */
  font-size: 1.5rem;
  cursor: pointer;
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 1001; /* Ensure it's above other elements */
}

.mobile-nav {
  position: fixed;
  top: 0;
  right: -18.75rem; /* -300px */
  width: 18.75rem; /* 300px */
  height: 100%;
  background-color: #1b7b8c;
  transition: right 0.3s ease;
  z-index: 1000;
  padding-top: 5rem;
  box-sizing: border-box;
}

.mobile-nav.active {
  right: 0; /* Slide in when active */
}

.mobile-nav ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.mobile-nav ul li {
  padding: 1rem;
}

.mobile-nav ul li a {
  text-decoration: none;
  text-align: center;
  color: white;
  font-weight: 500;
}

.desktop-nav {
  display: flex; /* Display desktop nav on desktop */
}

@media (max-width: 48rem) {
  /* 768px */
  .desktop-nav {
    display: none; /* Hide desktop nav on mobile */
  }

  .hamburger-menu {
    display: block; /* Show hamburger menu on mobile */
  }
}

/* ---------ABout---------*/

/* ---------Predstave---------*/

/* ---------Festival---------*/

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  width: 103%;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  background-color: #f5f5f5;
}

.contact-form {
  flex: 1;
  min-width: 20rem;
  margin-right: 2rem;
}

.contact-form h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

input,
textarea {
  width: 100%;
  padding: 0.8rem;
  margin-top: 0.5rem;
  border: 0.0625rem solid #888; /* 1px */
  border-radius: 0.3125rem; /* 0.5rem */
  font-size: 1rem;
  box-sizing: border-box;
}

textarea {
  height: 6rem;
  resize: none;
}

.terms {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
}

button {
  background-color: #d43e1c;
  color: white;
  padding: 0.8rem 1rem;
  margin-top: 1.5rem;
  border: none;
  border-radius: 0.3125rem; /* 0.5rem */
  font-size: 1rem;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s;
  align-self: flex-start;
}

button:hover {
  background-color: #1b7b8c;
}

.contact-info {
  flex: 1;
  min-width: 20rem;
  height: 30.5rem;
  background-color: #2e5d5dc7;
  color: white;
  padding: 2rem;
  border-radius: 0.3125rem; /* 0.5rem */
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-info h3 {
  margin-top: 0;
  margin-bottom: 0.8rem;
  font-size: 1.4rem;
  color: #ef431d;
}

#map {
  width: 30rem;
  height: 34.5rem;
  border-radius: 0.3125rem; /* 0.5rem */
}
