.text-color {
  color: white;
  padding-left: 5px;
}

.k-block {
  color: white;
  background-color: white;

}

.navbar-dark {
  background-color: red;
}

.footer {
  background-color: black;
  margin: 0px;
  padding: 10px 0px;
  bottom: 0;
  width: 100%;
  height: 60px;
  border-top: 3px solid;
  flex-shrink: 0;
}

.footer .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center; 
}

.footer h5 {
  margin: 0;
  text-align: center;
  width: 100%;
}
.split-section {
  display: flex;
  padding: 0;
}

.split-half {
  flex: 1;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

#pokemonTableContainer.left-half {
  height: 847px;
    overflow: hidden;
}

.left-half {
  background-color: #f8f9fa;
  border-right: 1px;
}

.right-half {
  background-color: #e9ecef;
  border-left: 1px;
}

.battle-container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2rem 0;
}

.pokemon-select-area {
  display: flex;
  justify-content: space-around;
  align-items: center;
  width: 100%;
}

.pokemon-display {
  text-align: center;
  margin: 1rem 0;
}

.pokemon-image {
  max-width: 300px;
  height: 300px;
  object-fit: contain;
  padding: 1rem;
}

.versus-image {
  width: 250px;
  height: 250px;
  object-fit: contain;
  padding: 1rem;
}

.vs-badge {
  background-color: #dc3545;
  color: white;
  padding: 0.5rem 2rem;
  border-radius: 20px;
  font-weight: bold;
}

.battle-button-area {
  text-align: center;
  padding: 2rem 0;
}

body {
  padding-top: 56px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 0 auto;
}

.section {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

#section1 {
  background-color: #f8f9fa;
}

.split-section {
  display: flex;
  width: 100%;
  height: 100%;
}

.left-half,
.right-half {
  flex: 1;
  height: 100%;
}

.left-half {
  background-color: #f8f9fa;
  padding: 20px;
  overflow-y: auto;
  border-right: 1px solid #ddd;
}

.right-half {
  background-color: #e9ecef;
  padding: 20px;
}

#allPokemonStats {
  height: calc(100% - 50px);
    overflow-y: auto;
    width: 100%;
}

.pokemon-stats-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 30px;
  font-family: Arial, sans-serif;
  font-size: 14px;
  text-align: center;
}

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

.pokemon-stats-table th {
  background-color: #f2f2f2;
  text-align: left;
}

.pokemon-stats-table tbody tr.selected {
  background-color: #ff4500;
  color: white;
}

.pokemon-stats-table tbody tr:hover {
  background-color: #ff6347;
  transition: background-color 0.2s ease;
}


#section2 {
  background-color: #e9ecef;
  align-items: center;
}



#section3 {
  background-color: #dee2e6;
}

#section3 .container{
  height:100vh;
}

html {
  scroll-behavior: smooth;
  height: 100%;
}
   
.stats-card {
  padding: 20px;
  transition: display 0.3s ease;
}

.stats-cell {
  border: 1px solid #dee2e6;
  border-radius: 8px;
  padding: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  overflow: hidden;
}


#pokemonVisualization, #boxPlotVisualization {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#pokemonVisualization svg, #boxPlotVisualization svg {
  width: 100%;
  height: 100%;
  display: block;
}

.battle-visualizations {
  margin-top: 2rem;
  width: 100%;
}

.battle-charts {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding: 1rem;
}

#barChart,
#lineChart {
  border-radius: 8px;
  padding: 1rem;
}

.bar1:hover,
.bar2:hover,
.dot1:hover,
.dot2:hover {
  opacity: 1;
  cursor: pointer;
}

.pokemon-stats {
  width: 100%;
  height: 100%;
  padding: 15px;
}

.pokemon-info-grid {
  display: grid;
  gap: 5px;
  width: 100%;
}

.info-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  padding: 5px;
  align-items: center;
  border-bottom: 1px solid #dee2e6;
}

.info-label {
  font-weight: bold;
  color: #333;
}

.info-value {
  text-align: right;
  color: #666;
}

.d-flex.align-items-center {
  display: flex;
  justify-content: center;
  width: 100%;
}

.pokemon-select-area {
  display: flex;
  justify-content: space-around;
  align-items: center;
  width: 100%;
  gap: 20px;
}

div:has(> .d-flex.align-items-center) {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}