body {
  background-color: #171717;
  font-family: "Commissioner", "Manrope", "Montserrat", sans-serif;
  margin: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  color: #ccc;
}

body a {
  color: #fff;
}

#page-not-found {
  text-align: center;
}

footer {
  color: #a0a0a0;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 12px;
  margin-top: auto; /* Push the footer to the bottom */
  width: 100%;
}

footer a {
  color: #a0a0a0;
  transition: color 0.3s;
}

footer a:hover {
  color: white;
}

footer p {
  padding-left: 20px;
  padding-right: 20px;
  line-height: 150%;
}

footer .interpunct {
  padding: 5px;
}

/* Media query for mobile devices */
@media (max-width: 800px) {
  #cookies-toast-notification {
    flex-direction: column;
    align-items: center;
  }

  #cookie-image-container {
    display: none;
  }

  #cookies-button-container {
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 10px;
  }

  #close-cookies-notification-btn {
    width: 100%;
    margin-left: 10px;
    margin-right: 10px !important;
    text-align: center;
  }
}

#logo-image {
  display: none;
  position: absolute;
  top: 0;
  left: 30px;
}

#logo-image img {
  width: 90px;
}

header {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  height: 100px;
  padding-top: 30px;
}

.social-link-logo {
  /* padding: 10px; */
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  background: #424243;
  transition: transform 0.3s;
}

.social-link-logo a img {
  width: 20px;
  /* border: 1px solid red; */
  display: block;
}

#instagram-link a img {
  width: 17px;
}

.social-link-logo:hover {
  transform: scale(1.1);
}

h1 {
  color: white;
  text-align: center;
  margin-top: 20px;
  padding: 16px;
  font-weight: 700;
  margin-bottom: 30px;
}

@keyframes moveUp {
  0% {
    transform: translateY(300px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes moveDownAndDisappear {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  100% {
    transform: translateY(300px);
    opacity: 0;
    display: none;
  }
}

.animated-showing {
  animation: moveUp 0.5s ease forwards;
}

.animated-hiding {
  animation: moveDownAndDisappear 0.5s ease forwards;
}

#cookies-toast-notification {
  position: fixed;
  display: none;
  align-items: center;
  justify-content: space-between;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #232324;
  color: #a0a0a0;
  backdrop-filter: blur(50px);
  font-size: 12px;
  z-index: 2;
}

#cookies-toast-notification a {
  color: white;
}

#cookies-toast-notification svg {
  width: 35px;
  height: 35px;
  margin-left: 30px;
  margin-right: 20px;
}

#cookies-toast-notification #main-text-about-cookies {
  padding: 0px 16px;
  padding-bottom: 10px;
}

#close-cookies-notification-btn {
  background: #424243;
  color: white;
  padding: 15px 40px;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: none;
  font-size: 14px;
  margin-right: 20px;
  transition: background-color 0.3s, color 0.3s, transform 0.3s;
}

#close-cookies-notification-btn:hover {
  transform: scale(1.1);
}

.events-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  position: inherit;
  max-width: 1100px;
  margin: auto;
  margin-top: 20px;
  margin-bottom: 50px;
}

.event-card .bottom-card-content {
  padding: 8px;
}

.event-card.finished {
  opacity: 0.7;
}

a.event-card {
  background-color: #222;
  border-radius: 10px;
  margin: 15px;
  padding: 14px;
  width: 280px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  text-align: left;
  transition: transform 0.2s;
  text-decoration: none;
  color: #ccc;
}

.event-card:hover {
  transform: scale(1.05);
}

a.event-card h2 {
  /* border: 1px solid red; */
  font-size: 1.2em;
  margin-top: 10px;
  font-weight: 700;
  min-height: 50px;
}

.event-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 10px;
}

.event-card p {
  margin-top: 5px;
  font-size: 1em;
  color: #ccc;
}

.event-card img {
  width: 100%;
  border-radius: 10px 10px 0 0;
}

.event-card a {
  text-decoration: none;
  color: white;
  font-weight: bold;
}

.event-card a:hover {
  text-decoration: underline;
}

.event-card .buy-ticket-button {
  margin-top: 25px;
  background: #424243;
  color: white;
  padding: 15px 40px;
  text-align: center;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: none;
  font-size: 14px;
  position: relative;
  bottom: 0;
  transition: box-shadow 0.2s ease-in-out;
}

.event-card .buy-ticket-button span.button-text {
  position: relative;
  bottom: 1px;
}

.event-card.finished .buy-ticket-button {
  cursor: no-drop;
}

.event-card.active .buy-ticket-button:hover {
  box-shadow: inset 0 0 0px 0.5px rgba(255, 255, 255, 0.7);
}

/* Privacy policy styles */

.politykaPrywatnosci {
  color: #ccc;
  padding: 20px;
  padding-bottom: 100px;
  max-width: 800px;
  margin: auto;
  line-height: 150%;
}

.politykaPrywatnosci a {
  color: #ccc;
}

#russian-title-comment {
  text-align: left;
  color: #ccc;
  margin-bottom: 50px;
}

#russian-title-comment a {
  color: white;
}

#location-on-google-maps {
  border: 8px solid #222;
  border-radius: 6px;
  width: min(800px, 90vw);
  height: 400px;
  margin: auto;
  margin-bottom: 20px;
}

#logo-color {
  max-width: 300px;
  display: block;
  margin: auto;
  margin-bottom: 30px;
}
