.search_result_character {
  float: left;
  width: 210px;
  margin-left: 10px;
  margin-bottom: 30px;
  background-color: #170e09;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out;
}

.search_result_character:hover {
  transform: translateY(-5px);
}

.search_result_character .name {
  font-weight: bold;
  font-size: 14px;
  margin-top: 5px;
  display: block;
  color: #ffffff;
}

.search_result_character span {
  margin-top: 3px;
  display: block;
  overflow: hidden;
  height: 32px;
  color: #ffffff;
}

.search_result_character img {
  float: left;
  display: block;
  width: 54px;
  height: 54px;
  margin-right: 10px;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#search_box {
  margin-left: auto;
  margin-right: auto;
  width: 500px;
  margin-top: 30px;
  margin-bottom: 30px;
}

#search_box input[type="text"] {
  float: left;
  width: 80%;
  padding: 10px;
  border: none;
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  background-color: #170e09;
  color: #ffffff;
}

#search_box input[type="submit"] {
  float: left;
  margin-top: 0px;
  padding: 10px;
  background-color: #4caf50;
  color: #ffffff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease-in-out;
}

#search_box input[type="submit"]:hover {
  background-color: #45a049;
}

#search_results {
  margin-top: 10px;
  display: none;
  margin-bottom: 10px;
}

.search_active {
  font-weight: bold;
}

#search_sections {
  padding: 10px;
  margin-bottom: 10px;
}

#search_realms {
  float: right;
}

#search_realms a {
  margin-left: 5px;
}
/* Media queries para diferentes tipos de pantallas */

/* Estilos para pantallas pequeñas */
@media screen and (max-width: 768px) {
  .search_result_character {
    float: none;
    width: 100%;
    margin-left: 0;
  }

  #search_box {
    width: 90%;
  }

  #search_box input[type="text"] {
    width: 100%;
  }

  #search_box input[type="submit"] {
    float: none;
    margin-top: 14px;
  }

  #search_realms {
    float: none;
    text-align: center;
  }
}

/* Estilos para pantallas muy pequeñas */
@media screen and (max-width: 480px) {
  #search_box {
    width: 100%;
  }
  

  #search_box input[type="submit"] {
    padding: 20px 25px; /* Ajusta el padding para hacer el botón más grande en pantallas muy pequeñas */
  }
}