@import url('https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');

/* General Styles */
body {
  font-family: 'Ubuntu', sans-serif;
  background-color: #8ec5fc;
  background-image: linear-gradient(62deg, #8ec5fc 0%, #e0c3fc 100%);
  color: white;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.flashcard-app {
  width: 80%;
  max-width: 600px;
  margin: auto;
  text-align: center;
}

.hidden {
  display: none;
}

/* Header Styles */
.app-header h1 {
  color: white;
  margin-bottom: 20px;
}

/* Flashcard Styles */
.card-display {
  background-color: #fff;
  border-radius: 25px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
  padding: 12px;
  transition: transform 0.3s ease;
}

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

.card {
  border-radius: 20px;
  padding: 50px;
  color: #666;
}

.cardContentFront {
  animation: fadeIn 1s ease;
}
.cardContentFront .cardTitle {
  font-size: 2em;
}

.cardContentBack {
  animation: fadeIn 1s ease;
}
.cardContentBack .cardTitle {
  font-size: 1.1em;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Navigation Button Styles */
.card-navigation .nav-button {
  background-color: white;
  background-color: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  border: none;
  border-radius: 15px;
  padding: 10px 20px;
  margin: 10px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.card-navigation .nav-button:hover {
  background-color: rgba(255, 255, 255, 0.6);
  background-color: white;
  backdrop-filter: blur(10px);
}
/*.card-navigation .nav-button:active {
  transform: translate(-50%, 3px);
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.15);
}*/

/* User Interaction Button Styles */
.user-interaction .interaction-button {
  background-color: #fff;

  color: #666;
  font-weight: 600;
  border: none;
  border-radius: 15px;
  padding: 10px 20px;
  margin: 10px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#markKnown {
  background-image: linear-gradient(45deg, #85ffbd 0%, #fffb7d 100%);
}

#markUnknown {
  background-color: #ff859f;
  background-image: linear-gradient(45deg, #ff859f 0%, #ffe17d 100%);
}

.user-interaction .interaction-button:hover {
  color: inherit;
}

/* Footer Styles */
.app-footer {
  margin-top: 20px;
  color: #666;
}
