body {
  margin: 0px;
  padding: 0px;
  background-color: papayawhip;
  color: #684a4a;
}

#header {
  width: 100%;
  /* height: 150px; */
  margin: 0px;
  padding: 0px;
  display: flex;
  flex-direction: row;
}

.title {
  padding: 0px;
  margin-top: 30px;
  margin-left: 10%;
  margin-bottom: 30px;
  font-size: 50px;
  font-weight: 550;
}

#content {
  width: 80%;
  margin-left: 10%;
}

.instructions {
  width: 100%;
  margin: 10px 100px 0px 0px;
  font-size: 1.5rem;
  text-align: justify;
}
@media screen and (min-width: 767px) {
  .instructions {
    width: 40%;
    margin-top: 10px;
    font-size: 1.8rem;
  }
}

.footer {
  width: 80%;
  margin-left: 10%;
  margin-bottom: 50px;
  font-size: 1.2rem;
}

.note {
  font-style: italic;
}

.made {
  margin-top: 30px;
  color: rgba(22, 109, 33, 0.66);
  background-color: papayawhip;
}

.made a {
  text-decoration: none;
  color: rgba(22, 109, 33, 0.66);
}

#headerImg {
  display: none;
}

/* TABLE AND CARDS */
#table {
  padding: 0;
  margin: 70px 0px;
  border: none;
  /* border-color: rgb(189, 194, 180);
  border-style: solid;
  border-width: thin; */
}

.teText {
  color: darkslategray;
  /* border-color: rgb(189, 194, 180); */
  width: 120px;
  height: 120px;
  padding: 0px;
  border-radius: 2px;
  /* background-image: url("Pics/cover.jpg"); */
  /* background-size: 100% 100%; */
}
.teText:hover {
  cursor: pointer;
}

.teText-inner {
  width: 100%;
  height: 100%;
  transition: transform 0.1s;
  transform-style: preserve-3d;
  position: relative;
  padding: 0;
  border-radius: 5px;
}

.teText.flipped .teText-inner {
  transform: rotateY(180deg);
}

.teText-front,
.teText-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  padding: 0;
  border-radius: 5px;
}

.teText-front {
  background-image: url("pics/cover.jpg"); /* card back */
  background-size: cover;
  padding: 0;
  border-radius: 5px;
}

.teText-back {
  background-image: var(--img); /* preloaded animal image */
  /* background-size: 100% 100%; */
  transform: rotateY(180deg);
  background-size: cover;
  background-position: center 50%;
  background-repeat: no-repeat;
}

/* BUTTONS */
.buttons {
  width: 80%;
  margin-left: 10%;
  display: flex;
  flex-direction: row;
  gap: 20px;
}

button {
  background-color: aliceblue;
  color: rgba(22, 109, 33, 0.66);
  padding: 5px 10px;
  border-radius: 5px;
  border-color: rgba(106, 134, 110, 0.66);
  font-size: 1rem;
}

button:hover {
  background-color: #6a856b; /* slightly darker on hover */
  color: #fff;
  transform: scale(1.08); /* subtle pop */
  cursor: pointer;
}

/* SELECTOR  */

.themeSelector {
  font-size: 1.5rem;
  padding-top: 20px;
}
#themeSelect {
  padding: 8px 12px;
  font-size: 16px;
  border-radius: 6px;
  border: 2px solid #90aa91;
  background-color: rgb(251, 245, 245);
  color: #5d815f;
  cursor: pointer;
  transition: all 0.2s;
}

#themeSelect:hover {
  border-color: #afc9b1;
  background-color: #f9fff9;
}

#themeSelect:focus {
  outline: none;
  border-color: #d3dbd4;
  box-shadow: 0 0 5px #2e7d32;
}

#themeSelect {
  border: none;
  /* border: 2px solid #8c9c8d; */
  /* border-radius: 10px; */
  font-weight: bold;
  background-color: #fffbe6;
  border: 2px solid #8c9c8d;
}

#themeSelect:disabled {
  background-color: #eee;
  color: #888;
  border-color: #ccc;
  cursor: not-allowed;
  opacity: 0.7;
}

#themeSelect option {
  background-color: white;
  color: #7f9a82;
  font-size: 1rem;
  padding: 8px;
}
