.fusion-calculator-container {
  max-width: 1200px;
  margin: 20px auto;
  background-color: #fff;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}


h2,
h3 {
  text-align: center;
  margin-bottom: 20px;
 
}

h1 {
  font-size: 2.5em;
  margin-bottom: 30px;
}

/* Pokemon selection layout */
.select-pokemon {
  display: flex;
  justify-content: space-between;
  margin-bottom: 30px;
}

.pokemon-details {
  width: 48%;
  background-color: #3f1a3e;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}
.pokemon-details h2,h3{
	color:white;
}
.pokemon-details:hover {
  transform: translateY(-5px);
}

.pokemon-info {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.pokemon-info,.type-effectiveness h3 {
color:wheat;
}
.pokemon-info img {
  max-width: 120px;
  border-radius: 50%;
  margin-right: 20px;
	background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.pokemon-text {
  flex-grow: 1;
}

.stats {
  margin-bottom: 15px;
  font-size: 0.9em;
	color: wheat;
}

.stats div {
  margin-bottom: 5px;
  display: flex;
  justify-content: space-between;
}

.ability {
  margin-bottom: 15px;
  font-weight: bold;
	color: wheat;
}
.pokemon-text h3{
	color:wheat;
}

.move-list {
  margin-top: 20px;
  background-color: #fff;
  padding: 15px;
  border-radius: 8px;
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.1);
}

.move-list h3 {
  margin-top: 0;
  font-size: 1.1em;
  color: black !important;
}

.move-list p {
  margin: 8px 0;
  font-size: 0.9em;
  color: black;
}

.types {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.type {
  display: inline-block;
  padding: 5px 10px;
  margin-right: 5px;
  margin-bottom: 5px;
  border-radius: 20px;
  font-size: 0.8em;
  font-weight: bold;
  text-transform: uppercase;
  color: white !important;
}

/* Fusion and fused pokemon layout */
.fusion {
  text-align: center;
  margin-bottom: 30px;
}
.fustion h2{
	color:black !important;
}

.fused-pokemon {
  background-color: #0c1433;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: none;
  animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.fused-pokemon img {
  max-width: 150px;
  border-radius: 50%;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.type-effectiveness {
  background-color: #0c1433;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  margin-top: 30px;
}

.type-effectiveness h2,h4 {
  margin-bottom: 15px;
  color: white;
}

.type-effectiveness ul {
  list-style-type: none;
  padding-left: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}

.type-effectiveness li {
  font-size: 0.9em;
  color: #000 !important;
  margin-bottom: 10px;
  background-color: #fff;
  padding: 8px 15px;
  border-radius: 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Buttons and controls */
.controls {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

button,
select {
  font-size: 1em;
  padding: 12px 25px;
  border: none;
  background-color: #3498db;
  color: white;
  cursor: pointer;
  border-radius: 25px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

button:hover,
select:hover {
  background-color: #2980b9;
  transform: translateY(-2px);
}

button:focus,
select:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.5);
}

select {
  appearance: none;
  background-image: url('data:image/svg+xml;utf8,<svg fill="%23ffffff" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/><path d="M0 0h24v24H0z" fill="none"/></svg>');
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 40px;
}

@media screen and (max-width: 768px) {
  .select-pokemon {
    flex-direction: column;
  }

  .pokemon-details {
    width: 100%;
    margin-bottom: 20px;
  }

  .controls {
    flex-direction: column;
  }

  button,
  select {
    width: 100%;
    margin-bottom: 10px;
  }
}


/* For devices with a max-width of 768px (tablets and phones in landscape mode) */
@media (max-width: 768px) {
  .pokemon-info {
    flex-direction: column; /* Stack the elements vertically */
    padding: 10px;
  }

  .pokemon-info img {
    width: 100%; /* Make the image take full width */
    height: auto; /* Maintain the aspect ratio */
  }

  .pokemon-info .details {
    display: flex;
    flex-direction: column;
    align-items: center; /* Center align the text */
  }
}

/* For devices with a max-width of 480px (phones in portrait mode) */
@media (max-width: 480px) {
  .pokemon-info {
    flex-direction: column; /* Stack the elements vertically */
    padding: 5px;
  }

  .pokemon-info img {
    width: 100%; /* Make the image take full width */
    height: auto; /* Maintain the aspect ratio */
  }

  .pokemon-info .details {
    display: flex;
    flex-direction: column;
    align-items: center; /* Center align the text */
  }
  
  .pokemon-info .details p {
    margin: 5px 0; /* Reduce the margin for better spacing on small screens */
  }
}