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

/* All Vocabulary Page */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "poppins",serif;
  background: linear-gradient(135deg, #ffecd2, #ee7f59);
  margin: 0;
  padding: 20px;
  height: calc(100vh - padding);
  width: calc(100vw - padding);
  background-attachment: fixed;
}


.all-vocab-container {
  max-width: 800px;
  height: 80%;
  /* width: 100%; */
  margin: auto;
  padding: 20px;
}

h1 {
  text-align: center;
  margin-bottom: 20px;
  color: #333;
  font-size: 2em;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

/* Grid layout for vocab-set */
.vocab-set {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  /* 2 columns */
  gap: 20px;
  /* Space between grid items */
}

/* Responsive: Switch to 1 column on smaller screens */
@media (max-width: 415px) {
  .vocab-set {
    grid-template-columns: 1fr;
    /* 1 column for smaller screens */
  }
}

.vocab-set {
  margin: 20px 0;
  padding: 15px;

  /* border-radius: 15px; */
  /* box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.1); */
}

.vocab-set h2 {
  margin: 0 0 15px;
  font-size: 1.5em;
  color: #00796b;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.vocab-card {
  margin-bottom: 15px;
  padding: 15px;
  border-radius: 10px;
  background: linear-gradient(135deg, #2ab6c9, #e0f7fa);
  color: #fff;
  box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease-in-out;
}

.vocab-card:hover {
  transform: translateY(-5px);
}

.vocab-card h3 {
  margin: 0 0 10px;
  font-size: 1.3em;
  color: #ffffff;
}

.vocab-card p {
  margin: 5px 0;
  font-size: 0.95em;
}

.vocab-card p strong {
  color: #f1f8e9;
}