@import url('https://fonts.googleapis.com/css2?family=Mochiy+Pop+One&display=swap');


.characters_list {
  display: flex;
  flex-direction: column;
  gap: 15px; 
}

.character_link {
  
  text-decoration: none;
  background: #D72638;
  color: white;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 16px;
  width: 20%;
  text-align: center;
  margin-top: 10px;
}


.character {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 15px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.2s ease-in-out;
  border-left: 5px solid #FF9F1C;
}

.character:hover {
  transform: translateY(-3px);
}

.character_header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.character_header p {
  font-family: 'Bangers', cursive;
  font-size: 32px;
  color: #FF9F1C;
}

.character_header a {
  text-decoration: none;
  background: #D72638;
  color: white;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 16px;
  transition: background 0.3s ease;
}

.character_header a:hover {
  background: #A31E2C;
}

.character_body a {
  display: flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
  color: inherit;
}

.character_body img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgb(255, 28, 28);
}

.character_body  {
  display: flex;
  flex-direction: row;
}

.character_quote_random {
  font-family: 'Mochiy Pop One', sans-serif;
  color: hsl(0, 0%, 20%);
  padding: 10px;  
  font-style: italic;
  line-height: 1.6;
  font-size: 12px; 
}


 #search_character {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  margin: 10px;
  font-family: Candara, Arial, Helvetica, sans-serif;
}


#search_character #search_character_submit {
  margin-left: 10px;
  background: #e71111;
  color: white;
  border-radius: 5px;
  cursor: pointer;
  border: none;
  padding: 5px;
}
