html {
  background: #ffffff;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: "Rubik Bubbles", sans-serif;
  color: #000;
  overflow-x: hidden;
  padding: 0 80px;
  width: 100%;
  box-sizing: border-box;
}

header {
  padding: 100px 0px 80px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

.header-content {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  width: 100%;
}

h1 {
  font-family: 'Rubik Bubbles', cursive;
  font-size: 150px;
  margin: 0;
  padding: 0px;
  text-align: center; /* Center the text within the grid item */
  color: white;
  text-shadow: -5px -5px 0 #000, 5px -4px 0 #000, -4px 4px 0 #000, 4px 4px 0 #000, -4px 0 0 #000, 5px 0 0 #000, 0 -5px 0 #000, 0 4px 0 #000;
}

.header-content > h1 {
  justify-self: center;
  align-self: start;
  padding-top: 25px;
}

h2 {
  font-size: 2rem;
  margin-top: 100px;
  margin-bottom: 20px;
  text-shadow: -4px -4px 0 rgba(255, 255, 255, 0.786), 4px -4px 0 white, -4px 4px 0 white, 4px 4px 0 white;
  text-align: center;
}

.subtitle {
  font-family: "Rubik Bubbles", cursive;
  font-size: 60px;
  margin-top: 0px;
  text-align: center;
}

p {
  max-width: 700px;
  margin: 0 auto 30px;
  font-size: 1.1rem;
  line-height: 1.6;
  text-align: center;
  font-family: "Nunito", sans-serif;
}

.logo {
  width: 200px;
  height: 200px;
  margin: 0;
}

.header-content > .logo {
  justify-self: left;
  align-self: center;
  padding-bottom: 60px;
}

.decorative-divider {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 80px 0;
  min-height: 300px; /* Provide a minimum height */
}

.graphic-item {
  height: 240px; /* Directly set the graphic size */
  transition: transform 0.3s ease;
}

.graphic-item:hover {
  transform: scale(1.1);
}

#prdel {
  transform: scale(1.7);
}

.dots {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
}

.dot {
  position: absolute;
  border-radius: 50%;
  opacity: 0.6;
  animation: float 10s infinite ease-in-out;
}

@keyframes float {
  0% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-30px) rotate(180deg); }
  100% { transform: translateY(0) rotate(360deg); }
}

.contact {
  text-align: center;
  padding: 50px 20px 100px;
}

form {
  max-width: 500px;
  margin: 0 auto;
  display: none; /* Hides the form */
  flex-direction: column;
  gap: 15px;
}

input, textarea {
  padding: 12px;
  border-radius: 8px;
  border: 2px solid #ccc;
  font-size: 1rem;
  font-family: inherit;
}

button {
  background: #91C8E4;
  border: none;
  padding: 12px;
  font-size: 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
  font-weight: bold;
}

button:hover {
  background: #F28882;
}

.card-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.player-cards {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 20px 0;
  width: 100%;
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
  padding: 0;
}

.player-cards::-webkit-scrollbar {
  display: none; /* Chrome, Safari and Opera */
}

.card {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid #91c8e44a;
  border-radius: 15px;
  padding: 20px;
  width: 280px;
  min-width: 280px;
  height: 280px;
  text-align: center;
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: width 0.3s ease, height 0.3s ease, min-width 0.3s ease;
}

.card.active {
  width: 350px;
  min-width: 350px;
  height: 350px;
}

.card.active .player-img {
  width: 250px;
  height: 250px;
}

.card h3 {
  margin-top: 10px;
  margin-bottom: 10px;
  font-family: "Rubik Bubbles", sans-serif;
}

.card p {
  font-size: 1rem;
  line-height: 1.4;
  
}

.player-img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
}

.arrow {
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;

  z-index: 10;
}

.left-arrow {}

.right-arrow {}



footer {
  text-align: center;
  padding: 100px 20px;
}

.footer-card {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid #91c8e44a;
  border-radius: 15px;
  padding: 30px;
  margin-bottom: 30px;
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.footer-card p {
  font-family: "Rubik Bubbles", sans-serif;
  font-size: 1.5rem;
  color: #000;
  margin: 0;
}

.copyright {
  font-size: 0.9rem;
  color: #555;
  font-family: "Nunito", sans-serif;
}

.footer-card a {
  color: inherit;
  text-decoration: none;
}

.full-width {
  width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

@media (max-width: 900px) {
  .decorative-divider.full-width {
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
  }

  .graphic-item {
    height: 120px;
  }

  #prdel {
    transform: scale(1.2);
  }

  body {
    padding: 0 20px;
  }

  header {
    padding: 50px 0;
  }

  .header-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .header-content > .logo {
    justify-self: center;
    padding-bottom: 20px;
  }

  h1 {
    font-size: 100px;
    margin-bottom: 20px;
  }

  .subtitle {
    font-size: 30px;
  }

  h2 {
    font-size: 1.8rem;
    margin-top: 60px;
  }

  .decorative-divider {
    margin: 40px 0;
  }

  .player-cards {
    gap: 15px;
  }

  .footer-card {
    flex-direction: column;
    gap: 20px;
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    box-sizing: border-box;
  }

  .footer-card p {
    font-size: 20px;
  }
}


@media (max-width: 768px) {
  h1 {
    font-size: 70px;
    margin-bottom: 50px;
  }

  .decorative-divider {
    min-height: 200px;
    margin-top: 20px;
    margin-bottom: 20px;
  }

  .card {
    width: 220px;
    min-width: 220px;
    height: 220px;
  }

  .card.active {
    width: 250px;
    min-width: 250px;
    height: 250px;
  }

  .player-img {
    width: 100px;
    height: 100px;
  }

  .card.active .player-img {
    width: 120px;
    height: 120px;
  }

  .arrow {
    font-size: 1rem;
  }
}

.explosion-dot {
    position: fixed;
    border-radius: 150%;
    pointer-events: none;
    animation: explode 2s ease-out forwards;
    z-index: -1;
}

@keyframes explode {
        0% {
            transform: translate(0, 0) scale(2);
            opacity: 2;
        }
        100% {
            transform: translate(var(--tx), var(--ty)) scale(0);
            opacity: 0;
        }
    }

    #deer-section {
      text-align: center;
      padding: 50px 20px;
    }