@font-face {
  font-family: "LoRes15OT";
  src: url("font/LoRes15OT-Bold.ttf") format("truetype");
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: "Bicyclette";
  src: url("font/Bicyclette-Thin.woff2") format("woff2");
  font-weight: 100;
  font-style: normal;
}

@font-face {
  font-family: "Bicyclette";
  src: url("font/Bicyclette-Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: "Bicyclette";
  src: url("font/Bicyclette-Regular.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Bicyclette";
  src: url("font/Bicyclette-Italic.woff2") format("woff2");
  font-weight: normal;
  font-style: italic;
}

@font-face {
  font-family: "Bicyclette";
  src: url("font/Bicyclette-Bold.woff2") format("woff2");
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: "Bicyclette";
  src: url("font/Bicyclette-Black.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
}

@font-face {
  font-family: "Bicyclette";
  src: url("font/Bicyclette-Ultra.woff2") format("woff2");
  font-weight: 950;
  font-style: normal;
}

body {
  font-family: "Bicyclette", Arial, sans-serif;
  font-size: 20px;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Language selector */
.language-selector {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 10;
  display: flex;
}

.language-selector button {
  font-family: "Bicyclette", Arial, sans-serif;
  padding: 8px 12px;
  margin-left: 0.5rem;
  border: none;
  background-color: #f0f0f0;
  color: black;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s ease, color 0.3s ease;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.language-selector button:hover {
  background-color: #e0e0e0;
}

.language-selector button.active {
  background-color: #002fb9;
  color: white;
  font-weight: bold;
}

/* Hero section */
.hero {
  background-color: #ff453c;
  color: white;
  padding: 3rem 1rem;
  position: relative;
  overflow: hidden;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logo-container {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.main-logo {
  max-width: 400px;
  width: 100%;
  height: auto;
  display: block;
}

.tagline {
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

/* Navigation buttons */
.nav-buttons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.25rem;
  width: 100%;
  max-width: 500px;
}

.nav-button {
  background-color: transparent;
  border: none;
  padding: 5px;
  cursor: pointer;
  transition: transform 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
}

.nav-button:hover {
  transform: scale(1.05);
}

.button-image {
  width: 100%;
  height: auto;
  max-width: 130px;
}

/* Media query for smaller screens */
@media (max-width: 768px) {
  .button-image {
    max-width: 120px;
  }

  .nav-buttons {
    max-width: 400px;
    margin: 0 auto;
  }
}

/* Content sections */
.content-section {
  padding: 2rem 1rem; /* Reduced from 3rem to 2rem */
  background-color: white;
}

.content-section h2,
.shows-section h2 {
  text-align: center;
  font-size: 2em;
  font-weight: 600;
  margin-bottom: 1.5rem; /* Reduced from 2rem to 1.5rem */
  color: #222;
}

/* Footer */
footer {
  background-color: #00cb90;
  padding: 2rem 1rem;
  margin-top: auto;
}

/* Footer styles update */
.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
}

.footer-logo {
  max-width: 120px;
  height: auto;
  margin-bottom: 1rem;
  filter: brightness(0);
}

#copyright {
  margin: 1rem 0;
  text-align: center;
  width: 100%;
  color: black;
}

.social-links {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}

.social-links a {
  color: black;
  font-size: 24px;
  margin: 0 10px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: #333;
}

/* Media query for larger screens */
@media (min-width: 768px) {
  .footer-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .footer-logo {
    margin-bottom: 0;
  }

  #copyright {
    margin: 0;
    flex-grow: 1;
    text-align: center;
  }

  .social-links {
    margin-top: 0;
  }
}

/* Calendar styles */
.calendar-container {
  border: 1px solid #ccc;
  border-radius: 5px;
  overflow: hidden;
  font-family: "Bicyclette", Arial, sans-serif;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  font-size: 18px; /* Reduced from 22px to 18px to match body text size */
}

.calendar-header {
  display: grid;
  grid-template-columns: 3fr 1fr;
  background-color: #f0f0f0;
  font-weight: bold;
  padding: 10px;
}

.calendar-body {
  display: flex;
  flex-direction: column;
}

.calendar-row {
  display: grid;
  grid-template-columns: 3fr 1fr;
  padding: 10px;
  border-top: 1px solid #eee;
}

@media (max-width: 600px) {
  .calendar-header,
  .calendar-row {
    grid-template-columns: 2fr 1fr;
  }
}

/* Carousel styles */
.carousel-container {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  overflow: hidden;
  background-color: #f8f8f8;
}

.carousel {
  display: flex;
  transition: transform 0.5s ease-in-out;
  height: 600px;
}

.carousel-item {
  flex: 0 0 100%;
  display: none;
  height: 100%;
}

.carousel-item.active {
  display: block;
}

.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 10px 15px;
  font-size: 18px;
  cursor: pointer;
}

.carousel-control.prev {
  left: 10px;
}

.carousel-control.next {
  right: 10px;
}

/* Production grid styles */
.production-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 600px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.production-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 1rem;
}

.production-names {
  font-weight: bold;
  margin-bottom: 0.25rem;
  max-width: 200px;
  word-wrap: break-word;
}

.production-role {
  font-style: italic;
  color: #555;
  max-width: 200px;
  word-wrap: break-word;
}

/* Shows grid styles */
.shows-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}

.show-card {
  padding: 15px;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.show-card:hover {
  transform: translateY(-3px);
}

.show-card img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 10px;
  object-fit: contain;
}

/* Info content styles */
.info-content {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.5; /* Slightly reduced from 1.6 */
}

.info-title {
  font-size: 2.2em; /* Reduced from 2.5em */
  color: #ff453c;
  margin-bottom: 1rem;
  text-align: center;
}

.info-content p {
  margin-bottom: 1.5rem;
}

.info-content .quote {
  font-style: italic;
  font-size: 1em; /* Reduced from 1.1em */
  color: #555;
  border-left: 4px solid #ff453c;
  padding-left: 1rem;
  margin: 1.5rem 0;
}

.info-content .highlight {
  background-color: #fff5f5;
  border: 1px solid #ff453c;
  padding: 1rem;
  border-radius: 5px;
  font-weight: bold;
}

.info-content em {
  font-style: italic;
  color: #555;
}

/* Media queries */
@media (min-width: 768px) {
  .footer-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .footer-logo {
    margin-bottom: 0;
  }

  #copyright {
    margin: 0;
    flex-grow: 1;
    text-align: center;
  }

  .social-links {
    margin-top: 0;
  }
}

@media (max-width: 768px) {
  .hero-content {
    flex-direction: column;
    align-items: center;
  }

  .logo-container {
    margin-bottom: 2rem;
    width: 100%;
  }

  /* ... other mobile styles ... */
}

@media (max-width: 600px) {
  .calendar-header,
  .calendar-row {
    grid-template-columns: 2fr 1fr;
  }
}

.text-center {
  text-align: center;
}

h1,
h2,
h3 {
  font-family: "LoRes15OT", "Bicyclette", Arial, sans-serif;
  font-weight: bold;
}

p {
  font-family: "Bicyclette", Arial, sans-serif;
  font-weight: normal;
}

/* Media query for mobile devices */
@media (max-width: 768px) {
  .production-grid {
    grid-template-columns: 1fr; /* Change to a single column on mobile */
    max-width: 100%; /* Allow full width on mobile */
  }

  .production-item {
    margin-bottom: 1.5rem; /* Increase spacing between items on mobile */
  }

  .production-names,
  .production-role {
    max-width: 100%; /* Allow full width for names and roles on mobile */
  }
}

.on-stage-section {
  grid-column: 1 / -1;
  margin-top: 3rem;
  text-align: center;
  padding: 2rem;
  background-color: #f8f8f8;
  border-radius: 8px;
}

.on-stage-title {
  font-size: 1.5em;
  color: #ff453c;
  margin-bottom: 1.5rem;
  font-weight: bold;
}

.on-stage-names {
  font-size: 1.1em;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
}

.sponsors-section {
  margin-top: 4rem;
  text-align: center;
  width: 100%;
}

.sponsors-section h2 {
  margin-bottom: 2rem;
  text-align: center;
  width: 100%;
}

.sponsors-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 2rem;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1rem;
}

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

.sponsor-logo img {
  max-width: 100%;
  height: auto;
  max-height: 60px;
  object-fit: contain;
}

/* Specifik justering för Partel-logon */
.sponsor-logo img[src*="partel"] {
  transform: translateY(-10px);
}

@media (max-width: 768px) {
  .sponsors-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .sponsor-logo img {
    max-height: 50px;
  }
}

.sponsor-text {
  text-align: center;
  font-family: "Bicyclette", Arial, sans-serif;
  font-size: 0.9em;
  line-height: 1.3;
  color: #333;
  padding: 0 1rem;
}

@media (max-width: 768px) {
  .sponsors-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .sponsor-text {
    font-size: 1em;
    padding: 1rem 0;
  }
}

.ticket-link-image {
  max-width: 300px;
  height: auto;
  margin: 2rem auto;
  display: block;
}

/* Update the heading styles to use LoRes15OT */
h1,
h2,
h3 {
  font-family: "LoRes15OT", "Bicyclette", Arial, sans-serif;
  font-weight: bold;
}

/* Update specific title styles that should use the new font */
.info-title {
  font-family: "LoRes15OT", "Bicyclette", Arial, sans-serif;
  font-size: 2.2em;
  color: #ff453c;
  margin-bottom: 1rem;
  text-align: center;
}

.on-stage-title {
  font-family: "LoRes15OT", "Bicyclette", Arial, sans-serif;
  font-size: 1.5em;
  color: #ff453c;
  margin-bottom: 1.5rem;
  font-weight: bold;
}

.content-section h2,
.shows-section h2,
.sponsors-section h2 {
  font-family: "LoRes15OT", "Bicyclette", Arial, sans-serif;
  text-align: center;
  font-size: 2em;
  font-weight: bold;
  margin-bottom: 1.5rem;
  color: #222;
}

.hero-hand {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  height: auto;
  z-index: 5;
}

.hero-hand.left {
  left: 0;
  width: 300px;
}

.hero-hand.right {
  right: 0;
  width: 250px;
}

.hero-hand.right-flipped {
  right: 20%; /* Justera position efter behov */
  width: 200px; /* Lite mindre än de andra */
  transform: translateY(-50%) scaleX(-1); /* Spegelvänder bilden */
  top: 70%; /* Justera vertikalt för att peka på biljett-knappen */
}

@media (max-width: 1200px) {
  .hero-hand.left {
    width: 220px;
  }
  .hero-hand.right {
    width: 180px;
  }
  .hero-hand.right-flipped {
    width: 150px;
    right: 15%;
  }
}

@media (max-width: 768px) {
  .hero-hand {
    display: none;
  }
}

.contact-info {
  margin-top: 2rem;
  padding: 1rem;
  background-color: #f8f8f8;
  border-radius: 8px;
  display: inline-block;
}

.contact-info a {
  color: #002fb9;
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}
