* {
  scroll-behavior: smooth;
}

body {
  height: 100vh;
  background-color: #1396ad;
  color: white;
  font-family: Helvetica;
  margin: 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
}

header {
  width: 100%;
  height: 75px;
  background: linear-gradient(90deg, rgb(133, 0, 27), rgb(220, 20, 60));
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 0;
}

#logo {
  width: 200px;
  aspect-ratio: 25 / 10 auto;
  padding: 8px 5px 5px 7px;
}

h1 {
  color: white;
  font-size: min(14vw, 3.0em);
  text-align: center;
}

h2 {
  color: white;
  font-size: min(10vw, 2.0em);
  text-align: center;
}

.main-container > p {
  margin: 30px 20px;
  font-size: 1.2em;
}

.main-container a {
  color: inherit;
}

.main-container a:visited {
  color: inherit;
}

.main-container a:hover {
  color: crimson;
}

.main-container a:active {
  color: fuchsia;
}

header h1 {
  text-align: center;
  margin: auto;
  display: block;
}

#main-content hr {
  height: 2px;
  background-color: white;
  border-color: white;
  width: 60%;
  max-width: 530px;
  margin: -17px auto 0 auto;
}

.main-container hr {
  height: 2px;
  background-color: white;
  border-color: white;
  width: 60%;
  max-width: 530px;
  margin: -17px auto 0 auto;
}

#scoreboard hr {
  height: 2px;
  background-color: white;
  border-color: white;
  width: 80%;
  max-width: 530px;
  margin: -17px auto 0 auto;
}

.scriptdiv {
  color: rgba(255, 0, 0, 0);
  margin: -5px 0;
}

.Fuchsia {
  color: fuchsia;
}

.navigation {
  width: 50%;
  max-width: 800px;
  min-width: 700px;
  height: 75px;
  margin: 0 20px 0 auto;
}

.navigation > ul {
  display: flex;
  justify-content: space-evenly;
  gap: 30px;
  align-items: center;
  padding-inline-start: 0;
}

.navigation > ul > li {
  color: #dfdfe2;
  margin: 0 0.2rem;
  padding: 0.2rem;
  display: block;
  cursor: crossahair;
}

li > a {
  color: inherit;
  text-decoration: none;
}

main {
  padding: 30px 30px 50px 30px;
  display: flex;
  gap: 30px;
  align-items: flex-start;
}

section {
  max-width: 1500px;
  min-width: 300px;
  border-radius: 20px;
  padding: 0.1rem 1rem;
  background-color: #0e7a8d;
  flex: 2;
}

#scoreboard {
  flex: 1;
  background-color: #0e7a8d;
  border-radius: 20px;
  padding: 0.1rem 1rem;
  position: sticky;
  top: 30px;
  min-width: 0;
}

@media only screen and (max-width: 1000px) {
  #scoreboard {
    display: none;
  }
}

#teams-container {
  margin: 20px 10px;
  font-size: 20px;
}

.team {
  margin-bottom: 15px;
}

button {
  cursor: pointer;
}

#add-team-btn {
  height: 70px;
  width: 200px;
  margin: 10px auto;
  font-size: 20px;
  display: block;
  border: none;
  border-radius: 10px;
}

.row {
  display: flex;
  justify-content: space-between;
  margin: 10px 0;
}

.team-name {
  font-weight: bold;
  font-size: 28px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  cursor: default;
}

.team-name.color-0 {
  color: lime;
}

.team-name.color-1 {
  color: fuchsia;
}

.team-name.color-2 {
  color: crimson;
}

.team-name.color-3 {
  color: gold;
}

.team-name.color-4 {
  color: orange;
}

#reset-btn {
  height: 40px;
  width: 200px;
  margin: 10px auto;
  font-size: 14px;
  display: block;
  background: #c0392b;
  color: white;
  border: none;
  border-radius: 10px;
}

.icon-btn {
  width: 28px;
  height: 28px;
  padding: 0;
  text-align: center;
  border: none;
  border-radius: 7px;
}

h1,
h2 {
  font-family: Calibri, Helvetica, Tahoma;
}

h3 {
  margin-top: 5px;
  padding-left: 0px;
  font-size: 1.375rem;
}

.links {
  list-style: none;
}

#current-page {
  background-color: rgba(0,0,0,0.15);
  margin: -7px 0 0 0;
  padding: 20px 10px;
  border-radius: 10px;
  display: block;
}

#not-current-page {
  background-color: rgba(0,0,0,0);
  margin: -7px 0 0 0;
  padding: 20px 10px;
  display: block;
}

#not-current-page:hover {
  background-color: rgba(0,0,0,0.15);
  color: gold;
  border-radius: 10px;
}

#current-page:hover {
  background-color: rgba(255,255,255,0.15);
  color: gold;
}

.category1 img,
.category2 img,
.category3 img,
.category4 img,
.category5 img {
  width: 87%;
  box-sizing: border-box;
  border: 3px solid rgba(255, 255, 255, 0.6);
  transition: 0.3s;
  border-radius: 15px;
}

.category1 > p {
  font-size: 4rem;
}

.link-grid {
  display: flex;
  margin: 30px auto;
  justify-content: center;
  gap: 0 0;
  flex-wrap: wrap;
  max-width: 1500px;
}

.category1,
.category2,
.category3,
.category4,
.category5 {
  width: 370px;
  text-align: center;
  font-size: 1.2rem;
}

.main-container p:not(.category1 p) {
  text-align: center;
  font-size: 1.5rem;
  line-height: 1.3;
}

.main-container a,
.category img {
    transition: 0.3s;
}

#qimg {
  border-radius: 20px;
  margin: auto auto;
  width: 70%;
  max-width: 400px;
  display:block;
}

#qimgbig {
  border-radius: 20px;
  margin: auto auto;
  width: 80%;
  max-width: 600px;
  display:block;
}

.category1:hover p > a,
.category2:hover p > a,
.category3:hover p > a,
.category4:hover p > a,
.category5:hover p > a {
  color: fuchsia;
}

.category1:hover img,
.category2:hover img,
.category3:hover img,
.category4:hover img,
.category5:hover img {
    box-sizing: border-box;
    border: 3px solid fuchsia;
    transform: scale(1.13,1.13);
}

.videos {
  margin: 40px auto 20px auto;
  text-align: center;
  font-size: 1.2rem;
}

video {
  margin: auto auto;
  display: block;
  border-radius: 15px;
}

#ichika {
  margin: 10px auto 40px;
  display: block;
  border-radius: 15px;
  width: 80%;
  max-width: 1200px;
}

.media-nav {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 75px;
  row-gap: 5px;
  text-align: center;
  font-size: 1.0rem;
  margin: 30px 0 0 0;
}

@media only screen and (max-width: 800px) {
  .media-nav {
    display: block;
    text-align: center;
    font-size: 1.0rem;
    margin: 0px auto 0px auto;
  }
}

@media only screen and (max-width: 800px) {
  .phone-remove {
    display: none;
  }
}

.media-nav a {
  text-decoration: none;
  color: inherit;
}

.media-nav a:hover {
  text-decoration: underline;
  color: fuchsia;
}

.active-page {
  color: white;
  text-decoration: underline;
  padding: 20px;
  border-radius: 10px;
  background-color: #0e7a8d;
}

.italic {
  font-style: italic;
}

.bold {
  font-weight: 700;
}

.video-data {
  width: 90%;
  max-width: 1500px;
  text-align: left;
  margin: auto auto;
  font-size: 1.1rem;
  color: rgb(167, 167, 167);
}

.video-data-title {
  font-size: 1.5rem;
  color: white;
  font-weight: 600;
}

.video-data-accent {
  color: white;
  font-style: italic;
  font-weight: 800;
}

.description {
  font-size: 0.9rem;
  color: white;
  line-height: 150%;
}

.small-note {
  font-size: 0.6rem;
  color: white;
  line-height: 250%;
}

.description a {
  color: white;
}

.description a:visited {
  color: white;
}

.description a:hover {
  color: fuchsia;
}

.description a:active {
  color: aqua;
}

.lime {
  background: linear-gradient(to right, rgb(123, 255, 123), rgb(10, 255, 10));
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}

.orange {
  background: linear-gradient(to right, rgb(255, 210, 125), rgb(255, 168, 6));
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}

.red {
  background: linear-gradient(to right, rgb(255, 125, 125), rgb(255, 6, 6));
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}

.purple {
  background: linear-gradient(to right, rgb(214, 125, 255), rgb(255, 6, 243));
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}

#tierdesc {
  font-style: italic;
  font-size: 1.25rem;
}

.question-cards {
  width: 250px;
  text-align: center;
  font-size: 1.2rem;
}

.question-cards img {
  width: 87%;
  box-sizing: border-box;
  border: 3px solid rgba(255, 255, 255, 0.6);
  transition: 0.3s;
  border-radius: 15px;
}

.question-cards img {
    transition: 0.3s;
}

.question-cards:hover p > a {
  color: fuchsia;
}

.question-cards:hover img {
    box-sizing: border-box;
    border: 3px solid fuchsia;
    transform: scale(1.13,1.13);
}

.italicx {
  font-weight: 600;
  font-style: italic;
}

audio {
  width: 70%;
  max-width: 400px;
  margin: auto auto;
  display:block;
}

#audiobig {
  width: 80%;
  max-width: 600px;
}

#audiotype {
  font-size: 20px;
  margin: 10px auto 18px;
}

.showanswerbtn {
  margin: 0 auto 20px;
  display: block;
  width: 200px;
  height: 50px;
  border: none;
  border-radius: 10px;
}

#answerDiv {
  width: 40%;
  margin: 0 auto 20px;
  text-align: center;
  display: none;
  font-size: 20px;
  background-color: rgba(0, 0, 0, 0.336);
  border-radius: 20px;
  padding: 20px;
}

.toggle-active {
  background-color: #e74c3c;
  color: white;
  border: none;
  border-radius: 10px;
}

.emp {
  font-weight: 800;
}

#orangelink:hover {
  color: orange;
}