.bgtext2 {
  -webkit-background-clip: text;
  background-clip: text;
  background-image: url('/images/newFlippinCoopLogo.png');
  color: transparent;
  font-size: 40px;
  font-weight: 700;
  height: 100px;
  background-position: top 10% center;
  /*background-size: contain;
    background-repeat: no-repeat;*/
  /*background: url('/images/newFlippinCoopLogo.png');*/
  background-size: 500px 500px;
}

/*
.navbar {
    position: fixed;
    width: 100%;
    z-index: 1;
}
*/
/* Options menu */

.options-menu {
  position: fixed;
  float: left;
  /*position: sticky;*/
  transform: translateX(-100%);
  top: 0;
  /*left: -200px;*/
  width: 300px;
  /*height: 100%;*/
  height: 100vh;
  /*background-color: #fff;*/
  background-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  transition: left 0.3s ease-in-out;
  transition: transform 0.3s ease-in-out;
  z-index: 100;
}

.options-menu.open {
  left: 0;
  transform: translateX(0%);
}

.options-close-button {
  float: right;
  margin: 20px 10px 0 0;
  background-color: #fff;
  border: none;
  font-size: 24px;
  cursor: pointer;
  position: relative;
  /*left: 30px;*/
  left: 5em;
}

.options-close-button:hover {
  color: red;
}

.options-menu-button {
  float: right;
  margin: 20px 10px 0 0;
  background-color: rgba(255, 255, 255, 0.7);
  border: none;
  font-size: 24px;
  cursor: pointer;
  position: relative;
  /*left: 30px;*/
  left: 4.7em;
}

.options-menu-button i {
  color: #333;
}

.options-menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.options-menu-list li {
  padding: 10px;
  border-bottom: 1px solid #ccc;
  border-right: 1px solid #ccc;
  padding-right: 10px;
}

.options-menu-list li:last-child {
  border-bottom: none;
}

.main-content {
  transition: transform 0.3s ease-in-out;
}

.main-content.open {
  transform: translateX(500px);
}

/* other */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  opacity: 1;
  height: auto;
  -webkit-appearance: textfield;
  -moz-appearance: textfield;
  appearance: textfield;
}

.move-count-options {
  background-color: rgba(255, 255, 255, 0.7);
  width: 100%;
}

/* Chatbot textbox */

.custom-textarea {
  position: relative;
  left: 5%;
  right: 5%;
  width: 100%;
}

#send-btn {
  position: absolute;
  top: 50%;
  /* Vertically align button in the middle */
  right: 5px;
  transform: translateY(-50%);
  /* Adjust for vertical alignment */
  width: 30px;
  /* Set button width */
  height: 30px;
  /* Set button height */
  border: none;
  border-radius: 50%;
  /* Make the button round */
  background-color: #007bff;
  color: white;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
}

#send-btn::before {
  content: "\2192";
  /* Unicode arrow character */
  font-size: 14px;
}

#chat {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  resize: none;
}

/* Hero section */
.hero-section {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  /*text-align: center;*/
  color: black;
  /*background-color:  rgba(0, 0, 0, 0.5);*/
  background: linear-gradient(to left, rgba(0, 0, 0, 0.5), rgba(255, 255, 255, 0.5));
}

.hero-img {
  border-radius: 50%;
}

.hero-list {
  align-items: start;
  justify-content: left;
  list-style-type: circle;
}

.down-arrow {
  position: absolute;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 24px;
  z-index: 1;
}

/* Pokemon radial charts table */
.pokemon-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  background-color: white;
}

.pokemon-table th,
.pokemon-table td {
  border: 1px solid #ddd;
  padding: 8px;
}

.pie {
  --w: 50px;
  /* Adjust the width as needed */
  width: var(--w);
  aspect-ratio: 1/1;
  position: relative;
  display: inline-grid;
  place-content: center;
  margin: 0px;
  font-size: 12px;
  font-weight: bold;
  font-family: sans-serif;
}

.pie:before {
  content: "";
  position: absolute;
  border-radius: 50%;
  inset: 0;
  /*background: conic-gradient(var(--c) calc(var(--p) * 1%), #0000 0);*/
  /* Set color to be percentage of color wheel but start from blues */
  background: conic-gradient(hsl(calc(var(--p)/100*360 - 60), 90%, 40%) calc(var(--p) * 1%), #000 0);
  -webkit-mask: radial-gradient(farthest-side, #0000 calc(99% - var(--b)), #000 calc(100% - var(--b)));
  mask: radial-gradient(farthest-side, #0000 calc(99% - var(--b)), #000 calc(100% - var(--b)));
}

.pie .percentage {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #333;
}

.pokemon-image {
  max-width: 100%;
  aspect-ratio: 1/1;
  margin-right: 0px;
}

.pokemon-image-container {
  flex-direction: column;
  display: flex;
}

.pokemon-chart-container {
  /*flex-direction: row;
  display: flex;
  justify-content: space-between;*/
  border: 1px solid;
  /*width: 20%;*/
  width: 165px;
}

.all-pokemon-charts {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: stretch;
  align-content: flex-start;
  /*display: none;*/
}

#top-used-teams-header {
  display: flex;
  flex-direction: row;
}
#searchbar {
  display:flex;
  flex-direction: row;
  background: white;
  border-radius: 10px;
  border: 1px solid black;
  overflow: hidden;
}
#searchbar > button {
  border: none;
}
#searchbar > input {
  border: none;
  outline: none;
}

#teams-section {
  width: 100%;
  /*height: 500px;*/
  height: calc(100vh - 250px);
  overflow: auto;
  background: white;
}
#teams-section > div {
  display: flex;
  flex-direction: row;
}
#teams-section > div:first-child {
  position: sticky;
  top: 0;
}


#teams-section > div:nth-child(even) {
  background: 	#F0F0F0;
}

#teams-section > div > div {
  width: 50%;
  padding: 5px;
}
#teams-section > div > div:first-child {
  border-right: 1px solid;
}

.center-x {
  position: absolute;
  left: 50%;
  transform: translate(-50%, -50%);
}

#meta-tab > div {
  margin: 20px;
}

.clear-header {
  background-color: rgba(255, 255, 255, 0.7);
  color: black;
}

.meta-table {
  height: 100px;
}

.data2 {
  overflow-y: auto;
  height: 700px;
  height: 60vh;
}

.meta-table p {
  font-size: 12px;
}

.meta-table {
  height: 100px;
}

.data2 {
  overflow-y: auto;
  height: 700px;
  height: 60vh;
}

.meta-table p {
  font-size: 12px;
}

.data2 {
  overflow-y: auto;
}

.meta-table p {
  font-size: 12px;
}

.meta-table tr.data-row {
  height: 60vh;
  overflow-y: auto;
}

.meta-table > div > div.tab-content > div > table > tbody > tr:last-child div.data2 {
  /*height: 100%;*/
}

@media screen and (max-height: 1000px) {
  .data2 {
    height: 60vh;
  }
  .meta-table > div > div.tab-content > div > table > tbody > tr:last-child{
    height: 40vh;
  }
}

@media screen and (max-height: 715px) {
  .data2 {
    height: 30vh;
  }
  .meta-table > div > div.tab-content > div > table > tbody > tr:last-child{
    height: 30vh;
  }
}


/* Styles for mobile */
@media screen and (max-width: 650px) {
  .pokemon-chart-container {
    width: 100%;
  }
  nav.navbar {
    display: grid;
    grid-template-columns: auto auto;
    width: 100vw;
  }
  ul.center-x {
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  ul.main-nav {
    display: flex;
    flex-direction: row;
    gap: 20px;
    position: absolute;
    top: 20px;
    left: 60px;
  }
  ul.main-nav li a {
    font-size: 15px;
  }
  ul.nav.menu {
    position: absolute;
    top: 0px;
    right: 50px;
  }

  .hero-section div div a{
    width: 100%;
  }
}

/* Type circles */
.type-circle {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 4px;
  vertical-align: middle;
  border: 1px solid;
}

.type-normal { background-color: #A8A77A; }
.type-fire { background-color: #EE8130; }
.type-water { background-color: #6390F0; }
.type-electric { background-color: #F7D02C; }
.type-grass { background-color: #7AC74C; }
.type-ice { background-color: #96D9D6; }
.type-fighting { background-color: #C22E28; }
.type-poison { background-color: #A33EA1; }
.type-ground { background-color: #E2BF65; }
.type-flying { background-color: #A98FF3; }
.type-psychic { background-color: #F95587; }
.type-bug { background-color: #A6B91A; }
.type-rock { background-color: #B6A136; }
.type-ghost { background-color: #735797; }
.type-dragon { background-color: #6F35FC; }
.type-dark { background-color: #705746; }
.type-steel { background-color: #B7B7CE; }
.type-fairy { background-color: #D685AD; }
.type-none { display: none; }

.hide-moves {
  display: none;
}