* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background: linear-gradient(135deg, #667eea, #764ba2);
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  padding: 20px;
  color: #fff;
}

h1 {
  margin-bottom: 20px;
}

#flashcards-container {
  margin: 20px 0;
}

.card {
  width: 320px;
  height: 180px;
  background: #ffffff;
  color: #333;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 15px;
  text-align: center;
  font-size: 18px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 25px rgba(0,0,0,0.3);
}

button {
  padding: 10px 18px;
  border: none;
  border-radius: 8px;
  background-color: #ff7b00;
  color: white;
  font-weight: bold;
  cursor: pointer;
  margin: 10px;
  transition: background 0.3s ease, transform 0.2s ease;
}

button:hover {
  background-color: #ff9500;
  transform: translateY(-2px);
}

input {
  width: 250px;
  padding: 10px;
  margin: 8px;
  border-radius: 8px;
  border: none;
  outline: none;
  font-size: 14px;
}

input:focus {
  box-shadow: 0 0 5px rgba(255,255,255,0.8);
}

h2 {
  margin-top: 30px;
}