@import './base.css';

/* background color divs */

.section-plum {
  background-color: var(--brown);
}

.section-blue {
  background-color: var(--navy);
}

.gradient {
  background: linear-gradient(
    90deg,
    hsla(63, 100%, 77%, 1) 0%,
    hsla(331, 74%, 68%, 1) 100%
  );
  height: 2px;
}

/* scoreboard styles */

#scoreboard {
  padding: 2rem 1rem 2rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--cream);
  font-weight: 300;
}

#scoreboard .stats {
  display: flex;
  flex-flow: row wrap;
  gap: 1rem;
  list-style: none;
}

#quiz {
  display: flex;
  flex-flow: row wrap;
}

.actions {
  padding: 1rem 1rem 1rem 10rem;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 1rem;
  list-style: none;
}

/* image style */
#image-section {
  width: 40%;
}

#multiple-choices {
  width: 60%;
}
#multiple-choices .button {
  margin-bottom: 1rem;
}

#options-section {
  width: 100%;
}
#pokemon-image {
  width: 50%;
}

#message-board {
  padding: 2rem 1rem 2rem 10rem;
}

/* navigation */

nav {
  font-family: var(--mono);
  font-size: 80%;
  padding: 4rem 1rem;
}

nav h1 a {
  font-family: var(--sans);
}

nav ul {
  margin: 0;
  padding: 0;
  list-style-type: none;
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}

nav li:first-child {
  flex-basis: 100%;
  text-align: center;
}

nav [class*='fa-'] {
  font-size: 150%;
  color: var(--cream);
}

nav h1 [class*='fa-'] {
  font-size: 100%;
  color: var(--cream);
}

nav a {
  color: var(--cream);
  text-decoration: none;
  display: block;
}

nav a:hover,
nav [class*='fa-']:hover {
  color: var(--brown);
}

.button {
  background-color: var(--cream);
  color: black;
  padding: 0.5rem;
  border-radius: 5px;
  text-decoration: none;
  font-family: var(--mono);
}

.button:hover {
  color: white;
  background-color: var(--brown);
}
.button:disabled {
  color: white;
  background-color: gray;
  cursor: not-allowed;
}

@media (min-width: 850px) {
  nav {
    max-width: 1200px;
    margin: 0 auto;
  }
  nav li:first-child {
    flex-basis: auto;
    text-align: left;
    margin-right: auto;
  }
}
