.tool-text-4xl {
  background-image: linear-gradient(to right, #11456d, #269bf4);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 50px;
}


body {
  font-family: 'Poppins', sans-serif;
}

header {
  background: linear-gradient(135deg, #e3fdfd, #ffe6fa);
  
}
h1{
  font-family: Monaco;
}
.upload-box {
  border: 2px dashed #11456d;
  padding: 50px;
  background: #daeaf7;
  width: 1000px;
  border-radius: 40px;
  display: inline-block;
  cursor: pointer;
  transition: all 0.3s ease;
}

.accordion-button {
  font-weight: bold;
}

footer {
  background: #f8f9fa;
}
.circle-btn {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #1c0570, #00bfff);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  color: white;
  font-size: 32px;
  transition: transform 0.3s ease-in-out;
}

.circle-btn:hover {
  transform: scale(1.1);
}


#flashcard-container {
  perspective: 1200px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 20px;
  margin-top: 40px;
}

.flashcard {
  width: 700px; /* Wider box */
  height: 380px; /* More space */
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.6s ease-in-out;
  cursor: pointer;
}

.flashcard.flipped {
  transform: rotateY(180deg);
}

.flashcard .front, .flashcard .back {
  position: absolute;
  width: 100%;
  height: 100%;
  background: white;
  border-radius: 20px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  font-weight: bold;
  text-align: center;
  padding: 20px;
  backface-visibility: hidden;
  word-wrap: break-word;
  overflow-y: auto;
}

.flashcard .back {
  transform: rotateY(180deg);
  background: linear-gradient(135deg, #11456d, #269bf4);
  color: white;
}


/* Fix for long text (prevent overflow) */
.flashcard .front, .flashcard .back {
  overflow-y: auto;
  scrollbar-width: none;
}

.controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin-top: 20px;
}




body {
  background: linear-gradient(135deg, #e3fdfd, #ffe6fa);
}
header h1, header p {
  animation: fadeIn 1s ease;
}

@keyframes fadeIn {
  0% {
      opacity: 0;
      transform: translateY(-20px);
  }
  100% {
      opacity: 1;
      transform: translateY(0);
  }
}
.upload-box:hover {
  box-shadow: 0 0 15px rgba(0, 123, 255, 0.3);
  transform: scale(1.02);
  transition: all 0.3s ease;
}

.download-section {
  margin-top: 20px;
}

#downloadBtn {
  padding: 12px 24px;
  font-size: 1rem;
  border-radius: 10px;
  background-color: #28a745;
  color: white;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

#downloadBtn:hover {
  background-color: #218838;
  transform: scale(1.05);
}

.download-section {
  margin-top: 60px; /* Moves the button further down */
  margin-bottom: 30px; /* Adds space at the bottom */
}
