/* Base styles */
body {
  margin: 0;
  font-family: 'Quicksand', sans-serif;
  background-color: #b0f6ff;
  color: #2e2e2e;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.container {
  width: 100%;
  max-width: 600px;
  min-height: 100vh;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: end;
}

/* Card Design */
.card {
  display: inline-block;
  background: #fdfdfd;
  padding: 2rem;
  border-radius: 1.5rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  margin-bottom: 1rem;
  margin-top: 10vh;
}

/* Header */
.header {
  margin-bottom: 1.5rem;
}

.raccoon-image {
  width: 100px;
  margin-bottom: 0px;
}

.title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-top: 8px;
}


.header2 {
  display: flex;
  justify-content: center;
  align-items: center;
}
.header2 img {
  display: inline-block;
  margin-right: 15px;
}
.header2 h1 {
  display: inline-block;
  padding-top: 15px;
}

.title .grey {
  color: #888;
}

.title .black {
  color: #000;
}

/* Main */
.start-button {
  background-color: #ff6b6b;
  color: white;
  font-size: 1.2rem;
  font-weight: 600;
  padding: 1rem 3.5rem;
  border: none;
  border-radius: 2rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: background-color 0.3s;
}

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

/* How to Play */
.how-to-play {
  margin-bottom: 1rem;
  display: inline-block;
}

.how-to-play h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: #333;
}

.how-to-play p {
  font-size: 1rem;
  line-height: 1.5;
  color: #555;
}

/* Follow Us */
.follow-us {
  margin-bottom: 2rem;
  display: inline-block;
}

.follow-us h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: #333;
}

.social-icons {
  font-size: 1.5rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 12px;;
}

.icon {
  transition: color 0.2s;
}

/* Social icon brand colors */
.icon.instagram {
  color: #C13584;
}
.icon.twitter {
  color: #14171A;
}
.icon.reddit {
  color: #FF4500;
}
.icon.discord {
  color: #5865F2;
}
.icon.facebook {
  color: #1877F2;
}

/* Optional: darken slightly on hover */
.icon:hover {
  opacity: 0.85;
  transform: scale(1.15);
  transition: transform 0.2s ease, opacity 0.2s ease;
}


/* Footer */
.footer {
  border-top: 1px solid #b8b8b8; 
  display: inline-block;
  margin-bottom: 40px;
  padding-top: 20px;
}

.footer-links {
  font-size: 0.9rem;
  color: #666;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.footer-links a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #000;
}


/* Animation utilities */
.hidden {
  display: none;
}

.slide-left-out {
  animation: slideLeftOut 0.3s forwards;
}

.fade-in {
  animation: fadeIn 0.3s ease-out forwards;
}

@keyframes slideLeftOut {
  to {
    opacity: 0;
    transform: translateX(-100%);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.98);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Question Container Styling */
.question-container {
  max-width: 600px;
  margin: 0 auto;
  padding: 2rem;
}

.question-card {
  background: #fdfdfd;
  padding: 2rem;
  border-radius: 1.5rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.question-title {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.question-text {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.answers {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.answer-button {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 2rem;
  font-size: 1rem;
  font-weight: 600;
  background-color: #eee;
  cursor: pointer;
  transition: background-color 0.2s;
}

.answer-button:hover {
  background-color: #bf6bfa;
  color: white;
}


.custom-alert {
  position: fixed;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #222;
  color: #fff;
  padding: 1rem 2rem;
  border-radius: 1.5rem;
  font-size: 1rem;
  font-weight: bold;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.custom-alert.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.custom-alert.correct {
  background-color: #4caf50; /* green */
}

.custom-alert.wrong {
  background-color: #f44336; /* red */
}

/* Modal Overlay */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(20, 20, 20, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.modal {
  background: #ffffff;
  padding: 2rem 3rem;
  border-radius: 1.5rem;
  text-align: center;
  max-width: 400px;
  width: 80%;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  animation: popIn 0.3s ease-out;
}

.modal h2 {
  font-size: 1.5rem;
  color: #f44336;
  margin-bottom: 0.5rem;
}

.modal-button {
  margin-top: 1.5rem;
  background-color: #f44336;
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  border-radius: 2rem;
  cursor: pointer;
  transition: background-color 0.2s;
}

.modal-button:hover {
  background-color: #d32f2f;
}

.hidden {
  display: none;
}

@keyframes popIn {
  from {
    transform: scale(0.95);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.col {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  background: #fdfdfd;
  border-radius: 1rem;
  margin-bottom: 0.5rem;
  transition: height 1s;
}

.col-button {
  display: block;
  color: white;
  padding: 1.2rem 2.5rem;
  border-radius: 1rem;
  text-align: left;
  font-weight: 500;
  cursor: pointer;
}

.col-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  border-radius: 0 0 1rem 1rem;
  text-align: left;
  font-weight: 400;
  color: white;
}

.col-content.active {
  padding: 1.2rem 2.5rem;
  max-height: 200px;
  color: black;
}