/* STYLE SECTIONING TAGS */
/* NAV BAR */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #c9a5ee;
  padding: 15px 0;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: center;
}

.nav-links li {
  display: inline-block;
  margin: 0 30px;
}

.nav-links a {
  display: inline-block;
  padding: 12px 24px;
  background-color: #c9a5ee;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1.3em;
  transition: background-color 0.3s;
}

.nav-links a:hover {
  background-color: #f0e1fe;
  color: white;
  text-decoration: none;
}

/*CURSOR DESIGN*/
* {
  cursor: url("weapon.png") 16 16, auto;
}

button:hover {
  cursor: url("monster.png") 16 16, auto;
}


/* STYLE BODY */
 p {
   font-size: 1.2em;
 }
  

body {
  text-align: center;
  font-family: "Jua", "Benton Sans", "Helvetica Neue", helvetica, arial, sans-serif; 
  margin: 4em;
  margin-left: 10em;
  margin-right: 10em;
  line-height: 1.5em;
  background-image: url("background.jpeg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(255, 255, 255, 0.7);
  z-index: -1;
}

/* STYLE TEXT */
h1 {
  font-family: "Jua", "Benton Sans", "Helvetica Neue", helvetica, arial, sans-serif;
  color: #0d83a0;
  text-shadow: 2px 2px 0px white, -2px -2px 0px white, 2px -2px 0px white, -2px 2px 0px white;
  font-size: 4em;
  padding-top: 1.5em;
  padding-bottom: 0.2em;
}

h2 {
  color: #c9a5ee;
  font-size: 2.4em;
  line-height: 1em;
  text-shadow: 2px 2px 0px white, -2px -2px 0px white, 2px -2px 0px white, -2px 2px 0px white;
  padding-top: 1em;
}

.letter-pink {
  color: #ffb3d9;
  font-weight: bold;text-shadow: 2px 2px 0px white, -2px -2px 0px white, 2px -2px 0px white, -2px 2px 0px white;
}

.letter-blue {
  color: #89c1f5;
  font-weight: bold;
  text-shadow: 2px 2px 0px white, -2px -2px 0px white, 2px -2px 0px white, -2px 2px 0px white;
}

.letter-yellow {
  color: #ffeb66;
  font-weight: bold;
  text-shadow: 2px 2px 0px white, -2px -2px 0px white, 2px -2px 0px white, -2px 2px 0px white;
}
/* STYLE FLEX CONTAINER */
.question {
  display: flex;
  justify-content: center;
  margin-top: 2em;
}
  
/* STYLE FLEX ITEM */
.answer-choice {
  margin: 5px;
  text-align: center;
}

/* STYLE IMAGES */
.answer-choice img {
  height: 10em;
  border: 5px solid #c9a5ee;
  border-radius: 10px;
  align-items: center;
}

/* STYLE BUTTON */
button { 
  margin-top: 5px;
  color: #ffffff;
  background-color: #c9a5ee;
  border: 3px solid #c9a5ee;
  padding: 8px 16px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
}

button:hover {
  background-color: #f0e1fe;
  color: white;
}
button:disabled {
  background-color: #cccccc;
  color: #666666;
  border-color: #cccccc;
  cursor: not-allowed;
}

/* CHARACTER PAGE */
.characters-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2em;
  margin-top: 2em;
}

.character-card {
  background-color: rgba(255,255,255,0.9);
  border: 3px solid #c9a5ee;
  border-radius: 15px;
  padding: 1em;
  max-width: 300px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.character-image {
  width: 200px;
  height: 200px;
  object-fit: cover;
  margin: 1em 0;
  border: 4px solid #c9a5ee;
  border-radius: 1em;
}
.character-description {
  text-align: left;
  line-height: 1.6;
}

.character-description p {
  margin: 0.8em 0;
  font-size: 0.95em;
}
.character-description strong {
  color: #c9a5ee;
}
.back-button {
  display: inline-block;
  padding: 12px 24px;
  background-color: #c9a5ee;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s;
}

.back-button:hover{
  background-color: #b394e6;
  text-decoration: none;
}

.take-quiz-button {
  display: inline-block;
  padding: 12px 24px;
  background-color: #c9a5ee;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s;
}
.take-quiz-button:hover {
  background-color: #f0e1fe;
  text-decoration: none
}
